Contents
About this report
Report parameters
Contexts
No contexts were selected, so all contexts were included by default.
Sites
The following sites were included:
- http://localhost:3000
- https://172.17.5.13
- https://support.mozilla.org
- http://quiz-api.hematitecorp.com
- http://quiz.hematitecorp.com
- http://quiz-be-test.hematitecorp.com
- http://quiz-fe-test.hematitecorp.com
(If no sites were selected, all sites were included by default.)
An included site must also be within one of the included contexts for its data to be included in the report.
Risk levels
Included: High, Medium, Low, Informational
Excluded: None
Confidence levels
Included: User Confirmed, High, Medium, Low
Excluded: User Confirmed, High, Medium, Low, False Positive
Summaries
Alert counts by risk and confidence
| Confidence | ||||||
|---|---|---|---|---|---|---|
| User Confirmed | High | Medium | Low | Total | ||
| Risk | High | 0 (0.0%) |
0 (0.0%) |
0 (0.0%) |
1 (5.6%) |
1 (5.6%) |
| Medium | 0 (0.0%) |
2 (11.1%) |
2 (11.1%) |
1 (5.6%) |
5 (27.8%) |
|
| Low | 0 (0.0%) |
1 (5.6%) |
5 (27.8%) |
1 (5.6%) |
7 (38.9%) |
|
| Informational | 0 (0.0%) |
1 (5.6%) |
2 (11.1%) |
2 (11.1%) |
5 (27.8%) |
|
| Total | 0 (0.0%) |
4 (22.2%) |
9 (50.0%) |
5 (27.8%) |
18 (100%) |
|
Alert counts by site and risk
| Risk | |||||
|---|---|---|---|---|---|
|
High (= High) |
Medium (>= Medium) |
Low (>= Low) |
Informational (>= Informational) |
||
| Site | http://localhost:3000 | 1 (1) |
2 (3) |
0 (3) |
0 (3) |
| https://172.17.5.13 | 0 (0) |
0 (0) |
1 (1) |
0 (1) |
|
| https://support.mozilla.org | 0 (0) |
1 (1) |
2 (3) |
0 (3) |
|
| http://quiz-be-test.hematitecorp.com | 0 (0) |
0 (0) |
1 (1) |
2 (3) |
|
| http://quiz-fe-test.hematitecorp.com | 0 (0) |
2 (2) |
3 (5) |
3 (8) |
|
Alert counts by alert type
| Alert type | Risk | Count |
|---|---|---|
| Cloud Metadata Potentially Exposed | High | 1 (5.6%) |
| CSP: Wildcard Directive | Medium | 7 (38.9%) |
| Content Security Policy (CSP) Header Not Set | Medium | 17 (94.4%) |
| Cross-Domain Misconfiguration | Medium | 2 (11.1%) |
| Hidden File Found | Medium | 4 (22.2%) |
| Missing Anti-clickjacking Header | Medium | 8 (44.4%) |
| Cross-Domain JavaScript Source File Inclusion | Low | 8 (44.4%) |
| Private IP Disclosure | Low | 11 (61.1%) |
| Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) | Low | 19 (105.6%) |
| Strict-Transport-Security Header Not Set | Low | 1 (5.6%) |
| Timestamp Disclosure - Unix | Low | 3 (16.7%) |
| X-Backend-Server Header Information Leak | Low | 7 (38.9%) |
| X-Content-Type-Options Header Missing | Low | 19 (105.6%) |
| Authentication Request Identified | Informational | 7 (38.9%) |
| Information Disclosure - Suspicious Comments | Informational | 16 (88.9%) |
| Modern Web Application | Informational | 12 (66.7%) |
| Session Management Response Identified | Informational | 4 (22.2%) |
| Vulnerable JS Library | Informational | 2 (11.1%) |
| Total | 18 |
Alerts
-
Risk=High, Confidence=Low (1)
-
http://localhost:3000 (1)
-
Cloud Metadata Potentially Exposed (1)
GET http://localhost:3000/latest/meta-data/
Alert tags Alert description The Cloud Metadata Attack attempts to abuse a misconfigured NGINX server in order to access the instance metadata maintained by cloud service providers such as AWS, GCP and Azure.
All of these providers provide metadata via an internal unroutable IP address '169.254.169.254' - this can be exposed by incorrectly configured NGINX servers and accessed by using this IP address in the Host header field.
Other info Based on the successful response status code cloud metadata may have been returned in the response. Check the response data to see if any cloud metadata has been returned.
The meta data returned can include information that would allow an attacker to completely compromise the system.
Request Request line and header section (445 bytes)
GET http://localhost:3000/latest/meta-data/ HTTP/1.1 host: 169.254.169.254 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (374 bytes)
HTTP/1.1 200 OK X-Powered-By: Express Access-Control-Allow-Origin: * Access-Control-Allow-Methods: * Access-Control-Allow-Headers: * Content-Type: text/html; charset=utf-8 Accept-Ranges: bytes Content-Length: 1754 ETag: W/"6da-ThuyUdUN+ZUcb51PS/8IUe+adnQ" Vary: Accept-Encoding Date: Wed, 18 Dec 2024 13:07:20 GMT Connection: keep-alive Keep-Alive: timeout=5Response body (1754 bytes)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" href="/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#000000" /> <meta name="description" content="Web site created using create-react-app" /> <link rel="apple-touch-icon" href="/logo192.png" /> <!-- manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> <link rel="manifest" href="/manifest.json" /> <!-- Notice the use of in the tags above. It will be replaced with the URL of the `public` folder during the build. Only files inside the `public` folder can be referenced from the HTML. Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> <title>React App</title> <script defer src="/static/js/bundle.js"></script></head> <body> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"></div> <!-- This HTML file is a template. If you open it directly in the browser, you will see an empty page. You can add webfonts, meta tags, or analytics to this file. The build step will place the bundled scripts into the <body> tag. To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> </body> </html>Attack 169.254.169.254Solution Do not trust any user data in NGINX configs. In this case it is probably the use of the $host variable which is set from the 'Host' header and can be controlled by an attacker.
-
-
-
Risk=Medium, Confidence=High (2)
-
https://support.mozilla.org (1)
-
CSP: Wildcard Directive (1)
GET https://support.mozilla.org/en-US/kb/error-codes-secure-websites?as=u&utm_source=inproduct
Alert tags Alert description Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks. Including (but not limited to) Cross Site Scripting (XSS), and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.
Other info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined:
frame-ancestors
The directive(s): frame-ancestors are among the directives that do not fallback to default-src, missing/excluding them is the same as allowing anything.
Request Request line and header section (673 bytes)
GET https://support.mozilla.org/en-US/kb/error-codes-secure-websites?as=u&utm_source=inproduct HTTP/1.1 host: support.mozilla.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Cookie: _ga_B9CY1C9VBC=GS1.1.1734514575.1.1.1734514589.0.0.0; _ga=GA1.2.274167483.1734514575; _gid=GA1.2.1626779019.1734514575; session_id=mflhxzbd97z8ao0oqrbt7sukci9sd9b1 Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (1855 bytes)
HTTP/1.1 200 OK Server: gunicorn Date: Wed, 18 Dec 2024 10:07:53 GMT Content-Type: text/html; charset=utf-8 Content-Security-Policy: frame-src 'self' https://*.youtube.com; manifest-src https://support.allizom.org https://support.mozilla.org; script-src 'self' https://*.mozilla.org https://*.webservices.mozgcp.net https://*.google-analytics.com https://*.googletagmanager.com https://pontoon.mozilla.org https://*.jsdelivr.net; font-src 'self' https://*.webservices.mozgcp.net; form-action 'self' https://accounts.firefox.com https://accounts.stage.mozaws.net; media-src 'self' https://*.webservices.mozgcp.net; img-src 'self' blob: data: https://*.mozaws.net https://*.webservices.mozgcp.net https://*.google-analytics.com https://profile.accounts.firefox.com https://firefoxusercontent.com https://secure.gravatar.com https://i1.wp.com https://mozillausercontent.com; style-src 'self' https://*.webservices.mozgcp.net https://*.jsdelivr.net; default-src 'none'; connect-src 'self' https://*.google-analytics.com https://location.services.mozilla.com https://accounts.firefox.com/metrics-flow https://accounts.stage.mozaws.net/metrics-flow https://basket.mozilla.org X-Robots-Tag: noodp X-Frame-Options: DENY Expires: Wed, 18 Dec 2024 10:07:53 GMT Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private Content-Length: 103606 Content-Language: en-US Strict-Transport-Security: max-age=31536000 X-Content-Type-Options: nosniff Referrer-Policy: strict-origin-when-cross-origin Cross-Origin-Opener-Policy: same-origin X-Backend-Server: gha-sumo-web-7578ff56fc-7r5x8.prod.webservices.mozgcp.net Set-Cookie: session_id=mflhxzbd97z8ao0oqrbt7sukci9sd9b1; expires=Wed, 15 Jan 2025 10:07:53 GMT; HttpOnly; Max-Age=2419200; Path=/; SameSite=Lax; Secure Via: 1.1 google Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000Response body (103606 bytes)
<!DOCTYPE html> <html class="no-js" lang="en-US" dir="ltr" data-gtm-container-id="G-2VC139B3XV" data-ga-content-group="kb-article" data-ga-default-slug="error-codes-secure-websites" data-ga-article-locale="en-US" data-ga-topics="/error-messages/performance-and-connectivity/procedures-diagnose-and-fix-problems/site-breakages/" data-ga-products="/firefox/" > <head> <!-- Read more about our custom configuration and use of Google Analytics here: https://bugzilla.mozilla.org/show_bug.cgi?id=1122305#c8 --> <!-- Google Tag Manager --> <script src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/gtm-snippet.1c0037a49b66fb06.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <!-- End Google Tag Manager --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title> How to troubleshoot security error codes on secure websites | Firefox Help </title> <link rel="apple-touch-icon" sizes="180x180" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/apple-touch-icon.bdc11b610d791a16.png"> <link rel="icon" type="image/png" sizes="32x32" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/favicon-32x32.2143cdf0c7e3f377.png"> <link rel="icon" type="image/png" sizes="16x16" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/favicon-16x16.352a0a2cef154dda.png"> <link rel="manifest" href="/manifest.json"> <link rel="shortcut icon" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/favicon.03d97697df808c0e.ico"> <meta name="theme-color" content="#ffffff"> <link rel="search" type="application/opensearchdescription+xml" title="Mozilla Support" href="/en-US/search/xml"/> <link href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/screen.a4ae25fe1a91c5e7.css" rel="stylesheet" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="> <script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/620.c017de8a3c1e20cf.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script><script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/common.a856f1c1afbd9b67.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/566.de80f82c1815ff6e.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script><script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/467.e805b3b5a73440ca.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script><script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/document.58bdb8f917cf5fd3.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/common.fx.download.6e0d6173cf4fde5d.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <meta name="description" content="Learn about the error codes SEC_ERROR_UNKNOWN_ISSUER MOZILLA_PKIX_ERROR_MITM_DETECTED and ERROR_SELF_SIGNED_CERT on HTTPS websites and how to troubleshoot."/> <meta name="google-site-verification" content="2URA-2Y9BeYYUf8B2BSsBSVetJJS3TZwlXBOaMx2VfY" /> <meta name="google-site-verification" content="ueNbCgS4e1JIAgLGwufm-jHaIcLXFLtFMmR_65S1Ag0" /> <meta name="msvalidate.01" content="1659173DC94819093068B0ED7C51C527" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <link rel="canonical" href="https://support.mozilla.org/en-US/kb/error-codes-secure-websites" /> </head> <body class="html-ltr logged-out responsive document en-US" data-readonly="false" data-usernames-api="/en-US/users/api/usernames" data-messages-api="/en-US/messages/api/autocomplete" data-media-url="https://assets-prod.sumo.prod.webservices.mozgcp.net/" data-document-id="31325" > <ul class="sumo-nav-access" id="nav-access"> <li><a href="#main-content">Skip to main content</a></li> <li><a href="/en-US/locales">Switch language</a></li> <li><a id="skip-to-search" href="#search-q">Skip to search</a></li> </ul> <div class="media-test"></div> <div id="announcements"> <div id="announce-geoip-suggestion" class="mzp-c-notification-bar mzp-t-warning"> <button class="mzp-c-notification-bar-button close-button" data-close-id="announce-geoip-suggestion" type="button" data-close-memory="remember" data-close-type="remove" > </button> <p></p> </div> <div id="announce-346" class="mzp-c-notification-bar mzp-t-warning"> <button class="mzp-c-notification-bar-button close-button" data-close-id="announce-346" type="button" > </button> <p> <p>We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. <a href="https://mzl.la/41ry3HC" rel="nofollow">Join the effort</a> to hold Big Tech to account! </p> </p> </div> </div> <header class="mzp-c-navigation sumo-nav"> <div class="mzp-c-navigation-l-content"> <div class="sumo-nav--container"> <div class="sumo-nav--logo"> <a href="/en-US/"><img src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/mozilla-support.c4f961a8d7b1d501.svg" alt="Mozilla Support Logo"/></a> </div> <button data-mobile-nav-search-button class="sumo-nav--search-button" type="button">Search</button> <button data-sumo-toggle-nav="#main-navigation" class="sumo-nav--toggle-button" type="button" aria-controls="main-navigation">Menu</button> <a class="sumo-nav--avatar-button" data-sumo-toggle-nav="#profile-navigation" aria-controls="profile-navigation" aria-role="button"> <img class="avatar" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/default-FFA-avatar.2f8c2a0592bda1c5.png" alt="Avatar for Username"> </a> <div class="mzp-c-navigation-items sumo-nav--list-wrap" id="main-navigation"> <div class="mzp-c-navigation-menu"> <nav class="mzp-c-menu mzp-is-basic"> <ul class="mzp-c-menu-category-list sumo-nav--list"> <li class="mzp-c-menu-category mzp-has-drop-down mzp-js-expandable"> <a class="mzp-c-menu-title sumo-nav--link" href="/en-US/questions/" aria-haspopup="true" aria-controls="mzp-c-menu-panel-help">Explore Help Articles</a> <div class="mzp-c-menu-panel mzp-has-card" id="mzp-c-menu-panel-help"> <div class="sumo-nav--dropdown-container"> <div class="sumo-nav--dropdown-grid"> <button class="mzp-c-menu-button-close" type="button" aria-controls="mzp-c-menu-panel-example">Close Firefox menu</button> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g transform="translate(3 3)" stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round"> <rect stroke-linejoin="round" width="18" height="18" rx="2" /> <path d="M4 5h10M4 9h10M4 13h4" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Explore by product</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/products/firefox" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.firefox-browser.product-home", "link_detail": "firefox" }'> Firefox desktop </a> </li> <li> <a href="/en-US/products/firefox-private-network-vpn" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.mozilla-vpn.product-home", "link_detail": "firefox-private-network-vpn" }'> Mozilla VPN </a> </li> <li> <a href="/en-US/products/ios" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.firefox-for-ios.product-home", "link_detail": "ios" }'> Firefox for iOS </a> </li> <li> <a href="/en-US/products/thunderbird" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.thunderbird.product-home", "link_detail": "thunderbird" }'> Thunderbird </a> </li> <li> <a href="/en-US/products/mobile" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.firefox-for-android.product-home", "link_detail": "mobile" }'> Firefox for Android </a> </li> <li> <a class="color-link" href="/en-US/products/" data-event-name="link_click" data-event-parameters='{"link_name": "main-menu.browse-all-articles.list-products"}'> View all products </a> </li> </ul> </section> </div> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g transform="translate(3 3)" stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round"> <rect stroke-linejoin="round" width="18" height="18" rx="2" /> <path d="M4 5h10M4 9h10M4 13h4" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Explore by topic</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/topics/settings" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "settings" }'> Settings </a> </li> <li> <a href="/en-US/topics/installation-and-updates" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "installation-and-updates" }'> Installation and updates </a> </li> <li> <a href="/en-US/topics/email-and-messaging" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "email-and-messaging" }'> Email and messaging </a> </li> <li> <a href="/en-US/topics/performance-and-connectivity" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "performance-and-connectivity" }'> Performance and connectivity </a> </li> <li> <a href="/en-US/topics/privacy-and-security" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "privacy-and-security" }'> Privacy and security </a> </li> <li> <a href="/en-US/topics/browse" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "browse" }'> Browse </a> </li> </ul> </section> </div> </div> </div> </div> </li> <li class="mzp-c-menu-category mzp-has-drop-down mzp-js-expandable"> <a class="mzp-c-menu-title sumo-nav--link" href="#" aria-haspopup="true" aria-controls="mzp-c-menu-panel-tools">Community Forums</a> <div class="mzp-c-menu-panel mzp-has-card" id="mzp-c-menu-panel-tools"> <div class="sumo-nav--dropdown-container"> <div class="sumo-nav--dropdown-grid"> <button class="mzp-c-menu-button-close" type="button" aria-controls="mzp-c-menu-panel-example">Close Firefox menu</button> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <path d="M17 17l-1.051 3.154a1 1 0 01-1.898 0L13 17H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v10a2 2 0 01-2 2h-2zM7 8h10M7 12h10" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Browse by product</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/questions/firefox" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "desktop" }'> Firefox desktop </a> </li> <li> <a href="/en-US/questions/focus-firefox" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "focus" }'> Firefox Focus </a> </li> <li> <a href="/en-US/questions/ios" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "ios" }'> Firefox for iOS </a> </li> <li> <a href="/en-US/questions/thunderbird" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "thunderbird" }'> Thunderbird </a> </li> <li> <a href="/en-US/questions/mobile" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "mobile" }'> Firefox for Android </a> </li> <li> <a class="color-link" href="/en-US/questions/" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "view-all-home" }'> View all forums </a> </li> </ul> </section> </div> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M10.5 9.5L3 17c-1 1.667-1 3 0 4s2.333.833 4-.5l7.5-7.5c2.333 1.054 4.333.734 6-.96 1.667-1.693 1.833-3.707.5-6.04l-3 3-2.5-.5L15 6l3-3c-2.333-1.333-4.333-1.167-6 .5-1.667 1.667-2.167 3.667-1.5 6z" stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> <h4 class="mzp-c-menu-item-title">Browse all forum threads by topic</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/questions/topic/settings" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "settings" }'> Settings </a> </li> <li> <a href="/en-US/questions/topic/installation-and-updates" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "installation-and-updates" }'> Installation and updates </a> </li> <li> <a href="/en-US/questions/topic/email-and-messaging" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "email-and-messaging" }'> Email and messaging </a> </li> <li> <a href="/en-US/questions/topic/performance-and-connectivity" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "performance-and-connectivity" }'> Performance and connectivity </a> </li> <li> <a href="/en-US/questions/topic/privacy-and-security" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "privacy-and-security" }'> Privacy and security </a> </li> <li> <a href="/en-US/questions/topic/browse" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "browse" }'> Browse </a> </li> </ul> </section> </div> </div> </div> </div> </li> <li class="mzp-c-menu-category mzp-has-drop-down mzp-js-expandable"> <a class="mzp-c-menu-title sumo-nav--link" href="/en-US/questions/" aria-haspopup="true" aria-controls="mzp-c-menu-panel-help">Ask a Question</a> <div class="mzp-c-menu-panel mzp-has-card" id="mzp-c-menu-panel-help"> <div class="sumo-nav--dropdown-container"> <div class="sumo-nav--dropdown-grid"> <button class="mzp-c-menu-button-close" type="button" aria-controls="mzp-c-menu-panel-example">Close Firefox menu </button> <div class="sumo-nav--dropdown"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <path d="M11 3H4a2 2 0 00-2 2v12a2 2 0 002 2h9l2 4 2-4h2a2 2 0 002-2v-6" /> <path d="M17.5 2.5a2.121 2.121 0 013 3L13 13l-4 1 1-4 7.5-7.5z" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Get help with</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist-aaq"> <li> <a href="/en-US/questions/new/desktop" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "desktop" }'> Firefox desktop </a> </li> <li> <a href="/en-US/questions/new/firefox-enterprise" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "firefox-enterprise" }'> Firefox for Enterprise </a> </li> <li> <a href="/en-US/questions/new/relay" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "relay" }'> Firefox Relay </a> </li> <li> <a href="/en-US/questions/new/thunderbird" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "thunderbird" }'> Thunderbird </a> </li> <li> <a href="/en-US/questions/new/ios" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "ios" }'> Firefox for iOS </a> </li> <li> <a href="/en-US/questions/new/focus" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "focus" }'> Firefox Focus </a> </li> <li> <a href="/en-US/questions/new/monitor" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "monitor" }'> Monitor </a> </li> <li> <a href="/en-US/questions/new/mozilla-account" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "mozilla-account" }'> Mozilla Account </a> </li> <li> <a href="/en-US/questions/new/mobile" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "mobile" }'> Firefox for Android </a> </li> <li> <a href="/en-US/questions/new/firefox-private-network-vpn" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "firefox-private-network-vpn" }'> Mozilla VPN </a> </li> <li> <a href="/en-US/questions/new/pocket" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "pocket" }'> Pocket </a> </li> <li> <a class="color-link" href="/en-US/questions/new" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-1", "link_detail": "view-all" }'> View all </a> </li> </ul> </section> </div> </div> </div> </div> </li> <li class="mzp-c-menu-category"> <a class="mzp-c-menu-title sumo-nav--link" href="/en-US/contribute" data-event-name="link_click" data-event-parameters='{"link_name": "main-menu.contribute.contribute-home"}'> Contribute </a> </li> </ul> </nav> </div> </div> <div class="mzp-c-navigation-items sumo-nav--list-wrap-right logged-out" id="profile-navigation"> <div class="mzp-c-navigation-menu"> <nav class="mzp-c-menu mzp-is-basic"> <ul class="mzp-c-menu-category-list sumo-nav--list"> <li class="mzp-c-menu-category sumo-nav--item-right"> <form data-instant-search="form" id="support-search" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </li> <li class="mzp-c-menu-category logged-out-button-row "> <a rel="nofollow" href="/en-US/users/auth" class="sumo-button secondary-button button-lg" data-event-name="link_click" data-event-parameters='{"link_name": "main-menu.sign-in-up"}'> Sign In/Up </a> </li> </ul> </nav> </div> </div> <div class="mzp-c-navigation-items sumo-nav--mobile-search-form" id="search-navigation"> <div class="mzp-c-navigation-menu"> <nav class="mzp-c-menu mzp-is-basic"> <form data-instant-search="form" id="mobile-search-results" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </nav> </div> </div> </div> </div> </header><!--/.mzp-c-navigation --> <!-- This is only displayed when the instant search is active. This block is overriden in home.html and product.html, and can likely be removed when frontend search is replaced. --> <div class="home-search-section sumo-page-section--lg shade-bg hidden-search-masthead"> <div class="mzp-l-content narrow"> <div class="home-search-section--content"> <h4 class="sumo-page-heading-xl">Search Support</h4> <form data-instant-search="form" id="hidden-search" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </div> </div> </div> <div class="mzp-l-content " id="main-content"> <div class="sumo-page-section--inner"> <div class="breadcrumbs" id="main-breadcrumbs"> <ol id="breadcrumbs" class="breadcrumbs--list"> <li><a href="/en-US/">Home</a></li> <li><a href="/en-US/products/firefox">Firefox</a></li> <li><a href="/en-US/products/firefox/troubleshooting">Troubleshooting</a></li> <li>How to troubleshoot security error...</li> </ol> </div> <div class="sumo-l-two-col "> <aside id="aside" class="sumo-l-two-col--sidebar"> <div class="search-form-sidebar large-only"> <form data-instant-search="form" id="support-search-sidebar" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </div> <div class="aaq-widget card is-inverse elevation-01 text-center radius-md"> <h2 class="card--title has-bottom-margin"> <svg class="card--icon-sm" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <g transform="translate(2.000000, 1.878680)" stroke="#FFFFFF" stroke-width="2"> <path d="M9,1.12132031 L2,1.12132031 C0.8954305,1.12132031 5.32907052e-15,2.01675081 5.32907052e-15,3.12132031 L5.32907052e-15,15.1213203 C5.32907052e-15,16.2258898 0.8954305,17.1213203 2,17.1213203 L11,17.1213203 L13,21.1213203 L15,17.1213203 L17,17.1213203 C18.1045695,17.1213203 19,16.2258898 19,15.1213203 L19,9.12132031"></path> <path d="M15.5,0.621320312 C16.3284271,-0.207106783 17.6715729,-0.207106769 18.5,0.621320344 C19.3284271,1.44974746 19.3284271,2.79289318 18.5,3.62132031 L11,11.1213203 L7,12.1213203 L8,8.12132031 L15.5,0.621320312 Z"></path> </g> </g> </svg> Ask a Question </h2> <p>Still need help? Sign in to ask your question on our forums.</p> <a class="sumo-button primary-button feature-box" href="/en-US/questions/new/firefox/form" data-event-name="link_click" data-event-parameters='{ "link_name": "aaq-widget.aaq-step-3", "link_detail": "firefox" }'> Continue </a> </div> <nav id="doc-tools"> <ul class="sidebar-nav sidebar-folding"> <li id="editing-tools-sidebar"> <span class="details-heading"></span> <ul class="sidebar-nav--list"> <li> <section class="showfor" id="showfor-panel"> <script type="application/json" class="showfor-data"> {"products": [{"title": "Firefox", "slug": "firefox", "platforms": ["win8", "win7", "winxp", "mac", "linux", "win10", "win11"], "visible": true}], "versions": {"firefox": [{"name": "Version 135", "slug": "fx135", "product": "firefox", "default": false, "min_version": 135.0, "max_version": 136.0, "visible": true}, {"name": "Version 134", "slug": "fx134", "product": "firefox", "default": false, "min_version": 134.0, "max_version": 135.0, "visible": true}, {"name": "Version 133", "slug": "fx133", "product": "firefox", "default": true, "min_version": 133.0, "max_version": 134.0, "visible": true}, {"name": "Version 132", "slug": "fx132", "product": "firefox", "default": false, "min_version": 132.0, "max_version": 133.0, "visible": true}, {"name": "Version 131", "slug": "fx131", "product": "firefox", "default": false, "min_version": 131.0, "max_version": 132.0, "visible": true}, {"name": "Version 130", "slug": "fx130", "product": "firefox", "default": false, "min_version": 130.0, "max_version": 131.0, "visible": true}, {"name": "Version 129", "slug": "fx129", "product": "firefox", "default": false, "min_version": 129.0, "max_version": 130.0, "visible": true}, {"name": "Version 128", "slug": "fx128", "product": "firefox", "default": false, "min_version": 128.0, "max_version": 129.0, "visible": true}, {"name": "Version 127", "slug": "fx127", "product": "firefox", "default": false, "min_version": 127.0, "max_version": 128.0, "visible": true}, {"name": "Version 126", "slug": "fx126", "product": "firefox", "default": false, "min_version": 126.0, "max_version": 127.0, "visible": true}, {"name": "Version 125", "slug": "fx125", "product": "firefox", "default": false, "min_version": 125.0, "max_version": 126.0, "visible": true}, {"name": "Version 124", "slug": "fx124", "product": "firefox", "default": false, "min_version": 124.0, "max_version": 125.0, "visible": true}, {"name": "Version 123", "slug": "fx123", "product": "firefox", "default": false, "min_version": 123.0, "max_version": 124.0, "visible": true}, {"name": "Version 122", "slug": "fx122", "product": "firefox", "default": false, "min_version": 122.0, "max_version": 123.0, "visible": true}, {"name": "Version 121", "slug": "fx121", "product": "firefox", "default": false, "min_version": 121.0, "max_version": 122.0, "visible": true}, {"name": "Version 120", "slug": "fx120", "product": "firefox", "default": false, "min_version": 120.0, "max_version": 121.0, "visible": true}, {"name": "Version 119", "slug": "fx119", "product": "firefox", "default": false, "min_version": 119.0, "max_version": 120.0, "visible": true}, {"name": "Version 118", "slug": "fx118", "product": "firefox", "default": false, "min_version": 118.0, "max_version": 119.0, "visible": true}, {"name": "Version 117", "slug": "fx117", "product": "firefox", "default": false, "min_version": 117.0, "max_version": 118.0, "visible": true}, {"name": "Version 116", "slug": "fx116", "product": "firefox", "default": false, "min_version": 116.0, "max_version": 117.0, "visible": true}, {"name": "Version 115", "slug": "fx115", "product": "firefox", "default": false, "min_version": 115.0, "max_version": 116.0, "visible": true}, {"name": "Version 114", "slug": "fx114", "product": "firefox", "default": false, "min_version": 114.0, "max_version": 115.0, "visible": false}, {"name": "Version 113", "slug": "fx113", "product": "firefox", "default": false, "min_version": 113.0, "max_version": 114.0, "visible": false}, {"name": "Version 112", "slug": "fx112", "product": "firefox", "default": false, "min_version": 112.0, "max_version": 113.0, "visible": false}, {"name": "Version 111", "slug": "fx111", "product": "firefox", "default": false, "min_version": 111.0, "max_version": 112.0, "visible": false}, {"name": "Version 110", "slug": "fx110", "product": "firefox", "default": false, "min_version": 110.0, "max_version": 111.0, "visible": false}, {"name": "Version 109", "slug": "fx109", "product": "firefox", "default": false, "min_version": 109.0, "max_version": 110.0, "visible": false}, {"name": "Version 108", "slug": "fx108", "product": "firefox", "default": false, "min_version": 108.0, "max_version": 109.0, "visible": false}, {"name": "Version 107", "slug": "fx107", "product": "firefox", "default": false, "min_version": 107.0, "max_version": 108.0, "visible": false}, {"name": "Version 106", "slug": "fx106", "product": "firefox", "default": false, "min_version": 106.0, "max_version": 107.0, "visible": false}, {"name": "Version 105", "slug": "fx105", "product": "firefox", "default": false, "min_version": 105.0, "max_version": 106.0, "visible": false}, {"name": "Version 104", "slug": "fx104", "product": "firefox", "default": false, "min_version": 104.0, "max_version": 105.0, "visible": false}, {"name": "Version 103", "slug": "fx103", "product": "firefox", "default": false, "min_version": 103.0, "max_version": 104.0, "visible": false}, {"name": "Version 102", "slug": "fx102", "product": "firefox", "default": false, "min_version": 102.0, "max_version": 103.0, "visible": false}, {"name": "Version 101", "slug": "fx101", "product": "firefox", "default": false, "min_version": 101.0, "max_version": 102.0, "visible": false}, {"name": "Version 100", "slug": "fx100", "product": "firefox", "default": false, "min_version": 100.0, "max_version": 101.0, "visible": false}, {"name": "Version 99", "slug": "fx99", "product": "firefox", "default": false, "min_version": 99.0, "max_version": 100.0, "visible": false}, {"name": "Version 98", "slug": "fx98", "product": "firefox", "default": false, "min_version": 98.0, "max_version": 99.0, "visible": false}, {"name": "Version 97", "slug": "fx97", "product": "firefox", "default": false, "min_version": 97.0, "max_version": 98.0, "visible": false}, {"name": "Version 96", "slug": "fx96", "product": "firefox", "default": false, "min_version": 96.0, "max_version": 97.0, "visible": false}, {"name": "Version 95", "slug": "fx95", "product": "firefox", "default": false, "min_version": 95.0, "max_version": 96.0, "visible": false}, {"name": "Version 94", "slug": "fx94", "product": "firefox", "default": false, "min_version": 94.0, "max_version": 95.0, "visible": false}, {"name": "Version 93", "slug": "fx93", "product": "firefox", "default": false, "min_version": 93.0, "max_version": 94.0, "visible": false}, {"name": "Version 92", "slug": "fx92", "product": "firefox", "default": false, "min_version": 92.0, "max_version": 93.0, "visible": false}, {"name": "Version 91", "slug": "fx91", "product": "firefox", "default": false, "min_version": 91.0, "max_version": 92.0, "visible": false}, {"name": "Version 90", "slug": "fx90", "product": "firefox", "default": false, "min_version": 90.0, "max_version": 91.0, "visible": false}, {"name": "Version 89", "slug": "fx89", "product": "firefox", "default": false, "min_version": 89.0, "max_version": 90.0, "visible": false}, {"name": "Version 88", "slug": "fx88", "product": "firefox", "default": false, "min_version": 88.0, "max_version": 89.0, "visible": false}, {"name": "Version 87", "slug": "fx87", "product": "firefox", "default": false, "min_version": 87.0, "max_version": 88.0, "visible": false}, {"name": "Version 86", "slug": "fx86", "product": "firefox", "default": false, "min_version": 86.0, "max_version": 87.0, "visible": false}, {"name": "Version 85", "slug": "fx85", "product": "firefox", "default": false, "min_version": 85.0, "max_version": 86.0, "visible": false}, {"name": "Version 84", "slug": "fx84", "product": "firefox", "default": false, "min_version": 84.0, "max_version": 85.0, "visible": false}, {"name": "Version 83", "slug": "fx83", "product": "firefox", "default": false, "min_version": 83.0, "max_version": 84.0, "visible": false}, {"name": "Version 82", "slug": "fx82", "product": "firefox", "default": false, "min_version": 82.0, "max_version": 83.0, "visible": false}, {"name": "Version 81", "slug": "fx81", "product": "firefox", "default": false, "min_version": 81.0, "max_version": 82.0, "visible": false}, {"name": "Version 80", "slug": "fx80", "product": "firefox", "default": false, "min_version": 80.0, "max_version": 81.0, "visible": false}, {"name": "Version 79", "slug": "fx79", "product": "firefox", "default": false, "min_version": 79.0, "max_version": 80.0, "visible": false}, {"name": "Version 78", "slug": "fx78", "product": "firefox", "default": false, "min_version": 78.0, "max_version": 79.0, "visible": false}, {"name": "Version 77", "slug": "fx77", "product": "firefox", "default": false, "min_version": 77.0, "max_version": 78.0, "visible": false}, {"name": "Version 76", "slug": "fx76", "product": "firefox", "default": false, "min_version": 76.0, "max_version": 77.0, "visible": false}, {"name": "Version 75", "slug": "fx75", "product": "firefox", "default": false, "min_version": 75.0, "max_version": 76.0, "visible": false}, {"name": "Version 74", "slug": "fx74", "product": "firefox", "default": false, "min_version": 74.0, "max_version": 75.0, "visible": false}, {"name": "Version 73", "slug": "fx73", "product": "firefox", "default": false, "min_version": 73.0, "max_version": 74.0, "visible": false}, {"name": "Version 72", "slug": "fx72", "product": "firefox", "default": false, "min_version": 72.0, "max_version": 73.0, "visible": false}, {"name": "Version 71", "slug": "fx71", "product": "firefox", "default": false, "min_version": 71.0, "max_version": 72.0, "visible": false}, {"name": "Version 70", "slug": "fx70", "product": "firefox", "default": false, "min_version": 70.0, "max_version": 71.0, "visible": false}, {"name": "Version 69", "slug": "fx69", "product": "firefox", "default": false, "min_version": 69.0, "max_version": 70.0, "visible": false}, {"name": "Version 68", "slug": "fx68", "product": "firefox", "default": false, "min_version": 68.0, "max_version": 69.0, "visible": false}, {"name": "Version 67", "slug": "fx67", "product": "firefox", "default": false, "min_version": 67.0, "max_version": 68.0, "visible": false}, {"name": "Version 66", "slug": "fx66", "product": "firefox", "default": false, "min_version": 66.0, "max_version": 67.0, "visible": false}, {"name": "Version 65", "slug": "fx65", "product": "firefox", "default": false, "min_version": 65.0, "max_version": 66.0, "visible": false}, {"name": "Version 64", "slug": "fx64", "product": "firefox", "default": false, "min_version": 64.0, "max_version": 65.0, "visible": false}, {"name": "Version 63", "slug": "fx63", "product": "firefox", "default": false, "min_version": 63.0, "max_version": 64.0, "visible": false}, {"name": "Version 62", "slug": "fx62", "product": "firefox", "default": false, "min_version": 62.0, "max_version": 63.0, "visible": false}, {"name": "Version 61", "slug": "fx61", "product": "firefox", "default": false, "min_version": 61.0, "max_version": 62.0, "visible": false}, {"name": "Version 60", "slug": "fx60", "product": "firefox", "default": false, "min_version": 60.0, "max_version": 61.0, "visible": false}, {"name": "Version 59", "slug": "fx59", "product": "firefox", "default": false, "min_version": 59.0, "max_version": 60.0, "visible": false}, {"name": "Version 58", "slug": "fx58", "product": "firefox", "default": false, "min_version": 58.0, "max_version": 59.0, "visible": false}, {"name": "Version 57", "slug": "fx57", "product": "firefox", "default": false, "min_version": 57.0, "max_version": 58.0, "visible": false}, {"name": "Version 56", "slug": "fx56", "product": "firefox", "default": false, "min_version": 56.0, "max_version": 57.0, "visible": false}, {"name": "Version 55", "slug": "fx55", "product": "firefox", "default": false, "min_version": 55.0, "max_version": 56.0, "visible": false}, {"name": "Version 54", "slug": "fx54", "product": "firefox", "default": false, "min_version": 54.0, "max_version": 55.0, "visible": false}, {"name": "Version 53", "slug": "fx53", "product": "firefox", "default": false, "min_version": 53.0, "max_version": 54.0, "visible": false}, {"name": "Version 52", "slug": "fx52", "product": "firefox", "default": false, "min_version": 52.0, "max_version": 53.0, "visible": false}, {"name": "Version 51", "slug": "fx51", "product": "firefox", "default": false, "min_version": 51.0, "max_version": 52.0, "visible": false}, {"name": "Version 50", "slug": "fx50", "product": "firefox", "default": false, "min_version": 50.0, "max_version": 51.0, "visible": false}, {"name": "Version 49", "slug": "fx49", "product": "firefox", "default": false, "min_version": 49.0, "max_version": 50.0, "visible": false}, {"name": "Version 48", "slug": "fx48", "product": "firefox", "default": false, "min_version": 48.0, "max_version": 49.0, "visible": false}, {"name": "Version 47", "slug": "fx47", "product": "firefox", "default": false, "min_version": 47.0, "max_version": 48.0, "visible": false}, {"name": "Version 46", "slug": "fx46", "product": "firefox", "default": false, "min_version": 46.0, "max_version": 47.0, "visible": false}, {"name": "Version 45", "slug": "fx45", "product": "firefox", "default": false, "min_version": 45.0, "max_version": 46.0, "visible": false}, {"name": "Version 44", "slug": "fx44", "product": "firefox", "default": false, "min_version": 44.0, "max_version": 45.0, "visible": false}, {"name": "Version 43", "slug": "fx43", "product": "firefox", "default": false, "min_version": 43.0, "max_version": 44.0, "visible": false}, {"name": "Version 42", "slug": "fx42", "product": "firefox", "default": false, "min_version": 42.0, "max_version": 43.0, "visible": false}, {"name": "Version 41", "slug": "fx41", "product": "firefox", "default": false, "min_version": 41.0, "max_version": 42.0, "visible": false}, {"name": "Version 40", "slug": "fx40", "product": "firefox", "default": false, "min_version": 40.0, "max_version": 41.0, "visible": false}, {"name": "Version 39", "slug": "fx39", "product": "firefox", "default": false, "min_version": 39.0, "max_version": 40.0, "visible": false}, {"name": "Version 38", "slug": "fx38", "product": "firefox", "default": false, "min_version": 38.0, "max_version": 39.0, "visible": false}, {"name": "Version 37", "slug": "fx37", "product": "firefox", "default": false, "min_version": 37.0, "max_version": 38.0, "visible": false}, {"name": "Version 36", "slug": "fx36", "product": "firefox", "default": false, "min_version": 36.0, "max_version": 37.0, "visible": false}, {"name": "Version 35", "slug": "fx35", "product": "firefox", "default": false, "min_version": 35.0, "max_version": 36.0, "visible": false}, {"name": "Version 34", "slug": "fx34", "product": "firefox", "default": false, "min_version": 34.0, "max_version": 35.0, "visible": false}, {"name": "Version 33", "slug": "fx33", "product": "firefox", "default": false, "min_version": 33.0, "max_version": 34.0, "visible": false}, {"name": "Version 32", "slug": "fx32", "product": "firefox", "default": false, "min_version": 32.0, "max_version": 33.0, "visible": false}, {"name": "Version 31", "slug": "fx31", "product": "firefox", "default": false, "min_version": 31.0, "max_version": 32.0, "visible": false}, {"name": "Version 30", "slug": "fx30", "product": "firefox", "default": false, "min_version": 30.0, "max_version": 31.0, "visible": false}, {"name": "Version 29", "slug": "fx29", "product": "firefox", "default": false, "min_version": 29.0, "max_version": 30.0, "visible": false}, {"name": "Version 28", "slug": "fx28", "product": "firefox", "default": false, "min_version": 28.0, "max_version": 29.0, "visible": false}, {"name": "Version 27", "slug": "fx27", "product": "firefox", "default": false, "min_version": 27.0, "max_version": 28.0, "visible": false}, {"name": "Version 26", "slug": "fx26", "product": "firefox", "default": false, "min_version": 26.0, "max_version": 27.0, "visible": false}, {"name": "Version 25", "slug": "fx25", "product": "firefox", "default": false, "min_version": 25.0, "max_version": 26.0, "visible": false}, {"name": "Version 24 ESR", "slug": "fx24", "product": "firefox", "default": false, "min_version": 24.0, "max_version": 25.0, "visible": false}, {"name": "Version 24", "slug": "fx24", "product": "firefox", "default": false, "min_version": 24.0, "max_version": 25.0, "visible": false}, {"name": "Version 23", "slug": "fx23", "product": "firefox", "default": false, "min_version": 23.0, "max_version": 24.0, "visible": false}, {"name": "Version 22", "slug": "fx22", "product": "firefox", "default": false, "min_version": 22.0, "max_version": 23.0, "visible": false}, {"name": "Version 21", "slug": "fx21", "product": "firefox", "default": false, "min_version": 21.0, "max_version": 22.0, "visible": false}, {"name": "Version 20", "slug": "fx20", "product": "firefox", "default": false, "min_version": 20.0, "max_version": 21.0, "visible": false}, {"name": "Version 19", "slug": "fx19", "product": "firefox", "default": false, "min_version": 19.0, "max_version": 20.0, "visible": false}, {"name": "Version 18", "slug": "fx18", "product": "firefox", "default": false, "min_version": 18.0, "max_version": 19.0, "visible": false}, {"name": "Version 17 (ESR)", "slug": "fx17", "product": "firefox", "default": false, "min_version": 17.0, "max_version": 18.0, "visible": false}, {"name": "Version 16", "slug": "fx16", "product": "firefox", "default": false, "min_version": 16.0, "max_version": 17.0, "visible": false}, {"name": "Version 15", "slug": "fx15", "product": "firefox", "default": false, "min_version": 15.0, "max_version": 16.0, "visible": false}, {"name": "Version 14", "slug": "fx14", "product": "firefox", "default": false, "min_version": 14.0, "max_version": 15.0, "visible": false}, {"name": "Version 13", "slug": "fx13", "product": "firefox", "default": false, "min_version": 13.0, "max_version": 14.0, "visible": false}, {"name": "Version 12", "slug": "fx12", "product": "firefox", "default": false, "min_version": 12.0, "max_version": 13.0, "visible": false}, {"name": "Version 11", "slug": "fx11", "product": "firefox", "default": false, "min_version": 11.0, "max_version": 12.0, "visible": false}, {"name": "Version 10 (ESR)", "slug": "fx10", "product": "firefox", "default": false, "min_version": 10.0, "max_version": 11.0, "visible": false}, {"name": "Version 9", "slug": "fx9", "product": "firefox", "default": false, "min_version": 9.0, "max_version": 10.0, "visible": false}, {"name": "Version 8", "slug": "fx8", "product": "firefox", "default": false, "min_version": 8.0, "max_version": 9.0, "visible": false}, {"name": "Version 7", "slug": "fx7", "product": "firefox", "default": false, "min_version": 7.0, "max_version": 8.0, "visible": false}, {"name": "Version 6", "slug": "fx6", "product": "firefox", "default": false, "min_version": 6.0, "max_version": 7.0, "visible": false}, {"name": "Version 5", "slug": "fx5", "product": "firefox", "default": false, "min_version": 5.0, "max_version": 6.0, "visible": false}, {"name": "Version 4", "slug": "fx4", "product": "firefox", "default": false, "min_version": 4.0, "max_version": 5.0, "visible": false}, {"name": "Version 117", "slug": "fx117", "product": "firefox", "default": false, "min_version": -1.0, "max_version": 1.0, "visible": false}]}, "platforms": {"firefox": [{"name": "Linux", "slug": "linux", "visible": true}, {"name": "Mac", "slug": "mac", "visible": true}, {"name": "Windows XP", "slug": "winxp", "visible": true}, {"name": "Windows 7/Vista", "slug": "win7", "visible": true}, {"name": "Windows 8", "slug": "win8", "visible": true}, {"name": "Windows 10", "slug": "win10", "visible": true}, {"name": "Windows 11", "slug": "win11", "visible": true}]}} </script> <h3 class="sidebar-subheading force-top-margin">Customize this article</h3> <div class="product" data-product="firefox"> <div class="field checkbox is-condensed"> <input type="checkbox" id="id_firefox" checked value="product:firefox" /> <label for="id_firefox">Firefox</label> </div> <div class="selectbox-wrapper"> <select class="version"> <option value="version:fx135" data-min="135.0" data-max="136.0" > Version 135 </option> <option value="version:fx134" data-min="134.0" data-max="135.0" > Version 134 </option> <option value="version:fx133" data-min="133.0" data-max="134.0" selected> Version 133 </option> <option value="version:fx132" data-min="132.0" data-max="133.0" > Version 132 </option> <option value="version:fx131" data-min="131.0" data-max="132.0" > Version 131 </option> <option value="version:fx130" data-min="130.0" data-max="131.0" > Version 130 </option> <option value="version:fx129" data-min="129.0" data-max="130.0" > Version 129 </option> <option value="version:fx128" data-min="128.0" data-max="129.0" > Version 128 </option> <option value="version:fx127" data-min="127.0" data-max="128.0" > Version 127 </option> <option value="version:fx126" data-min="126.0" data-max="127.0" > Version 126 </option> <option value="version:fx125" data-min="125.0" data-max="126.0" > Version 125 </option> <option value="version:fx124" data-min="124.0" data-max="125.0" > Version 124 </option> <option value="version:fx123" data-min="123.0" data-max="124.0" > Version 123 </option> <option value="version:fx122" data-min="122.0" data-max="123.0" > Version 122 </option> <option value="version:fx121" data-min="121.0" data-max="122.0" > Version 121 </option> <option value="version:fx120" data-min="120.0" data-max="121.0" > Version 120 </option> <option value="version:fx119" data-min="119.0" data-max="120.0" > Version 119 </option> <option value="version:fx118" data-min="118.0" data-max="119.0" > Version 118 </option> <option value="version:fx117" data-min="117.0" data-max="118.0" > Version 117 </option> <option value="version:fx116" data-min="116.0" data-max="117.0" > Version 116 </option> <option value="version:fx115" data-min="115.0" data-max="116.0" > Version 115 </option> </select> </div> <div class="selectbox-wrapper"> <select class="platform"> <option value="platform:win8" > Windows 8 </option> <option value="platform:win7" > Windows 7/Vista </option> <option value="platform:winxp" > Windows XP </option> <option value="platform:mac" > Mac </option> <option value="platform:linux" > Linux </option> <option value="platform:win10" > Windows 10 </option> <option value="platform:win11" > Windows 11 </option> </select> </div> </div> </section> </li> </ul> </li> </ul> </nav> <div class="document-vote--sidebar-wrap"> <div class="document-vote elevation-01 text-center"> <form class="document-vote--form helpful" action="/en-US/kb/error-codes-secure-websites/vote" method="post"> <input type='hidden' name='csrfmiddlewaretoken' value='gXH6v3HKAdgrSMybT9I9ZJ7dNeJ78zVzT3IdYH5YYvuylE68yxxJsWMv7WbyWxYy' /> <h4 class="document-vote--heading">Was this article helpful?</h4> <div class="document-vote--buttons"> <input type="hidden" name="revision_id" value="263806" /> <input type="hidden" name="source" value="footer" /> <button type="submit" class="btn helpful-button" name="helpful"><span class="hidden-text">Yes</span>👍</button> <button type="submit" class="btn not-helpful-button" name="not-helpful"><span class="hidden-text">No</span>👎</button> <img class="wait" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/spinner.18d6c26adc937688.gif" alt="Please wait..." /> </div> </form> </div> </div> </aside> <main role="main" class="sumo-l-two-col--main"> <section id="document-list"> <header class="sumo-article-header kb-header"> <div class="sumo-article-header--text"> <div class="documents-product-title"> <a href="/en-US/products/firefox" title="Firefox"> <img src="https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png" height="48" width="48" alt="" /> </a> <div class="firefox-download-button hidden"> <div class="download-buttons"> <div class="download-firefox"> <a href="https://www.mozilla.org/firefox/new/?utm_source=support.mozilla.org&utm_medium=referral&utm_campaign=non-fx-button&utm_content=body-download-button" class="download-button sumo-button primary-button button-lg"> Download Firefox </a> <ul class="download-info text-body-xs"> <li><a href="https://www.mozilla.org/firefox/all/">Systems and Languages</a></li> <li><a href="https://www.mozilla.org/firefox/notes">What's New</a></li> <li><a href="https://www.mozilla.org/legal/privacy/firefox">Privacy</a></li> </ul> </div> </div> </div> </div> <h1 class="sumo-page-heading">How to troubleshoot security error codes on secure websites</h1> </div> </header> <article class="wiki-doc"> <div id="document_metadata" class="has-border-bottom"> <span class="product tooltip-container"> Firefox <span class="tooltip">Firefox</span> </span> <span class="last-updated"> <img class="pencil" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/pencil.e33c563f24c4f989.svg" /> <strong>Last updated:</strong> <span class="time"> <time datetime="2023-07-27T22:12:32-07:00">7/27/23</time> </span> </span> <span class="helpful-info"> <img class="thumbsup" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/thumbs-up.2cbd5d41625a84a7.svg"/><span class="helpful-count">42%</span> of users voted this helpful </span> </div> <section id="doc-content" class="document--content "> <p>For websites that are securely encrypted (the URL begins with "http<strong>s</strong>://"), Firefox must verify that the certificate presented by the website is valid. If the certificate cannot be validated, Firefox will stop the connection to the website and show a "Warning: Potential Security Risk Ahead" error page instead. Clicking the <span class="button">Advanced</span> button, you can view the specific error Firefox encountered. </p><p>This article explains why you might see the error codes SEC_ERROR_UNKNOWN_ISSUER, MOZILLA_PKIX_ERROR_MITM_DETECTED or ERROR_SELF_SIGNED_CERT on an error page and how to troubleshoot it. </p> <div class="note">For other error codes on the "Warning: Potential Security Risk Ahead" error page, see the <a href="/en-US/kb/what-does-your-connection-is-not-secure-mean">What do the security warning codes mean?</a> article. For <em>Secure Connection Failed</em> or <em>Did Not Connect: Potential Security Issue</em> error pages, see the article <a href="/en-US/kb/secure-connection-failed-firefox-did-not-connect">Secure connection failed and Firefox did not connect</a>.</div> <div id="toc"><h2>Table of Contents</h2><ul><li class="toclevel-1"><a href="#w_what-does-this-error-code-mean"><span class="tocnumber">1</span> <span class="toctext">What does this error code mean?</span></a></li><li class="toclevel-1"><a href="#w_the-error-occurs-on-multiple-secure-sites"><span class="tocnumber">2</span> <span class="toctext">The error occurs on multiple secure sites</span></a><ul><li class="toclevel-2"><a href="#w_antivirus-products"><span class="tocnumber">2.1</span> <span class="toctext">Antivirus products</span></a><ul><li class="toclevel-3"><a href="#w_avastavg"><span class="tocnumber">2.1.1</span> <span class="toctext">Avast/AVG</span></a></li><li class="toclevel-3"><a href="#w_bitdefender"><span class="tocnumber">2.1.2</span> <span class="toctext">Bitdefender</span></a></li><li class="toclevel-3"><a href="#w_bullguard"><span class="tocnumber">2.1.3</span> <span class="toctext">Bullguard</span></a></li><li class="toclevel-3"><a href="#w_eset"><span class="tocnumber">2.1.4</span> <span class="toctext">ESET</span></a></li><li class="toclevel-3"><a href="#w_kaspersky"><span class="tocnumber">2.1.5</span> <span class="toctext">Kaspersky</span></a></li></ul></li><li class="toclevel-2"><a href="#w_family-safety-settings-in-windows-accounts"><span class="tocnumber">2.2</span> <span class="toctext">Family Safety settings in Windows accounts</span></a></li><li class="toclevel-2"><a href="#w_monitoringfiltering-in-corporate-networks"><span class="tocnumber">2.3</span> <span class="toctext">Monitoring/filtering in corporate networks</span></a></li><li class="toclevel-2"><a href="#w_malware"><span class="tocnumber">2.4</span> <span class="toctext">Malware</span></a></li></ul></li><li class="toclevel-1"><a href="#w_the-error-occurs-on-one-particular-site-only"><span class="tocnumber">3</span> <span class="toctext">The error occurs on one particular site only</span></a><ul><li class="toclevel-2"><a href="#w_certificate-issued-by-an-authority-belonging-to-symantec"><span class="tocnumber">3.1</span> <span class="toctext">Certificate issued by an authority belonging to Symantec</span></a></li><li class="toclevel-2"><a href="#w_missing-intermediate-certificate"><span class="tocnumber">3.2</span> <span class="toctext">Missing intermediate certificate</span></a></li><li class="toclevel-2"><a href="#w_self-signed-certificate"><span class="tocnumber">3.3</span> <span class="toctext">Self-signed certificate</span></a></li><li class="toclevel-2"><a href="#w_bypassing-the-warning"><span class="tocnumber">3.4</span> <span class="toctext">Bypassing the warning</span></a></li></ul></li></ul></div> <h1 id="w_what-does-this-error-code-mean">What does this error code mean?</h1> <p>During a secure connection, a website must provide a certificate issued by a trusted <a href="https://wikipedia.org/wiki/Certificate_authority">certificate authority</a> to ensure that the user is connected to the intended target and the connection is encrypted. If you click the <span class="button">Advanced</span> button on a "Warning: Potential Security Risk Ahead" error page and you see the error code SEC_ERROR_UNKNOWN_ISSUER or MOZILLA_PKIX_ERROR_MITM_DETECTED, it means that the provided certificate was issued by a certificate authority that is not known by Firefox and, therefore, cannot be trusted by default. </p><p><img alt="Fx66WarningSEC_ERROR_UNKNOWN_ISSUER" class="wiki-image frameless lazy" data-original-src="https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2019-03-11-10-35-01-7dc26c.png" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/placeholder.688345f843bb37ed.gif" title=""> </p> <h1 id="w_the-error-occurs-on-multiple-secure-sites">The error occurs on multiple secure sites</h1> <p>If you get this problem on multiple unrelated HTTPS-sites, it indicates that something on your system or network is intercepting your connection and injecting certificates in a way that is not trusted by Firefox. The most common causes are security software scanning encrypted connections, or malware listening in and replacing legitimate website certificates with their own. In particular, the error code MOZILLA_PKIX_ERROR_MITM_DETECTED indicates that Firefox detected connection interception. </p> <h2 id="w_antivirus-products">Antivirus products</h2> <p>Third-party antivirus software can interfere with Firefox's secure connections.<span class="for" data-for="winxp,win7,mac,linux"> You could try reinstalling it, which might trigger the software into placing its certificates into the Firefox trust store again.</span> </p><div class="for" data-for="win8,win10"><p>We recommend uninstalling your third-party software and using the security software offered for Windows by Microsoft: </p> <ul><li> Windows 8 and Windows 10 - Windows Defender (<a href="https://www.microsoft.com/windows/comprehensive-security">built-in</a>) </li></ul> <p>If you do not want to uninstall your third-party software, you could try reinstalling it, which might trigger the software into placing its certificates into the Firefox trust store again. </p></div><p>Here are some alternative solutions you can try: </p> <h3 id="w_avastavg">Avast/AVG</h3> <p>In Avast or AVG security products you can disable the interception of secure connections: </p> <ol><li> Open the dashboard of your Avast or AVG application. </li><li> Go to <span class="menu">Menu</span> and click on <span class="menu">Settings</span> > <span class="menu">Protection</span> > <span class="menu">Core Shields</span>. </li><li> Scroll down to the Configure shield settings section and click on <span class="menu">Web Shield</span>. </li><li> Uncheck the box next to <span class="menu">Enable HTTPS Scanning</span> and confirm this by clicking <span class="button">OK</span>. <dl><dt><div class="note"> In older versions of the product you'll find the corresponding option when you go to <span class="menu">Menu</span> > <span class="menu">Settings</span> > <span class="menu">Components</span> and click <span class="button">Customize</span> next to <span class="menu">Web Shield</span></div> </dt></dl> </li></ol> <p>See the Avast support article <a href="https://support.avast.com/en-us/article/189/">Managing HTTPS scanning in Web Shield in Avast Antivirus</a> for details. More Information about this feature is available on this <a href="https://blog.avast.com/2015/05/25/explaining-avasts-https-scanning-feature/">Avast Blog</a>. </p> <h3 id="w_bitdefender">Bitdefender</h3> <p>In Bitdefender security products you can disable the interception of secure connections: </p> <ol><li> Open the dashboard of your Bitdefender application. </li><li> Go to <span class="menu">Protection</span> and in the <span class="menu">Online Threat Prevention</span> section click on <span class="menu">Settings</span>. </li><li> Toggle off the <span class="pref">Encrypted Web Scan</span> setting. <dl><dt><div class="note"> In older versions of the product you can find the corresponding option labelled <span class="pref">Scan SSL</span> when you go to <span class="menu">Modules</span> > <span class="menu">Web Protection</span></div> </dt></dl> </li></ol> <p>In Bitdefender Antivirus Free it's not possible to control this setting. You can try to <a href="https://www.bitdefender.com/support/repairing-or-removing-bitdefender-free-edition-1160.html">repair or remove the program</a> instead when you're having problems accessing secure websites. </p><p>For corporate Bitdefender products, please refer to this <a href="http://www.bitdefender.com/support/how-to-enable-ssl-https-scanning-in-cloud-security-for-endpoints-1117.html">Bitdefender Support Center page</a>. </p> <h3 id="w_bullguard">Bullguard</h3> <p>In Bullguard security products you can disable the interception of secure connections on particular major websites like Google, Yahoo and Facebook: </p> <ol><li> Open the dashboard of your Bullguard application. </li><li> Click on <span class="menu">Settings</span> and enable the <span class="pref">Advanced</span> view on the top right of the panel. </li><li> Go to <span class="menu">Antivirus</span> > <span class="menu">Safe browsing</span>. </li><li> Uncheck the <span class="menu">Show safe results</span> option for those websites which are showing an error message. </li></ol> <h3 id="w_eset">ESET</h3> <p>In ESET security products you can try to disable and re-enable <span class="pref">SSL/TLS protocol filtering</span> or generally disable the interception of secure connections as described in <a href="http://support.eset.com/kb3126/">ESET’s support article</a>. </p> <h3 id="w_kaspersky">Kaspersky</h3> <p>Affected users of Kaspersky should upgrade to the most recent version of their security product, as Kaspersky 2019 and above contain mitigations for this problem. The <a href="https://www.kaspersky.com/downloads">Kaspersky Downloads page</a> includes "update" links that will install the latest version free of charge for users with a current subscription. </p><p>Otherwise, you can also disable the interception of secure connections: </p> <ol><li> Open the dashboard of your Kaspersky application. </li><li> Click on <span class="menu">Settings</span> on the bottom-left. </li><li> Click <span class="menu">Additional</span> and then <span class="menu">Network</span>. </li><li> In the <span class="menu">Encrypted connections scanning</span> section check the <span class="pref">Do not scan encrypted connections</span> option and confirm this change. </li><li> Finally, reboot your system for the changes to take effect. </li></ol> <div class="for" data-for="win8"> <h2 id="w_family-safety-settings-in-windows-accounts">Family Safety settings in Windows accounts</h2> <p>In Microsoft Windows accounts protected by Family Safety settings, secure connections on popular websites like Google, Facebook and YouTube might be intercepted and their certificates replaced by a certificate issued by Microsoft in order to filter and record search activity. </p><p>Read this <a href="http://windows.microsoft.com/en-us/windows/family-features-remove-uninstall-faq">Microsoft FAQ page</a> on how to turn off these family features for accounts. In case you want to manually install the missing certificates for affected accounts, you can refer to this <a href="https://support.microsoft.com/en-us/kb/2965142#bookmark-2">Microsoft support article</a>. </p></div> <h2 id="w_monitoringfiltering-in-corporate-networks">Monitoring/filtering in corporate networks</h2> <p>Some traffic monitoring/filtering products used in corporate environments might intercept encrypted connections by replacing a website's certificate with their own, at the same time possibly triggering errors on secure HTTPS-sites. </p><p>If you suspect this might be the case, please contact your IT department to ensure the correct configuration of Firefox to enable it to work properly in such an environment, as the necessary certificate might have to be placed in the Firefox trust store first. More information for IT departments on how to go about this can be found in the Mozilla Wiki page <a href="https://wiki.mozilla.org/CA:AddRootToFirefox">CA:AddRootToFirefox</a>. </p> <h2 id="w_malware">Malware</h2> <p>Some forms of malware intercepting encrypted web traffic can cause this error message - refer to the article <a href="/en-US/kb/troubleshoot-firefox-issues-caused-malware">Troubleshoot Firefox issues caused by malware</a> on how to deal with malware problems. </p> <h1 id="w_the-error-occurs-on-one-particular-site-only">The error occurs on one particular site only</h1> <p>In case you get this problem on one particular site only, this type of error generally indicates that the web server is not configured properly. However, if you see this error on a legitimate major website like Google or Facebook or sites where financial transactions take place, you should continue with the <a href="#w_the-error-occurs-on-multiple-secure-sites">steps outlined above</a>. </p> <h2 id="w_certificate-issued-by-an-authority-belonging-to-symantec">Certificate issued by an authority belonging to Symantec</h2> <p> After a number of irregularities with certificates issued by Symantec root authorities came to light, browser vendors, including Mozilla, are gradually removing trust from these certificates in their products. Firefox will no longer trust server certificates issued by Symantec, including those issued under the GeoTrust, RapidSSL, Thawte and Verisign brands. For more information, see <a href="https://blog.mozilla.org/security/2018/10/10/delaying-further-symantec-tls-certificate-distrust/">this Mozilla blog post</a>. </p><p>MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED will be the primary error, but with some servers, you may see the error code SEC_ERROR_UNKNOWN_ISSUER instead. If you come across such a site you should contact the owner of the website to inform them of the problem. </p><p>Mozilla strongly encourages operators of affected sites to take immediate action to replace these certificates. For more help, see <a href="https://www.digicert.com/blog/digicert-helping-customers-replace-symantec-certificates">this DigiCert blog post</a> and <a href="https://www.digicert.com/tools">DigiCert Tools</a>. </p> <h2 id="w_missing-intermediate-certificate">Missing intermediate certificate</h2> <p>On a site with a missing intermediate certificate you will see the following error description after you click on <span class="button">Advanced</span> on the error page: </p> <div class="note">The certificate is not trusted because the issuer certificate is unknown.<br>The server might not be sending the appropriate intermediate certificates.<br>An additional root certificate may need to be imported.</div> <p>The website's certificate might not have been issued by a trusted certificate authority itself and no complete certificate chain to a trusted authority was provided either (a so-called "intermediate certificate" is missing). <br>You can test if a site is properly configured by entering a website's address into a third-party tool like <a href="https://www.ssllabs.com/ssltest">SSL Labs' test page</a>. If it is returning the result "Chain issues: Incomplete", a proper intermediate certificate is missing. You should contact the owner of the website you're having troubles accessing to inform them of that problem. </p> <h2 id="w_self-signed-certificate">Self-signed certificate</h2> <p>On a site with a self-signed certificate you will see the error code ERROR_SELF_SIGNED_CERT and the following error description, after you click on <span class="button">Advanced</span> on the error page: </p> <div class="note">The certificate is not trusted because it is self-signed.</div> <p>A self-signed certificate that wasn't issued by a recognized certificate authority is not trusted by default. Self-signed certificates can make your data safe from eavesdroppers, but say nothing about who the recipient of the data is. This is common for intranet websites that aren't available publicly and you may bypass the warning for such sites. </p> <h2 id="w_bypassing-the-warning">Bypassing the warning</h2> <div class="warning"><strong>Warning:</strong> You should never add a certificate exception for a legitimate major website or sites where financial transactions take place – in this case an invalid certificate can be an indication that your connection is compromised by a third party.</div> <p>If the website allows it, you can bypass the warning in order to visit the site, even thought its certificate is not being trusted by default: </p> <ol><li> On the warning page, click <span class="button">Advanced</span>. </li><li> Click <span class="button">Accept the Risk and Continue</span>. </li></ol> </section> <p class="share-link"> <br/> Share this article: <a href="https://mzl.la/3df8en7">https://mzl.la/3df8en7</a> </p> </article> <section class="sumo-page-section hide-on-large"> <div class="document-vote elevation-01 text-center"> <form class="document-vote--form helpful" action="/en-US/kb/error-codes-secure-websites/vote" method="post"> <input type='hidden' name='csrfmiddlewaretoken' value='gXH6v3HKAdgrSMybT9I9ZJ7dNeJ78zVzT3IdYH5YYvuylE68yxxJsWMv7WbyWxYy' /> <h4 class="document-vote--heading">Was this article helpful?</h4> <div class="document-vote--buttons"> <input type="hidden" name="revision_id" value="263806" /> <input type="hidden" name="source" value="footer" /> <button type="submit" class="btn helpful-button" name="helpful"><span class="hidden-text">Yes</span>👍</button> <button type="submit" class="btn not-helpful-button" name="not-helpful"><span class="hidden-text">No</span>👎</button> <img class="wait" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/spinner.18d6c26adc937688.gif" alt="Please wait..." /> </div> </form> </div> </section> <section id="doc-contributors" class="document--contributors sumo-page-section"> <p class="help-title text-body-md">These fine people helped write this article:</p> <div class="document--contributors-list text-body-xs"><a class="user secondary-color" rel="nofollow" href="/en-US/user/AliceWyman/">AliceWyman</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Chris_Ilias/">Chris Ilias</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/philipp/">philipp</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Tonnes/">Tonnes</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/michro/">Michele Rodaro</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/rtanglao/">Roland Tanglao</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/yfdyh000/">YFdyh000</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Mozinet/">Mozinet</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/pollti/">pollti</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/heyjoni/">Joni</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Artist/">Artist</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Scribe_uk/">Scribe</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/DineshMv/">Dinesh</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/marcelo.ghelman/">Marcelo Ghelman</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Barely-Harry/">"Barely Harry"</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/franziskus/">franziskus</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/erling.rosag/">ErlingR</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/peregrin.hendley/">PGGWriter</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/k_alex/">k_alex</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/jmaustin/">JeremyKoozar</a></div> </section> <section class="sumo-page-section"> <div class="card card--callout is-full-width has-moz-headings"> <div class="card--callout-wrap-narrow"> <img class="card--feature-img" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/volunteer.a3be8d331849774b.png" alt="Illustration of hands" /> <div class="card--details"> <h3 class="card--title">Volunteer</h3> <p class="card--desc">Grow and share your expertise with others. Answer questions and improve our knowledge base.</p> <p class="card--desc"><strong><a href="/en-US/contribute">Learn More</a></strong></p> </div> </div> </div> </section> <section id="related-documents" class="sumo-page-section wiki-related-documents"> <div class="text-center"> <h2 class="sumo-page-subheading">Related Articles</h2> </div> <div class="sumo-card-grid"> <div class="scroll-wrap"> <div class="card card--article"> <img class="card--icon-sm" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/reader-mode.1d40422a5274c27c.svg" alt="todo: title" /> <div class="card--details"> <h3 class="card--title"> <a class="expand-this-link" href="/en-US/kb/secure-connection-failed-firefox-did-not-connect" data-event-name="link_click" data-event-parameters='{"link_name": "related.kb-article"}'> Secure connection failed and Firefox did not connect </a> </h3> <div class="card--desc"> <p> This article explains why you may see a Secure Connection Failed or a Did Not Connect: Potential Security Issue error page, and what you can... </p> </div> </div> </div> <div class="card card--article"> <img class="card--icon-sm" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/reader-mode.1d40422a5274c27c.svg" alt="todo: title" /> <div class="card--details"> <h3 class="card--title"> <a class="expand-this-link" href="/en-US/kb/what-does-your-connection-is-not-secure-mean" data-event-name="link_click" data-event-parameters='{"link_name": "related.kb-article"}'> What do the security warning codes mean? </a> </h3> <div class="card--desc"> <p> When Firefox connects to a secure website (the URL begins with HTTPS), it must verify that the certificate presented by the website is valid and... </p> </div> </div> </div> </div> </div> </section> </section> </main> </div> </div> </div> <footer class="mzp-c-footer"> <div class="mzp-l-content"> <nav class="mzp-c-footer-primary"> <div class="mzp-c-footer-cols"> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Mozilla</h5> <ul class="mzp-c-footer-list"> <li><a href="https://www.mozilla.org/about/legal/fraud-report/">Report Trademark Abuse</a></li> <li><a href="https://github.com/mozilla/kitsune/">Source code</a></li> <li><a href="https://twitter.com/firefox">Twitter</a></li> <li> <a href="/en-US/contribute" data-event-name="link_click" data-event-parameters='{"link_name": "footer.join-our-community.contribute-home"}'> Join our Community </a> </li> <li> <a href="/en-US/" data-event-name="link_click" data-event-parameters='{"link_name": "footer.explore-help-articles.home"}'> Explore Help Articles </a> </li> </ul> </section> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Firefox</h5> <ul class="mzp-c-footer-list"> <li><a href="https://www.mozilla.org/firefox/download/thanks/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Download</a></li> <li><a href="https://www.mozilla.org/firefox/new/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Firefox desktop</a></li> <li><a href="https://www.mozilla.org/firefox/android/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Android Browser</a></li> <li><a href="https://www.mozilla.org/firefox/ios/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">iOS Browser</a></li> <li><a href="https://www.mozilla.org/firefox/focus/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Focus Browser</a></li> </ul> </section> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Firefox for Developers</h5> <ul class="mzp-c-footer-list"> <li><a href="https://www.mozilla.org/firefox/developer/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Developer Edition</a></li> <li><a href="https://www.mozilla.org/firefox/channel/desktop/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#beta">Beta</a></li> <li><a href="https://www.mozilla.org/firefox/channel/android/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#beta">Beta for Android</a></li> <li><a href="https://www.mozilla.org/firefox/channel/desktop/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#nightly">Nightly</a></li> <li><a href="https://www.mozilla.org/firefox/channel/android/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#nightly">Nightly for Android</a></li> </ul> </section> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Mozilla Account</h5> <ul class="mzp-c-footer-list"> <li><a rel="nofollow" href="/en-US/users/auth">Sign In/Up</a></li> <li> <a href="/en-US/kb/access-mozilla-services-firefox-account" data-event-name="link_click" data-event-parameters='{"link_name": "footer.what-is-it.kb-article"}'> What Is It? </a> </li> <li><a href="https://accounts.firefox.com/reset_password">Reset Password</a></li> <li> <a href="/en-US/kb/switching-devices" data-event-name="link_click" data-event-parameters='{"link_name": "footer.sync-your-data.kb-article"}'> Sync Your Data </a> </li> <li> <a href="/en-US/products/mozilla-account" data-event-name="link_click" data-event-parameters='{ "link_name": "footer.get-help.product-home", "link_detail": "mozilla-account" }'> Get Help </a> </li> </ul> </section> <section class="mzp-c-footer-col lang-col"> <form class="mzp-c-language-switcher" method="get" action="#"> <a class="mzp-c-language-switcher-link" href="/en-US/locales">Language</a> <label for="mzp-c-language-switcher-select">Language</label> <select id="mzp-c-language-switcher-select" class="mzp-js-language-switcher-select" name="lang"> <option value="af" >Afrikaans</option> <option value="ar" >عربي</option> <option value="az" >Azərbaycanca</option> <option value="bg" >Български</option> <option value="bm" >Bamanankan</option> <option value="bn" >বাংলা</option> <option value="bs" >Bosanski</option> <option value="ca" >català</option> <option value="cs" >Čeština</option> <option value="da" >Dansk</option> <option value="de" >Deutsch</option> <option value="ee" >Èʋegbe</option> <option value="el" >Ελληνικά</option> <option value="en-US" selected>English</option> <option value="es" >Español</option> <option value="et" >eesti keel</option> <option value="eu" >Euskara</option> <option value="fa" >فارسی</option> <option value="fi" >suomi</option> <option value="fr" >Français</option> <option value="fy-NL" >Frysk</option> <option value="ga-IE" >Gaeilge (Éire)</option> <option value="gl" >Galego</option> <option value="gn" >Avañe'ẽ</option> <option value="gu-IN" >ગુજરાતી</option> <option value="ha" >هَرْشَن هَوْسَ</option> <option value="he" >עברית</option> <option value="hi-IN" >हिन्दी (भारत)</option> <option value="hr" >Hrvatski</option> <option value="hu" >Magyar</option> <option value="dsb" >Dolnoserbšćina</option> <option value="hsb" >Hornjoserbsce</option> <option value="id" >Bahasa Indonesia</option> <option value="ig" >Asụsụ Igbo</option> <option value="it" >Italiano</option> <option value="ja" >日本語</option> <option value="ka" >ქართული</option> <option value="km" >ខ្មែរ</option> <option value="kn" >ಕನ್ನಡ</option> <option value="ko" >한국어</option> <option value="ln" >Lingála</option> <option value="lt" >lietuvių kalba</option> <option value="mg" >Malagasy</option> <option value="mk" >Македонски</option> <option value="ml" >മലയാളം</option> <option value="ms" >Bahasa Melayu</option> <option value="ne-NP" >नेपाली</option> <option value="nl" >Nederlands</option> <option value="no" >Norsk</option> <option value="pl" >Polski</option> <option value="pt-BR" >Português (do Brasil)</option> <option value="pt-PT" >Português (Europeu)</option> <option value="ro" >română</option> <option value="ru" >Русский</option> <option value="si" >සිංහල</option> <option value="sk" >slovenčina</option> <option value="sl" >slovenščina</option> <option value="sq" >Shqip</option> <option value="sr" >Српски</option> <option value="sw" >Kiswahili</option> <option value="sv" >Svenska</option> <option value="ta" >தமிழ்</option> <option value="ta-LK" >தமிழ் (இலங்கை)</option> <option value="te" >తెలుగు</option> <option value="th" >ไทย</option> <option value="tn" >Setswana</option> <option value="tr" >Türkçe</option> <option value="uk" >Українська</option> <option value="ur" >اُردو</option> <option value="vi" >Tiếng Việt</option> <option value="wo" >Wolof</option> <option value="xh" >isiXhosa</option> <option value="yo" >èdè Yorùbá</option> <option value="zh-CN" >中文 (简体)</option> <option value="zh-TW" >正體中文 (繁體)</option> <option value="zu" >isiZulu</option> </select> <!-- form submit button is shown when JavaScript is not enabled --> <button type="submit">Go</button> </form> <ul class="mzp-c-footer-links-social"> <li><a class="twitter" href="https://twitter.com/firefox">Twitter<span>(@firefox)</span></a></li> <li><a class="youtube" href="https://www.youtube.com/firefoxchannel">YouTube<span> (firefoxchannel)</span></a></li> <li><a class="instagram" href="https://www.instagram.com/firefox">Instagram<span> (firefox)</span></a></li> </ul> </section> </div> </nav> <nav class="mzp-c-footer-secondary"> <div class="mzp-c-footer-link-col"> <div class="mzp-c-footer-primary-logo"><a href="https://www.mozilla.org/">Mozilla</a></div> <div class="mzp-c-footer-legal"> <ul> <li><a href="https://www.mozilla.org/">mozilla.org</a></li> <li><a href="https://www.mozilla.org/about/legal/terms/mozilla/">Terms of Service</a></li> <li><a href="https://www.mozilla.org/privacy/websites/">Privacy</a></li> <li><a href="https://www.mozilla.org/privacy/websites/#user-choices">Cookies</a></li> <li><a href="https://www.mozilla.org/contact/">Contact</a></li> </ul> </div> </div> <div class="mzp-c-footer-legal-col"> <p> Visit <a href="https://www.mozilla.org" rel="external noopener" data-link-type="footer" data-link-name="Mozilla Corporation">Mozilla Corporation’s</a> not-for-profit parent, the <a href="https://foundation.mozilla.org" rel="external noopener" data-link-type="footer" data-link-name="Mozilla Foundation">Mozilla Foundation</a>. </p> <p> Portions of this content are ©1998–2024 by individual mozilla.org contributors. Content available under a <a rel="external noopener" href="https://www.mozilla.org/foundation/licensing/website-content/">Creative Commons license</a>. </p> </div> </nav> </div> </footer> <script src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/jsi18n/en-us/djangojs-min.js"></script> </body> </html>Parameter Content-Security-PolicyEvidence frame-src 'self' https://*.youtube.com; manifest-src https://support.allizom.org https://support.mozilla.org; script-src 'self' https://*.mozilla.org https://*.webservices.mozgcp.net https://*.google-analytics.com https://*.googletagmanager.com https://pontoon.mozilla.org https://*.jsdelivr.net; font-src 'self' https://*.webservices.mozgcp.net; form-action 'self' https://accounts.firefox.com https://accounts.stage.mozaws.net; media-src 'self' https://*.webservices.mozgcp.net; img-src 'self' blob: data: https://*.mozaws.net https://*.webservices.mozgcp.net https://*.google-analytics.com https://profile.accounts.firefox.com https://firefoxusercontent.com https://secure.gravatar.com https://i1.wp.com https://mozillausercontent.com; style-src 'self' https://*.webservices.mozgcp.net https://*.jsdelivr.net; default-src 'none'; connect-src 'self' https://*.google-analytics.com https://location.services.mozilla.com https://accounts.firefox.com/metrics-flow https://accounts.stage.mozaws.net/metrics-flow https://basket.mozilla.orgSolution Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
-
-
http://quiz-fe-test.hematitecorp.com (1)
-
Content Security Policy (CSP) Header Not Set (1)
GET http://quiz-fe-test.hematitecorp.com/
Alert tags Alert description Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.
Request Request line and header section (363 bytes)
GET http://quiz-fe-test.hematitecorp.com/ HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (243 bytes)
HTTP/1.1 200 OK Server: CK-WFP User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT); ck-block Expires: 0 Cache-Control: no-cache Pragma: no-cache Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 11408Response body (11408 bytes)
<html> <head> <title>Coached by ContentKeeper</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: sans-serif; font-weight: 300; font-size: 1em; color: white; text-align: center; background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='1892px' height='1022.2px' viewBox='0 0 1892 1022.2' enable-background='new 0 0 1892 1022.2' xml:space='preserve'%3E%3Ctitle%3Eck_overlay2%3C/title%3E%3Cg opacity='7.000000e-02'%3E%3Cpath fill='%23FFFFFF' d='M1892,685.1c-23.4,5.8-46.8,11.7-70.3,17.3c-1.9,0.5-4.5-0.6-6.3-1.7c-74.9-44-149.8-88.1-224.7-132.2 c-63.5-37.4-127.1-74.8-190.7-112.1c-3.6-2.1-4.9-4.1-4.5-8.5c2.4-32.1,4.4-64.1,6.5-96.2c2.5-37.1,5-74.1,7.3-111.2 c0.3-4.3,1.7-5.8,6-6.4c38.6-5,77.1-10.9,115.8-15.3c32.1-3.7,64.3-6.3,96.5-8.5c26.8-1.8,53.6-2.3,80.4-3.2c2.8,0,5.6,0.6,8.1,1.8 c57.9,27.4,114.8,57,170.5,88.6c1.7,1,3.5,1.8,5.3,2.7L1892,685.1z'/%3E%3Cpath fill='%23FFFFFF' d='M1892,188.2c-22.8-11.6-45.4-23.7-68.6-34.6c-31.9-15-64.2-29-96.3-43.6c-2.6-1.2-4.9-3.2-6.6-5.6 c-11.4-17.5-24.1-34-41-46.7c-0.5-0.6-1-1.2-1.4-1.9c14.6,3.6,28.5,7,42.3,10.4c57.5,13.9,112.9,34.3,167.4,57.1 c1.4,0.6,2.7,1.3,4,2L1892,188.2z'/%3E%3Cpath fill='%23FFFFFF' d='M1026.1,506.6c-2.6,21.3-5.1,41.1-7.5,61c-3.9,33.1-7.8,66.1-11.5,99.3c-1.5,14-1.3,13.8-13.9,19.7 c-60.8,28.7-121.6,57.4-182.4,86.1c-3.1,1.4-4,3.4-4.5,6.4c-5.1,34.6-10.3,69.2-15.3,103.8c-1.9,12.9-3.6,25.7-5.2,38.6 c-0.4,3.5-1.9,5.4-5.1,7.1c-57.3,30.8-114.6,61.7-171.8,92.7c-2.7,1.5-4.5,1.5-7.1-0.2c-43-28.2-86.1-56.3-129.3-84.4 c-2.6-1.7-3.4-3.2-2.8-6.4c11.6-54.2,23-108.4,34.6-162.6c0.8-2.6,2.5-4.8,4.8-6.2c44.1-25.2,88.3-50.2,132.5-75.1 c2.9-1.4,4.9-4.2,5.4-7.4c11.2-54.3,22.5-108.5,34-162.7c0.4-2,2.6-4.2,4.5-5.1c57.5-29,115.8-56.3,175.1-81.4 c2.2-0.9,4.7-0.9,6.9,0c51.8,24.4,103.4,49,155.1,73.7C1024.4,504.2,1025.5,506,1026.1,506.6z M696.8,656c1.3,1.1,2.7,2.2,4.2,3.1 c36.4,20.2,72.7,40.4,109.1,60.6c3.4,1.9,6,2,9.5,0.4c44.9-21.3,89.9-42.5,135-63.6c3.1-1.4,4.1-3.3,4.5-6.3 c5.2-40,10.4-79.9,15.8-119.8c0.4-3-0.4-4.4-3.1-5.7c-37-17.9-73.9-35.9-110.9-53.9c-2.8-1.5-6.1-1.5-8.9,0 c-42,19.7-84.1,39.2-126.3,58.7c-3.1,1.2-5.2,4-5.6,7.3c-5.8,29.5-11.8,59.1-17.7,88.6C700.6,635,698.9,644.9,696.8,656L696.8,656z '/%3E%3Cpath fill='%23FFFFFF' d='M1315.8,232.7c-2.3,21.8-4.6,43.4-6.8,64.9c-2.6,24.5-5.2,49-7.6,73.5c-0.3,3-1.3,4.2-4.1,5.1 c-73.3,23-145.7,48.9-217.5,76.4c-2.1,0.8-4.4,0.8-6.5,0.1c-60.7-26.3-121.9-51.8-184.2-74.1c-0.6-0.2-1.2-0.5-2.1-1 c0.1-1.3,0.3-2.5,0.5-3.8c12.5-43.8,25-87.6,37.5-131.5c0.6-2.9,2.8-5.3,5.6-6.1c65-23.3,130.5-44.9,196.9-63.9 c2.5-0.7,5.1-0.8,7.7-0.2c60.3,16.9,119.4,37.3,177.9,59.3C1313.9,231.8,1314.6,232.2,1315.8,232.7z'/%3E%3Cpath fill='%23FFFFFF' d='M1690.9,169.8c-19.2,0.8-38,1-56.8,2.5c-36.9,2.8-73.7,5.6-110.5,9.7c-31.3,3.5-62.3,8.8-93.4,13.1 c-2.4,0.3-4.9,0.1-7.2-0.8c-89.9-36-182-66-275.9-90c-0.9-0.2-1.9-0.6-3.4-1c2.1-9.7,3.9-19.3,6.4-28.7c5.2-20,10.7-39.8,16-59.7 c0.8-2.9,2.2-4.2,5.5-4.6C1238,2.8,1304.4-0.1,1371.2,0c33.3,0.1,65,7.6,96.8,15.5c59.6,14.8,118.3,32.7,176,53.6 c3.3,1.1,6.1,3.3,7.8,6.4c17.1,29.2,28.8,60.6,39.2,92.7C1691,168.7,1691,169.2,1690.9,169.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1518.1,752.8c0,4.1,1.5,9.1-0.4,11.9c-1.8,2.6-7.1,3-10.9,4.2c-72.9,23.4-144.7,49.7-215.5,78.9 c-3.8,1.5-6.5,1.5-10-0.8c-71.9-46.4-145.5-90-220.8-130.7c-3.7-2-4.7-4.2-4.2-8.1c5.7-49.1,11.3-98.3,17-147.4 c1.4-12.2,3.4-24.4,4.6-36.7c0.4-3.7,2.3-4.6,5-5.6c55.2-20.1,110.3-40.2,165.4-60.4c13.4-4.9,26.8-10,40.3-14.6 c2.4-0.8,5-0.6,7.2,0.6c68.6,40.9,137.2,82,205.6,123.2c1.6,1,3.3,3,3.5,4.7c4.8,60.3,9.5,120.5,14.1,180.8L1518.1,752.8z M1456.8,724.8c0.1-0.6,0.2-1.2,0.3-1.8c-2.1-46.1-4.2-92.2-6.5-138.3c-0.1-1.8-1.9-4.2-3.6-5.2c-50.1-29.7-100.3-59.3-150.6-88.7 c-2.2-1.2-4.8-1.4-7.3-0.7c-50.5,17.8-100.9,35.8-151.4,53.6c-3.2,1.1-4.4,2.6-4.6,6c-1,12.5-2.3,24.9-3.4,37.3 c-2.9,31.7-5.6,63.4-8.6,95c-0.4,3.8,0.7,5.8,4.1,7.8c52.9,30.5,105.7,61.2,158.5,92c3,1.8,5.4,2.1,8.7,0.9 c39.7-14.4,79.5-28.7,119.2-42.8C1426.6,734.6,1441.8,729.8,1456.8,724.8L1456.8,724.8z'/%3E%3Cpath fill='%23FFFFFF' d='M309.4,681.8c4.6-17,9.1-33.9,13.8-50.6c6.1-21.6,12.4-43.2,18.8-64.7c0.8-2.3,2.3-4.2,4.3-5.5 c40.5-22.7,81.1-45.2,121.8-67.6c1.8-1,4-1.4,6-1c35,9.8,68.5,23.5,102.5,37.8c-2,9.3-3.9,18.5-5.9,27.7 c-6.9,31.7-13.9,63.4-20.6,95.1c-0.6,3.4-2.8,6.3-5.9,7.7c-42.6,21.9-85.1,44-127.6,66.2c-2.8,1.7-6.3,1.8-9.1,0.2 c-31.8-14.8-63.7-29.4-95.6-44C311.3,682.8,310.8,682.4,309.4,681.8z'/%3E%3Cpath fill='%23FFFFFF' d='M443.6,447.7c6.2-13.2,11.8-26.3,18.4-38.9c17.5-33.1,35.5-65.9,53.5-98.7c1.6-2.7,3.8-4.9,6.6-6.4 c62.5-34.9,127-65.7,192.8-94c1.8-0.8,3.8-1.1,5.7-1c51.4,6,102.4,15.2,152.7,27.4c0.9,0.2,1.8,0.5,3.3,1 c-2.5,6.8-5.1,13.2-7.3,19.8c-13.3,41.5-26.6,83-39.8,124.5c-0.7,2.9-2.8,5.2-5.6,6.2c-77.5,34.2-153.8,70.9-228.3,111.3 c-2.3,1.1-4.9,1.2-7.3,0.4c-46.5-18.1-93.3-35.4-141-50C446.2,448.9,445.1,448.4,443.6,447.7z M816.6,260.3 c-0.6-0.4-1.2-0.7-1.9-0.9c-35.6-7.1-71.1-14.2-106.7-21c-3.5-0.7-7.9-0.5-11,1c-47.5,22.9-94.9,46-142.2,69.3 c-2.3,1.2-4.2,3.1-5.5,5.4c-15.2,29.8-30.3,59.6-45.3,89.5c-1.8,3.6-3.4,7.4-5.1,11.3c0.7,0.4,1.5,0.8,2.2,1.1 c34.8,11.3,69.6,22.6,104.4,33.8c2.3,0.5,4.8,0.2,6.9-0.9c53.9-26.2,107.7-52.4,161.5-78.6c2.9-1.2,5-3.7,5.9-6.7 c7-21,14.2-41.9,21.5-62.8C806.2,287.2,811.4,274,816.6,260.3L816.6,260.3z'/%3E%3Cpath fill='%23FFFFFF' d='M1102.9,7.5c-6.1,11.3-12.7,21.8-17.4,33.1c-4.9,11.7-12.7,16.8-25.1,19.6c-62.7,14.1-124.3,32-185.5,51.5 c-3.4,1.1-7.1,1.6-10.7,1.5c-43.3-1.8-86.6-2.2-129.9-0.1c-3.3,0.2-5.5,1-7.5,3.7c-11.5,16-23,31.9-34.7,47.6 c-1.9,2.6-4.5,4.6-7.4,6c-45.1,20.5-90.3,40.8-135.6,61c-4.1,1.7-8.4,2.6-12.8,2.5c-23.5-0.3-47-1-70.4-1.7c-3.2-0.2-6.2,1.2-8,3.9 c-12.9,16.5-25.9,33-39,49.4c-1.6,2.1-3.6,3.9-5.8,5.3c-34.6,21.9-69.3,43.6-104,65.4c-1.3,1-2.9,1.6-4.5,1.8 c-15.6,0.1-31.2,0.1-46.8,0.1c0.5-0.8,1-1.6,1.6-2.4c16-18.3,32-36.6,48-54.9c1.4-1.6,3.1-3,4.9-4.2c31-19.7,62-39.6,93.3-58.9 c4.4-2.7,10.3-3.5,15.7-4.3c13-2,26.1-3.4,39.1-5.4c2.3-0.4,4.7-2.2,6.4-4c15-15.8,29.9-31.8,44.9-47.6c2.1-2.1,4.6-3.9,7.3-5.1 c40.2-18.1,80.3-36.4,120.8-53.8c7.5-3.2,16.6-3.4,25-4c19.6-1.4,39.2-2.2,58.9-3.5c2.7-0.3,5.2-1.4,7.3-3.1 c16.9-14,33.6-28.3,50.5-42.3c2.5-1.9,5.4-3.3,8.4-4.2c58-18,116.5-34.2,175.8-47.3c11-2.4,22.4-3.2,33.7-3.6 c33.8-1.1,67.6-1.6,101.4-2.3C1101.4,7.2,1102.2,7.3,1102.9,7.5z M1068.7,15.1l-0.8-1.5c-25.6,1-51.2,1.9-76.9,3.1 c-12.1,0.6-24.6,0.6-36.2,3.5c-41,10.2-81.6,21.9-122.5,32.3c-13.9,3.5-26.6,10.6-36.9,20.6c-8.3,7.8-16.8,15.4-26.2,23.9 c2.4,0.1,3.4,0.3,4.3,0.3c35-0.1,69.9-0.3,104.9-0.4c2,0,4-0.4,5.9-0.9c49.7-13.8,99.3-27.8,149.1-41c9.1-2.4,15.3-6.2,19.6-14.5 C1057.7,31.7,1063.5,23.5,1068.7,15.1L1068.7,15.1z M435.6,243.7c-10.6,1.3-19.8,2.4-29,3.5c-7,0.7-13.6,3-19.5,6.8 c-20.9,13.6-42.1,26.9-63.1,40.3c-1.5,1-2.9,2.2-4.2,3.5c-11.3,12.9-22.6,25.8-33.8,38.8c-0.5,0.6-1,1.3-1.3,2 c10.2,0,20.6,0.1,31.1-0.1c2.8-0.1,5.5-0.9,7.8-2.3c20.6-12.9,40.9-26.2,61.7-38.8c9.4-5.7,17.5-12.2,23.9-21.3s14-17.4,21-26 C431.8,248.3,433.3,246.6,435.6,243.7L435.6,243.7z'/%3E%3Cpath fill='%23FFFFFF' d='M133.9,605.5l-22.2-19.1c7.4-11.8,14.7-23.5,22.1-35.1c1.9-3,4-5.8,5.7-8.8c10.6-18.9,24.9-34.3,42.2-47.3 c13.7-10.3,27-21.2,40.3-32c2.6-2.1,4.7-2.3,7.6-0.9c7.6,3.6,15.4,7,23.6,10.6c-0.9,1.6-1.5,2.7-2.2,3.8 c-13.7,22.2-27.4,44.5-41.2,66.7c-1.8,2.8-4,5.3-6.5,7.3c-21.9,17.5-43.8,34.8-65.8,52.1L133.9,605.5z'/%3E%3Cpath fill='%23FFFFFF' d='M243.9,400.4C230,417.2,217,433,204,448.8c-5,6.1-10,12.1-14.4,18.5c-10.8,15.8-24.2,29-38.4,41.7 c-23.7,21.2-46.3,43.6-69.4,65.5c-1.1,1.2-2.2,2.5-3.2,3.9l-12.7-10.3c3.2-4.3,6.5-8.6,9.8-12.9c40.3-53.9,87.4-101.4,137.7-145.8 C222.3,401.5,232.4,401.3,243.9,400.4z'/%3E%3Cpath fill='%23FFFFFF' d='M68.4,598.5c2.9,3.1,5.6,5.8,7.9,8.8c0.6,1.2,0.6,2.6-0.1,3.8c-9.6,16.7-19.3,33.4-29,50.1 c-0.2,0.4-0.5,0.9-0.8,1.2c-13.2,13.8-26.4,27.6-40,41.6c-2.2-3.9-4.4-7.4-6.1-11.1c-0.4-1.3-0.3-2.8,0.4-4 c9.4-16.1,18.6-32.3,28.5-48c3.8-6,9.3-10.9,14.2-16.1C51.4,616.3,59.6,607.8,68.4,598.5z'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: top right; background-size: 100%; margin: 0 auto; } .message { font-size: 15px; } .message a { /*text-decoration: none;*/ color: #fff; text-decoration-line: underline; } #content { display: flex; flex-flow: column; align-items: center; justify-content: space-between; height: 100%; } footer { width: 100%; background-color: transparent; flex-grow: 1; margin-bottom: 2em; } h1 { font-weight: 300; font-size: 50px; text-align: center; } input[type=text], input[type=password] { font-family: sans-serif; font-weight: 300; height: 3em; width: 25em; border: none; box-shadow: none; padding: 1em; margin: .25em; } input[type=text]:hover, input[type=password]:hover { outline: 2px solid #ffb27f; } input[type=text]:focus, input[type=password]:focus { outline: 2px solid #F95E02; } input[type=submit] { font-family: sans-serif; font-weight: 300; height: 2.75em; width: 10em; margin: 1em; color: white; background-color: #F95E02; border: none; } input[type=submit]:hover { outline: 2px solid white; cursor: pointer; } input[type=submit]:focus { outline: 2px solid white; } table { border-collapse: separate; border-spacing: 00px; } th { font-size: 20px; font-weight: 600; text-align: right; padding-right: .5em; } td { font-size: 20px; font-weight: 300; text-align: left; } header { flex-basis: 70%; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } </style> <script> function onSubmitCoachPage(sUrl) { console.log(sUrl); window.location = sUrl; } function onPageLoad() { } </script> </head> <body bgcolor="#2B3A42" onLoad="onPageLoad()"> <div id="content"> <header> <h1>Coached by ContentKeeper</h1> <div> <p>The page you are attempting to reach may violate your organisation's acceptable-use policy. <br> Click "Continue" only if you believe that accessing this page would constitute acceptable use.</p> <input type="submit" value="Continue" onClick='onSubmitCoachPage("http://quiz-fe-test.hematitecorp.com")'> </div> </header> <input type="hidden" id="protocol" value="http" /> <footer> <center> <p> <table> <tr> <th>URL</th> <td>quiz-fe-test.hematitecorp.com</td> </tr> <tr> <th>MODULE</th> <td>Web Filter Pro</td> </tr> <tr> <th>CATEGORY</th> <td>Non-Managed</td> </tr> <tr> <th>POLICY</th> <td>Policy=training; IP Address=172.17.7.126</td> </tr> <tr> <th>USERNAME</th> <td>172.17.7.126</td> </tr> <tr> <th>SOURCE IP</th> <td>172.17.7.126</td> </tr> <tr> <th>APPLIANCE</th> <td>172.17.5.13</td> </tr> <tr> <th>TIME</th> <td>Wed Dec 18 14:52:45 2024</td> </tr> </table> </p> </center> </footer> <div></div> </div> </body> </html>Solution Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header.
-
-
-
Risk=Medium, Confidence=Medium (2)
-
http://localhost:3000 (1)
-
Cross-Domain Misconfiguration (1)
GET http://localhost:3000/static/js/bundle.js
Alert tags Alert description Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server.
Other info The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing.
Request Request line and header section (355 bytes)
GET http://localhost:3000/static/js/bundle.js HTTP/1.1 host: localhost:3000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: */* Accept-Language: en-US,en;q=0.5 Connection: keep-alive Referer: http://localhost:3000/ Sec-Fetch-Dest: script Sec-Fetch-Mode: no-cors Sec-Fetch-Site: same-originRequest body (0 bytes)
Response Status line and header section (393 bytes)
HTTP/1.1 200 OK X-Powered-By: Express Access-Control-Allow-Origin: * Access-Control-Allow-Methods: * Access-Control-Allow-Headers: * Content-Type: application/javascript; charset=utf-8 Accept-Ranges: bytes Content-Length: 3026734 ETag: W/"2e2f2e-vKv3tEmL8gll0G6RaN+CkfYVX0k" Vary: Accept-Encoding Date: Wed, 18 Dec 2024 12:46:28 GMT Connection: keep-alive Keep-Alive: timeout=5Response body (3026734 bytes)
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./src/logo.svg": /*!**********************!*\ !*** ./src/logo.svg ***! \**********************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ReactComponent: () => (/* binding */ ForwardRef), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); var _g; function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } function SvgLogo({ title, titleId, ...props }, svgRef) { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 841.9 595.3", ref: svgRef, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, title) : null, _g || (_g = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#61DAFB" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 420.9, cy: 296.5, r: 45.7 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M520.5 78.1z" })))); } const ForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SvgLogo); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg"); /***/ }), /***/ "./src/App.js": /*!********************!*\ !*** ./src/App.js ***! \********************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _logo_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./logo.svg */ "./src/logo.svg"); /* harmony import */ var _App_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.css */ "./src/App.css"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\App.js"; function App() { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { className: "App", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("header", { className: "App-header", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("img", { src: _logo_svg__WEBPACK_IMPORTED_MODULE_0__["default"], className: "App-logo", alt: "logo" }, void 0, false, { fileName: _jsxFileName, lineNumber: 8, columnNumber: 9 }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("p", { children: ["Edit ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("code", { children: "src/App.js" }, void 0, false, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 16 }, this), " and save to reload."] }, void 0, true, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 9 }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("a", { className: "App-link", href: "https://reactjs.org", target: "_blank", rel: "noopener noreferrer", children: "Learn React" }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 7, columnNumber: 7 }, this), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("h1", { children: "Welcome to react Project" }, void 0, false, { fileName: _jsxFileName, lineNumber: 21, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 5 }, this); } _c = App; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (App); var _c; __webpack_require__.$Refresh$.register(_c, "App"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/index.js": /*!**********************!*\ !*** ./src/index.js ***! \**********************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom/client */ "./node_modules/react-dom/client.js"); /* harmony import */ var _index_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.css */ "./src/index.css"); /* harmony import */ var _App__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./App */ "./src/App.js"); /* harmony import */ var _reportWebVitals__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reportWebVitals */ "./src/reportWebVitals.js"); /* harmony import */ var _node_modules_bootstrap_dist_css_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../node_modules/bootstrap/dist/css/bootstrap.min.css */ "./node_modules/bootstrap/dist/css/bootstrap.min.css"); /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/dist/index.js"); /* harmony import */ var _mainRouting_Routing__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./mainRouting/Routing */ "./src/mainRouting/Routing.js"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\index.js"; const root = react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot(document.getElementById('root')); root.render(/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_0___default().StrictMode), { children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_8__.RouterProvider, { router: _mainRouting_Routing__WEBPACK_IMPORTED_MODULE_6__["default"] }, void 0, false, { fileName: _jsxFileName, lineNumber: 14, columnNumber: 7 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 3 }, undefined)); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals (0,_reportWebVitals__WEBPACK_IMPORTED_MODULE_4__["default"])(); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/About.js": /*!*****************************!*\ !*** ./src/layout/About.js ***! \*****************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\About.js"; const About = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { className: "about-us-page", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("section", { className: "shop-history", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { className: "section-title", children: "Initial Foray" }, void 0, false, { fileName: _jsxFileName, lineNumber: 8, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { children: "The journey of VR Jewellery started with the launch of 18k gold watches studded with precious stones in 1994. But, it soon grew into a 22K jeweller who presented a stunning range of gold and diamond jewellery very first state-of-art jewellery factory with a proper karigaar park was set up in Hosur in Tamil Nadu" }, void 0, false, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 7, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("section", { className: "owner-info", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { className: "section-title", children: "Timeless Appeal" }, void 0, false, { fileName: _jsxFileName, lineNumber: 14, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { children: "At VR jewellery is not a product but a manifestation of artistry and our exquisite range of jewel pieces strike the perfect balance between traditional charm and contemporary appeal. With designs that capture the beauty and celebration of special occasions in the life of the Indian woman, VR aims to be an integral part of her journey. As India\u2019s leading wedding jeweller, we understand the varied needs of every regional bride and that has stood as our inspiration behind creating special wedding collections catering to every community across India through Rivaah." }, void 0, false, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 13, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("section", { className: "our-partners", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { className: "section-title", children: "Success Secrets" }, void 0, false, { fileName: _jsxFileName, lineNumber: 20, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { children: "Our understanding of the ethos of the current Indian jewellery market and our constant evolution along with its changing demands and preferences is why VR enjoys the distinct honour of being coveted by Indian women. Furthermore, our adherence to stringent standards in terms of quality and strict and uniform guidelines across all 200+ stores have helped in establishing ourselves further as the most trusted jewellery brand in the country." }, void 0, false, { fileName: _jsxFileName, lineNumber: 21, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 19, columnNumber: 9 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 5 }, undefined); }; _c = About; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (About); var _c; __webpack_require__.$Refresh$.register(_c, "About"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/Contact.js": /*!*******************************!*\ !*** ./src/layout/Contact.js ***! \*******************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! axios */ "./node_modules/axios/lib/axios.js"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\Contact.js", _s = __webpack_require__.$Refresh$.signature(); const Contact = () => { _s(); const [user, setUser] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({ fname: "", email: "", contact: "", feedback: "" }); const changeInput = event => { const { type, name, value, checked } = event.target; setUser({ ...user, [name]: type === "checkbox" ? checked : value }); }; const checkData = event => { event.preventDefault(); if (user.fname.trim() === "") { window.alert("Name is required"); return false; } if (!user.fname.trim().match("^[a-zA-Z ]{3,30}$")) { window.alert("Fullname must contain only character 3-30"); return false; } if (!user.email.trim().match(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/)) { window.alert("Enter a valid email"); return false; } if (!user.contact.trim().match("^[0-9]{9,11}$")) { window.alert("Enter valid a Contact Number"); return false; } if (!user.feedback.trim().match("^[a-zA-Z ]{5,300}$")) { window.alert("The feedback must be in the range of 5 - 300 characters"); return false; } addUser(); setUser({ fname: "", email: "", contact: "", feedback: "" }); window.alert("Thank you for Contacting Us"); }; const addUser = event => { axios__WEBPACK_IMPORTED_MODULE_2__["default"].post(`http://localhost:8000/Users`, user).then(() => {}).catch(error => {}); }; return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { className: "Contactbox", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("section", { className: "Contactform", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { className: "section-title", children: "Contact Us" }, void 0, false, { fileName: _jsxFileName, lineNumber: 64, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("form", { onSubmit: checkData, className: "formbox", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("label", { children: "Enter your Fullname : " }, void 0, false, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 17 }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("input", { type: "text", name: "fname", onChange: changeInput, value: user.fname, className: "inputboxform", placeholder: "Enter your name" }, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 66, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("label", { children: "Enter your Email : " }, void 0, false, { fileName: _jsxFileName, lineNumber: 71, columnNumber: 17 }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("input", { type: "email", name: "email", onChange: changeInput, value: user.email, className: "inputboxform", placeholder: "Enter your Email" }, void 0, false, { fileName: _jsxFileName, lineNumber: 72, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 70, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("label", { children: "Enter your Contact No : " }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 17 }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("input", { type: "text", name: "contact", onChange: changeInput, value: user.contact, className: "inputboxform", placeholder: "Enter your Contact no" }, void 0, false, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 74, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("label", { children: "Enter your Feedback : " }, void 0, false, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 17 }, undefined), " ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("textarea", { type: "text", name: "feedback", onChange: changeInput, value: user.feedback, className: "inputboxform2", placeholder: "Enter your feedback" }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 78, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("button", { type: "submit", className: "formsubbutton", children: "Submit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 83, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 65, columnNumber: 9 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 63, columnNumber: 7 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("section", { className: "Clocation", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { className: "section-title", children: "Our Location" }, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("iframe", { title: "Google Map Location", src: "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3890.2556350554073!2d80.21724077507399!3d12.82675068747546!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a525a688f3d32f1%3A0x769131751ee5a50e!2sChangepond%20Technologies!5e0!3m2!1sen!2sin!4v1733935749899!5m2!1sen!2sin", width: "600", height: "450", style: "border:0;", allowfullscreen: "", loading: "lazy", referrerpolicy: "no-referrer-when-downgrade", width: "800", height: "450", style: { border: '0' }, allowFullScreen: "", loading: "lazy", referrerPolicy: "no-referrer-when-downgrade" }, void 0, false, { fileName: _jsxFileName, lineNumber: 90, columnNumber: 9 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { className: "Cvisit", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("h2", { className: "aboutshoptitle", children: "Visit Our Store" }, void 0, false, { fileName: _jsxFileName, lineNumber: 103, columnNumber: 11 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { className: "addresscont", children: ["VR Jewellery, Majectic Avenue,", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("br", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 104, columnNumber: 68 }, undefined), "opp to Axis Bank, Semmanchery, Chennai, Tamil Nadu 600019"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 104, columnNumber: 11 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 7 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 87, columnNumber: 7 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 5 }, undefined); }; _s(Contact, "hHc7FCtSl+aPme6ekpmDKwdxeys="); _c = Contact; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Contact); var _c; __webpack_require__.$Refresh$.register(_c, "Contact"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/FooterComp.js": /*!**********************************!*\ !*** ./src/layout/FooterComp.js ***! \**********************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\FooterComp.js"; const FooterComp = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("p", { className: "text-black", style: { float: "right" }, children: ["This App is designed and developed by ", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("strong", { children: "Dhanush V R" }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 101 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 13 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 9 }, undefined); }; _c = FooterComp; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FooterComp); var _c; __webpack_require__.$Refresh$.register(_c, "FooterComp"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/Home.js": /*!****************************!*\ !*** ./src/layout/Home.js ***! \****************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.css */ "./src/layout/style.css"); /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/dist/index.js"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\Home.js"; const Home = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("div", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("section", { className: "homemain", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("h1", { children: "VR Jewellery" }, void 0, false, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("p", { children: "Since 1994" }, void 0, false, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_3__.Link, { to: "/Product", className: "btn btn-outline-warning", children: "Trendy collections" }, void 0, false, { fileName: _jsxFileName, lineNumber: 11, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 8, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("section", { className: "Aboutshop", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("h2", { className: "Aboutshoptitle", children: "About our Shop" }, void 0, false, { fileName: _jsxFileName, lineNumber: 14, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("p", { className: "Aboutshopcont", children: ["Welcome to VR Jewellery, where craftsmanship meets timeless elegance. Established with a passion for creating exquisite jewelry, we bring you pieces that embody beauty, precision, and artistry. Our journey began with a simple vision: to provide stunning, high-quality jewelry that celebrates life's special moments.", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("br", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 16, columnNumber: 328 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("br", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 16, columnNumber: 337 }, undefined), "At VR Jewellery, we believe that every piece tells a story. Whether it\u2019s a sparkling engagement ring, a timeless necklace, or a bespoke design, our creations are crafted with care and attention to detail. From classic to contemporary styles, our diverse collection ensures that there\u2019s something unique for every taste and occasion."] }, void 0, true, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_3__.Link, { to: "/About", className: "btn btn-outline-info", children: "Know More" }, void 0, false, { fileName: _jsxFileName, lineNumber: 20, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 13, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("section", { className: "visit", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("h2", { className: "aboutshoptitle", children: "Visit Our Store" }, void 0, false, { fileName: _jsxFileName, lineNumber: 24, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("p", { className: "addresscont", children: ["VR Jewellery, Majectic Avenue,", /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxDEV)("br", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 25, columnNumber: 70 }, undefined), "opp to Axis Bank, Semmanchery, Chennai, Tamil Nadu 600019"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 25, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 23, columnNumber: 9 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 7, columnNumber: 5 }, undefined); }; _c = Home; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Home); var _c; __webpack_require__.$Refresh$.register(_c, "Home"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/MainDashboardComp.js": /*!*****************************************!*\ !*** ./src/layout/MainDashboardComp.js ***! \*****************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/dist/index.js"); /* harmony import */ var _FooterComp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FooterComp */ "./src/layout/FooterComp.js"); /* harmony import */ var _NavComp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./NavComp */ "./src/layout/NavComp.js"); /* harmony import */ var _Assests_gold2_jpeg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Assests/gold2.jpeg */ "./src/Assests/gold2.jpeg"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\MainDashboardComp.js"; const MainDashboardComp = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { className: "container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { className: "logotitle", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("img", { src: _Assests_gold2_jpeg__WEBPACK_IMPORTED_MODULE_3__, alt: "Gold back", className: "Logoimg" }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("h1", { className: "titleword", children: "VR JEWELLERY" }, void 0, false, { fileName: _jsxFileName, lineNumber: 13, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 11, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { className: "card", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { className: "card-header border-primary", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(_NavComp__WEBPACK_IMPORTED_MODULE_2__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 17, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 16, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { className: "card-body border primary", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Outlet, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 20, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)("div", { className: "card-footer border-primary", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxDEV)(_FooterComp__WEBPACK_IMPORTED_MODULE_1__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 22, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 21, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 19, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 9 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 5 }, undefined); }; _c = MainDashboardComp; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MainDashboardComp); var _c; __webpack_require__.$Refresh$.register(_c, "MainDashboardComp"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/NavComp.js": /*!*******************************!*\ !*** ./src/layout/NavComp.js ***! \*******************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/dist/index.js"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\NavComp.js"; const NavComp = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("div", { className: "nav", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, { to: "home", className: "btn btn-outline-primary", children: "Home" }, void 0, false, { fileName: _jsxFileName, lineNumber: 7, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, { to: "about", className: "btn btn-outline-warning", children: "About" }, void 0, false, { fileName: _jsxFileName, lineNumber: 8, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, { to: "product", className: "btn btn-outline-info", children: "Product" }, void 0, false, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, { to: "contact", className: "btn btn-outline-secondary", children: "Contact" }, void 0, false, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 9 }, undefined); }; _c = NavComp; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NavComp); var _c; __webpack_require__.$Refresh$.register(_c, "NavComp"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/PageNotFoundComp.js": /*!****************************************!*\ !*** ./src/layout/PageNotFoundComp.js ***! \****************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\PageNotFoundComp.js"; const PageNotFoundComp = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)("div", { children: "PageNotFoundComp" }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 5 }, undefined); }; _c = PageNotFoundComp; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PageNotFoundComp); var _c; __webpack_require__.$Refresh$.register(_c, "PageNotFoundComp"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/layout/Product.js": /*!*******************************!*\ !*** ./src/layout/Product.js ***! \*******************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _Assests_gold1_jpeg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Assests/gold1.jpeg */ "./src/Assests/gold1.jpeg"); /* harmony import */ var _Assests_platinumring_jpeg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Assests/platinumring.jpeg */ "./src/Assests/platinumring.jpeg"); /* harmony import */ var _Assests_diamond1_jpeg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Assests/diamond1.jpeg */ "./src/Assests/diamond1.jpeg"); /* harmony import */ var _Assests_goldring_jpeg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Assests/goldring.jpeg */ "./src/Assests/goldring.jpeg"); /* harmony import */ var _Assests_diamondring_jpeg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Assests/diamondring.jpeg */ "./src/Assests/diamondring.jpeg"); /* harmony import */ var _Assests_gold2_jpeg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Assests/gold2.jpeg */ "./src/Assests/gold2.jpeg"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\layout\\Product.js"; const Product = () => { return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "productpage", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h2", { classname: "product-page", children: "Explore Our Products" }, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-image", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("img", { src: _Assests_gold1_jpeg__WEBPACK_IMPORTED_MODULE_1__, alt: "Gold Jewel", className: "product-img" }, void 0, false, { fileName: _jsxFileName, lineNumber: 16, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 15, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-details", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h3", { className: "product-name", children: "Product Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 24, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("table", { className: "product-table", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tbody", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { className: "prodtitle", children: "Product Name:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 28, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { className: "prodvalue", children: "Gold Necklace" }, void 0, false, { fileName: _jsxFileName, lineNumber: 29, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 27, columnNumber: 25 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { className: "prodtitle", children: "Product Price:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 32, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { className: "prodvalue", children: "\u20B95,00,000" }, void 0, false, { fileName: _jsxFileName, lineNumber: 33, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 31, columnNumber: 25 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 26, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 25, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 23, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 14, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("hr", { className: "differentiateline" }, void 0, false, { fileName: _jsxFileName, lineNumber: 40, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-image", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("img", { src: _Assests_diamond1_jpeg__WEBPACK_IMPORTED_MODULE_3__, alt: "Diamond Jewel", className: "product-img" }, void 0, false, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 43, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-details", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h3", { className: "product-name", children: "Product Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 52, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("table", { className: "product-table", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tbody", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Name:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Diamond Necklace" }, void 0, false, { fileName: _jsxFileName, lineNumber: 57, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 55, columnNumber: 25 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Price:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 60, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "\u20B98,00,000" }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 25 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 53, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 42, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("hr", { className: "differentiateline" }, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-image", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("img", { src: _Assests_goldring_jpeg__WEBPACK_IMPORTED_MODULE_4__, alt: "Gold Jewel", className: "product-img" }, void 0, false, { fileName: _jsxFileName, lineNumber: 72, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 71, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-details", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h3", { className: "product-name", children: "Product Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("table", { className: "product-table", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tbody", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Name:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Gold Ring" }, void 0, false, { fileName: _jsxFileName, lineNumber: 85, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 83, columnNumber: 25 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Price:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "\u20B91,00,000" }, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 87, columnNumber: 25 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 82, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 81, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 70, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("hr", { className: "differentiateline" }, void 0, false, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-image", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("img", { src: _Assests_platinumring_jpeg__WEBPACK_IMPORTED_MODULE_2__, alt: "Platinum Jewel", className: "product-img" }, void 0, false, { fileName: _jsxFileName, lineNumber: 100, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 99, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-details", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h3", { className: "product-name", children: "Product Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 108, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("table", { className: "product-table", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tbody", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Name:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Platinum ring" }, void 0, false, { fileName: _jsxFileName, lineNumber: 113, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 111, columnNumber: 25 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Price:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "\u20B91,50,000" }, void 0, false, { fileName: _jsxFileName, lineNumber: 117, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 115, columnNumber: 25 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 110, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 109, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("hr", { className: "differentiateline" }, void 0, false, { fileName: _jsxFileName, lineNumber: 124, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("hr", { className: "differentiateline" }, void 0, false, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-image", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("img", { src: _Assests_diamondring_jpeg__WEBPACK_IMPORTED_MODULE_5__, alt: "Diampnd Jewel", className: "product-img" }, void 0, false, { fileName: _jsxFileName, lineNumber: 130, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 129, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-details", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h3", { className: "product-name", children: "Product Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("table", { className: "product-table", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tbody", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Name:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 142, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Diamond ring" }, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 141, columnNumber: 25 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Price:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "\u20B92,50,000" }, void 0, false, { fileName: _jsxFileName, lineNumber: 147, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 25 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 140, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 139, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 137, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("hr", { className: "differentiateline" }, void 0, false, { fileName: _jsxFileName, lineNumber: 155, columnNumber: 9 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-container", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-image", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("img", { src: _Assests_gold2_jpeg__WEBPACK_IMPORTED_MODULE_6__, alt: "Gold Jewel", className: "product-img" }, void 0, false, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 17 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 158, columnNumber: 13 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("div", { className: "product-details", children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("h3", { className: "product-name", children: "Product Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 167, columnNumber: 17 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("table", { className: "product-table", children: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tbody", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Name:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 171, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Marriage Gold Jewels" }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 25 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("tr", { children: [/*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "Product Price:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 29 }, undefined), /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxDEV)("td", { children: "\u20B910,00,000" }, void 0, false, { fileName: _jsxFileName, lineNumber: 176, columnNumber: 29 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 25 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 21 }, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 168, columnNumber: 17 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 166, columnNumber: 13 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 9 }, undefined)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 11, columnNumber: 5 }, undefined); }; _c = Product; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Product); var _c; __webpack_require__.$Refresh$.register(_c, "Product"); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/mainRouting/Routing.js": /*!************************************!*\ !*** ./src/mainRouting/Routing.js ***! \************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/dist/index.js"); /* harmony import */ var _layout_MainDashboardComp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../layout/MainDashboardComp */ "./src/layout/MainDashboardComp.js"); /* harmony import */ var _layout_Home__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../layout/Home */ "./src/layout/Home.js"); /* harmony import */ var _layout_About__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../layout/About */ "./src/layout/About.js"); /* harmony import */ var _layout_Product__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layout/Product */ "./src/layout/Product.js"); /* harmony import */ var _layout_Contact__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout/Contact */ "./src/layout/Contact.js"); /* harmony import */ var _layout_PageNotFoundComp__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../layout/PageNotFoundComp */ "./src/layout/PageNotFoundComp.js"); /* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-dev-runtime */ "./node_modules/react/jsx-dev-runtime.js"); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); var _jsxFileName = "C:\\Users\\dhanush.vr\\Desktop\\reactp\\Frontend\\reactjewellery\\src\\mainRouting\\Routing.js"; const routing = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_7__.createBrowserRouter)([{ path: "", element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_layout_MainDashboardComp__WEBPACK_IMPORTED_MODULE_0__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 22 }, undefined), children: [{ path: "home", element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_layout_Home__WEBPACK_IMPORTED_MODULE_1__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 11, columnNumber: 30 }, undefined) }, { path: "About", element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_layout_About__WEBPACK_IMPORTED_MODULE_2__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 12, columnNumber: 31 }, undefined) }, { path: "Product", element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_layout_Product__WEBPACK_IMPORTED_MODULE_3__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 13, columnNumber: 33 }, undefined) }, { path: "Contact", element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_layout_Contact__WEBPACK_IMPORTED_MODULE_4__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 14, columnNumber: 33 }, undefined) }] }, { path: "*", element: /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxDEV)(_layout_PageNotFoundComp__WEBPACK_IMPORTED_MODULE_5__["default"], {}, void 0, false, { fileName: _jsxFileName, lineNumber: 16, columnNumber: 23 }, undefined) }]); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (routing); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./src/reportWebVitals.js": /*!********************************!*\ !*** ./src/reportWebVitals.js ***! \********************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js"); __webpack_require__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js"); const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { __webpack_require__.e(/*! import() */ "vendors-node_modules_web-vitals_dist_web-vitals_js").then(__webpack_require__.bind(__webpack_require__, /*! web-vitals */ "./node_modules/web-vitals/dist/web-vitals.js")).then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); getLCP(onPerfEntry); getTTFB(onPerfEntry); }); } }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reportWebVitals); const $ReactRefreshModuleId$ = __webpack_require__.$Refresh$.moduleId; const $ReactRefreshCurrentExports$ = __react_refresh_utils__.getModuleExports( $ReactRefreshModuleId$ ); function $ReactRefreshModuleRuntime$(exports) { if (true) { let errorOverlay; if (true) { errorOverlay = false; } let testMode; if (typeof __react_refresh_test__ !== 'undefined') { testMode = __react_refresh_test__; } return __react_refresh_utils__.executeRuntime( exports, $ReactRefreshModuleId$, module.hot, errorOverlay, testMode ); } } if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Promise) { $ReactRefreshCurrentExports$.then($ReactRefreshModuleRuntime$); } else { $ReactRefreshModuleRuntime$($ReactRefreshCurrentExports$); } /***/ }), /***/ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js": /*!***************************************************************************************!*\ !*** ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js ***! \***************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /* global __webpack_require__ */ var Refresh = __webpack_require__(/*! react-refresh/runtime */ "./node_modules/react-refresh/runtime.js"); /** * Extracts exports from a webpack module object. * @param {string} moduleId A Webpack module ID. * @returns {*} An exports object from the module. */ function getModuleExports(moduleId) { if (typeof moduleId === 'undefined') { // `moduleId` is unavailable, which indicates that this module is not in the cache, // which means we won't be able to capture any exports, // and thus they cannot be refreshed safely. // These are likely runtime or dynamically generated modules. return {}; } var maybeModule = __webpack_require__.c[moduleId]; if (typeof maybeModule === 'undefined') { // `moduleId` is available but the module in cache is unavailable, // which indicates the module is somehow corrupted (e.g. broken Webpacak `module` globals). // We will warn the user (as this is likely a mistake) and assume they cannot be refreshed. console.warn('[React Refresh] Failed to get exports for module: ' + moduleId + '.'); return {}; } var exportsOrPromise = maybeModule.exports; if (typeof Promise !== 'undefined' && exportsOrPromise instanceof Promise) { return exportsOrPromise.then(function (exports) { return exports; }); } return exportsOrPromise; } /** * Calculates the signature of a React refresh boundary. * If this signature changes, it's unsafe to accept the boundary. * * This implementation is based on the one in [Metro](https://github.com/facebook/metro/blob/907d6af22ac6ebe58572be418e9253a90665ecbd/packages/metro/src/lib/polyfills/require.js#L795-L816). * @param {*} moduleExports A Webpack module exports object. * @returns {string[]} A React refresh boundary signature array. */ function getReactRefreshBoundarySignature(moduleExports) { var signature = []; signature.push(Refresh.getFamilyByType(moduleExports)); if (moduleExports == null || typeof moduleExports !== 'object') { // Exit if we can't iterate over exports. return signature; } for (var key in moduleExports) { if (key === '__esModule') { continue; } signature.push(key); signature.push(Refresh.getFamilyByType(moduleExports[key])); } return signature; } /** * Creates a data object to be retained across refreshes. * This object should not transtively reference previous exports, * which can form infinite chain of objects across refreshes, which can pressure RAM. * * @param {*} moduleExports A Webpack module exports object. * @returns {*} A React refresh boundary signature array. */ function getWebpackHotData(moduleExports) { return { signature: getReactRefreshBoundarySignature(moduleExports), isReactRefreshBoundary: isReactRefreshBoundary(moduleExports) }; } /** * Creates a helper that performs a delayed React refresh. * @returns {function(function(): void): void} A debounced React refresh function. */ function createDebounceUpdate() { /** * A cached setTimeout handler. * @type {number | undefined} */ var refreshTimeout; /** * Performs react refresh on a delay and clears the error overlay. * @param {function(): void} callback * @returns {void} */ function enqueueUpdate(callback) { if (typeof refreshTimeout === 'undefined') { refreshTimeout = setTimeout(function () { refreshTimeout = undefined; Refresh.performReactRefresh(); callback(); }, 30); } } return enqueueUpdate; } /** * Checks if all exports are likely a React component. * * This implementation is based on the one in [Metro](https://github.com/facebook/metro/blob/febdba2383113c88296c61e28e4ef6a7f4939fda/packages/metro/src/lib/polyfills/require.js#L748-L774). * @param {*} moduleExports A Webpack module exports object. * @returns {boolean} Whether the exports are React component like. */ function isReactRefreshBoundary(moduleExports) { if (Refresh.isLikelyComponentType(moduleExports)) { return true; } if (moduleExports === undefined || moduleExports === null || typeof moduleExports !== 'object') { // Exit if we can't iterate over exports. return false; } var hasExports = false; var areAllExportsComponents = true; for (var key in moduleExports) { hasExports = true; // This is the ES Module indicator flag if (key === '__esModule') { continue; } // We can (and have to) safely execute getters here, // as Webpack manually assigns harmony exports to getters, // without any side-effects attached. // Ref: https://github.com/webpack/webpack/blob/b93048643fe74de2a6931755911da1212df55897/lib/MainTemplate.js#L281 var exportValue = moduleExports[key]; if (!Refresh.isLikelyComponentType(exportValue)) { areAllExportsComponents = false; } } return hasExports && areAllExportsComponents; } /** * Checks if exports are likely a React component and registers them. * * This implementation is based on the one in [Metro](https://github.com/facebook/metro/blob/febdba2383113c88296c61e28e4ef6a7f4939fda/packages/metro/src/lib/polyfills/require.js#L818-L835). * @param {*} moduleExports A Webpack module exports object. * @param {string} moduleId A Webpack module ID. * @returns {void} */ function registerExportsForReactRefresh(moduleExports, moduleId) { if (Refresh.isLikelyComponentType(moduleExports)) { // Register module.exports if it is likely a component Refresh.register(moduleExports, moduleId + ' %exports%'); } if (moduleExports === undefined || moduleExports === null || typeof moduleExports !== 'object') { // Exit if we can't iterate over the exports. return; } for (var key in moduleExports) { // Skip registering the ES Module indicator if (key === '__esModule') { continue; } var exportValue = moduleExports[key]; if (Refresh.isLikelyComponentType(exportValue)) { var typeID = moduleId + ' %exports% ' + key; Refresh.register(exportValue, typeID); } } } /** * Compares previous and next module objects to check for mutated boundaries. * * This implementation is based on the one in [Metro](https://github.com/facebook/metro/blob/907d6af22ac6ebe58572be418e9253a90665ecbd/packages/metro/src/lib/polyfills/require.js#L776-L792). * @param {*} prevSignature The signature of the current Webpack module exports object. * @param {*} nextSignature The signature of the next Webpack module exports object. * @returns {boolean} Whether the React refresh boundary should be invalidated. */ function shouldInvalidateReactRefreshBoundary(prevSignature, nextSignature) { if (prevSignature.length !== nextSignature.length) { return true; } for (var i = 0; i < nextSignature.length; i += 1) { if (prevSignature[i] !== nextSignature[i]) { return true; } } return false; } var enqueueUpdate = createDebounceUpdate(); function executeRuntime(moduleExports, moduleId, webpackHot, refreshOverlay, isTest) { registerExportsForReactRefresh(moduleExports, moduleId); if (webpackHot) { var isHotUpdate = !!webpackHot.data; var prevData; if (isHotUpdate) { prevData = webpackHot.data.prevData; } if (isReactRefreshBoundary(moduleExports)) { webpackHot.dispose( /** * A callback to performs a full refresh if React has unrecoverable errors, * and also caches the to-be-disposed module. * @param {*} data A hot module data object from Webpack HMR. * @returns {void} */ function hotDisposeCallback(data) { // We have to mutate the data object to get data registered and cached data.prevData = getWebpackHotData(moduleExports); }); webpackHot.accept( /** * An error handler to allow self-recovering behaviours. * @param {Error} error An error occurred during evaluation of a module. * @returns {void} */ function hotErrorHandler(error) { if (typeof refreshOverlay !== 'undefined' && refreshOverlay) { refreshOverlay.handleRuntimeError(error); } if (typeof isTest !== 'undefined' && isTest) { if (window.onHotAcceptError) { window.onHotAcceptError(error.message); } } __webpack_require__.c[moduleId].hot.accept(hotErrorHandler); }); if (isHotUpdate) { if (prevData && prevData.isReactRefreshBoundary && shouldInvalidateReactRefreshBoundary(prevData.signature, getReactRefreshBoundarySignature(moduleExports))) { webpackHot.invalidate(); } else { enqueueUpdate( /** * A function to dismiss the error overlay after performing React refresh. * @returns {void} */ function updateCallback() { if (typeof refreshOverlay !== 'undefined' && refreshOverlay) { refreshOverlay.clearRuntimeErrors(); } }); } } } else { if (isHotUpdate && typeof prevData !== 'undefined') { webpackHot.invalidate(); } } } } module.exports = Object.freeze({ enqueueUpdate: enqueueUpdate, executeRuntime: executeRuntime, getModuleExports: getModuleExports, isReactRefreshBoundary: isReactRefreshBoundary, registerExportsForReactRefresh: registerExportsForReactRefresh }); /***/ }), /***/ "./node_modules/@remix-run/router/dist/router.js": /*!*******************************************************!*\ !*** ./node_modules/@remix-run/router/dist/router.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AbortedDeferredError: () => (/* binding */ AbortedDeferredError), /* harmony export */ Action: () => (/* binding */ Action), /* harmony export */ IDLE_BLOCKER: () => (/* binding */ IDLE_BLOCKER), /* harmony export */ IDLE_FETCHER: () => (/* binding */ IDLE_FETCHER), /* harmony export */ IDLE_NAVIGATION: () => (/* binding */ IDLE_NAVIGATION), /* harmony export */ UNSAFE_DEFERRED_SYMBOL: () => (/* binding */ UNSAFE_DEFERRED_SYMBOL), /* harmony export */ UNSAFE_DeferredData: () => (/* binding */ DeferredData), /* harmony export */ UNSAFE_ErrorResponseImpl: () => (/* binding */ ErrorResponseImpl), /* harmony export */ UNSAFE_convertRouteMatchToUiMatch: () => (/* binding */ convertRouteMatchToUiMatch), /* harmony export */ UNSAFE_convertRoutesToDataRoutes: () => (/* binding */ convertRoutesToDataRoutes), /* harmony export */ UNSAFE_decodePath: () => (/* binding */ decodePath), /* harmony export */ UNSAFE_getResolveToMatches: () => (/* binding */ getResolveToMatches), /* harmony export */ UNSAFE_invariant: () => (/* binding */ invariant), /* harmony export */ UNSAFE_warning: () => (/* binding */ warning), /* harmony export */ createBrowserHistory: () => (/* binding */ createBrowserHistory), /* harmony export */ createHashHistory: () => (/* binding */ createHashHistory), /* harmony export */ createMemoryHistory: () => (/* binding */ createMemoryHistory), /* harmony export */ createPath: () => (/* binding */ createPath), /* harmony export */ createRouter: () => (/* binding */ createRouter), /* harmony export */ createStaticHandler: () => (/* binding */ createStaticHandler), /* harmony export */ data: () => (/* binding */ data), /* harmony export */ defer: () => (/* binding */ defer), /* harmony export */ generatePath: () => (/* binding */ generatePath), /* harmony export */ getStaticContextFromError: () => (/* binding */ getStaticContextFromError), /* harmony export */ getToPathname: () => (/* binding */ getToPathname), /* harmony export */ isDataWithResponseInit: () => (/* binding */ isDataWithResponseInit), /* harmony export */ isDeferredData: () => (/* binding */ isDeferredData), /* harmony export */ isRouteErrorResponse: () => (/* binding */ isRouteErrorResponse), /* harmony export */ joinPaths: () => (/* binding */ joinPaths), /* harmony export */ json: () => (/* binding */ json), /* harmony export */ matchPath: () => (/* binding */ matchPath), /* harmony export */ matchRoutes: () => (/* binding */ matchRoutes), /* harmony export */ normalizePathname: () => (/* binding */ normalizePathname), /* harmony export */ parsePath: () => (/* binding */ parsePath), /* harmony export */ redirect: () => (/* binding */ redirect), /* harmony export */ redirectDocument: () => (/* binding */ redirectDocument), /* harmony export */ replace: () => (/* binding */ replace), /* harmony export */ resolvePath: () => (/* binding */ resolvePath), /* harmony export */ resolveTo: () => (/* binding */ resolveTo), /* harmony export */ stripBasename: () => (/* binding */ stripBasename) /* harmony export */ }); /** * @remix-run/router v1.21.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } //////////////////////////////////////////////////////////////////////////////// //#region Types and Constants //////////////////////////////////////////////////////////////////////////////// /** * Actions represent the type of change to a location value. */ var Action; (function (Action) { /** * A POP indicates a change to an arbitrary index in the history stack, such * as a back or forward navigation. It does not describe the direction of the * navigation, only that the current index changed. * * Note: This is the default action for newly created history objects. */ Action["Pop"] = "POP"; /** * A PUSH indicates a new entry being added to the history stack, such as when * a link is clicked and a new page loads. When this happens, all subsequent * entries in the stack are lost. */ Action["Push"] = "PUSH"; /** * A REPLACE indicates the entry at the current index in the history stack * being replaced by a new one. */ Action["Replace"] = "REPLACE"; })(Action || (Action = {})); const PopStateEventType = "popstate"; /** * Memory history stores the current location in memory. It is designed for use * in stateful non-browser environments like tests and React Native. */ function createMemoryHistory(options) { if (options === void 0) { options = {}; } let { initialEntries = ["/"], initialIndex, v5Compat = false } = options; let entries; // Declare so we can access from createMemoryLocation entries = initialEntries.map((entry, index) => createMemoryLocation(entry, typeof entry === "string" ? null : entry.state, index === 0 ? "default" : undefined)); let index = clampIndex(initialIndex == null ? entries.length - 1 : initialIndex); let action = Action.Pop; let listener = null; function clampIndex(n) { return Math.min(Math.max(n, 0), entries.length - 1); } function getCurrentLocation() { return entries[index]; } function createMemoryLocation(to, state, key) { if (state === void 0) { state = null; } let location = createLocation(entries ? getCurrentLocation().pathname : "/", to, state, key); warning(location.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(to)); return location; } function createHref(to) { return typeof to === "string" ? to : createPath(to); } let history = { get index() { return index; }, get action() { return action; }, get location() { return getCurrentLocation(); }, createHref, createURL(to) { return new URL(createHref(to), "http://localhost"); }, encodeLocation(to) { let path = typeof to === "string" ? parsePath(to) : to; return { pathname: path.pathname || "", search: path.search || "", hash: path.hash || "" }; }, push(to, state) { action = Action.Push; let nextLocation = createMemoryLocation(to, state); index += 1; entries.splice(index, entries.length, nextLocation); if (v5Compat && listener) { listener({ action, location: nextLocation, delta: 1 }); } }, replace(to, state) { action = Action.Replace; let nextLocation = createMemoryLocation(to, state); entries[index] = nextLocation; if (v5Compat && listener) { listener({ action, location: nextLocation, delta: 0 }); } }, go(delta) { action = Action.Pop; let nextIndex = clampIndex(index + delta); let nextLocation = entries[nextIndex]; index = nextIndex; if (listener) { listener({ action, location: nextLocation, delta }); } }, listen(fn) { listener = fn; return () => { listener = null; }; } }; return history; } /** * Browser history stores the location in regular URLs. This is the standard for * most web apps, but it requires some configuration on the server to ensure you * serve the same app at multiple URLs. * * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory */ function createBrowserHistory(options) { if (options === void 0) { options = {}; } function createBrowserLocation(window, globalHistory) { let { pathname, search, hash } = window.location; return createLocation("", { pathname, search, hash }, // state defaults to `null` because `window.history.state` does globalHistory.state && globalHistory.state.usr || null, globalHistory.state && globalHistory.state.key || "default"); } function createBrowserHref(window, to) { return typeof to === "string" ? to : createPath(to); } return getUrlBasedHistory(createBrowserLocation, createBrowserHref, null, options); } /** * Hash history stores the location in window.location.hash. This makes it ideal * for situations where you don't want to send the location to the server for * some reason, either because you do cannot configure it or the URL space is * reserved for something else. * * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory */ function createHashHistory(options) { if (options === void 0) { options = {}; } function createHashLocation(window, globalHistory) { let { pathname = "/", search = "", hash = "" } = parsePath(window.location.hash.substr(1)); // Hash URL should always have a leading / just like window.location.pathname // does, so if an app ends up at a route like /#something then we add a // leading slash so all of our path-matching behaves the same as if it would // in a browser router. This is particularly important when there exists a // root splat route (<Route path="*">) since that matches internally against // "/*" and we'd expect /#something to 404 in a hash router app. if (!pathname.startsWith("/") && !pathname.startsWith(".")) { pathname = "/" + pathname; } return createLocation("", { pathname, search, hash }, // state defaults to `null` because `window.history.state` does globalHistory.state && globalHistory.state.usr || null, globalHistory.state && globalHistory.state.key || "default"); } function createHashHref(window, to) { let base = window.document.querySelector("base"); let href = ""; if (base && base.getAttribute("href")) { let url = window.location.href; let hashIndex = url.indexOf("#"); href = hashIndex === -1 ? url : url.slice(0, hashIndex); } return href + "#" + (typeof to === "string" ? to : createPath(to)); } function validateHashLocation(location, to) { warning(location.pathname.charAt(0) === "/", "relative pathnames are not supported in hash history.push(" + JSON.stringify(to) + ")"); } return getUrlBasedHistory(createHashLocation, createHashHref, validateHashLocation, options); } function invariant(value, message) { if (value === false || value === null || typeof value === "undefined") { throw new Error(message); } } function warning(cond, message) { if (!cond) { // eslint-disable-next-line no-console if (typeof console !== "undefined") console.warn(message); try { // Welcome to debugging history! // // This error is thrown as a convenience, so you can more easily // find the source for a warning that appears in the console by // enabling "pause on exceptions" in your JavaScript debugger. throw new Error(message); // eslint-disable-next-line no-empty } catch (e) {} } } function createKey() { return Math.random().toString(36).substr(2, 8); } /** * For browser-based histories, we combine the state and key into an object */ function getHistoryState(location, index) { return { usr: location.state, key: location.key, idx: index }; } /** * Creates a Location object with a unique key from the given Path */ function createLocation(current, to, state, key) { if (state === void 0) { state = null; } let location = _extends({ pathname: typeof current === "string" ? current : current.pathname, search: "", hash: "" }, typeof to === "string" ? parsePath(to) : to, { state, // TODO: This could be cleaned up. push/replace should probably just take // full Locations now and avoid the need to run through this flow at all // But that's a pretty big refactor to the current test suite so going to // keep as is for the time being and just let any incoming keys take precedence key: to && to.key || key || createKey() }); return location; } /** * Creates a string URL path from the given pathname, search, and hash components. */ function createPath(_ref) { let { pathname = "/", search = "", hash = "" } = _ref; if (search && search !== "?") pathname += search.charAt(0) === "?" ? search : "?" + search; if (hash && hash !== "#") pathname += hash.charAt(0) === "#" ? hash : "#" + hash; return pathname; } /** * Parses a string URL path into its separate pathname, search, and hash components. */ function parsePath(path) { let parsedPath = {}; if (path) { let hashIndex = path.indexOf("#"); if (hashIndex >= 0) { parsedPath.hash = path.substr(hashIndex); path = path.substr(0, hashIndex); } let searchIndex = path.indexOf("?"); if (searchIndex >= 0) { parsedPath.search = path.substr(searchIndex); path = path.substr(0, searchIndex); } if (path) { parsedPath.pathname = path; } } return parsedPath; } function getUrlBasedHistory(getLocation, createHref, validateLocation, options) { if (options === void 0) { options = {}; } let { window = document.defaultView, v5Compat = false } = options; let globalHistory = window.history; let action = Action.Pop; let listener = null; let index = getIndex(); // Index should only be null when we initialize. If not, it's because the // user called history.pushState or history.replaceState directly, in which // case we should log a warning as it will result in bugs. if (index == null) { index = 0; globalHistory.replaceState(_extends({}, globalHistory.state, { idx: index }), ""); } function getIndex() { let state = globalHistory.state || { idx: null }; return state.idx; } function handlePop() { action = Action.Pop; let nextIndex = getIndex(); let delta = nextIndex == null ? null : nextIndex - index; index = nextIndex; if (listener) { listener({ action, location: history.location, delta }); } } function push(to, state) { action = Action.Push; let location = createLocation(history.location, to, state); if (validateLocation) validateLocation(location, to); index = getIndex() + 1; let historyState = getHistoryState(location, index); let url = history.createHref(location); // try...catch because iOS limits us to 100 pushState calls :/ try { globalHistory.pushState(historyState, "", url); } catch (error) { // If the exception is because `state` can't be serialized, let that throw // outwards just like a replace call would so the dev knows the cause // https://html.spec.whatwg.org/multipage/nav-history-apis.html#shared-history-push/replace-state-steps // https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal if (error instanceof DOMException && error.name === "DataCloneError") { throw error; } // They are going to lose state here, but there is no real // way to warn them about it since the page will refresh... window.location.assign(url); } if (v5Compat && listener) { listener({ action, location: history.location, delta: 1 }); } } function replace(to, state) { action = Action.Replace; let location = createLocation(history.location, to, state); if (validateLocation) validateLocation(location, to); index = getIndex(); let historyState = getHistoryState(location, index); let url = history.createHref(location); globalHistory.replaceState(historyState, "", url); if (v5Compat && listener) { listener({ action, location: history.location, delta: 0 }); } } function createURL(to) { // window.location.origin is "null" (the literal string value) in Firefox // under certain conditions, notably when serving from a local HTML file // See https://bugzilla.mozilla.org/show_bug.cgi?id=878297 let base = window.location.origin !== "null" ? window.location.origin : window.location.href; let href = typeof to === "string" ? to : createPath(to); // Treating this as a full URL will strip any trailing spaces so we need to // pre-encode them since they might be part of a matching splat param from // an ancestor route href = href.replace(/ $/, "%20"); invariant(base, "No window.location.(origin|href) available to create URL for href: " + href); return new URL(href, base); } let history = { get action() { return action; }, get location() { return getLocation(window, globalHistory); }, listen(fn) { if (listener) { throw new Error("A history only accepts one active listener"); } window.addEventListener(PopStateEventType, handlePop); listener = fn; return () => { window.removeEventListener(PopStateEventType, handlePop); listener = null; }; }, createHref(to) { return createHref(window, to); }, createURL, encodeLocation(to) { // Encode a Location the same way window.location would let url = createURL(to); return { pathname: url.pathname, search: url.search, hash: url.hash }; }, push, replace, go(n) { return globalHistory.go(n); } }; return history; } //#endregion var ResultType; (function (ResultType) { ResultType["data"] = "data"; ResultType["deferred"] = "deferred"; ResultType["redirect"] = "redirect"; ResultType["error"] = "error"; })(ResultType || (ResultType = {})); const immutableRouteKeys = new Set(["lazy", "caseSensitive", "path", "id", "index", "children"]); function isIndexRoute(route) { return route.index === true; } // Walk the route tree generating unique IDs where necessary, so we are working // solely with AgnosticDataRouteObject's within the Router function convertRoutesToDataRoutes(routes, mapRouteProperties, parentPath, manifest) { if (parentPath === void 0) { parentPath = []; } if (manifest === void 0) { manifest = {}; } return routes.map((route, index) => { let treePath = [...parentPath, String(index)]; let id = typeof route.id === "string" ? route.id : treePath.join("-"); invariant(route.index !== true || !route.children, "Cannot specify children on an index route"); invariant(!manifest[id], "Found a route id collision on id \"" + id + "\". Route " + "id's must be globally unique within Data Router usages"); if (isIndexRoute(route)) { let indexRoute = _extends({}, route, mapRouteProperties(route), { id }); manifest[id] = indexRoute; return indexRoute; } else { let pathOrLayoutRoute = _extends({}, route, mapRouteProperties(route), { id, children: undefined }); manifest[id] = pathOrLayoutRoute; if (route.children) { pathOrLayoutRoute.children = convertRoutesToDataRoutes(route.children, mapRouteProperties, treePath, manifest); } return pathOrLayoutRoute; } }); } /** * Matches the given routes to a location and returns the match data. * * @see https://reactrouter.com/v6/utils/match-routes */ function matchRoutes(routes, locationArg, basename) { if (basename === void 0) { basename = "/"; } return matchRoutesImpl(routes, locationArg, basename, false); } function matchRoutesImpl(routes, locationArg, basename, allowPartial) { let location = typeof locationArg === "string" ? parsePath(locationArg) : locationArg; let pathname = stripBasename(location.pathname || "/", basename); if (pathname == null) { return null; } let branches = flattenRoutes(routes); rankRouteBranches(branches); let matches = null; for (let i = 0; matches == null && i < branches.length; ++i) { // Incoming pathnames are generally encoded from either window.location // or from router.navigate, but we want to match against the unencoded // paths in the route definitions. Memory router locations won't be // encoded here but there also shouldn't be anything to decode so this // should be a safe operation. This avoids needing matchRoutes to be // history-aware. let decoded = decodePath(pathname); matches = matchRouteBranch(branches[i], decoded, allowPartial); } return matches; } function convertRouteMatchToUiMatch(match, loaderData) { let { route, pathname, params } = match; return { id: route.id, pathname, params, data: loaderData[route.id], handle: route.handle }; } function flattenRoutes(routes, branches, parentsMeta, parentPath) { if (branches === void 0) { branches = []; } if (parentsMeta === void 0) { parentsMeta = []; } if (parentPath === void 0) { parentPath = ""; } let flattenRoute = (route, index, relativePath) => { let meta = { relativePath: relativePath === undefined ? route.path || "" : relativePath, caseSensitive: route.caseSensitive === true, childrenIndex: index, route }; if (meta.relativePath.startsWith("/")) { invariant(meta.relativePath.startsWith(parentPath), "Absolute route path \"" + meta.relativePath + "\" nested under path " + ("\"" + parentPath + "\" is not valid. An absolute child route path ") + "must start with the combined path of all its parent routes."); meta.relativePath = meta.relativePath.slice(parentPath.length); } let path = joinPaths([parentPath, meta.relativePath]); let routesMeta = parentsMeta.concat(meta); // Add the children before adding this route to the array, so we traverse the // route tree depth-first and child routes appear before their parents in // the "flattened" version. if (route.children && route.children.length > 0) { invariant( // Our types know better, but runtime JS may not! // @ts-expect-error route.index !== true, "Index routes must not have child routes. Please remove " + ("all child routes from route path \"" + path + "\".")); flattenRoutes(route.children, branches, routesMeta, path); } // Routes without a path shouldn't ever match by themselves unless they are // index routes, so don't add them to the list of possible branches. if (route.path == null && !route.index) { return; } branches.push({ path, score: computeScore(path, route.index), routesMeta }); }; routes.forEach((route, index) => { var _route$path; // coarse-grain check for optional params if (route.path === "" || !((_route$path = route.path) != null && _route$path.includes("?"))) { flattenRoute(route, index); } else { for (let exploded of explodeOptionalSegments(route.path)) { flattenRoute(route, index, exploded); } } }); return branches; } /** * Computes all combinations of optional path segments for a given path, * excluding combinations that are ambiguous and of lower priority. * * For example, `/one/:two?/three/:four?/:five?` explodes to: * - `/one/three` * - `/one/:two/three` * - `/one/three/:four` * - `/one/three/:five` * - `/one/:two/three/:four` * - `/one/:two/three/:five` * - `/one/three/:four/:five` * - `/one/:two/three/:four/:five` */ function explodeOptionalSegments(path) { let segments = path.split("/"); if (segments.length === 0) return []; let [first, ...rest] = segments; // Optional path segments are denoted by a trailing `?` let isOptional = first.endsWith("?"); // Compute the corresponding required segment: `foo?` -> `foo` let required = first.replace(/\?$/, ""); if (rest.length === 0) { // Intepret empty string as omitting an optional segment // `["one", "", "three"]` corresponds to omitting `:two` from `/one/:two?/three` -> `/one/three` return isOptional ? [required, ""] : [required]; } let restExploded = explodeOptionalSegments(rest.join("/")); let result = []; // All child paths with the prefix. Do this for all children before the // optional version for all children, so we get consistent ordering where the // parent optional aspect is preferred as required. Otherwise, we can get // child sections interspersed where deeper optional segments are higher than // parent optional segments, where for example, /:two would explode _earlier_ // then /:one. By always including the parent as required _for all children_ // first, we avoid this issue result.push(...restExploded.map(subpath => subpath === "" ? required : [required, subpath].join("/"))); // Then, if this is an optional value, add all child versions without if (isOptional) { result.push(...restExploded); } // for absolute paths, ensure `/` instead of empty segment return result.map(exploded => path.startsWith("/") && exploded === "" ? "/" : exploded); } function rankRouteBranches(branches) { branches.sort((a, b) => a.score !== b.score ? b.score - a.score // Higher score first : compareIndexes(a.routesMeta.map(meta => meta.childrenIndex), b.routesMeta.map(meta => meta.childrenIndex))); } const paramRe = /^:[\w-]+$/; const dynamicSegmentValue = 3; const indexRouteValue = 2; const emptySegmentValue = 1; const staticSegmentValue = 10; const splatPenalty = -2; const isSplat = s => s === "*"; function computeScore(path, index) { let segments = path.split("/"); let initialScore = segments.length; if (segments.some(isSplat)) { initialScore += splatPenalty; } if (index) { initialScore += indexRouteValue; } return segments.filter(s => !isSplat(s)).reduce((score, segment) => score + (paramRe.test(segment) ? dynamicSegmentValue : segment === "" ? emptySegmentValue : staticSegmentValue), initialScore); } function compareIndexes(a, b) { let siblings = a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]); return siblings ? // If two routes are siblings, we should try to match the earlier sibling // first. This allows people to have fine-grained control over the matching // behavior by simply putting routes with identical paths in the order they // want them tried. a[a.length - 1] - b[b.length - 1] : // Otherwise, it doesn't really make sense to rank non-siblings by index, // so they sort equally. 0; } function matchRouteBranch(branch, pathname, allowPartial) { if (allowPartial === void 0) { allowPartial = false; } let { routesMeta } = branch; let matchedParams = {}; let matchedPathname = "/"; let matches = []; for (let i = 0; i < routesMeta.length; ++i) { let meta = routesMeta[i]; let end = i === routesMeta.length - 1; let remainingPathname = matchedPathname === "/" ? pathname : pathname.slice(matchedPathname.length) || "/"; let match = matchPath({ path: meta.relativePath, caseSensitive: meta.caseSensitive, end }, remainingPathname); let route = meta.route; if (!match && end && allowPartial && !routesMeta[routesMeta.length - 1].route.index) { match = matchPath({ path: meta.relativePath, caseSensitive: meta.caseSensitive, end: false }, remainingPathname); } if (!match) { return null; } Object.assign(matchedParams, match.params); matches.push({ // TODO: Can this as be avoided? params: matchedParams, pathname: joinPaths([matchedPathname, match.pathname]), pathnameBase: normalizePathname(joinPaths([matchedPathname, match.pathnameBase])), route }); if (match.pathnameBase !== "/") { matchedPathname = joinPaths([matchedPathname, match.pathnameBase]); } } return matches; } /** * Returns a path with params interpolated. * * @see https://reactrouter.com/v6/utils/generate-path */ function generatePath(originalPath, params) { if (params === void 0) { params = {}; } let path = originalPath; if (path.endsWith("*") && path !== "*" && !path.endsWith("/*")) { warning(false, "Route path \"" + path + "\" will be treated as if it were " + ("\"" + path.replace(/\*$/, "/*") + "\" because the `*` character must ") + "always follow a `/` in the pattern. To get rid of this warning, " + ("please change the route path to \"" + path.replace(/\*$/, "/*") + "\".")); path = path.replace(/\*$/, "/*"); } // ensure `/` is added at the beginning if the path is absolute const prefix = path.startsWith("/") ? "/" : ""; const stringify = p => p == null ? "" : typeof p === "string" ? p : String(p); const segments = path.split(/\/+/).map((segment, index, array) => { const isLastSegment = index === array.length - 1; // only apply the splat if it's the last segment if (isLastSegment && segment === "*") { const star = "*"; // Apply the splat return stringify(params[star]); } const keyMatch = segment.match(/^:([\w-]+)(\??)$/); if (keyMatch) { const [, key, optional] = keyMatch; let param = params[key]; invariant(optional === "?" || param != null, "Missing \":" + key + "\" param"); return stringify(param); } // Remove any optional markers from optional static segments return segment.replace(/\?$/g, ""); }) // Remove empty segments .filter(segment => !!segment); return prefix + segments.join("/"); } /** * Performs pattern matching on a URL pathname and returns information about * the match. * * @see https://reactrouter.com/v6/utils/match-path */ function matchPath(pattern, pathname) { if (typeof pattern === "string") { pattern = { path: pattern, caseSensitive: false, end: true }; } let [matcher, compiledParams] = compilePath(pattern.path, pattern.caseSensitive, pattern.end); let match = pathname.match(matcher); if (!match) return null; let matchedPathname = match[0]; let pathnameBase = matchedPathname.replace(/(.)\/+$/, "$1"); let captureGroups = match.slice(1); let params = compiledParams.reduce((memo, _ref, index) => { let { paramName, isOptional } = _ref; // We need to compute the pathnameBase here using the raw splat value // instead of using params["*"] later because it will be decoded then if (paramName === "*") { let splatValue = captureGroups[index] || ""; pathnameBase = matchedPathname.slice(0, matchedPathname.length - splatValue.length).replace(/(.)\/+$/, "$1"); } const value = captureGroups[index]; if (isOptional && !value) { memo[paramName] = undefined; } else { memo[paramName] = (value || "").replace(/%2F/g, "/"); } return memo; }, {}); return { params, pathname: matchedPathname, pathnameBase, pattern }; } function compilePath(path, caseSensitive, end) { if (caseSensitive === void 0) { caseSensitive = false; } if (end === void 0) { end = true; } warning(path === "*" || !path.endsWith("*") || path.endsWith("/*"), "Route path \"" + path + "\" will be treated as if it were " + ("\"" + path.replace(/\*$/, "/*") + "\" because the `*` character must ") + "always follow a `/` in the pattern. To get rid of this warning, " + ("please change the route path to \"" + path.replace(/\*$/, "/*") + "\".")); let params = []; let regexpSource = "^" + path.replace(/\/*\*?$/, "") // Ignore trailing / and /*, we'll handle it below .replace(/^\/*/, "/") // Make sure it has a leading / .replace(/[\\.*+^${}|()[\]]/g, "\\$&") // Escape special regex chars .replace(/\/:([\w-]+)(\?)?/g, (_, paramName, isOptional) => { params.push({ paramName, isOptional: isOptional != null }); return isOptional ? "/?([^\\/]+)?" : "/([^\\/]+)"; }); if (path.endsWith("*")) { params.push({ paramName: "*" }); regexpSource += path === "*" || path === "/*" ? "(.*)$" // Already matched the initial /, just match the rest : "(?:\\/(.+)|\\/*)$"; // Don't include the / in params["*"] } else if (end) { // When matching to the end, ignore trailing slashes regexpSource += "\\/*$"; } else if (path !== "" && path !== "/") { // If our path is non-empty and contains anything beyond an initial slash, // then we have _some_ form of path in our regex, so we should expect to // match only if we find the end of this path segment. Look for an optional // non-captured trailing slash (to match a portion of the URL) or the end // of the path (if we've matched to the end). We used to do this with a // word boundary but that gives false positives on routes like // /user-preferences since `-` counts as a word boundary. regexpSource += "(?:(?=\\/|$))"; } else ; let matcher = new RegExp(regexpSource, caseSensitive ? undefined : "i"); return [matcher, params]; } function decodePath(value) { try { return value.split("/").map(v => decodeURIComponent(v).replace(/\//g, "%2F")).join("/"); } catch (error) { warning(false, "The URL path \"" + value + "\" could not be decoded because it is is a " + "malformed URL segment. This is probably due to a bad percent " + ("encoding (" + error + ").")); return value; } } /** * @private */ function stripBasename(pathname, basename) { if (basename === "/") return pathname; if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) { return null; } // We want to leave trailing slash behavior in the user's control, so if they // specify a basename with a trailing slash, we should support it let startIndex = basename.endsWith("/") ? basename.length - 1 : basename.length; let nextChar = pathname.charAt(startIndex); if (nextChar && nextChar !== "/") { // pathname does not start with basename/ return null; } return pathname.slice(startIndex) || "/"; } /** * Returns a resolved path object relative to the given pathname. * * @see https://reactrouter.com/v6/utils/resolve-path */ function resolvePath(to, fromPathname) { if (fromPathname === void 0) { fromPathname = "/"; } let { pathname: toPathname, search = "", hash = "" } = typeof to === "string" ? parsePath(to) : to; let pathname = toPathname ? toPathname.startsWith("/") ? toPathname : resolvePathname(toPathname, fromPathname) : fromPathname; return { pathname, search: normalizeSearch(search), hash: normalizeHash(hash) }; } function resolvePathname(relativePath, fromPathname) { let segments = fromPathname.replace(/\/+$/, "").split("/"); let relativeSegments = relativePath.split("/"); relativeSegments.forEach(segment => { if (segment === "..") { // Keep the root "" segment so the pathname starts at / if (segments.length > 1) segments.pop(); } else if (segment !== ".") { segments.push(segment); } }); return segments.length > 1 ? segments.join("/") : "/"; } function getInvalidPathError(char, field, dest, path) { return "Cannot include a '" + char + "' character in a manually specified " + ("`to." + field + "` field [" + JSON.stringify(path) + "]. Please separate it out to the ") + ("`to." + dest + "` field. Alternatively you may provide the full path as ") + "a string in <Link to=\"...\"> and the router will parse it for you."; } /** * @private * * When processing relative navigation we want to ignore ancestor routes that * do not contribute to the path, such that index/pathless layout routes don't * interfere. * * For example, when moving a route element into an index route and/or a * pathless layout route, relative link behavior contained within should stay * the same. Both of the following examples should link back to the root: * * <Route path="/"> * <Route path="accounts" element={<Link to=".."}> * </Route> * * <Route path="/"> * <Route path="accounts"> * <Route element={<AccountsLayout />}> // <-- Does not contribute * <Route index element={<Link to=".."} /> // <-- Does not contribute * </Route * </Route> * </Route> */ function getPathContributingMatches(matches) { return matches.filter((match, index) => index === 0 || match.route.path && match.route.path.length > 0); } // Return the array of pathnames for the current route matches - used to // generate the routePathnames input for resolveTo() function getResolveToMatches(matches, v7_relativeSplatPath) { let pathMatches = getPathContributingMatches(matches); // When v7_relativeSplatPath is enabled, use the full pathname for the leaf // match so we include splat values for "." links. See: // https://github.com/remix-run/react-router/issues/11052#issuecomment-1836589329 if (v7_relativeSplatPath) { return pathMatches.map((match, idx) => idx === pathMatches.length - 1 ? match.pathname : match.pathnameBase); } return pathMatches.map(match => match.pathnameBase); } /** * @private */ function resolveTo(toArg, routePathnames, locationPathname, isPathRelative) { if (isPathRelative === void 0) { isPathRelative = false; } let to; if (typeof toArg === "string") { to = parsePath(toArg); } else { to = _extends({}, toArg); invariant(!to.pathname || !to.pathname.includes("?"), getInvalidPathError("?", "pathname", "search", to)); invariant(!to.pathname || !to.pathname.includes("#"), getInvalidPathError("#", "pathname", "hash", to)); invariant(!to.search || !to.search.includes("#"), getInvalidPathError("#", "search", "hash", to)); } let isEmptyPath = toArg === "" || to.pathname === ""; let toPathname = isEmptyPath ? "/" : to.pathname; let from; // Routing is relative to the current pathname if explicitly requested. // // If a pathname is explicitly provided in `to`, it should be relative to the // route context. This is explained in `Note on `<Link to>` values` in our // migration guide from v5 as a means of disambiguation between `to` values // that begin with `/` and those that do not. However, this is problematic for // `to` values that do not provide a pathname. `to` can simply be a search or // hash string, in which case we should assume that the navigation is relative // to the current location's pathname and *not* the route pathname. if (toPathname == null) { from = locationPathname; } else { let routePathnameIndex = routePathnames.length - 1; // With relative="route" (the default), each leading .. segment means // "go up one route" instead of "go up one URL segment". This is a key // difference from how <a href> works and a major reason we call this a // "to" value instead of a "href". if (!isPathRelative && toPathname.startsWith("..")) { let toSegments = toPathname.split("/"); while (toSegments[0] === "..") { toSegments.shift(); routePathnameIndex -= 1; } to.pathname = toSegments.join("/"); } from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : "/"; } let path = resolvePath(to, from); // Ensure the pathname has a trailing slash if the original "to" had one let hasExplicitTrailingSlash = toPathname && toPathname !== "/" && toPathname.endsWith("/"); // Or if this was a link to the current path which has a trailing slash let hasCurrentTrailingSlash = (isEmptyPath || toPathname === ".") && locationPathname.endsWith("/"); if (!path.pathname.endsWith("/") && (hasExplicitTrailingSlash || hasCurrentTrailingSlash)) { path.pathname += "/"; } return path; } /** * @private */ function getToPathname(to) { // Empty strings should be treated the same as / paths return to === "" || to.pathname === "" ? "/" : typeof to === "string" ? parsePath(to).pathname : to.pathname; } /** * @private */ const joinPaths = paths => paths.join("/").replace(/\/\/+/g, "/"); /** * @private */ const normalizePathname = pathname => pathname.replace(/\/+$/, "").replace(/^\/*/, "/"); /** * @private */ const normalizeSearch = search => !search || search === "?" ? "" : search.startsWith("?") ? search : "?" + search; /** * @private */ const normalizeHash = hash => !hash || hash === "#" ? "" : hash.startsWith("#") ? hash : "#" + hash; /** * This is a shortcut for creating `application/json` responses. Converts `data` * to JSON and sets the `Content-Type` header. * * @deprecated The `json` method is deprecated in favor of returning raw objects. * This method will be removed in v7. */ const json = function json(data, init) { if (init === void 0) { init = {}; } let responseInit = typeof init === "number" ? { status: init } : init; let headers = new Headers(responseInit.headers); if (!headers.has("Content-Type")) { headers.set("Content-Type", "application/json; charset=utf-8"); } return new Response(JSON.stringify(data), _extends({}, responseInit, { headers })); }; class DataWithResponseInit { constructor(data, init) { this.type = "DataWithResponseInit"; this.data = data; this.init = init || null; } } /** * Create "responses" that contain `status`/`headers` without forcing * serialization into an actual `Response` - used by Remix single fetch */ function data(data, init) { return new DataWithResponseInit(data, typeof init === "number" ? { status: init } : init); } class AbortedDeferredError extends Error {} class DeferredData { constructor(data, responseInit) { this.pendingKeysSet = new Set(); this.subscribers = new Set(); this.deferredKeys = []; invariant(data && typeof data === "object" && !Array.isArray(data), "defer() only accepts plain objects"); // Set up an AbortController + Promise we can race against to exit early // cancellation let reject; this.abortPromise = new Promise((_, r) => reject = r); this.controller = new AbortController(); let onAbort = () => reject(new AbortedDeferredError("Deferred data aborted")); this.unlistenAbortSignal = () => this.controller.signal.removeEventListener("abort", onAbort); this.controller.signal.addEventListener("abort", onAbort); this.data = Object.entries(data).reduce((acc, _ref2) => { let [key, value] = _ref2; return Object.assign(acc, { [key]: this.trackPromise(key, value) }); }, {}); if (this.done) { // All incoming values were resolved this.unlistenAbortSignal(); } this.init = responseInit; } trackPromise(key, value) { if (!(value instanceof Promise)) { return value; } this.deferredKeys.push(key); this.pendingKeysSet.add(key); // We store a little wrapper promise that will be extended with // _data/_error props upon resolve/reject let promise = Promise.race([value, this.abortPromise]).then(data => this.onSettle(promise, key, undefined, data), error => this.onSettle(promise, key, error)); // Register rejection listeners to avoid uncaught promise rejections on // errors or aborted deferred values promise.catch(() => {}); Object.defineProperty(promise, "_tracked", { get: () => true }); return promise; } onSettle(promise, key, error, data) { if (this.controller.signal.aborted && error instanceof AbortedDeferredError) { this.unlistenAbortSignal(); Object.defineProperty(promise, "_error", { get: () => error }); return Promise.reject(error); } this.pendingKeysSet.delete(key); if (this.done) { // Nothing left to abort! this.unlistenAbortSignal(); } // If the promise was resolved/rejected with undefined, we'll throw an error as you // should always resolve with a value or null if (error === undefined && data === undefined) { let undefinedError = new Error("Deferred data for key \"" + key + "\" resolved/rejected with `undefined`, " + "you must resolve/reject with a value or `null`."); Object.defineProperty(promise, "_error", { get: () => undefinedError }); this.emit(false, key); return Promise.reject(undefinedError); } if (data === undefined) { Object.defineProperty(promise, "_error", { get: () => error }); this.emit(false, key); return Promise.reject(error); } Object.defineProperty(promise, "_data", { get: () => data }); this.emit(false, key); return data; } emit(aborted, settledKey) { this.subscribers.forEach(subscriber => subscriber(aborted, settledKey)); } subscribe(fn) { this.subscribers.add(fn); return () => this.subscribers.delete(fn); } cancel() { this.controller.abort(); this.pendingKeysSet.forEach((v, k) => this.pendingKeysSet.delete(k)); this.emit(true); } async resolveData(signal) { let aborted = false; if (!this.done) { let onAbort = () => this.cancel(); signal.addEventListener("abort", onAbort); aborted = await new Promise(resolve => { this.subscribe(aborted => { signal.removeEventListener("abort", onAbort); if (aborted || this.done) { resolve(aborted); } }); }); } return aborted; } get done() { return this.pendingKeysSet.size === 0; } get unwrappedData() { invariant(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"); return Object.entries(this.data).reduce((acc, _ref3) => { let [key, value] = _ref3; return Object.assign(acc, { [key]: unwrapTrackedPromise(value) }); }, {}); } get pendingKeys() { return Array.from(this.pendingKeysSet); } } function isTrackedPromise(value) { return value instanceof Promise && value._tracked === true; } function unwrapTrackedPromise(value) { if (!isTrackedPromise(value)) { return value; } if (value._error) { throw value._error; } return value._data; } /** * @deprecated The `defer` method is deprecated in favor of returning raw * objects. This method will be removed in v7. */ const defer = function defer(data, init) { if (init === void 0) { init = {}; } let responseInit = typeof init === "number" ? { status: init } : init; return new DeferredData(data, responseInit); }; /** * A redirect response. Sets the status code and the `Location` header. * Defaults to "302 Found". */ const redirect = function redirect(url, init) { if (init === void 0) { init = 302; } let responseInit = init; if (typeof responseInit === "number") { responseInit = { status: responseInit }; } else if (typeof responseInit.status === "undefined") { responseInit.status = 302; } let headers = new Headers(responseInit.headers); headers.set("Location", url); return new Response(null, _extends({}, responseInit, { headers })); }; /** * A redirect response that will force a document reload to the new location. * Sets the status code and the `Location` header. * Defaults to "302 Found". */ const redirectDocument = (url, init) => { let response = redirect(url, init); response.headers.set("X-Remix-Reload-Document", "true"); return response; }; /** * A redirect response that will perform a `history.replaceState` instead of a * `history.pushState` for client-side navigation redirects. * Sets the status code and the `Location` header. * Defaults to "302 Found". */ const replace = (url, init) => { let response = redirect(url, init); response.headers.set("X-Remix-Replace", "true"); return response; }; /** * @private * Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies * * We don't export the class for public use since it's an implementation * detail, but we export the interface above so folks can build their own * abstractions around instances via isRouteErrorResponse() */ class ErrorResponseImpl { constructor(status, statusText, data, internal) { if (internal === void 0) { internal = false; } this.status = status; this.statusText = statusText || ""; this.internal = internal; if (data instanceof Error) { this.data = data.toString(); this.error = data; } else { this.data = data; } } } /** * Check if the given error is an ErrorResponse generated from a 4xx/5xx * Response thrown from an action/loader */ function isRouteErrorResponse(error) { return error != null && typeof error.status === "number" && typeof error.statusText === "string" && typeof error.internal === "boolean" && "data" in error; } const validMutationMethodsArr = ["post", "put", "patch", "delete"]; const validMutationMethods = new Set(validMutationMethodsArr); const validRequestMethodsArr = ["get", ...validMutationMethodsArr]; const validRequestMethods = new Set(validRequestMethodsArr); const redirectStatusCodes = new Set([301, 302, 303, 307, 308]); const redirectPreserveMethodStatusCodes = new Set([307, 308]); const IDLE_NAVIGATION = { state: "idle", location: undefined, formMethod: undefined, formAction: undefined, formEncType: undefined, formData: undefined, json: undefined, text: undefined }; const IDLE_FETCHER = { state: "idle", data: undefined, formMethod: undefined, formAction: undefined, formEncType: undefined, formData: undefined, json: undefined, text: undefined }; const IDLE_BLOCKER = { state: "unblocked", proceed: undefined, reset: undefined, location: undefined }; const ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i; const defaultMapRouteProperties = route => ({ hasErrorBoundary: Boolean(route.hasErrorBoundary) }); const TRANSITIONS_STORAGE_KEY = "remix-router-transitions"; //#endregion //////////////////////////////////////////////////////////////////////////////// //#region createRouter //////////////////////////////////////////////////////////////////////////////// /** * Create a router and listen to history POP navigations */ function createRouter(init) { const routerWindow = init.window ? init.window : typeof window !== "undefined" ? window : undefined; const isBrowser = typeof routerWindow !== "undefined" && typeof routerWindow.document !== "undefined" && typeof routerWindow.document.createElement !== "undefined"; const isServer = !isBrowser; invariant(init.routes.length > 0, "You must provide a non-empty routes array to createRouter"); let mapRouteProperties; if (init.mapRouteProperties) { mapRouteProperties = init.mapRouteProperties; } else if (init.detectErrorBoundary) { // If they are still using the deprecated version, wrap it with the new API let detectErrorBoundary = init.detectErrorBoundary; mapRouteProperties = route => ({ hasErrorBoundary: detectErrorBoundary(route) }); } else { mapRouteProperties = defaultMapRouteProperties; } // Routes keyed by ID let manifest = {}; // Routes in tree format for matching let dataRoutes = convertRoutesToDataRoutes(init.routes, mapRouteProperties, undefined, manifest); let inFlightDataRoutes; let basename = init.basename || "/"; let dataStrategyImpl = init.dataStrategy || defaultDataStrategy; let patchRoutesOnNavigationImpl = init.patchRoutesOnNavigation; // Config driven behavior flags let future = _extends({ v7_fetcherPersist: false, v7_normalizeFormMethod: false, v7_partialHydration: false, v7_prependBasename: false, v7_relativeSplatPath: false, v7_skipActionErrorRevalidation: false }, init.future); // Cleanup function for history let unlistenHistory = null; // Externally-provided functions to call on all state changes let subscribers = new Set(); // Externally-provided object to hold scroll restoration locations during routing let savedScrollPositions = null; // Externally-provided function to get scroll restoration keys let getScrollRestorationKey = null; // Externally-provided function to get current scroll position let getScrollPosition = null; // One-time flag to control the initial hydration scroll restoration. Because // we don't get the saved positions from <ScrollRestoration /> until _after_ // the initial render, we need to manually trigger a separate updateState to // send along the restoreScrollPosition // Set to true if we have `hydrationData` since we assume we were SSR'd and that // SSR did the initial scroll restoration. let initialScrollRestored = init.hydrationData != null; let initialMatches = matchRoutes(dataRoutes, init.history.location, basename); let initialErrors = null; if (initialMatches == null && !patchRoutesOnNavigationImpl) { // If we do not match a user-provided-route, fall back to the root // to allow the error boundary to take over let error = getInternalRouterError(404, { pathname: init.history.location.pathname }); let { matches, route } = getShortCircuitMatches(dataRoutes); initialMatches = matches; initialErrors = { [route.id]: error }; } // In SPA apps, if the user provided a patchRoutesOnNavigation implementation and // our initial match is a splat route, clear them out so we run through lazy // discovery on hydration in case there's a more accurate lazy route match. // In SSR apps (with `hydrationData`), we expect that the server will send // up the proper matched routes so we don't want to run lazy discovery on // initial hydration and want to hydrate into the splat route. if (initialMatches && !init.hydrationData) { let fogOfWar = checkFogOfWar(initialMatches, dataRoutes, init.history.location.pathname); if (fogOfWar.active) { initialMatches = null; } } let initialized; if (!initialMatches) { initialized = false; initialMatches = []; // If partial hydration and fog of war is enabled, we will be running // `patchRoutesOnNavigation` during hydration so include any partial matches as // the initial matches so we can properly render `HydrateFallback`'s if (future.v7_partialHydration) { let fogOfWar = checkFogOfWar(null, dataRoutes, init.history.location.pathname); if (fogOfWar.active && fogOfWar.matches) { initialMatches = fogOfWar.matches; } } } else if (initialMatches.some(m => m.route.lazy)) { // All initialMatches need to be loaded before we're ready. If we have lazy // functions around still then we'll need to run them in initialize() initialized = false; } else if (!initialMatches.some(m => m.route.loader)) { // If we've got no loaders to run, then we're good to go initialized = true; } else if (future.v7_partialHydration) { // If partial hydration is enabled, we're initialized so long as we were // provided with hydrationData for every route with a loader, and no loaders // were marked for explicit hydration let loaderData = init.hydrationData ? init.hydrationData.loaderData : null; let errors = init.hydrationData ? init.hydrationData.errors : null; // If errors exist, don't consider routes below the boundary if (errors) { let idx = initialMatches.findIndex(m => errors[m.route.id] !== undefined); initialized = initialMatches.slice(0, idx + 1).every(m => !shouldLoadRouteOnHydration(m.route, loaderData, errors)); } else { initialized = initialMatches.every(m => !shouldLoadRouteOnHydration(m.route, loaderData, errors)); } } else { // Without partial hydration - we're initialized if we were provided any // hydrationData - which is expected to be complete initialized = init.hydrationData != null; } let router; let state = { historyAction: init.history.action, location: init.history.location, matches: initialMatches, initialized, navigation: IDLE_NAVIGATION, // Don't restore on initial updateState() if we were SSR'd restoreScrollPosition: init.hydrationData != null ? false : null, preventScrollReset: false, revalidation: "idle", loaderData: init.hydrationData && init.hydrationData.loaderData || {}, actionData: init.hydrationData && init.hydrationData.actionData || null, errors: init.hydrationData && init.hydrationData.errors || initialErrors, fetchers: new Map(), blockers: new Map() }; // -- Stateful internal variables to manage navigations -- // Current navigation in progress (to be committed in completeNavigation) let pendingAction = Action.Pop; // Should the current navigation prevent the scroll reset if scroll cannot // be restored? let pendingPreventScrollReset = false; // AbortController for the active navigation let pendingNavigationController; // Should the current navigation enable document.startViewTransition? let pendingViewTransitionEnabled = false; // Store applied view transitions so we can apply them on POP let appliedViewTransitions = new Map(); // Cleanup function for persisting applied transitions to sessionStorage let removePageHideEventListener = null; // We use this to avoid touching history in completeNavigation if a // revalidation is entirely uninterrupted let isUninterruptedRevalidation = false; // Use this internal flag to force revalidation of all loaders: // - submissions (completed or interrupted) // - useRevalidator() // - X-Remix-Revalidate (from redirect) let isRevalidationRequired = false; // Use this internal array to capture routes that require revalidation due // to a cancelled deferred on action submission let cancelledDeferredRoutes = []; // Use this internal array to capture fetcher loads that were cancelled by an // action navigation and require revalidation let cancelledFetcherLoads = new Set(); // AbortControllers for any in-flight fetchers let fetchControllers = new Map(); // Track loads based on the order in which they started let incrementingLoadId = 0; // Track the outstanding pending navigation data load to be compared against // the globally incrementing load when a fetcher load lands after a completed // navigation let pendingNavigationLoadId = -1; // Fetchers that triggered data reloads as a result of their actions let fetchReloadIds = new Map(); // Fetchers that triggered redirect navigations let fetchRedirectIds = new Set(); // Most recent href/match for fetcher.load calls for fetchers let fetchLoadMatches = new Map(); // Ref-count mounted fetchers so we know when it's ok to clean them up let activeFetchers = new Map(); // Fetchers that have requested a delete when using v7_fetcherPersist, // they'll be officially removed after they return to idle let deletedFetchers = new Set(); // Store DeferredData instances for active route matches. When a // route loader returns defer() we stick one in here. Then, when a nested // promise resolves we update loaderData. If a new navigation starts we // cancel active deferreds for eliminated routes. let activeDeferreds = new Map(); // Store blocker functions in a separate Map outside of router state since // we don't need to update UI state if they change let blockerFunctions = new Map(); // Flag to ignore the next history update, so we can revert the URL change on // a POP navigation that was blocked by the user without touching router state let unblockBlockerHistoryUpdate = undefined; // Initialize the router, all side effects should be kicked off from here. // Implemented as a Fluent API for ease of: // let router = createRouter(init).initialize(); function initialize() { // If history informs us of a POP navigation, start the navigation but do not update // state. We'll update our own state once the navigation completes unlistenHistory = init.history.listen(_ref => { let { action: historyAction, location, delta } = _ref; // Ignore this event if it was just us resetting the URL from a // blocked POP navigation if (unblockBlockerHistoryUpdate) { unblockBlockerHistoryUpdate(); unblockBlockerHistoryUpdate = undefined; return; } warning(blockerFunctions.size === 0 || delta != null, "You are trying to use a blocker on a POP navigation to a location " + "that was not created by @remix-run/router. This will fail silently in " + "production. This can happen if you are navigating outside the router " + "via `window.history.pushState`/`window.location.hash` instead of using " + "router navigation APIs. This can also happen if you are using " + "createHashRouter and the user manually changes the URL."); let blockerKey = shouldBlockNavigation({ currentLocation: state.location, nextLocation: location, historyAction }); if (blockerKey && delta != null) { // Restore the URL to match the current UI, but don't update router state let nextHistoryUpdatePromise = new Promise(resolve => { unblockBlockerHistoryUpdate = resolve; }); init.history.go(delta * -1); // Put the blocker into a blocked state updateBlocker(blockerKey, { state: "blocked", location, proceed() { updateBlocker(blockerKey, { state: "proceeding", proceed: undefined, reset: undefined, location }); // Re-do the same POP navigation we just blocked, after the url // restoration is also complete. See: // https://github.com/remix-run/react-router/issues/11613 nextHistoryUpdatePromise.then(() => init.history.go(delta)); }, reset() { let blockers = new Map(state.blockers); blockers.set(blockerKey, IDLE_BLOCKER); updateState({ blockers }); } }); return; } return startNavigation(historyAction, location); }); if (isBrowser) { // FIXME: This feels gross. How can we cleanup the lines between // scrollRestoration/appliedTransitions persistance? restoreAppliedTransitions(routerWindow, appliedViewTransitions); let _saveAppliedTransitions = () => persistAppliedTransitions(routerWindow, appliedViewTransitions); routerWindow.addEventListener("pagehide", _saveAppliedTransitions); removePageHideEventListener = () => routerWindow.removeEventListener("pagehide", _saveAppliedTransitions); } // Kick off initial data load if needed. Use Pop to avoid modifying history // Note we don't do any handling of lazy here. For SPA's it'll get handled // in the normal navigation flow. For SSR it's expected that lazy modules are // resolved prior to router creation since we can't go into a fallbackElement // UI for SSR'd apps if (!state.initialized) { startNavigation(Action.Pop, state.location, { initialHydration: true }); } return router; } // Clean up a router and it's side effects function dispose() { if (unlistenHistory) { unlistenHistory(); } if (removePageHideEventListener) { removePageHideEventListener(); } subscribers.clear(); pendingNavigationController && pendingNavigationController.abort(); state.fetchers.forEach((_, key) => deleteFetcher(key)); state.blockers.forEach((_, key) => deleteBlocker(key)); } // Subscribe to state updates for the router function subscribe(fn) { subscribers.add(fn); return () => subscribers.delete(fn); } // Update our state and notify the calling context of the change function updateState(newState, opts) { if (opts === void 0) { opts = {}; } state = _extends({}, state, newState); // Prep fetcher cleanup so we can tell the UI which fetcher data entries // can be removed let completedFetchers = []; let deletedFetchersKeys = []; if (future.v7_fetcherPersist) { state.fetchers.forEach((fetcher, key) => { if (fetcher.state === "idle") { if (deletedFetchers.has(key)) { // Unmounted from the UI and can be totally removed deletedFetchersKeys.push(key); } else { // Returned to idle but still mounted in the UI, so semi-remains for // revalidations and such completedFetchers.push(key); } } }); } // Iterate over a local copy so that if flushSync is used and we end up // removing and adding a new subscriber due to the useCallback dependencies, // we don't get ourselves into a loop calling the new subscriber immediately [...subscribers].forEach(subscriber => subscriber(state, { deletedFetchers: deletedFetchersKeys, viewTransitionOpts: opts.viewTransitionOpts, flushSync: opts.flushSync === true })); // Remove idle fetchers from state since we only care about in-flight fetchers. if (future.v7_fetcherPersist) { completedFetchers.forEach(key => state.fetchers.delete(key)); deletedFetchersKeys.forEach(key => deleteFetcher(key)); } } // Complete a navigation returning the state.navigation back to the IDLE_NAVIGATION // and setting state.[historyAction/location/matches] to the new route. // - Location is a required param // - Navigation will always be set to IDLE_NAVIGATION // - Can pass any other state in newState function completeNavigation(location, newState, _temp) { var _location$state, _location$state2; let { flushSync } = _temp === void 0 ? {} : _temp; // Deduce if we're in a loading/actionReload state: // - We have committed actionData in the store // - The current navigation was a mutation submission // - We're past the submitting state and into the loading state // - The location being loaded is not the result of a redirect let isActionReload = state.actionData != null && state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && state.navigation.state === "loading" && ((_location$state = location.state) == null ? void 0 : _location$state._isRedirect) !== true; let actionData; if (newState.actionData) { if (Object.keys(newState.actionData).length > 0) { actionData = newState.actionData; } else { // Empty actionData -> clear prior actionData due to an action error actionData = null; } } else if (isActionReload) { // Keep the current data if we're wrapping up the action reload actionData = state.actionData; } else { // Clear actionData on any other completed navigations actionData = null; } // Always preserve any existing loaderData from re-used routes let loaderData = newState.loaderData ? mergeLoaderData(state.loaderData, newState.loaderData, newState.matches || [], newState.errors) : state.loaderData; // On a successful navigation we can assume we got through all blockers // so we can start fresh let blockers = state.blockers; if (blockers.size > 0) { blockers = new Map(blockers); blockers.forEach((_, k) => blockers.set(k, IDLE_BLOCKER)); } // Always respect the user flag. Otherwise don't reset on mutation // submission navigations unless they redirect let preventScrollReset = pendingPreventScrollReset === true || state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && ((_location$state2 = location.state) == null ? void 0 : _location$state2._isRedirect) !== true; // Commit any in-flight routes at the end of the HMR revalidation "navigation" if (inFlightDataRoutes) { dataRoutes = inFlightDataRoutes; inFlightDataRoutes = undefined; } if (isUninterruptedRevalidation) ;else if (pendingAction === Action.Pop) ;else if (pendingAction === Action.Push) { init.history.push(location, location.state); } else if (pendingAction === Action.Replace) { init.history.replace(location, location.state); } let viewTransitionOpts; // On POP, enable transitions if they were enabled on the original navigation if (pendingAction === Action.Pop) { // Forward takes precedence so they behave like the original navigation let priorPaths = appliedViewTransitions.get(state.location.pathname); if (priorPaths && priorPaths.has(location.pathname)) { viewTransitionOpts = { currentLocation: state.location, nextLocation: location }; } else if (appliedViewTransitions.has(location.pathname)) { // If we don't have a previous forward nav, assume we're popping back to // the new location and enable if that location previously enabled viewTransitionOpts = { currentLocation: location, nextLocation: state.location }; } } else if (pendingViewTransitionEnabled) { // Store the applied transition on PUSH/REPLACE let toPaths = appliedViewTransitions.get(state.location.pathname); if (toPaths) { toPaths.add(location.pathname); } else { toPaths = new Set([location.pathname]); appliedViewTransitions.set(state.location.pathname, toPaths); } viewTransitionOpts = { currentLocation: state.location, nextLocation: location }; } updateState(_extends({}, newState, { actionData, loaderData, historyAction: pendingAction, location, initialized: true, navigation: IDLE_NAVIGATION, revalidation: "idle", restoreScrollPosition: getSavedScrollPosition(location, newState.matches || state.matches), preventScrollReset, blockers }), { viewTransitionOpts, flushSync: flushSync === true }); // Reset stateful navigation vars pendingAction = Action.Pop; pendingPreventScrollReset = false; pendingViewTransitionEnabled = false; isUninterruptedRevalidation = false; isRevalidationRequired = false; cancelledDeferredRoutes = []; } // Trigger a navigation event, which can either be a numerical POP or a PUSH // replace with an optional submission async function navigate(to, opts) { if (typeof to === "number") { init.history.go(to); return; } let normalizedPath = normalizeTo(state.location, state.matches, basename, future.v7_prependBasename, to, future.v7_relativeSplatPath, opts == null ? void 0 : opts.fromRouteId, opts == null ? void 0 : opts.relative); let { path, submission, error } = normalizeNavigateOptions(future.v7_normalizeFormMethod, false, normalizedPath, opts); let currentLocation = state.location; let nextLocation = createLocation(state.location, path, opts && opts.state); // When using navigate as a PUSH/REPLACE we aren't reading an already-encoded // URL from window.location, so we need to encode it here so the behavior // remains the same as POP and non-data-router usages. new URL() does all // the same encoding we'd get from a history.pushState/window.location read // without having to touch history nextLocation = _extends({}, nextLocation, init.history.encodeLocation(nextLocation)); let userReplace = opts && opts.replace != null ? opts.replace : undefined; let historyAction = Action.Push; if (userReplace === true) { historyAction = Action.Replace; } else if (userReplace === false) ;else if (submission != null && isMutationMethod(submission.formMethod) && submission.formAction === state.location.pathname + state.location.search) { // By default on submissions to the current location we REPLACE so that // users don't have to double-click the back button to get to the prior // location. If the user redirects to a different location from the // action/loader this will be ignored and the redirect will be a PUSH historyAction = Action.Replace; } let preventScrollReset = opts && "preventScrollReset" in opts ? opts.preventScrollReset === true : undefined; let flushSync = (opts && opts.flushSync) === true; let blockerKey = shouldBlockNavigation({ currentLocation, nextLocation, historyAction }); if (blockerKey) { // Put the blocker into a blocked state updateBlocker(blockerKey, { state: "blocked", location: nextLocation, proceed() { updateBlocker(blockerKey, { state: "proceeding", proceed: undefined, reset: undefined, location: nextLocation }); // Send the same navigation through navigate(to, opts); }, reset() { let blockers = new Map(state.blockers); blockers.set(blockerKey, IDLE_BLOCKER); updateState({ blockers }); } }); return; } return await startNavigation(historyAction, nextLocation, { submission, // Send through the formData serialization error if we have one so we can // render at the right error boundary after we match routes pendingError: error, preventScrollReset, replace: opts && opts.replace, enableViewTransition: opts && opts.viewTransition, flushSync }); } // Revalidate all current loaders. If a navigation is in progress or if this // is interrupted by a navigation, allow this to "succeed" by calling all // loaders during the next loader round function revalidate() { interruptActiveLoads(); updateState({ revalidation: "loading" }); // If we're currently submitting an action, we don't need to start a new // navigation, we'll just let the follow up loader execution call all loaders if (state.navigation.state === "submitting") { return; } // If we're currently in an idle state, start a new navigation for the current // action/location and mark it as uninterrupted, which will skip the history // update in completeNavigation if (state.navigation.state === "idle") { startNavigation(state.historyAction, state.location, { startUninterruptedRevalidation: true }); return; } // Otherwise, if we're currently in a loading state, just start a new // navigation to the navigation.location but do not trigger an uninterrupted // revalidation so that history correctly updates once the navigation completes startNavigation(pendingAction || state.historyAction, state.navigation.location, { overrideNavigation: state.navigation, // Proxy through any rending view transition enableViewTransition: pendingViewTransitionEnabled === true }); } // Start a navigation to the given action/location. Can optionally provide a // overrideNavigation which will override the normalLoad in the case of a redirect // navigation async function startNavigation(historyAction, location, opts) { // Abort any in-progress navigations and start a new one. Unset any ongoing // uninterrupted revalidations unless told otherwise, since we want this // new navigation to update history normally pendingNavigationController && pendingNavigationController.abort(); pendingNavigationController = null; pendingAction = historyAction; isUninterruptedRevalidation = (opts && opts.startUninterruptedRevalidation) === true; // Save the current scroll position every time we start a new navigation, // and track whether we should reset scroll on completion saveScrollPosition(state.location, state.matches); pendingPreventScrollReset = (opts && opts.preventScrollReset) === true; pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true; let routesToUse = inFlightDataRoutes || dataRoutes; let loadingNavigation = opts && opts.overrideNavigation; let matches = matchRoutes(routesToUse, location, basename); let flushSync = (opts && opts.flushSync) === true; let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname); if (fogOfWar.active && fogOfWar.matches) { matches = fogOfWar.matches; } // Short circuit with a 404 on the root error boundary if we match nothing if (!matches) { let { error, notFoundMatches, route } = handleNavigational404(location.pathname); completeNavigation(location, { matches: notFoundMatches, loaderData: {}, errors: { [route.id]: error } }, { flushSync }); return; } // Short circuit if it's only a hash change and not a revalidation or // mutation submission. // // Ignore on initial page loads because since the initial hydration will always // be "same hash". For example, on /page#hash and submit a <Form method="post"> // which will default to a navigation to /page if (state.initialized && !isRevalidationRequired && isHashChangeOnly(state.location, location) && !(opts && opts.submission && isMutationMethod(opts.submission.formMethod))) { completeNavigation(location, { matches }, { flushSync }); return; } // Create a controller/Request for this navigation pendingNavigationController = new AbortController(); let request = createClientSideRequest(init.history, location, pendingNavigationController.signal, opts && opts.submission); let pendingActionResult; if (opts && opts.pendingError) { // If we have a pendingError, it means the user attempted a GET submission // with binary FormData so assign here and skip to handleLoaders. That // way we handle calling loaders above the boundary etc. It's not really // different from an actionError in that sense. pendingActionResult = [findNearestBoundary(matches).route.id, { type: ResultType.error, error: opts.pendingError }]; } else if (opts && opts.submission && isMutationMethod(opts.submission.formMethod)) { // Call action if we received an action submission let actionResult = await handleAction(request, location, opts.submission, matches, fogOfWar.active, { replace: opts.replace, flushSync }); if (actionResult.shortCircuited) { return; } // If we received a 404 from handleAction, it's because we couldn't lazily // discover the destination route so we don't want to call loaders if (actionResult.pendingActionResult) { let [routeId, result] = actionResult.pendingActionResult; if (isErrorResult(result) && isRouteErrorResponse(result.error) && result.error.status === 404) { pendingNavigationController = null; completeNavigation(location, { matches: actionResult.matches, loaderData: {}, errors: { [routeId]: result.error } }); return; } } matches = actionResult.matches || matches; pendingActionResult = actionResult.pendingActionResult; loadingNavigation = getLoadingNavigation(location, opts.submission); flushSync = false; // No need to do fog of war matching again on loader execution fogOfWar.active = false; // Create a GET request for the loaders request = createClientSideRequest(init.history, request.url, request.signal); } // Call loaders let { shortCircuited, matches: updatedMatches, loaderData, errors } = await handleLoaders(request, location, matches, fogOfWar.active, loadingNavigation, opts && opts.submission, opts && opts.fetcherSubmission, opts && opts.replace, opts && opts.initialHydration === true, flushSync, pendingActionResult); if (shortCircuited) { return; } // Clean up now that the action/loaders have completed. Don't clean up if // we short circuited because pendingNavigationController will have already // been assigned to a new controller for the next navigation pendingNavigationController = null; completeNavigation(location, _extends({ matches: updatedMatches || matches }, getActionDataForCommit(pendingActionResult), { loaderData, errors })); } // Call the action matched by the leaf route for this navigation and handle // redirects/errors async function handleAction(request, location, submission, matches, isFogOfWar, opts) { if (opts === void 0) { opts = {}; } interruptActiveLoads(); // Put us in a submitting state let navigation = getSubmittingNavigation(location, submission); updateState({ navigation }, { flushSync: opts.flushSync === true }); if (isFogOfWar) { let discoverResult = await discoverRoutes(matches, location.pathname, request.signal); if (discoverResult.type === "aborted") { return { shortCircuited: true }; } else if (discoverResult.type === "error") { let boundaryId = findNearestBoundary(discoverResult.partialMatches).route.id; return { matches: discoverResult.partialMatches, pendingActionResult: [boundaryId, { type: ResultType.error, error: discoverResult.error }] }; } else if (!discoverResult.matches) { let { notFoundMatches, error, route } = handleNavigational404(location.pathname); return { matches: notFoundMatches, pendingActionResult: [route.id, { type: ResultType.error, error }] }; } else { matches = discoverResult.matches; } } // Call our action and get the result let result; let actionMatch = getTargetMatch(matches, location); if (!actionMatch.route.action && !actionMatch.route.lazy) { result = { type: ResultType.error, error: getInternalRouterError(405, { method: request.method, pathname: location.pathname, routeId: actionMatch.route.id }) }; } else { let results = await callDataStrategy("action", state, request, [actionMatch], matches, null); result = results[actionMatch.route.id]; if (request.signal.aborted) { return { shortCircuited: true }; } } if (isRedirectResult(result)) { let replace; if (opts && opts.replace != null) { replace = opts.replace; } else { // If the user didn't explicity indicate replace behavior, replace if // we redirected to the exact same location we're currently at to avoid // double back-buttons let location = normalizeRedirectLocation(result.response.headers.get("Location"), new URL(request.url), basename); replace = location === state.location.pathname + state.location.search; } await startRedirectNavigation(request, result, true, { submission, replace }); return { shortCircuited: true }; } if (isDeferredResult(result)) { throw getInternalRouterError(400, { type: "defer-action" }); } if (isErrorResult(result)) { // Store off the pending error - we use it to determine which loaders // to call and will commit it when we complete the navigation let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id); // By default, all submissions to the current location are REPLACE // navigations, but if the action threw an error that'll be rendered in // an errorElement, we fall back to PUSH so that the user can use the // back button to get back to the pre-submission form location to try // again if ((opts && opts.replace) !== true) { pendingAction = Action.Push; } return { matches, pendingActionResult: [boundaryMatch.route.id, result] }; } return { matches, pendingActionResult: [actionMatch.route.id, result] }; } // Call all applicable loaders for the given matches, handling redirects, // errors, etc. async function handleLoaders(request, location, matches, isFogOfWar, overrideNavigation, submission, fetcherSubmission, replace, initialHydration, flushSync, pendingActionResult) { // Figure out the right navigation we want to use for data loading let loadingNavigation = overrideNavigation || getLoadingNavigation(location, submission); // If this was a redirect from an action we don't have a "submission" but // we have it on the loading navigation so use that if available let activeSubmission = submission || fetcherSubmission || getSubmissionFromNavigation(loadingNavigation); // If this is an uninterrupted revalidation, we remain in our current idle // state. If not, we need to switch to our loading state and load data, // preserving any new action data or existing action data (in the case of // a revalidation interrupting an actionReload) // If we have partialHydration enabled, then don't update the state for the // initial data load since it's not a "navigation" let shouldUpdateNavigationState = !isUninterruptedRevalidation && (!future.v7_partialHydration || !initialHydration); // When fog of war is enabled, we enter our `loading` state earlier so we // can discover new routes during the `loading` state. We skip this if // we've already run actions since we would have done our matching already. // If the children() function threw then, we want to proceed with the // partial matches it discovered. if (isFogOfWar) { if (shouldUpdateNavigationState) { let actionData = getUpdatedActionData(pendingActionResult); updateState(_extends({ navigation: loadingNavigation }, actionData !== undefined ? { actionData } : {}), { flushSync }); } let discoverResult = await discoverRoutes(matches, location.pathname, request.signal); if (discoverResult.type === "aborted") { return { shortCircuited: true }; } else if (discoverResult.type === "error") { let boundaryId = findNearestBoundary(discoverResult.partialMatches).route.id; return { matches: discoverResult.partialMatches, loaderData: {}, errors: { [boundaryId]: discoverResult.error } }; } else if (!discoverResult.matches) { let { error, notFoundMatches, route } = handleNavigational404(location.pathname); return { matches: notFoundMatches, loaderData: {}, errors: { [route.id]: error } }; } else { matches = discoverResult.matches; } } let routesToUse = inFlightDataRoutes || dataRoutes; let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(init.history, state, matches, activeSubmission, location, future.v7_partialHydration && initialHydration === true, future.v7_skipActionErrorRevalidation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, deletedFetchers, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, pendingActionResult); // Cancel pending deferreds for no-longer-matched routes or routes we're // about to reload. Note that if this is an action reload we would have // already cancelled all pending deferreds so this would be a no-op cancelActiveDeferreds(routeId => !(matches && matches.some(m => m.route.id === routeId)) || matchesToLoad && matchesToLoad.some(m => m.route.id === routeId)); pendingNavigationLoadId = ++incrementingLoadId; // Short circuit if we have no loaders to run if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) { let updatedFetchers = markFetchRedirectsDone(); completeNavigation(location, _extends({ matches, loaderData: {}, // Commit pending error if we're short circuiting errors: pendingActionResult && isErrorResult(pendingActionResult[1]) ? { [pendingActionResult[0]]: pendingActionResult[1].error } : null }, getActionDataForCommit(pendingActionResult), updatedFetchers ? { fetchers: new Map(state.fetchers) } : {}), { flushSync }); return { shortCircuited: true }; } if (shouldUpdateNavigationState) { let updates = {}; if (!isFogOfWar) { // Only update navigation/actionNData if we didn't already do it above updates.navigation = loadingNavigation; let actionData = getUpdatedActionData(pendingActionResult); if (actionData !== undefined) { updates.actionData = actionData; } } if (revalidatingFetchers.length > 0) { updates.fetchers = getUpdatedRevalidatingFetchers(revalidatingFetchers); } updateState(updates, { flushSync }); } revalidatingFetchers.forEach(rf => { abortFetcher(rf.key); if (rf.controller) { // Fetchers use an independent AbortController so that aborting a fetcher // (via deleteFetcher) does not abort the triggering navigation that // triggered the revalidation fetchControllers.set(rf.key, rf.controller); } }); // Proxy navigation abort through to revalidation fetchers let abortPendingFetchRevalidations = () => revalidatingFetchers.forEach(f => abortFetcher(f.key)); if (pendingNavigationController) { pendingNavigationController.signal.addEventListener("abort", abortPendingFetchRevalidations); } let { loaderResults, fetcherResults } = await callLoadersAndMaybeResolveData(state, matches, matchesToLoad, revalidatingFetchers, request); if (request.signal.aborted) { return { shortCircuited: true }; } // Clean up _after_ loaders have completed. Don't clean up if we short // circuited because fetchControllers would have been aborted and // reassigned to new controllers for the next navigation if (pendingNavigationController) { pendingNavigationController.signal.removeEventListener("abort", abortPendingFetchRevalidations); } revalidatingFetchers.forEach(rf => fetchControllers.delete(rf.key)); // If any loaders returned a redirect Response, start a new REPLACE navigation let redirect = findRedirect(loaderResults); if (redirect) { await startRedirectNavigation(request, redirect.result, true, { replace }); return { shortCircuited: true }; } redirect = findRedirect(fetcherResults); if (redirect) { // If this redirect came from a fetcher make sure we mark it in // fetchRedirectIds so it doesn't get revalidated on the next set of // loader executions fetchRedirectIds.add(redirect.key); await startRedirectNavigation(request, redirect.result, true, { replace }); return { shortCircuited: true }; } // Process and commit output from loaders let { loaderData, errors } = processLoaderData(state, matches, loaderResults, pendingActionResult, revalidatingFetchers, fetcherResults, activeDeferreds); // Wire up subscribers to update loaderData as promises settle activeDeferreds.forEach((deferredData, routeId) => { deferredData.subscribe(aborted => { // Note: No need to updateState here since the TrackedPromise on // loaderData is stable across resolve/reject // Remove this instance if we were aborted or if promises have settled if (aborted || deferredData.done) { activeDeferreds.delete(routeId); } }); }); // Preserve SSR errors during partial hydration if (future.v7_partialHydration && initialHydration && state.errors) { errors = _extends({}, state.errors, errors); } let updatedFetchers = markFetchRedirectsDone(); let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId); let shouldUpdateFetchers = updatedFetchers || didAbortFetchLoads || revalidatingFetchers.length > 0; return _extends({ matches, loaderData, errors }, shouldUpdateFetchers ? { fetchers: new Map(state.fetchers) } : {}); } function getUpdatedActionData(pendingActionResult) { if (pendingActionResult && !isErrorResult(pendingActionResult[1])) { // This is cast to `any` currently because `RouteData`uses any and it // would be a breaking change to use any. // TODO: v7 - change `RouteData` to use `unknown` instead of `any` return { [pendingActionResult[0]]: pendingActionResult[1].data }; } else if (state.actionData) { if (Object.keys(state.actionData).length === 0) { return null; } else { return state.actionData; } } } function getUpdatedRevalidatingFetchers(revalidatingFetchers) { revalidatingFetchers.forEach(rf => { let fetcher = state.fetchers.get(rf.key); let revalidatingFetcher = getLoadingFetcher(undefined, fetcher ? fetcher.data : undefined); state.fetchers.set(rf.key, revalidatingFetcher); }); return new Map(state.fetchers); } // Trigger a fetcher load/submit for the given fetcher key function fetch(key, routeId, href, opts) { if (isServer) { throw new Error("router.fetch() was called during the server render, but it shouldn't be. " + "You are likely calling a useFetcher() method in the body of your component. " + "Try moving it to a useEffect or a callback."); } abortFetcher(key); let flushSync = (opts && opts.flushSync) === true; let routesToUse = inFlightDataRoutes || dataRoutes; let normalizedPath = normalizeTo(state.location, state.matches, basename, future.v7_prependBasename, href, future.v7_relativeSplatPath, routeId, opts == null ? void 0 : opts.relative); let matches = matchRoutes(routesToUse, normalizedPath, basename); let fogOfWar = checkFogOfWar(matches, routesToUse, normalizedPath); if (fogOfWar.active && fogOfWar.matches) { matches = fogOfWar.matches; } if (!matches) { setFetcherError(key, routeId, getInternalRouterError(404, { pathname: normalizedPath }), { flushSync }); return; } let { path, submission, error } = normalizeNavigateOptions(future.v7_normalizeFormMethod, true, normalizedPath, opts); if (error) { setFetcherError(key, routeId, error, { flushSync }); return; } let match = getTargetMatch(matches, path); let preventScrollReset = (opts && opts.preventScrollReset) === true; if (submission && isMutationMethod(submission.formMethod)) { handleFetcherAction(key, routeId, path, match, matches, fogOfWar.active, flushSync, preventScrollReset, submission); return; } // Store off the match so we can call it's shouldRevalidate on subsequent // revalidations fetchLoadMatches.set(key, { routeId, path }); handleFetcherLoader(key, routeId, path, match, matches, fogOfWar.active, flushSync, preventScrollReset, submission); } // Call the action for the matched fetcher.submit(), and then handle redirects, // errors, and revalidation async function handleFetcherAction(key, routeId, path, match, requestMatches, isFogOfWar, flushSync, preventScrollReset, submission) { interruptActiveLoads(); fetchLoadMatches.delete(key); function detectAndHandle405Error(m) { if (!m.route.action && !m.route.lazy) { let error = getInternalRouterError(405, { method: submission.formMethod, pathname: path, routeId: routeId }); setFetcherError(key, routeId, error, { flushSync }); return true; } return false; } if (!isFogOfWar && detectAndHandle405Error(match)) { return; } // Put this fetcher into it's submitting state let existingFetcher = state.fetchers.get(key); updateFetcherState(key, getSubmittingFetcher(submission, existingFetcher), { flushSync }); let abortController = new AbortController(); let fetchRequest = createClientSideRequest(init.history, path, abortController.signal, submission); if (isFogOfWar) { let discoverResult = await discoverRoutes(requestMatches, path, fetchRequest.signal); if (discoverResult.type === "aborted") { return; } else if (discoverResult.type === "error") { setFetcherError(key, routeId, discoverResult.error, { flushSync }); return; } else if (!discoverResult.matches) { setFetcherError(key, routeId, getInternalRouterError(404, { pathname: path }), { flushSync }); return; } else { requestMatches = discoverResult.matches; match = getTargetMatch(requestMatches, path); if (detectAndHandle405Error(match)) { return; } } } // Call the action for the fetcher fetchControllers.set(key, abortController); let originatingLoadId = incrementingLoadId; let actionResults = await callDataStrategy("action", state, fetchRequest, [match], requestMatches, key); let actionResult = actionResults[match.route.id]; if (fetchRequest.signal.aborted) { // We can delete this so long as we weren't aborted by our own fetcher // re-submit which would have put _new_ controller is in fetchControllers if (fetchControllers.get(key) === abortController) { fetchControllers.delete(key); } return; } // When using v7_fetcherPersist, we don't want errors bubbling up to the UI // or redirects processed for unmounted fetchers so we just revert them to // idle if (future.v7_fetcherPersist && deletedFetchers.has(key)) { if (isRedirectResult(actionResult) || isErrorResult(actionResult)) { updateFetcherState(key, getDoneFetcher(undefined)); return; } // Let SuccessResult's fall through for revalidation } else { if (isRedirectResult(actionResult)) { fetchControllers.delete(key); if (pendingNavigationLoadId > originatingLoadId) { // A new navigation was kicked off after our action started, so that // should take precedence over this redirect navigation. We already // set isRevalidationRequired so all loaders for the new route should // fire unless opted out via shouldRevalidate updateFetcherState(key, getDoneFetcher(undefined)); return; } else { fetchRedirectIds.add(key); updateFetcherState(key, getLoadingFetcher(submission)); return startRedirectNavigation(fetchRequest, actionResult, false, { fetcherSubmission: submission, preventScrollReset }); } } // Process any non-redirect errors thrown if (isErrorResult(actionResult)) { setFetcherError(key, routeId, actionResult.error); return; } } if (isDeferredResult(actionResult)) { throw getInternalRouterError(400, { type: "defer-action" }); } // Start the data load for current matches, or the next location if we're // in the middle of a navigation let nextLocation = state.navigation.location || state.location; let revalidationRequest = createClientSideRequest(init.history, nextLocation, abortController.signal); let routesToUse = inFlightDataRoutes || dataRoutes; let matches = state.navigation.state !== "idle" ? matchRoutes(routesToUse, state.navigation.location, basename) : state.matches; invariant(matches, "Didn't find any matches after fetcher action"); let loadId = ++incrementingLoadId; fetchReloadIds.set(key, loadId); let loadFetcher = getLoadingFetcher(submission, actionResult.data); state.fetchers.set(key, loadFetcher); let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(init.history, state, matches, submission, nextLocation, false, future.v7_skipActionErrorRevalidation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, deletedFetchers, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, [match.route.id, actionResult]); // Put all revalidating fetchers into the loading state, except for the // current fetcher which we want to keep in it's current loading state which // contains it's action submission info + action data revalidatingFetchers.filter(rf => rf.key !== key).forEach(rf => { let staleKey = rf.key; let existingFetcher = state.fetchers.get(staleKey); let revalidatingFetcher = getLoadingFetcher(undefined, existingFetcher ? existingFetcher.data : undefined); state.fetchers.set(staleKey, revalidatingFetcher); abortFetcher(staleKey); if (rf.controller) { fetchControllers.set(staleKey, rf.controller); } }); updateState({ fetchers: new Map(state.fetchers) }); let abortPendingFetchRevalidations = () => revalidatingFetchers.forEach(rf => abortFetcher(rf.key)); abortController.signal.addEventListener("abort", abortPendingFetchRevalidations); let { loaderResults, fetcherResults } = await callLoadersAndMaybeResolveData(state, matches, matchesToLoad, revalidatingFetchers, revalidationRequest); if (abortController.signal.aborted) { return; } abortController.signal.removeEventListener("abort", abortPendingFetchRevalidations); fetchReloadIds.delete(key); fetchControllers.delete(key); revalidatingFetchers.forEach(r => fetchControllers.delete(r.key)); let redirect = findRedirect(loaderResults); if (redirect) { return startRedirectNavigation(revalidationRequest, redirect.result, false, { preventScrollReset }); } redirect = findRedirect(fetcherResults); if (redirect) { // If this redirect came from a fetcher make sure we mark it in // fetchRedirectIds so it doesn't get revalidated on the next set of // loader executions fetchRedirectIds.add(redirect.key); return startRedirectNavigation(revalidationRequest, redirect.result, false, { preventScrollReset }); } // Process and commit output from loaders let { loaderData, errors } = processLoaderData(state, matches, loaderResults, undefined, revalidatingFetchers, fetcherResults, activeDeferreds); // Since we let revalidations complete even if the submitting fetcher was // deleted, only put it back to idle if it hasn't been deleted if (state.fetchers.has(key)) { let doneFetcher = getDoneFetcher(actionResult.data); state.fetchers.set(key, doneFetcher); } abortStaleFetchLoads(loadId); // If we are currently in a navigation loading state and this fetcher is // more recent than the navigation, we want the newer data so abort the // navigation and complete it with the fetcher data if (state.navigation.state === "loading" && loadId > pendingNavigationLoadId) { invariant(pendingAction, "Expected pending action"); pendingNavigationController && pendingNavigationController.abort(); completeNavigation(state.navigation.location, { matches, loaderData, errors, fetchers: new Map(state.fetchers) }); } else { // otherwise just update with the fetcher data, preserving any existing // loaderData for loaders that did not need to reload. We have to // manually merge here since we aren't going through completeNavigation updateState({ errors, loaderData: mergeLoaderData(state.loaderData, loaderData, matches, errors), fetchers: new Map(state.fetchers) }); isRevalidationRequired = false; } } // Call the matched loader for fetcher.load(), handling redirects, errors, etc. async function handleFetcherLoader(key, routeId, path, match, matches, isFogOfWar, flushSync, preventScrollReset, submission) { let existingFetcher = state.fetchers.get(key); updateFetcherState(key, getLoadingFetcher(submission, existingFetcher ? existingFetcher.data : undefined), { flushSync }); let abortController = new AbortController(); let fetchRequest = createClientSideRequest(init.history, path, abortController.signal); if (isFogOfWar) { let discoverResult = await discoverRoutes(matches, path, fetchRequest.signal); if (discoverResult.type === "aborted") { return; } else if (discoverResult.type === "error") { setFetcherError(key, routeId, discoverResult.error, { flushSync }); return; } else if (!discoverResult.matches) { setFetcherError(key, routeId, getInternalRouterError(404, { pathname: path }), { flushSync }); return; } else { matches = discoverResult.matches; match = getTargetMatch(matches, path); } } // Call the loader for this fetcher route match fetchControllers.set(key, abortController); let originatingLoadId = incrementingLoadId; let results = await callDataStrategy("loader", state, fetchRequest, [match], matches, key); let result = results[match.route.id]; // Deferred isn't supported for fetcher loads, await everything and treat it // as a normal load. resolveDeferredData will return undefined if this // fetcher gets aborted, so we just leave result untouched and short circuit // below if that happens if (isDeferredResult(result)) { result = (await resolveDeferredData(result, fetchRequest.signal, true)) || result; } // We can delete this so long as we weren't aborted by our our own fetcher // re-load which would have put _new_ controller is in fetchControllers if (fetchControllers.get(key) === abortController) { fetchControllers.delete(key); } if (fetchRequest.signal.aborted) { return; } // We don't want errors bubbling up or redirects followed for unmounted // fetchers, so short circuit here if it was removed from the UI if (deletedFetchers.has(key)) { updateFetcherState(key, getDoneFetcher(undefined)); return; } // If the loader threw a redirect Response, start a new REPLACE navigation if (isRedirectResult(result)) { if (pendingNavigationLoadId > originatingLoadId) { // A new navigation was kicked off after our loader started, so that // should take precedence over this redirect navigation updateFetcherState(key, getDoneFetcher(undefined)); return; } else { fetchRedirectIds.add(key); await startRedirectNavigation(fetchRequest, result, false, { preventScrollReset }); return; } } // Process any non-redirect errors thrown if (isErrorResult(result)) { setFetcherError(key, routeId, result.error); return; } invariant(!isDeferredResult(result), "Unhandled fetcher deferred data"); // Put the fetcher back into an idle state updateFetcherState(key, getDoneFetcher(result.data)); } /** * Utility function to handle redirects returned from an action or loader. * Normally, a redirect "replaces" the navigation that triggered it. So, for * example: * * - user is on /a * - user clicks a link to /b * - loader for /b redirects to /c * * In a non-JS app the browser would track the in-flight navigation to /b and * then replace it with /c when it encountered the redirect response. In * the end it would only ever update the URL bar with /c. * * In client-side routing using pushState/replaceState, we aim to emulate * this behavior and we also do not update history until the end of the * navigation (including processed redirects). This means that we never * actually touch history until we've processed redirects, so we just use * the history action from the original navigation (PUSH or REPLACE). */ async function startRedirectNavigation(request, redirect, isNavigation, _temp2) { let { submission, fetcherSubmission, preventScrollReset, replace } = _temp2 === void 0 ? {} : _temp2; if (redirect.response.headers.has("X-Remix-Revalidate")) { isRevalidationRequired = true; } let location = redirect.response.headers.get("Location"); invariant(location, "Expected a Location header on the redirect Response"); location = normalizeRedirectLocation(location, new URL(request.url), basename); let redirectLocation = createLocation(state.location, location, { _isRedirect: true }); if (isBrowser) { let isDocumentReload = false; if (redirect.response.headers.has("X-Remix-Reload-Document")) { // Hard reload if the response contained X-Remix-Reload-Document isDocumentReload = true; } else if (ABSOLUTE_URL_REGEX.test(location)) { const url = init.history.createURL(location); isDocumentReload = // Hard reload if it's an absolute URL to a new origin url.origin !== routerWindow.location.origin || // Hard reload if it's an absolute URL that does not match our basename stripBasename(url.pathname, basename) == null; } if (isDocumentReload) { if (replace) { routerWindow.location.replace(location); } else { routerWindow.location.assign(location); } return; } } // There's no need to abort on redirects, since we don't detect the // redirect until the action/loaders have settled pendingNavigationController = null; let redirectHistoryAction = replace === true || redirect.response.headers.has("X-Remix-Replace") ? Action.Replace : Action.Push; // Use the incoming submission if provided, fallback on the active one in // state.navigation let { formMethod, formAction, formEncType } = state.navigation; if (!submission && !fetcherSubmission && formMethod && formAction && formEncType) { submission = getSubmissionFromNavigation(state.navigation); } // If this was a 307/308 submission we want to preserve the HTTP method and // re-submit the GET/POST/PUT/PATCH/DELETE as a submission navigation to the // redirected location let activeSubmission = submission || fetcherSubmission; if (redirectPreserveMethodStatusCodes.has(redirect.response.status) && activeSubmission && isMutationMethod(activeSubmission.formMethod)) { await startNavigation(redirectHistoryAction, redirectLocation, { submission: _extends({}, activeSubmission, { formAction: location }), // Preserve these flags across redirects preventScrollReset: preventScrollReset || pendingPreventScrollReset, enableViewTransition: isNavigation ? pendingViewTransitionEnabled : undefined }); } else { // If we have a navigation submission, we will preserve it through the // redirect navigation let overrideNavigation = getLoadingNavigation(redirectLocation, submission); await startNavigation(redirectHistoryAction, redirectLocation, { overrideNavigation, // Send fetcher submissions through for shouldRevalidate fetcherSubmission, // Preserve these flags across redirects preventScrollReset: preventScrollReset || pendingPreventScrollReset, enableViewTransition: isNavigation ? pendingViewTransitionEnabled : undefined }); } } // Utility wrapper for calling dataStrategy client-side without having to // pass around the manifest, mapRouteProperties, etc. async function callDataStrategy(type, state, request, matchesToLoad, matches, fetcherKey) { let results; let dataResults = {}; try { results = await callDataStrategyImpl(dataStrategyImpl, type, state, request, matchesToLoad, matches, fetcherKey, manifest, mapRouteProperties); } catch (e) { // If the outer dataStrategy method throws, just return the error for all // matches - and it'll naturally bubble to the root matchesToLoad.forEach(m => { dataResults[m.route.id] = { type: ResultType.error, error: e }; }); return dataResults; } for (let [routeId, result] of Object.entries(results)) { if (isRedirectDataStrategyResultResult(result)) { let response = result.result; dataResults[routeId] = { type: ResultType.redirect, response: normalizeRelativeRoutingRedirectResponse(response, request, routeId, matches, basename, future.v7_relativeSplatPath) }; } else { dataResults[routeId] = await convertDataStrategyResultToDataResult(result); } } return dataResults; } async function callLoadersAndMaybeResolveData(state, matches, matchesToLoad, fetchersToLoad, request) { let currentMatches = state.matches; // Kick off loaders and fetchers in parallel let loaderResultsPromise = callDataStrategy("loader", state, request, matchesToLoad, matches, null); let fetcherResultsPromise = Promise.all(fetchersToLoad.map(async f => { if (f.matches && f.match && f.controller) { let results = await callDataStrategy("loader", state, createClientSideRequest(init.history, f.path, f.controller.signal), [f.match], f.matches, f.key); let result = results[f.match.route.id]; // Fetcher results are keyed by fetcher key from here on out, not routeId return { [f.key]: result }; } else { return Promise.resolve({ [f.key]: { type: ResultType.error, error: getInternalRouterError(404, { pathname: f.path }) } }); } })); let loaderResults = await loaderResultsPromise; let fetcherResults = (await fetcherResultsPromise).reduce((acc, r) => Object.assign(acc, r), {}); await Promise.all([resolveNavigationDeferredResults(matches, loaderResults, request.signal, currentMatches, state.loaderData), resolveFetcherDeferredResults(matches, fetcherResults, fetchersToLoad)]); return { loaderResults, fetcherResults }; } function interruptActiveLoads() { // Every interruption triggers a revalidation isRevalidationRequired = true; // Cancel pending route-level deferreds and mark cancelled routes for // revalidation cancelledDeferredRoutes.push(...cancelActiveDeferreds()); // Abort in-flight fetcher loads fetchLoadMatches.forEach((_, key) => { if (fetchControllers.has(key)) { cancelledFetcherLoads.add(key); } abortFetcher(key); }); } function updateFetcherState(key, fetcher, opts) { if (opts === void 0) { opts = {}; } state.fetchers.set(key, fetcher); updateState({ fetchers: new Map(state.fetchers) }, { flushSync: (opts && opts.flushSync) === true }); } function setFetcherError(key, routeId, error, opts) { if (opts === void 0) { opts = {}; } let boundaryMatch = findNearestBoundary(state.matches, routeId); deleteFetcher(key); updateState({ errors: { [boundaryMatch.route.id]: error }, fetchers: new Map(state.fetchers) }, { flushSync: (opts && opts.flushSync) === true }); } function getFetcher(key) { if (future.v7_fetcherPersist) { activeFetchers.set(key, (activeFetchers.get(key) || 0) + 1); // If this fetcher was previously marked for deletion, unmark it since we // have a new instance if (deletedFetchers.has(key)) { deletedFetchers.delete(key); } } return state.fetchers.get(key) || IDLE_FETCHER; } function deleteFetcher(key) { let fetcher = state.fetchers.get(key); // Don't abort the controller if this is a deletion of a fetcher.submit() // in it's loading phase since - we don't want to abort the corresponding // revalidation and want them to complete and land if (fetchControllers.has(key) && !(fetcher && fetcher.state === "loading" && fetchReloadIds.has(key))) { abortFetcher(key); } fetchLoadMatches.delete(key); fetchReloadIds.delete(key); fetchRedirectIds.delete(key); deletedFetchers.delete(key); cancelledFetcherLoads.delete(key); state.fetchers.delete(key); } function deleteFetcherAndUpdateState(key) { if (future.v7_fetcherPersist) { let count = (activeFetchers.get(key) || 0) - 1; if (count <= 0) { activeFetchers.delete(key); deletedFetchers.add(key); } else { activeFetchers.set(key, count); } } else { deleteFetcher(key); } updateState({ fetchers: new Map(state.fetchers) }); } function abortFetcher(key) { let controller = fetchControllers.get(key); if (controller) { controller.abort(); fetchControllers.delete(key); } } function markFetchersDone(keys) { for (let key of keys) { let fetcher = getFetcher(key); let doneFetcher = getDoneFetcher(fetcher.data); state.fetchers.set(key, doneFetcher); } } function markFetchRedirectsDone() { let doneKeys = []; let updatedFetchers = false; for (let key of fetchRedirectIds) { let fetcher = state.fetchers.get(key); invariant(fetcher, "Expected fetcher: " + key); if (fetcher.state === "loading") { fetchRedirectIds.delete(key); doneKeys.push(key); updatedFetchers = true; } } markFetchersDone(doneKeys); return updatedFetchers; } function abortStaleFetchLoads(landedId) { let yeetedKeys = []; for (let [key, id] of fetchReloadIds) { if (id < landedId) { let fetcher = state.fetchers.get(key); invariant(fetcher, "Expected fetcher: " + key); if (fetcher.state === "loading") { abortFetcher(key); fetchReloadIds.delete(key); yeetedKeys.push(key); } } } markFetchersDone(yeetedKeys); return yeetedKeys.length > 0; } function getBlocker(key, fn) { let blocker = state.blockers.get(key) || IDLE_BLOCKER; if (blockerFunctions.get(key) !== fn) { blockerFunctions.set(key, fn); } return blocker; } function deleteBlocker(key) { state.blockers.delete(key); blockerFunctions.delete(key); } // Utility function to update blockers, ensuring valid state transitions function updateBlocker(key, newBlocker) { let blocker = state.blockers.get(key) || IDLE_BLOCKER; // Poor mans state machine :) // https://mermaid.live/edit#pako:eNqVkc9OwzAMxl8l8nnjAYrEtDIOHEBIgwvKJTReGy3_lDpIqO27k6awMG0XcrLlnz87nwdonESogKXXBuE79rq75XZO3-yHds0RJVuv70YrPlUrCEe2HfrORS3rubqZfuhtpg5C9wk5tZ4VKcRUq88q9Z8RS0-48cE1iHJkL0ugbHuFLus9L6spZy8nX9MP2CNdomVaposqu3fGayT8T8-jJQwhepo_UtpgBQaDEUom04dZhAN1aJBDlUKJBxE1ceB2Smj0Mln-IBW5AFU2dwUiktt_2Qaq2dBfaKdEup85UV7Yd-dKjlnkabl2Pvr0DTkTreM invariant(blocker.state === "unblocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "proceeding" || blocker.state === "blocked" && newBlocker.state === "unblocked" || blocker.state === "proceeding" && newBlocker.state === "unblocked", "Invalid blocker state transition: " + blocker.state + " -> " + newBlocker.state); let blockers = new Map(state.blockers); blockers.set(key, newBlocker); updateState({ blockers }); } function shouldBlockNavigation(_ref2) { let { currentLocation, nextLocation, historyAction } = _ref2; if (blockerFunctions.size === 0) { return; } // We ony support a single active blocker at the moment since we don't have // any compelling use cases for multi-blocker yet if (blockerFunctions.size > 1) { warning(false, "A router only supports one blocker at a time"); } let entries = Array.from(blockerFunctions.entries()); let [blockerKey, blockerFunction] = entries[entries.length - 1]; let blocker = state.blockers.get(blockerKey); if (blocker && blocker.state === "proceeding") { // If the blocker is currently proceeding, we don't need to re-check // it and can let this navigation continue return; } // At this point, we know we're unblocked/blocked so we need to check the // user-provided blocker function if (blockerFunction({ currentLocation, nextLocation, historyAction })) { return blockerKey; } } function handleNavigational404(pathname) { let error = getInternalRouterError(404, { pathname }); let routesToUse = inFlightDataRoutes || dataRoutes; let { matches, route } = getShortCircuitMatches(routesToUse); // Cancel all pending deferred on 404s since we don't keep any routes cancelActiveDeferreds(); return { notFoundMatches: matches, route, error }; } function cancelActiveDeferreds(predicate) { let cancelledRouteIds = []; activeDeferreds.forEach((dfd, routeId) => { if (!predicate || predicate(routeId)) { // Cancel the deferred - but do not remove from activeDeferreds here - // we rely on the subscribers to do that so our tests can assert proper // cleanup via _internalActiveDeferreds dfd.cancel(); cancelledRouteIds.push(routeId); activeDeferreds.delete(routeId); } }); return cancelledRouteIds; } // Opt in to capturing and reporting scroll positions during navigations, // used by the <ScrollRestoration> component function enableScrollRestoration(positions, getPosition, getKey) { savedScrollPositions = positions; getScrollPosition = getPosition; getScrollRestorationKey = getKey || null; // Perform initial hydration scroll restoration, since we miss the boat on // the initial updateState() because we've not yet rendered <ScrollRestoration/> // and therefore have no savedScrollPositions available if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) { initialScrollRestored = true; let y = getSavedScrollPosition(state.location, state.matches); if (y != null) { updateState({ restoreScrollPosition: y }); } } return () => { savedScrollPositions = null; getScrollPosition = null; getScrollRestorationKey = null; }; } function getScrollKey(location, matches) { if (getScrollRestorationKey) { let key = getScrollRestorationKey(location, matches.map(m => convertRouteMatchToUiMatch(m, state.loaderData))); return key || location.key; } return location.key; } function saveScrollPosition(location, matches) { if (savedScrollPositions && getScrollPosition) { let key = getScrollKey(location, matches); savedScrollPositions[key] = getScrollPosition(); } } function getSavedScrollPosition(location, matches) { if (savedScrollPositions) { let key = getScrollKey(location, matches); let y = savedScrollPositions[key]; if (typeof y === "number") { return y; } } return null; } function checkFogOfWar(matches, routesToUse, pathname) { if (patchRoutesOnNavigationImpl) { if (!matches) { let fogMatches = matchRoutesImpl(routesToUse, pathname, basename, true); return { active: true, matches: fogMatches || [] }; } else { if (Object.keys(matches[0].params).length > 0) { // If we matched a dynamic param or a splat, it might only be because // we haven't yet discovered other routes that would match with a // higher score. Call patchRoutesOnNavigation just to be sure let partialMatches = matchRoutesImpl(routesToUse, pathname, basename, true); return { active: true, matches: partialMatches }; } } } return { active: false, matches: null }; } async function discoverRoutes(matches, pathname, signal) { if (!patchRoutesOnNavigationImpl) { return { type: "success", matches }; } let partialMatches = matches; while (true) { let isNonHMR = inFlightDataRoutes == null; let routesToUse = inFlightDataRoutes || dataRoutes; let localManifest = manifest; try { await patchRoutesOnNavigationImpl({ path: pathname, matches: partialMatches, patch: (routeId, children) => { if (signal.aborted) return; patchRoutesImpl(routeId, children, routesToUse, localManifest, mapRouteProperties); } }); } catch (e) { return { type: "error", error: e, partialMatches }; } finally { // If we are not in the middle of an HMR revalidation and we changed the // routes, provide a new identity so when we `updateState` at the end of // this navigation/fetch `router.routes` will be a new identity and // trigger a re-run of memoized `router.routes` dependencies. // HMR will already update the identity and reflow when it lands // `inFlightDataRoutes` in `completeNavigation` if (isNonHMR && !signal.aborted) { dataRoutes = [...dataRoutes]; } } if (signal.aborted) { return { type: "aborted" }; } let newMatches = matchRoutes(routesToUse, pathname, basename); if (newMatches) { return { type: "success", matches: newMatches }; } let newPartialMatches = matchRoutesImpl(routesToUse, pathname, basename, true); // Avoid loops if the second pass results in the same partial matches if (!newPartialMatches || partialMatches.length === newPartialMatches.length && partialMatches.every((m, i) => m.route.id === newPartialMatches[i].route.id)) { return { type: "success", matches: null }; } partialMatches = newPartialMatches; } } function _internalSetRoutes(newRoutes) { manifest = {}; inFlightDataRoutes = convertRoutesToDataRoutes(newRoutes, mapRouteProperties, undefined, manifest); } function patchRoutes(routeId, children) { let isNonHMR = inFlightDataRoutes == null; let routesToUse = inFlightDataRoutes || dataRoutes; patchRoutesImpl(routeId, children, routesToUse, manifest, mapRouteProperties); // If we are not in the middle of an HMR revalidation and we changed the // routes, provide a new identity and trigger a reflow via `updateState` // to re-run memoized `router.routes` dependencies. // HMR will already update the identity and reflow when it lands // `inFlightDataRoutes` in `completeNavigation` if (isNonHMR) { dataRoutes = [...dataRoutes]; updateState({}); } } router = { get basename() { return basename; }, get future() { return future; }, get state() { return state; }, get routes() { return dataRoutes; }, get window() { return routerWindow; }, initialize, subscribe, enableScrollRestoration, navigate, fetch, revalidate, // Passthrough to history-aware createHref used by useHref so we get proper // hash-aware URLs in DOM paths createHref: to => init.history.createHref(to), encodeLocation: to => init.history.encodeLocation(to), getFetcher, deleteFetcher: deleteFetcherAndUpdateState, dispose, getBlocker, deleteBlocker, patchRoutes, _internalFetchControllers: fetchControllers, _internalActiveDeferreds: activeDeferreds, // TODO: Remove setRoutes, it's temporary to avoid dealing with // updating the tree while validating the update algorithm. _internalSetRoutes }; return router; } //#endregion //////////////////////////////////////////////////////////////////////////////// //#region createStaticHandler //////////////////////////////////////////////////////////////////////////////// const UNSAFE_DEFERRED_SYMBOL = Symbol("deferred"); function createStaticHandler(routes, opts) { invariant(routes.length > 0, "You must provide a non-empty routes array to createStaticHandler"); let manifest = {}; let basename = (opts ? opts.basename : null) || "/"; let mapRouteProperties; if (opts != null && opts.mapRouteProperties) { mapRouteProperties = opts.mapRouteProperties; } else if (opts != null && opts.detectErrorBoundary) { // If they are still using the deprecated version, wrap it with the new API let detectErrorBoundary = opts.detectErrorBoundary; mapRouteProperties = route => ({ hasErrorBoundary: detectErrorBoundary(route) }); } else { mapRouteProperties = defaultMapRouteProperties; } // Config driven behavior flags let future = _extends({ v7_relativeSplatPath: false, v7_throwAbortReason: false }, opts ? opts.future : null); let dataRoutes = convertRoutesToDataRoutes(routes, mapRouteProperties, undefined, manifest); /** * The query() method is intended for document requests, in which we want to * call an optional action and potentially multiple loaders for all nested * routes. It returns a StaticHandlerContext object, which is very similar * to the router state (location, loaderData, actionData, errors, etc.) and * also adds SSR-specific information such as the statusCode and headers * from action/loaders Responses. * * It _should_ never throw and should report all errors through the * returned context.errors object, properly associating errors to their error * boundary. Additionally, it tracks _deepestRenderedBoundaryId which can be * used to emulate React error boundaries during SSr by performing a second * pass only down to the boundaryId. * * The one exception where we do not return a StaticHandlerContext is when a * redirect response is returned or thrown from any action/loader. We * propagate that out and return the raw Response so the HTTP server can * return it directly. * * - `opts.requestContext` is an optional server context that will be passed * to actions/loaders in the `context` parameter * - `opts.skipLoaderErrorBubbling` is an optional parameter that will prevent * the bubbling of errors which allows single-fetch-type implementations * where the client will handle the bubbling and we may need to return data * for the handling route */ async function query(request, _temp3) { let { requestContext, skipLoaderErrorBubbling, dataStrategy } = _temp3 === void 0 ? {} : _temp3; let url = new URL(request.url); let method = request.method; let location = createLocation("", createPath(url), null, "default"); let matches = matchRoutes(dataRoutes, location, basename); // SSR supports HEAD requests while SPA doesn't if (!isValidMethod(method) && method !== "HEAD") { let error = getInternalRouterError(405, { method }); let { matches: methodNotAllowedMatches, route } = getShortCircuitMatches(dataRoutes); return { basename, location, matches: methodNotAllowedMatches, loaderData: {}, actionData: null, errors: { [route.id]: error }, statusCode: error.status, loaderHeaders: {}, actionHeaders: {}, activeDeferreds: null }; } else if (!matches) { let error = getInternalRouterError(404, { pathname: location.pathname }); let { matches: notFoundMatches, route } = getShortCircuitMatches(dataRoutes); return { basename, location, matches: notFoundMatches, loaderData: {}, actionData: null, errors: { [route.id]: error }, statusCode: error.status, loaderHeaders: {}, actionHeaders: {}, activeDeferreds: null }; } let result = await queryImpl(request, location, matches, requestContext, dataStrategy || null, skipLoaderErrorBubbling === true, null); if (isResponse(result)) { return result; } // When returning StaticHandlerContext, we patch back in the location here // since we need it for React Context. But this helps keep our submit and // loadRouteData operating on a Request instead of a Location return _extends({ location, basename }, result); } /** * The queryRoute() method is intended for targeted route requests, either * for fetch ?_data requests or resource route requests. In this case, we * are only ever calling a single action or loader, and we are returning the * returned value directly. In most cases, this will be a Response returned * from the action/loader, but it may be a primitive or other value as well - * and in such cases the calling context should handle that accordingly. * * We do respect the throw/return differentiation, so if an action/loader * throws, then this method will throw the value. This is important so we * can do proper boundary identification in Remix where a thrown Response * must go to the Catch Boundary but a returned Response is happy-path. * * One thing to note is that any Router-initiated Errors that make sense * to associate with a status code will be thrown as an ErrorResponse * instance which include the raw Error, such that the calling context can * serialize the error as they see fit while including the proper response * code. Examples here are 404 and 405 errors that occur prior to reaching * any user-defined loaders. * * - `opts.routeId` allows you to specify the specific route handler to call. * If not provided the handler will determine the proper route by matching * against `request.url` * - `opts.requestContext` is an optional server context that will be passed * to actions/loaders in the `context` parameter */ async function queryRoute(request, _temp4) { let { routeId, requestContext, dataStrategy } = _temp4 === void 0 ? {} : _temp4; let url = new URL(request.url); let method = request.method; let location = createLocation("", createPath(url), null, "default"); let matches = matchRoutes(dataRoutes, location, basename); // SSR supports HEAD requests while SPA doesn't if (!isValidMethod(method) && method !== "HEAD" && method !== "OPTIONS") { throw getInternalRouterError(405, { method }); } else if (!matches) { throw getInternalRouterError(404, { pathname: location.pathname }); } let match = routeId ? matches.find(m => m.route.id === routeId) : getTargetMatch(matches, location); if (routeId && !match) { throw getInternalRouterError(403, { pathname: location.pathname, routeId }); } else if (!match) { // This should never hit I don't think? throw getInternalRouterError(404, { pathname: location.pathname }); } let result = await queryImpl(request, location, matches, requestContext, dataStrategy || null, false, match); if (isResponse(result)) { return result; } let error = result.errors ? Object.values(result.errors)[0] : undefined; if (error !== undefined) { // If we got back result.errors, that means the loader/action threw // _something_ that wasn't a Response, but it's not guaranteed/required // to be an `instanceof Error` either, so we have to use throw here to // preserve the "error" state outside of queryImpl. throw error; } // Pick off the right state value to return if (result.actionData) { return Object.values(result.actionData)[0]; } if (result.loaderData) { var _result$activeDeferre; let data = Object.values(result.loaderData)[0]; if ((_result$activeDeferre = result.activeDeferreds) != null && _result$activeDeferre[match.route.id]) { data[UNSAFE_DEFERRED_SYMBOL] = result.activeDeferreds[match.route.id]; } return data; } return undefined; } async function queryImpl(request, location, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch) { invariant(request.signal, "query()/queryRoute() requests must contain an AbortController signal"); try { if (isMutationMethod(request.method.toLowerCase())) { let result = await submit(request, matches, routeMatch || getTargetMatch(matches, location), requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch != null); return result; } let result = await loadRouteData(request, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch); return isResponse(result) ? result : _extends({}, result, { actionData: null, actionHeaders: {} }); } catch (e) { // If the user threw/returned a Response in callLoaderOrAction for a // `queryRoute` call, we throw the `DataStrategyResult` to bail out early // and then return or throw the raw Response here accordingly if (isDataStrategyResult(e) && isResponse(e.result)) { if (e.type === ResultType.error) { throw e.result; } return e.result; } // Redirects are always returned since they don't propagate to catch // boundaries if (isRedirectResponse(e)) { return e; } throw e; } } async function submit(request, matches, actionMatch, requestContext, dataStrategy, skipLoaderErrorBubbling, isRouteRequest) { let result; if (!actionMatch.route.action && !actionMatch.route.lazy) { let error = getInternalRouterError(405, { method: request.method, pathname: new URL(request.url).pathname, routeId: actionMatch.route.id }); if (isRouteRequest) { throw error; } result = { type: ResultType.error, error }; } else { let results = await callDataStrategy("action", request, [actionMatch], matches, isRouteRequest, requestContext, dataStrategy); result = results[actionMatch.route.id]; if (request.signal.aborted) { throwStaticHandlerAbortedError(request, isRouteRequest, future); } } if (isRedirectResult(result)) { // Uhhhh - this should never happen, we should always throw these from // callLoaderOrAction, but the type narrowing here keeps TS happy and we // can get back on the "throw all redirect responses" train here should // this ever happen :/ throw new Response(null, { status: result.response.status, headers: { Location: result.response.headers.get("Location") } }); } if (isDeferredResult(result)) { let error = getInternalRouterError(400, { type: "defer-action" }); if (isRouteRequest) { throw error; } result = { type: ResultType.error, error }; } if (isRouteRequest) { // Note: This should only be non-Response values if we get here, since // isRouteRequest should throw any Response received in callLoaderOrAction if (isErrorResult(result)) { throw result.error; } return { matches: [actionMatch], loaderData: {}, actionData: { [actionMatch.route.id]: result.data }, errors: null, // Note: statusCode + headers are unused here since queryRoute will // return the raw Response or value statusCode: 200, loaderHeaders: {}, actionHeaders: {}, activeDeferreds: null }; } // Create a GET request for the loaders let loaderRequest = new Request(request.url, { headers: request.headers, redirect: request.redirect, signal: request.signal }); if (isErrorResult(result)) { // Store off the pending error - we use it to determine which loaders // to call and will commit it when we complete the navigation let boundaryMatch = skipLoaderErrorBubbling ? actionMatch : findNearestBoundary(matches, actionMatch.route.id); let context = await loadRouteData(loaderRequest, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, null, [boundaryMatch.route.id, result]); // action status codes take precedence over loader status codes return _extends({}, context, { statusCode: isRouteErrorResponse(result.error) ? result.error.status : result.statusCode != null ? result.statusCode : 500, actionData: null, actionHeaders: _extends({}, result.headers ? { [actionMatch.route.id]: result.headers } : {}) }); } let context = await loadRouteData(loaderRequest, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, null); return _extends({}, context, { actionData: { [actionMatch.route.id]: result.data } }, result.statusCode ? { statusCode: result.statusCode } : {}, { actionHeaders: result.headers ? { [actionMatch.route.id]: result.headers } : {} }); } async function loadRouteData(request, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch, pendingActionResult) { let isRouteRequest = routeMatch != null; // Short circuit if we have no loaders to run (queryRoute()) if (isRouteRequest && !(routeMatch != null && routeMatch.route.loader) && !(routeMatch != null && routeMatch.route.lazy)) { throw getInternalRouterError(400, { method: request.method, pathname: new URL(request.url).pathname, routeId: routeMatch == null ? void 0 : routeMatch.route.id }); } let requestMatches = routeMatch ? [routeMatch] : pendingActionResult && isErrorResult(pendingActionResult[1]) ? getLoaderMatchesUntilBoundary(matches, pendingActionResult[0]) : matches; let matchesToLoad = requestMatches.filter(m => m.route.loader || m.route.lazy); // Short circuit if we have no loaders to run (query()) if (matchesToLoad.length === 0) { return { matches, // Add a null for all matched routes for proper revalidation on the client loaderData: matches.reduce((acc, m) => Object.assign(acc, { [m.route.id]: null }), {}), errors: pendingActionResult && isErrorResult(pendingActionResult[1]) ? { [pendingActionResult[0]]: pendingActionResult[1].error } : null, statusCode: 200, loaderHeaders: {}, activeDeferreds: null }; } let results = await callDataStrategy("loader", request, matchesToLoad, matches, isRouteRequest, requestContext, dataStrategy); if (request.signal.aborted) { throwStaticHandlerAbortedError(request, isRouteRequest, future); } // Process and commit output from loaders let activeDeferreds = new Map(); let context = processRouteLoaderData(matches, results, pendingActionResult, activeDeferreds, skipLoaderErrorBubbling); // Add a null for any non-loader matches for proper revalidation on the client let executedLoaders = new Set(matchesToLoad.map(match => match.route.id)); matches.forEach(match => { if (!executedLoaders.has(match.route.id)) { context.loaderData[match.route.id] = null; } }); return _extends({}, context, { matches, activeDeferreds: activeDeferreds.size > 0 ? Object.fromEntries(activeDeferreds.entries()) : null }); } // Utility wrapper for calling dataStrategy server-side without having to // pass around the manifest, mapRouteProperties, etc. async function callDataStrategy(type, request, matchesToLoad, matches, isRouteRequest, requestContext, dataStrategy) { let results = await callDataStrategyImpl(dataStrategy || defaultDataStrategy, type, null, request, matchesToLoad, matches, null, manifest, mapRouteProperties, requestContext); let dataResults = {}; await Promise.all(matches.map(async match => { if (!(match.route.id in results)) { return; } let result = results[match.route.id]; if (isRedirectDataStrategyResultResult(result)) { let response = result.result; // Throw redirects and let the server handle them with an HTTP redirect throw normalizeRelativeRoutingRedirectResponse(response, request, match.route.id, matches, basename, future.v7_relativeSplatPath); } if (isResponse(result.result) && isRouteRequest) { // For SSR single-route requests, we want to hand Responses back // directly without unwrapping throw result; } dataResults[match.route.id] = await convertDataStrategyResultToDataResult(result); })); return dataResults; } return { dataRoutes, query, queryRoute }; } //#endregion //////////////////////////////////////////////////////////////////////////////// //#region Helpers //////////////////////////////////////////////////////////////////////////////// /** * Given an existing StaticHandlerContext and an error thrown at render time, * provide an updated StaticHandlerContext suitable for a second SSR render */ function getStaticContextFromError(routes, context, error) { let newContext = _extends({}, context, { statusCode: isRouteErrorResponse(error) ? error.status : 500, errors: { [context._deepestRenderedBoundaryId || routes[0].id]: error } }); return newContext; } function throwStaticHandlerAbortedError(request, isRouteRequest, future) { if (future.v7_throwAbortReason && request.signal.reason !== undefined) { throw request.signal.reason; } let method = isRouteRequest ? "queryRoute" : "query"; throw new Error(method + "() call aborted: " + request.method + " " + request.url); } function isSubmissionNavigation(opts) { return opts != null && ("formData" in opts && opts.formData != null || "body" in opts && opts.body !== undefined); } function normalizeTo(location, matches, basename, prependBasename, to, v7_relativeSplatPath, fromRouteId, relative) { let contextualMatches; let activeRouteMatch; if (fromRouteId) { // Grab matches up to the calling route so our route-relative logic is // relative to the correct source route contextualMatches = []; for (let match of matches) { contextualMatches.push(match); if (match.route.id === fromRouteId) { activeRouteMatch = match; break; } } } else { contextualMatches = matches; activeRouteMatch = matches[matches.length - 1]; } // Resolve the relative path let path = resolveTo(to ? to : ".", getResolveToMatches(contextualMatches, v7_relativeSplatPath), stripBasename(location.pathname, basename) || location.pathname, relative === "path"); // When `to` is not specified we inherit search/hash from the current // location, unlike when to="." and we just inherit the path. // See https://github.com/remix-run/remix/issues/927 if (to == null) { path.search = location.search; path.hash = location.hash; } // Account for `?index` params when routing to the current location if ((to == null || to === "" || to === ".") && activeRouteMatch) { let nakedIndex = hasNakedIndexQuery(path.search); if (activeRouteMatch.route.index && !nakedIndex) { // Add one when we're targeting an index route path.search = path.search ? path.search.replace(/^\?/, "?index&") : "?index"; } else if (!activeRouteMatch.route.index && nakedIndex) { // Remove existing ones when we're not let params = new URLSearchParams(path.search); let indexValues = params.getAll("index"); params.delete("index"); indexValues.filter(v => v).forEach(v => params.append("index", v)); let qs = params.toString(); path.search = qs ? "?" + qs : ""; } } // If we're operating within a basename, prepend it to the pathname. If // this is a root navigation, then just use the raw basename which allows // the basename to have full control over the presence of a trailing slash // on root actions if (prependBasename && basename !== "/") { path.pathname = path.pathname === "/" ? basename : joinPaths([basename, path.pathname]); } return createPath(path); } // Normalize navigation options by converting formMethod=GET formData objects to // URLSearchParams so they behave identically to links with query params function normalizeNavigateOptions(normalizeFormMethod, isFetcher, path, opts) { // Return location verbatim on non-submission navigations if (!opts || !isSubmissionNavigation(opts)) { return { path }; } if (opts.formMethod && !isValidMethod(opts.formMethod)) { return { path, error: getInternalRouterError(405, { method: opts.formMethod }) }; } let getInvalidBodyError = () => ({ path, error: getInternalRouterError(400, { type: "invalid-body" }) }); // Create a Submission on non-GET navigations let rawFormMethod = opts.formMethod || "get"; let formMethod = normalizeFormMethod ? rawFormMethod.toUpperCase() : rawFormMethod.toLowerCase(); let formAction = stripHashFromPath(path); if (opts.body !== undefined) { if (opts.formEncType === "text/plain") { // text only support POST/PUT/PATCH/DELETE submissions if (!isMutationMethod(formMethod)) { return getInvalidBodyError(); } let text = typeof opts.body === "string" ? opts.body : opts.body instanceof FormData || opts.body instanceof URLSearchParams ? // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#plain-text-form-data Array.from(opts.body.entries()).reduce((acc, _ref3) => { let [name, value] = _ref3; return "" + acc + name + "=" + value + "\n"; }, "") : String(opts.body); return { path, submission: { formMethod, formAction, formEncType: opts.formEncType, formData: undefined, json: undefined, text } }; } else if (opts.formEncType === "application/json") { // json only supports POST/PUT/PATCH/DELETE submissions if (!isMutationMethod(formMethod)) { return getInvalidBodyError(); } try { let json = typeof opts.body === "string" ? JSON.parse(opts.body) : opts.body; return { path, submission: { formMethod, formAction, formEncType: opts.formEncType, formData: undefined, json, text: undefined } }; } catch (e) { return getInvalidBodyError(); } } } invariant(typeof FormData === "function", "FormData is not available in this environment"); let searchParams; let formData; if (opts.formData) { searchParams = convertFormDataToSearchParams(opts.formData); formData = opts.formData; } else if (opts.body instanceof FormData) { searchParams = convertFormDataToSearchParams(opts.body); formData = opts.body; } else if (opts.body instanceof URLSearchParams) { searchParams = opts.body; formData = convertSearchParamsToFormData(searchParams); } else if (opts.body == null) { searchParams = new URLSearchParams(); formData = new FormData(); } else { try { searchParams = new URLSearchParams(opts.body); formData = convertSearchParamsToFormData(searchParams); } catch (e) { return getInvalidBodyError(); } } let submission = { formMethod, formAction, formEncType: opts && opts.formEncType || "application/x-www-form-urlencoded", formData, json: undefined, text: undefined }; if (isMutationMethod(submission.formMethod)) { return { path, submission }; } // Flatten submission onto URLSearchParams for GET submissions let parsedPath = parsePath(path); // On GET navigation submissions we can drop the ?index param from the // resulting location since all loaders will run. But fetcher GET submissions // only run a single loader so we need to preserve any incoming ?index params if (isFetcher && parsedPath.search && hasNakedIndexQuery(parsedPath.search)) { searchParams.append("index", ""); } parsedPath.search = "?" + searchParams; return { path: createPath(parsedPath), submission }; } // Filter out all routes at/below any caught error as they aren't going to // render so we don't need to load them function getLoaderMatchesUntilBoundary(matches, boundaryId, includeBoundary) { if (includeBoundary === void 0) { includeBoundary = false; } let index = matches.findIndex(m => m.route.id === boundaryId); if (index >= 0) { return matches.slice(0, includeBoundary ? index + 1 : index); } return matches; } function getMatchesToLoad(history, state, matches, submission, location, initialHydration, skipActionErrorRevalidation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, deletedFetchers, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, pendingActionResult) { let actionResult = pendingActionResult ? isErrorResult(pendingActionResult[1]) ? pendingActionResult[1].error : pendingActionResult[1].data : undefined; let currentUrl = history.createURL(state.location); let nextUrl = history.createURL(location); // Pick navigation matches that are net-new or qualify for revalidation let boundaryMatches = matches; if (initialHydration && state.errors) { // On initial hydration, only consider matches up to _and including_ the boundary. // This is inclusive to handle cases where a server loader ran successfully, // a child server loader bubbled up to this route, but this route has // `clientLoader.hydrate` so we want to still run the `clientLoader` so that // we have a complete version of `loaderData` boundaryMatches = getLoaderMatchesUntilBoundary(matches, Object.keys(state.errors)[0], true); } else if (pendingActionResult && isErrorResult(pendingActionResult[1])) { // If an action threw an error, we call loaders up to, but not including the // boundary boundaryMatches = getLoaderMatchesUntilBoundary(matches, pendingActionResult[0]); } // Don't revalidate loaders by default after action 4xx/5xx responses // when the flag is enabled. They can still opt-into revalidation via // `shouldRevalidate` via `actionResult` let actionStatus = pendingActionResult ? pendingActionResult[1].statusCode : undefined; let shouldSkipRevalidation = skipActionErrorRevalidation && actionStatus && actionStatus >= 400; let navigationMatches = boundaryMatches.filter((match, index) => { let { route } = match; if (route.lazy) { // We haven't loaded this route yet so we don't know if it's got a loader! return true; } if (route.loader == null) { return false; } if (initialHydration) { return shouldLoadRouteOnHydration(route, state.loaderData, state.errors); } // Always call the loader on new route instances and pending defer cancellations if (isNewLoader(state.loaderData, state.matches[index], match) || cancelledDeferredRoutes.some(id => id === match.route.id)) { return true; } // This is the default implementation for when we revalidate. If the route // provides it's own implementation, then we give them full control but // provide this value so they can leverage it if needed after they check // their own specific use cases let currentRouteMatch = state.matches[index]; let nextRouteMatch = match; return shouldRevalidateLoader(match, _extends({ currentUrl, currentParams: currentRouteMatch.params, nextUrl, nextParams: nextRouteMatch.params }, submission, { actionResult, actionStatus, defaultShouldRevalidate: shouldSkipRevalidation ? false : // Forced revalidation due to submission, useRevalidator, or X-Remix-Revalidate isRevalidationRequired || currentUrl.pathname + currentUrl.search === nextUrl.pathname + nextUrl.search || // Search params affect all loaders currentUrl.search !== nextUrl.search || isNewRouteInstance(currentRouteMatch, nextRouteMatch) })); }); // Pick fetcher.loads that need to be revalidated let revalidatingFetchers = []; fetchLoadMatches.forEach((f, key) => { // Don't revalidate: // - on initial hydration (shouldn't be any fetchers then anyway) // - if fetcher won't be present in the subsequent render // - no longer matches the URL (v7_fetcherPersist=false) // - was unmounted but persisted due to v7_fetcherPersist=true if (initialHydration || !matches.some(m => m.route.id === f.routeId) || deletedFetchers.has(key)) { return; } let fetcherMatches = matchRoutes(routesToUse, f.path, basename); // If the fetcher path no longer matches, push it in with null matches so // we can trigger a 404 in callLoadersAndMaybeResolveData. Note this is // currently only a use-case for Remix HMR where the route tree can change // at runtime and remove a route previously loaded via a fetcher if (!fetcherMatches) { revalidatingFetchers.push({ key, routeId: f.routeId, path: f.path, matches: null, match: null, controller: null }); return; } // Revalidating fetchers are decoupled from the route matches since they // load from a static href. They revalidate based on explicit revalidation // (submission, useRevalidator, or X-Remix-Revalidate) let fetcher = state.fetchers.get(key); let fetcherMatch = getTargetMatch(fetcherMatches, f.path); let shouldRevalidate = false; if (fetchRedirectIds.has(key)) { // Never trigger a revalidation of an actively redirecting fetcher shouldRevalidate = false; } else if (cancelledFetcherLoads.has(key)) { // Always mark for revalidation if the fetcher was cancelled cancelledFetcherLoads.delete(key); shouldRevalidate = true; } else if (fetcher && fetcher.state !== "idle" && fetcher.data === undefined) { // If the fetcher hasn't ever completed loading yet, then this isn't a // revalidation, it would just be a brand new load if an explicit // revalidation is required shouldRevalidate = isRevalidationRequired; } else { // Otherwise fall back on any user-defined shouldRevalidate, defaulting // to explicit revalidations only shouldRevalidate = shouldRevalidateLoader(fetcherMatch, _extends({ currentUrl, currentParams: state.matches[state.matches.length - 1].params, nextUrl, nextParams: matches[matches.length - 1].params }, submission, { actionResult, actionStatus, defaultShouldRevalidate: shouldSkipRevalidation ? false : isRevalidationRequired })); } if (shouldRevalidate) { revalidatingFetchers.push({ key, routeId: f.routeId, path: f.path, matches: fetcherMatches, match: fetcherMatch, controller: new AbortController() }); } }); return [navigationMatches, revalidatingFetchers]; } function shouldLoadRouteOnHydration(route, loaderData, errors) { // We dunno if we have a loader - gotta find out! if (route.lazy) { return true; } // No loader, nothing to initialize if (!route.loader) { return false; } let hasData = loaderData != null && loaderData[route.id] !== undefined; let hasError = errors != null && errors[route.id] !== undefined; // Don't run if we error'd during SSR if (!hasData && hasError) { return false; } // Explicitly opting-in to running on hydration if (typeof route.loader === "function" && route.loader.hydrate === true) { return true; } // Otherwise, run if we're not yet initialized with anything return !hasData && !hasError; } function isNewLoader(currentLoaderData, currentMatch, match) { let isNew = // [a] -> [a, b] !currentMatch || // [a, b] -> [a, c] match.route.id !== currentMatch.route.id; // Handle the case that we don't have data for a re-used route, potentially // from a prior error or from a cancelled pending deferred let isMissingData = currentLoaderData[match.route.id] === undefined; // Always load if this is a net-new route or we don't yet have data return isNew || isMissingData; } function isNewRouteInstance(currentMatch, match) { let currentPath = currentMatch.route.path; return ( // param change for this match, /users/123 -> /users/456 currentMatch.pathname !== match.pathname || // splat param changed, which is not present in match.path // e.g. /files/images/avatar.jpg -> files/finances.xls currentPath != null && currentPath.endsWith("*") && currentMatch.params["*"] !== match.params["*"] ); } function shouldRevalidateLoader(loaderMatch, arg) { if (loaderMatch.route.shouldRevalidate) { let routeChoice = loaderMatch.route.shouldRevalidate(arg); if (typeof routeChoice === "boolean") { return routeChoice; } } return arg.defaultShouldRevalidate; } function patchRoutesImpl(routeId, children, routesToUse, manifest, mapRouteProperties) { var _childrenToPatch; let childrenToPatch; if (routeId) { let route = manifest[routeId]; invariant(route, "No route found to patch children into: routeId = " + routeId); if (!route.children) { route.children = []; } childrenToPatch = route.children; } else { childrenToPatch = routesToUse; } // Don't patch in routes we already know about so that `patch` is idempotent // to simplify user-land code. This is useful because we re-call the // `patchRoutesOnNavigation` function for matched routes with params. let uniqueChildren = children.filter(newRoute => !childrenToPatch.some(existingRoute => isSameRoute(newRoute, existingRoute))); let newRoutes = convertRoutesToDataRoutes(uniqueChildren, mapRouteProperties, [routeId || "_", "patch", String(((_childrenToPatch = childrenToPatch) == null ? void 0 : _childrenToPatch.length) || "0")], manifest); childrenToPatch.push(...newRoutes); } function isSameRoute(newRoute, existingRoute) { // Most optimal check is by id if ("id" in newRoute && "id" in existingRoute && newRoute.id === existingRoute.id) { return true; } // Second is by pathing differences if (!(newRoute.index === existingRoute.index && newRoute.path === existingRoute.path && newRoute.caseSensitive === existingRoute.caseSensitive)) { return false; } // Pathless layout routes are trickier since we need to check children. // If they have no children then they're the same as far as we can tell if ((!newRoute.children || newRoute.children.length === 0) && (!existingRoute.children || existingRoute.children.length === 0)) { return true; } // Otherwise, we look to see if every child in the new route is already // represented in the existing route's children return newRoute.children.every((aChild, i) => { var _existingRoute$childr; return (_existingRoute$childr = existingRoute.children) == null ? void 0 : _existingRoute$childr.some(bChild => isSameRoute(aChild, bChild)); }); } /** * Execute route.lazy() methods to lazily load route modules (loader, action, * shouldRevalidate) and update the routeManifest in place which shares objects * with dataRoutes so those get updated as well. */ async function loadLazyRouteModule(route, mapRouteProperties, manifest) { if (!route.lazy) { return; } let lazyRoute = await route.lazy(); // If the lazy route function was executed and removed by another parallel // call then we can return - first lazy() to finish wins because the return // value of lazy is expected to be static if (!route.lazy) { return; } let routeToUpdate = manifest[route.id]; invariant(routeToUpdate, "No route found in manifest"); // Update the route in place. This should be safe because there's no way // we could yet be sitting on this route as we can't get there without // resolving lazy() first. // // This is different than the HMR "update" use-case where we may actively be // on the route being updated. The main concern boils down to "does this // mutation affect any ongoing navigations or any current state.matches // values?". If not, it should be safe to update in place. let routeUpdates = {}; for (let lazyRouteProperty in lazyRoute) { let staticRouteValue = routeToUpdate[lazyRouteProperty]; let isPropertyStaticallyDefined = staticRouteValue !== undefined && // This property isn't static since it should always be updated based // on the route updates lazyRouteProperty !== "hasErrorBoundary"; warning(!isPropertyStaticallyDefined, "Route \"" + routeToUpdate.id + "\" has a static property \"" + lazyRouteProperty + "\" " + "defined but its lazy function is also returning a value for this property. " + ("The lazy route property \"" + lazyRouteProperty + "\" will be ignored.")); if (!isPropertyStaticallyDefined && !immutableRouteKeys.has(lazyRouteProperty)) { routeUpdates[lazyRouteProperty] = lazyRoute[lazyRouteProperty]; } } // Mutate the route with the provided updates. Do this first so we pass // the updated version to mapRouteProperties Object.assign(routeToUpdate, routeUpdates); // Mutate the `hasErrorBoundary` property on the route based on the route // updates and remove the `lazy` function so we don't resolve the lazy // route again. Object.assign(routeToUpdate, _extends({}, mapRouteProperties(routeToUpdate), { lazy: undefined })); } // Default implementation of `dataStrategy` which fetches all loaders in parallel async function defaultDataStrategy(_ref4) { let { matches } = _ref4; let matchesToLoad = matches.filter(m => m.shouldLoad); let results = await Promise.all(matchesToLoad.map(m => m.resolve())); return results.reduce((acc, result, i) => Object.assign(acc, { [matchesToLoad[i].route.id]: result }), {}); } async function callDataStrategyImpl(dataStrategyImpl, type, state, request, matchesToLoad, matches, fetcherKey, manifest, mapRouteProperties, requestContext) { let loadRouteDefinitionsPromises = matches.map(m => m.route.lazy ? loadLazyRouteModule(m.route, mapRouteProperties, manifest) : undefined); let dsMatches = matches.map((match, i) => { let loadRoutePromise = loadRouteDefinitionsPromises[i]; let shouldLoad = matchesToLoad.some(m => m.route.id === match.route.id); // `resolve` encapsulates route.lazy(), executing the loader/action, // and mapping return values/thrown errors to a `DataStrategyResult`. Users // can pass a callback to take fine-grained control over the execution // of the loader/action let resolve = async handlerOverride => { if (handlerOverride && request.method === "GET" && (match.route.lazy || match.route.loader)) { shouldLoad = true; } return shouldLoad ? callLoaderOrAction(type, request, match, loadRoutePromise, handlerOverride, requestContext) : Promise.resolve({ type: ResultType.data, result: undefined }); }; return _extends({}, match, { shouldLoad, resolve }); }); // Send all matches here to allow for a middleware-type implementation. // handler will be a no-op for unneeded routes and we filter those results // back out below. let results = await dataStrategyImpl({ matches: dsMatches, request, params: matches[0].params, fetcherKey, context: requestContext }); // Wait for all routes to load here but 'swallow the error since we want // it to bubble up from the `await loadRoutePromise` in `callLoaderOrAction` - // called from `match.resolve()` try { await Promise.all(loadRouteDefinitionsPromises); } catch (e) { // No-op } return results; } // Default logic for calling a loader/action is the user has no specified a dataStrategy async function callLoaderOrAction(type, request, match, loadRoutePromise, handlerOverride, staticContext) { let result; let onReject; let runHandler = handler => { // Setup a promise we can race against so that abort signals short circuit let reject; // This will never resolve so safe to type it as Promise<DataStrategyResult> to // satisfy the function return value let abortPromise = new Promise((_, r) => reject = r); onReject = () => reject(); request.signal.addEventListener("abort", onReject); let actualHandler = ctx => { if (typeof handler !== "function") { return Promise.reject(new Error("You cannot call the handler for a route which defines a boolean " + ("\"" + type + "\" [routeId: " + match.route.id + "]"))); } return handler({ request, params: match.params, context: staticContext }, ...(ctx !== undefined ? [ctx] : [])); }; let handlerPromise = (async () => { try { let val = await (handlerOverride ? handlerOverride(ctx => actualHandler(ctx)) : actualHandler()); return { type: "data", result: val }; } catch (e) { return { type: "error", result: e }; } })(); return Promise.race([handlerPromise, abortPromise]); }; try { let handler = match.route[type]; // If we have a route.lazy promise, await that first if (loadRoutePromise) { if (handler) { // Run statically defined handler in parallel with lazy() let handlerError; let [value] = await Promise.all([ // If the handler throws, don't let it immediately bubble out, // since we need to let the lazy() execution finish so we know if this // route has a boundary that can handle the error runHandler(handler).catch(e => { handlerError = e; }), loadRoutePromise]); if (handlerError !== undefined) { throw handlerError; } result = value; } else { // Load lazy route module, then run any returned handler await loadRoutePromise; handler = match.route[type]; if (handler) { // Handler still runs even if we got interrupted to maintain consistency // with un-abortable behavior of handler execution on non-lazy or // previously-lazy-loaded routes result = await runHandler(handler); } else if (type === "action") { let url = new URL(request.url); let pathname = url.pathname + url.search; throw getInternalRouterError(405, { method: request.method, pathname, routeId: match.route.id }); } else { // lazy() route has no loader to run. Short circuit here so we don't // hit the invariant below that errors on returning undefined. return { type: ResultType.data, result: undefined }; } } } else if (!handler) { let url = new URL(request.url); let pathname = url.pathname + url.search; throw getInternalRouterError(404, { pathname }); } else { result = await runHandler(handler); } invariant(result.result !== undefined, "You defined " + (type === "action" ? "an action" : "a loader") + " for route " + ("\"" + match.route.id + "\" but didn't return anything from your `" + type + "` ") + "function. Please return a value or `null`."); } catch (e) { // We should already be catching and converting normal handler executions to // DataStrategyResults and returning them, so anything that throws here is an // unexpected error we still need to wrap return { type: ResultType.error, result: e }; } finally { if (onReject) { request.signal.removeEventListener("abort", onReject); } } return result; } async function convertDataStrategyResultToDataResult(dataStrategyResult) { let { result, type } = dataStrategyResult; if (isResponse(result)) { let data; try { let contentType = result.headers.get("Content-Type"); // Check between word boundaries instead of startsWith() due to the last // paragraph of https://httpwg.org/specs/rfc9110.html#field.content-type if (contentType && /\bapplication\/json\b/.test(contentType)) { if (result.body == null) { data = null; } else { data = await result.json(); } } else { data = await result.text(); } } catch (e) { return { type: ResultType.error, error: e }; } if (type === ResultType.error) { return { type: ResultType.error, error: new ErrorResponseImpl(result.status, result.statusText, data), statusCode: result.status, headers: result.headers }; } return { type: ResultType.data, data, statusCode: result.status, headers: result.headers }; } if (type === ResultType.error) { if (isDataWithResponseInit(result)) { var _result$init2; if (result.data instanceof Error) { var _result$init; return { type: ResultType.error, error: result.data, statusCode: (_result$init = result.init) == null ? void 0 : _result$init.status }; } // Convert thrown data() to ErrorResponse instances result = new ErrorResponseImpl(((_result$init2 = result.init) == null ? void 0 : _result$init2.status) || 500, undefined, result.data); } return { type: ResultType.error, error: result, statusCode: isRouteErrorResponse(result) ? result.status : undefined }; } if (isDeferredData(result)) { var _result$init3, _result$init4; return { type: ResultType.deferred, deferredData: result, statusCode: (_result$init3 = result.init) == null ? void 0 : _result$init3.status, headers: ((_result$init4 = result.init) == null ? void 0 : _result$init4.headers) && new Headers(result.init.headers) }; } if (isDataWithResponseInit(result)) { var _result$init5, _result$init6; return { type: ResultType.data, data: result.data, statusCode: (_result$init5 = result.init) == null ? void 0 : _result$init5.status, headers: (_result$init6 = result.init) != null && _result$init6.headers ? new Headers(result.init.headers) : undefined }; } return { type: ResultType.data, data: result }; } // Support relative routing in internal redirects function normalizeRelativeRoutingRedirectResponse(response, request, routeId, matches, basename, v7_relativeSplatPath) { let location = response.headers.get("Location"); invariant(location, "Redirects returned/thrown from loaders/actions must have a Location header"); if (!ABSOLUTE_URL_REGEX.test(location)) { let trimmedMatches = matches.slice(0, matches.findIndex(m => m.route.id === routeId) + 1); location = normalizeTo(new URL(request.url), trimmedMatches, basename, true, location, v7_relativeSplatPath); response.headers.set("Location", location); } return response; } function normalizeRedirectLocation(location, currentUrl, basename) { if (ABSOLUTE_URL_REGEX.test(location)) { // Strip off the protocol+origin for same-origin + same-basename absolute redirects let normalizedLocation = location; let url = normalizedLocation.startsWith("//") ? new URL(currentUrl.protocol + normalizedLocation) : new URL(normalizedLocation); let isSameBasename = stripBasename(url.pathname, basename) != null; if (url.origin === currentUrl.origin && isSameBasename) { return url.pathname + url.search + url.hash; } } return location; } // Utility method for creating the Request instances for loaders/actions during // client-side navigations and fetches. During SSR we will always have a // Request instance from the static handler (query/queryRoute) function createClientSideRequest(history, location, signal, submission) { let url = history.createURL(stripHashFromPath(location)).toString(); let init = { signal }; if (submission && isMutationMethod(submission.formMethod)) { let { formMethod, formEncType } = submission; // Didn't think we needed this but it turns out unlike other methods, patch // won't be properly normalized to uppercase and results in a 405 error. // See: https://fetch.spec.whatwg.org/#concept-method init.method = formMethod.toUpperCase(); if (formEncType === "application/json") { init.headers = new Headers({ "Content-Type": formEncType }); init.body = JSON.stringify(submission.json); } else if (formEncType === "text/plain") { // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request) init.body = submission.text; } else if (formEncType === "application/x-www-form-urlencoded" && submission.formData) { // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request) init.body = convertFormDataToSearchParams(submission.formData); } else { // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request) init.body = submission.formData; } } return new Request(url, init); } function convertFormDataToSearchParams(formData) { let searchParams = new URLSearchParams(); for (let [key, value] of formData.entries()) { // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#converting-an-entry-list-to-a-list-of-name-value-pairs searchParams.append(key, typeof value === "string" ? value : value.name); } return searchParams; } function convertSearchParamsToFormData(searchParams) { let formData = new FormData(); for (let [key, value] of searchParams.entries()) { formData.append(key, value); } return formData; } function processRouteLoaderData(matches, results, pendingActionResult, activeDeferreds, skipLoaderErrorBubbling) { // Fill in loaderData/errors from our loaders let loaderData = {}; let errors = null; let statusCode; let foundError = false; let loaderHeaders = {}; let pendingError = pendingActionResult && isErrorResult(pendingActionResult[1]) ? pendingActionResult[1].error : undefined; // Process loader results into state.loaderData/state.errors matches.forEach(match => { if (!(match.route.id in results)) { return; } let id = match.route.id; let result = results[id]; invariant(!isRedirectResult(result), "Cannot handle redirect results in processLoaderData"); if (isErrorResult(result)) { let error = result.error; // If we have a pending action error, we report it at the highest-route // that throws a loader error, and then clear it out to indicate that // it was consumed if (pendingError !== undefined) { error = pendingError; pendingError = undefined; } errors = errors || {}; if (skipLoaderErrorBubbling) { errors[id] = error; } else { // Look upwards from the matched route for the closest ancestor error // boundary, defaulting to the root match. Prefer higher error values // if lower errors bubble to the same boundary let boundaryMatch = findNearestBoundary(matches, id); if (errors[boundaryMatch.route.id] == null) { errors[boundaryMatch.route.id] = error; } } // Clear our any prior loaderData for the throwing route loaderData[id] = undefined; // Once we find our first (highest) error, we set the status code and // prevent deeper status codes from overriding if (!foundError) { foundError = true; statusCode = isRouteErrorResponse(result.error) ? result.error.status : 500; } if (result.headers) { loaderHeaders[id] = result.headers; } } else { if (isDeferredResult(result)) { activeDeferreds.set(id, result.deferredData); loaderData[id] = result.deferredData.data; // Error status codes always override success status codes, but if all // loaders are successful we take the deepest status code. if (result.statusCode != null && result.statusCode !== 200 && !foundError) { statusCode = result.statusCode; } if (result.headers) { loaderHeaders[id] = result.headers; } } else { loaderData[id] = result.data; // Error status codes always override success status codes, but if all // loaders are successful we take the deepest status code. if (result.statusCode && result.statusCode !== 200 && !foundError) { statusCode = result.statusCode; } if (result.headers) { loaderHeaders[id] = result.headers; } } } }); // If we didn't consume the pending action error (i.e., all loaders // resolved), then consume it here. Also clear out any loaderData for the // throwing route if (pendingError !== undefined && pendingActionResult) { errors = { [pendingActionResult[0]]: pendingError }; loaderData[pendingActionResult[0]] = undefined; } return { loaderData, errors, statusCode: statusCode || 200, loaderHeaders }; } function processLoaderData(state, matches, results, pendingActionResult, revalidatingFetchers, fetcherResults, activeDeferreds) { let { loaderData, errors } = processRouteLoaderData(matches, results, pendingActionResult, activeDeferreds, false // This method is only called client side so we always want to bubble ); // Process results from our revalidating fetchers revalidatingFetchers.forEach(rf => { let { key, match, controller } = rf; let result = fetcherResults[key]; invariant(result, "Did not find corresponding fetcher result"); // Process fetcher non-redirect errors if (controller && controller.signal.aborted) { // Nothing to do for aborted fetchers return; } else if (isErrorResult(result)) { let boundaryMatch = findNearestBoundary(state.matches, match == null ? void 0 : match.route.id); if (!(errors && errors[boundaryMatch.route.id])) { errors = _extends({}, errors, { [boundaryMatch.route.id]: result.error }); } state.fetchers.delete(key); } else if (isRedirectResult(result)) { // Should never get here, redirects should get processed above, but we // keep this to type narrow to a success result in the else invariant(false, "Unhandled fetcher revalidation redirect"); } else if (isDeferredResult(result)) { // Should never get here, deferred data should be awaited for fetchers // in resolveDeferredResults invariant(false, "Unhandled fetcher deferred data"); } else { let doneFetcher = getDoneFetcher(result.data); state.fetchers.set(key, doneFetcher); } }); return { loaderData, errors }; } function mergeLoaderData(loaderData, newLoaderData, matches, errors) { let mergedLoaderData = _extends({}, newLoaderData); for (let match of matches) { let id = match.route.id; if (newLoaderData.hasOwnProperty(id)) { if (newLoaderData[id] !== undefined) { mergedLoaderData[id] = newLoaderData[id]; } } else if (loaderData[id] !== undefined && match.route.loader) { // Preserve existing keys not included in newLoaderData and where a loader // wasn't removed by HMR mergedLoaderData[id] = loaderData[id]; } if (errors && errors.hasOwnProperty(id)) { // Don't keep any loader data below the boundary break; } } return mergedLoaderData; } function getActionDataForCommit(pendingActionResult) { if (!pendingActionResult) { return {}; } return isErrorResult(pendingActionResult[1]) ? { // Clear out prior actionData on errors actionData: {} } : { actionData: { [pendingActionResult[0]]: pendingActionResult[1].data } }; } // Find the nearest error boundary, looking upwards from the leaf route (or the // route specified by routeId) for the closest ancestor error boundary, // defaulting to the root match function findNearestBoundary(matches, routeId) { let eligibleMatches = routeId ? matches.slice(0, matches.findIndex(m => m.route.id === routeId) + 1) : [...matches]; return eligibleMatches.reverse().find(m => m.route.hasErrorBoundary === true) || matches[0]; } function getShortCircuitMatches(routes) { // Prefer a root layout route if present, otherwise shim in a route object let route = routes.length === 1 ? routes[0] : routes.find(r => r.index || !r.path || r.path === "/") || { id: "__shim-error-route__" }; return { matches: [{ params: {}, pathname: "", pathnameBase: "", route }], route }; } function getInternalRouterError(status, _temp5) { let { pathname, routeId, method, type, message } = _temp5 === void 0 ? {} : _temp5; let statusText = "Unknown Server Error"; let errorMessage = "Unknown @remix-run/router error"; if (status === 400) { statusText = "Bad Request"; if (method && pathname && routeId) { errorMessage = "You made a " + method + " request to \"" + pathname + "\" but " + ("did not provide a `loader` for route \"" + routeId + "\", ") + "so there is no way to handle the request."; } else if (type === "defer-action") { errorMessage = "defer() is not supported in actions"; } else if (type === "invalid-body") { errorMessage = "Unable to encode submission body"; } } else if (status === 403) { statusText = "Forbidden"; errorMessage = "Route \"" + routeId + "\" does not match URL \"" + pathname + "\""; } else if (status === 404) { statusText = "Not Found"; errorMessage = "No route matches URL \"" + pathname + "\""; } else if (status === 405) { statusText = "Method Not Allowed"; if (method && pathname && routeId) { errorMessage = "You made a " + method.toUpperCase() + " request to \"" + pathname + "\" but " + ("did not provide an `action` for route \"" + routeId + "\", ") + "so there is no way to handle the request."; } else if (method) { errorMessage = "Invalid request method \"" + method.toUpperCase() + "\""; } } return new ErrorResponseImpl(status || 500, statusText, new Error(errorMessage), true); } // Find any returned redirect errors, starting from the lowest match function findRedirect(results) { let entries = Object.entries(results); for (let i = entries.length - 1; i >= 0; i--) { let [key, result] = entries[i]; if (isRedirectResult(result)) { return { key, result }; } } } function stripHashFromPath(path) { let parsedPath = typeof path === "string" ? parsePath(path) : path; return createPath(_extends({}, parsedPath, { hash: "" })); } function isHashChangeOnly(a, b) { if (a.pathname !== b.pathname || a.search !== b.search) { return false; } if (a.hash === "") { // /page -> /page#hash return b.hash !== ""; } else if (a.hash === b.hash) { // /page#hash -> /page#hash return true; } else if (b.hash !== "") { // /page#hash -> /page#other return true; } // If the hash is removed the browser will re-perform a request to the server // /page#hash -> /page return false; } function isDataStrategyResult(result) { return result != null && typeof result === "object" && "type" in result && "result" in result && (result.type === ResultType.data || result.type === ResultType.error); } function isRedirectDataStrategyResultResult(result) { return isResponse(result.result) && redirectStatusCodes.has(result.result.status); } function isDeferredResult(result) { return result.type === ResultType.deferred; } function isErrorResult(result) { return result.type === ResultType.error; } function isRedirectResult(result) { return (result && result.type) === ResultType.redirect; } function isDataWithResponseInit(value) { return typeof value === "object" && value != null && "type" in value && "data" in value && "init" in value && value.type === "DataWithResponseInit"; } function isDeferredData(value) { let deferred = value; return deferred && typeof deferred === "object" && typeof deferred.data === "object" && typeof deferred.subscribe === "function" && typeof deferred.cancel === "function" && typeof deferred.resolveData === "function"; } function isResponse(value) { return value != null && typeof value.status === "number" && typeof value.statusText === "string" && typeof value.headers === "object" && typeof value.body !== "undefined"; } function isRedirectResponse(result) { if (!isResponse(result)) { return false; } let status = result.status; let location = result.headers.get("Location"); return status >= 300 && status <= 399 && location != null; } function isValidMethod(method) { return validRequestMethods.has(method.toLowerCase()); } function isMutationMethod(method) { return validMutationMethods.has(method.toLowerCase()); } async function resolveNavigationDeferredResults(matches, results, signal, currentMatches, currentLoaderData) { let entries = Object.entries(results); for (let index = 0; index < entries.length; index++) { let [routeId, result] = entries[index]; let match = matches.find(m => (m == null ? void 0 : m.route.id) === routeId); // If we don't have a match, then we can have a deferred result to do // anything with. This is for revalidating fetchers where the route was // removed during HMR if (!match) { continue; } let currentMatch = currentMatches.find(m => m.route.id === match.route.id); let isRevalidatingLoader = currentMatch != null && !isNewRouteInstance(currentMatch, match) && (currentLoaderData && currentLoaderData[match.route.id]) !== undefined; if (isDeferredResult(result) && isRevalidatingLoader) { // Note: we do not have to touch activeDeferreds here since we race them // against the signal in resolveDeferredData and they'll get aborted // there if needed await resolveDeferredData(result, signal, false).then(result => { if (result) { results[routeId] = result; } }); } } } async function resolveFetcherDeferredResults(matches, results, revalidatingFetchers) { for (let index = 0; index < revalidatingFetchers.length; index++) { let { key, routeId, controller } = revalidatingFetchers[index]; let result = results[key]; let match = matches.find(m => (m == null ? void 0 : m.route.id) === routeId); // If we don't have a match, then we can have a deferred result to do // anything with. This is for revalidating fetchers where the route was // removed during HMR if (!match) { continue; } if (isDeferredResult(result)) { // Note: we do not have to touch activeDeferreds here since we race them // against the signal in resolveDeferredData and they'll get aborted // there if needed invariant(controller, "Expected an AbortController for revalidating fetcher deferred result"); await resolveDeferredData(result, controller.signal, true).then(result => { if (result) { results[key] = result; } }); } } } async function resolveDeferredData(result, signal, unwrap) { if (unwrap === void 0) { unwrap = false; } let aborted = await result.deferredData.resolveData(signal); if (aborted) { return; } if (unwrap) { try { return { type: ResultType.data, data: result.deferredData.unwrappedData }; } catch (e) { // Handle any TrackedPromise._error values encountered while unwrapping return { type: ResultType.error, error: e }; } } return { type: ResultType.data, data: result.deferredData.data }; } function hasNakedIndexQuery(search) { return new URLSearchParams(search).getAll("index").some(v => v === ""); } function getTargetMatch(matches, location) { let search = typeof location === "string" ? parsePath(location).search : location.search; if (matches[matches.length - 1].route.index && hasNakedIndexQuery(search || "")) { // Return the leaf index route when index is present return matches[matches.length - 1]; } // Otherwise grab the deepest "path contributing" match (ignoring index and // pathless layout routes) let pathMatches = getPathContributingMatches(matches); return pathMatches[pathMatches.length - 1]; } function getSubmissionFromNavigation(navigation) { let { formMethod, formAction, formEncType, text, formData, json } = navigation; if (!formMethod || !formAction || !formEncType) { return; } if (text != null) { return { formMethod, formAction, formEncType, formData: undefined, json: undefined, text }; } else if (formData != null) { return { formMethod, formAction, formEncType, formData, json: undefined, text: undefined }; } else if (json !== undefined) { return { formMethod, formAction, formEncType, formData: undefined, json, text: undefined }; } } function getLoadingNavigation(location, submission) { if (submission) { let navigation = { state: "loading", location, formMethod: submission.formMethod, formAction: submission.formAction, formEncType: submission.formEncType, formData: submission.formData, json: submission.json, text: submission.text }; return navigation; } else { let navigation = { state: "loading", location, formMethod: undefined, formAction: undefined, formEncType: undefined, formData: undefined, json: undefined, text: undefined }; return navigation; } } function getSubmittingNavigation(location, submission) { let navigation = { state: "submitting", location, formMethod: submission.formMethod, formAction: submission.formAction, formEncType: submission.formEncType, formData: submission.formData, json: submission.json, text: submission.text }; return navigation; } function getLoadingFetcher(submission, data) { if (submission) { let fetcher = { state: "loading", formMethod: submission.formMethod, formAction: submission.formAction, formEncType: submission.formEncType, formData: submission.formData, json: submission.json, text: submission.text, data }; return fetcher; } else { let fetcher = { state: "loading", formMethod: undefined, formAction: undefined, formEncType: undefined, formData: undefined, json: undefined, text: undefined, data }; return fetcher; } } function getSubmittingFetcher(submission, existingFetcher) { let fetcher = { state: "submitting", formMethod: submission.formMethod, formAction: submission.formAction, formEncType: submission.formEncType, formData: submission.formData, json: submission.json, text: submission.text, data: existingFetcher ? existingFetcher.data : undefined }; return fetcher; } function getDoneFetcher(data) { let fetcher = { state: "idle", formMethod: undefined, formAction: undefined, formEncType: undefined, formData: undefined, json: undefined, text: undefined, data }; return fetcher; } function restoreAppliedTransitions(_window, transitions) { try { let sessionPositions = _window.sessionStorage.getItem(TRANSITIONS_STORAGE_KEY); if (sessionPositions) { let json = JSON.parse(sessionPositions); for (let [k, v] of Object.entries(json || {})) { if (v && Array.isArray(v)) { transitions.set(k, new Set(v || [])); } } } } catch (e) { // no-op, use default empty object } } function persistAppliedTransitions(_window, transitions) { if (transitions.size > 0) { let json = {}; for (let [k, v] of transitions) { json[k] = [...v]; } try { _window.sessionStorage.setItem(TRANSITIONS_STORAGE_KEY, JSON.stringify(json)); } catch (error) { warning(false, "Failed to save applied view transitions in sessionStorage (" + error + ")."); } } } //#endregion /***/ }), /***/ "./node_modules/ansi-html-community/index.js": /*!***************************************************!*\ !*** ./node_modules/ansi-html-community/index.js ***! \***************************************************/ /***/ ((module) => { "use strict"; module.exports = ansiHTML; // Reference to https://github.com/sindresorhus/ansi-regex var _regANSI = /(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/; var _defColors = { reset: ['fff', '000'], // [FOREGROUD_COLOR, BACKGROUND_COLOR] black: '000', red: 'ff0000', green: '209805', yellow: 'e8bf03', blue: '0000ff', magenta: 'ff00ff', cyan: '00ffee', lightgrey: 'f0f0f0', darkgrey: '888' }; var _styles = { 30: 'black', 31: 'red', 32: 'green', 33: 'yellow', 34: 'blue', 35: 'magenta', 36: 'cyan', 37: 'lightgrey' }; var _openTags = { '1': 'font-weight:bold', // bold '2': 'opacity:0.5', // dim '3': '<i>', // italic '4': '<u>', // underscore '8': 'display:none', // hidden '9': '<del>' // delete }; var _closeTags = { '23': '</i>', // reset italic '24': '</u>', // reset underscore '29': '</del>' // reset delete }; [0, 21, 22, 27, 28, 39, 49].forEach(function (n) { _closeTags[n] = '</span>'; }); /** * Converts text with ANSI color codes to HTML markup. * @param {String} text * @returns {*} */ function ansiHTML(text) { // Returns the text if the string has no ANSI escape code. if (!_regANSI.test(text)) { return text; } // Cache opened sequence. var ansiCodes = []; // Replace with markup. var ret = text.replace(/\033\[(\d+)m/g, function (match, seq) { var ot = _openTags[seq]; if (ot) { // If current sequence has been opened, close it. if (!!~ansiCodes.indexOf(seq)) { // eslint-disable-line no-extra-boolean-cast ansiCodes.pop(); return '</span>'; } // Open tag. ansiCodes.push(seq); return ot[0] === '<' ? ot : '<span style="' + ot + ';">'; } var ct = _closeTags[seq]; if (ct) { // Pop sequence ansiCodes.pop(); return ct; } return ''; }); // Make sure tags are closed. var l = ansiCodes.length; l > 0 && (ret += Array(l + 1).join('</span>')); return ret; } /** * Customize colors. * @param {Object} colors reference to _defColors */ ansiHTML.setColors = function (colors) { if (typeof colors !== 'object') { throw new Error('`colors` parameter must be an Object.'); } var _finalColors = {}; for (var key in _defColors) { var hex = colors.hasOwnProperty(key) ? colors[key] : null; if (!hex) { _finalColors[key] = _defColors[key]; continue; } if ('reset' === key) { if (typeof hex === 'string') { hex = [hex]; } if (!Array.isArray(hex) || hex.length === 0 || hex.some(function (h) { return typeof h !== 'string'; })) { throw new Error('The value of `' + key + '` property must be an Array and each item could only be a hex string, e.g.: FF0000'); } var defHexColor = _defColors[key]; if (!hex[0]) { hex[0] = defHexColor[0]; } if (hex.length === 1 || !hex[1]) { hex = [hex[0]]; hex.push(defHexColor[1]); } hex = hex.slice(0, 2); } else if (typeof hex !== 'string') { throw new Error('The value of `' + key + '` property must be a hex string, e.g.: FF0000'); } _finalColors[key] = hex; } _setTags(_finalColors); }; /** * Reset colors. */ ansiHTML.reset = function () { _setTags(_defColors); }; /** * Expose tags, including open and close. * @type {Object} */ ansiHTML.tags = {}; if (Object.defineProperty) { Object.defineProperty(ansiHTML.tags, 'open', { get: function () { return _openTags; } }); Object.defineProperty(ansiHTML.tags, 'close', { get: function () { return _closeTags; } }); } else { ansiHTML.tags.open = _openTags; ansiHTML.tags.close = _closeTags; } function _setTags(colors) { // reset all _openTags['0'] = 'font-weight:normal;opacity:1;color:#' + colors.reset[0] + ';background:#' + colors.reset[1]; // inverse _openTags['7'] = 'color:#' + colors.reset[1] + ';background:#' + colors.reset[0]; // dark grey _openTags['90'] = 'color:#' + colors.darkgrey; for (var code in _styles) { var color = _styles[code]; var oriColor = colors[color] || '000'; _openTags[code] = 'color:#' + oriColor; code = parseInt(code); _openTags[(code + 10).toString()] = 'background:#' + oriColor; } } ansiHTML.reset(); /***/ }), /***/ "./node_modules/css-loader/dist/runtime/api.js": /*!*****************************************************!*\ !*** ./node_modules/css-loader/dist/runtime/api.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ module.exports = function (cssWithMappingToString) { var list = []; // return the list of modules as css string list.toString = function toString() { return this.map(function (item) { var content = ""; var needLayer = typeof item[5] !== "undefined"; if (item[4]) { content += "@supports (".concat(item[4], ") {"); } if (item[2]) { content += "@media ".concat(item[2], " {"); } if (needLayer) { content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {"); } content += cssWithMappingToString(item); if (needLayer) { content += "}"; } if (item[2]) { content += "}"; } if (item[4]) { content += "}"; } return content; }).join(""); }; // import a list of modules into the list list.i = function i(modules, media, dedupe, supports, layer) { if (typeof modules === "string") { modules = [[null, modules, undefined]]; } var alreadyImportedModules = {}; if (dedupe) { for (var k = 0; k < this.length; k++) { var id = this[k][0]; if (id != null) { alreadyImportedModules[id] = true; } } } for (var _k = 0; _k < modules.length; _k++) { var item = [].concat(modules[_k]); if (dedupe && alreadyImportedModules[item[0]]) { continue; } if (typeof layer !== "undefined") { if (typeof item[5] === "undefined") { item[5] = layer; } else { item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}"); item[5] = layer; } } if (media) { if (!item[2]) { item[2] = media; } else { item[1] = "@media ".concat(item[2], " {").concat(item[1], "}"); item[2] = media; } } if (supports) { if (!item[4]) { item[4] = "".concat(supports); } else { item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}"); item[4] = supports; } } list.push(item); } }; return list; }; /***/ }), /***/ "./node_modules/css-loader/dist/runtime/getUrl.js": /*!********************************************************!*\ !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***! \********************************************************/ /***/ ((module) => { "use strict"; module.exports = function (url, options) { if (!options) { options = {}; } if (!url) { return url; } url = String(url.__esModule ? url.default : url); // If url is already wrapped in quotes, remove them if (/^['"].*['"]$/.test(url)) { url = url.slice(1, -1); } if (options.hash) { url += options.hash; } // Should url be wrapped? // See https://drafts.csswg.org/css-values-3/#urls if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) { return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\""); } return url; }; /***/ }), /***/ "./node_modules/css-loader/dist/runtime/sourceMaps.js": /*!************************************************************!*\ !*** ./node_modules/css-loader/dist/runtime/sourceMaps.js ***! \************************************************************/ /***/ ((module) => { "use strict"; module.exports = function (item) { var content = item[1]; var cssMapping = item[3]; if (!cssMapping) { return content; } if (typeof btoa === "function") { var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))); var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64); var sourceMapping = "/*# ".concat(data, " */"); return [content].concat([sourceMapping]).join("\n"); } return [content].join("\n"); }; /***/ }), /***/ "./node_modules/events/events.js": /*!***************************************!*\ !*** ./node_modules/events/events.js ***! \***************************************/ /***/ ((module) => { "use strict"; // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. var R = typeof Reflect === 'object' ? Reflect : null; var ReflectApply = R && typeof R.apply === 'function' ? R.apply : function ReflectApply(target, receiver, args) { return Function.prototype.apply.call(target, receiver, args); }; var ReflectOwnKeys; if (R && typeof R.ownKeys === 'function') { ReflectOwnKeys = R.ownKeys; } else if (Object.getOwnPropertySymbols) { ReflectOwnKeys = function ReflectOwnKeys(target) { return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target)); }; } else { ReflectOwnKeys = function ReflectOwnKeys(target) { return Object.getOwnPropertyNames(target); }; } function ProcessEmitWarning(warning) { if (console && console.warn) console.warn(warning); } var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) { return value !== value; }; function EventEmitter() { EventEmitter.init.call(this); } module.exports = EventEmitter; module.exports.once = once; // Backwards-compat with node 0.10.x EventEmitter.EventEmitter = EventEmitter; EventEmitter.prototype._events = undefined; EventEmitter.prototype._eventsCount = 0; EventEmitter.prototype._maxListeners = undefined; // By default EventEmitters will print a warning if more than 10 listeners are // added to it. This is a useful default which helps finding memory leaks. var defaultMaxListeners = 10; function checkListener(listener) { if (typeof listener !== 'function') { throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener); } } Object.defineProperty(EventEmitter, 'defaultMaxListeners', { enumerable: true, get: function () { return defaultMaxListeners; }, set: function (arg) { if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) { throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.'); } defaultMaxListeners = arg; } }); EventEmitter.init = function () { if (this._events === undefined || this._events === Object.getPrototypeOf(this)._events) { this._events = Object.create(null); this._eventsCount = 0; } this._maxListeners = this._maxListeners || undefined; }; // Obviously not all Emitters should be limited to 10. This function allows // that to be increased. Set to zero for unlimited. EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) { if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) { throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.'); } this._maxListeners = n; return this; }; function _getMaxListeners(that) { if (that._maxListeners === undefined) return EventEmitter.defaultMaxListeners; return that._maxListeners; } EventEmitter.prototype.getMaxListeners = function getMaxListeners() { return _getMaxListeners(this); }; EventEmitter.prototype.emit = function emit(type) { var args = []; for (var i = 1; i < arguments.length; i++) args.push(arguments[i]); var doError = type === 'error'; var events = this._events; if (events !== undefined) doError = doError && events.error === undefined;else if (!doError) return false; // If there is no 'error' event listener then throw. if (doError) { var er; if (args.length > 0) er = args[0]; if (er instanceof Error) { // Note: The comments on the `throw` lines are intentional, they show // up in Node's output if this results in an unhandled exception. throw er; // Unhandled 'error' event } // At least give some kind of context to the user var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : '')); err.context = er; throw err; // Unhandled 'error' event } var handler = events[type]; if (handler === undefined) return false; if (typeof handler === 'function') { ReflectApply(handler, this, args); } else { var len = handler.length; var listeners = arrayClone(handler, len); for (var i = 0; i < len; ++i) ReflectApply(listeners[i], this, args); } return true; }; function _addListener(target, type, listener, prepend) { var m; var events; var existing; checkListener(listener); events = target._events; if (events === undefined) { events = target._events = Object.create(null); target._eventsCount = 0; } else { // To avoid recursion in the case that type === "newListener"! Before // adding it to the listeners, first emit "newListener". if (events.newListener !== undefined) { target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the // this._events to be assigned to a new object events = target._events; } existing = events[type]; } if (existing === undefined) { // Optimize the case of one listener. Don't need the extra array object. existing = events[type] = listener; ++target._eventsCount; } else { if (typeof existing === 'function') { // Adding the second element, need to change to array. existing = events[type] = prepend ? [listener, existing] : [existing, listener]; // If we've already got an array, just append. } else if (prepend) { existing.unshift(listener); } else { existing.push(listener); } // Check for listener leak m = _getMaxListeners(target); if (m > 0 && existing.length > m && !existing.warned) { existing.warned = true; // No error code for this since it is a Warning // eslint-disable-next-line no-restricted-syntax var w = new Error('Possible EventEmitter memory leak detected. ' + existing.length + ' ' + String(type) + ' listeners ' + 'added. Use emitter.setMaxListeners() to ' + 'increase limit'); w.name = 'MaxListenersExceededWarning'; w.emitter = target; w.type = type; w.count = existing.length; ProcessEmitWarning(w); } } return target; } EventEmitter.prototype.addListener = function addListener(type, listener) { return _addListener(this, type, listener, false); }; EventEmitter.prototype.on = EventEmitter.prototype.addListener; EventEmitter.prototype.prependListener = function prependListener(type, listener) { return _addListener(this, type, listener, true); }; function onceWrapper() { if (!this.fired) { this.target.removeListener(this.type, this.wrapFn); this.fired = true; if (arguments.length === 0) return this.listener.call(this.target); return this.listener.apply(this.target, arguments); } } function _onceWrap(target, type, listener) { var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener }; var wrapped = onceWrapper.bind(state); wrapped.listener = listener; state.wrapFn = wrapped; return wrapped; } EventEmitter.prototype.once = function once(type, listener) { checkListener(listener); this.on(type, _onceWrap(this, type, listener)); return this; }; EventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener) { checkListener(listener); this.prependListener(type, _onceWrap(this, type, listener)); return this; }; // Emits a 'removeListener' event if and only if the listener was removed. EventEmitter.prototype.removeListener = function removeListener(type, listener) { var list, events, position, i, originalListener; checkListener(listener); events = this._events; if (events === undefined) return this; list = events[type]; if (list === undefined) return this; if (list === listener || list.listener === listener) { if (--this._eventsCount === 0) this._events = Object.create(null);else { delete events[type]; if (events.removeListener) this.emit('removeListener', type, list.listener || listener); } } else if (typeof list !== 'function') { position = -1; for (i = list.length - 1; i >= 0; i--) { if (list[i] === listener || list[i].listener === listener) { originalListener = list[i].listener; position = i; break; } } if (position < 0) return this; if (position === 0) list.shift();else { spliceOne(list, position); } if (list.length === 1) events[type] = list[0]; if (events.removeListener !== undefined) this.emit('removeListener', type, originalListener || listener); } return this; }; EventEmitter.prototype.off = EventEmitter.prototype.removeListener; EventEmitter.prototype.removeAllListeners = function removeAllListeners(type) { var listeners, events, i; events = this._events; if (events === undefined) return this; // not listening for removeListener, no need to emit if (events.removeListener === undefined) { if (arguments.length === 0) { this._events = Object.create(null); this._eventsCount = 0; } else if (events[type] !== undefined) { if (--this._eventsCount === 0) this._events = Object.create(null);else delete events[type]; } return this; } // emit removeListener for all listeners on all events if (arguments.length === 0) { var keys = Object.keys(events); var key; for (i = 0; i < keys.length; ++i) { key = keys[i]; if (key === 'removeListener') continue; this.removeAllListeners(key); } this.removeAllListeners('removeListener'); this._events = Object.create(null); this._eventsCount = 0; return this; } listeners = events[type]; if (typeof listeners === 'function') { this.removeListener(type, listeners); } else if (listeners !== undefined) { // LIFO order for (i = listeners.length - 1; i >= 0; i--) { this.removeListener(type, listeners[i]); } } return this; }; function _listeners(target, type, unwrap) { var events = target._events; if (events === undefined) return []; var evlistener = events[type]; if (evlistener === undefined) return []; if (typeof evlistener === 'function') return unwrap ? [evlistener.listener || evlistener] : [evlistener]; return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length); } EventEmitter.prototype.listeners = function listeners(type) { return _listeners(this, type, true); }; EventEmitter.prototype.rawListeners = function rawListeners(type) { return _listeners(this, type, false); }; EventEmitter.listenerCount = function (emitter, type) { if (typeof emitter.listenerCount === 'function') { return emitter.listenerCount(type); } else { return listenerCount.call(emitter, type); } }; EventEmitter.prototype.listenerCount = listenerCount; function listenerCount(type) { var events = this._events; if (events !== undefined) { var evlistener = events[type]; if (typeof evlistener === 'function') { return 1; } else if (evlistener !== undefined) { return evlistener.length; } } return 0; } EventEmitter.prototype.eventNames = function eventNames() { return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : []; }; function arrayClone(arr, n) { var copy = new Array(n); for (var i = 0; i < n; ++i) copy[i] = arr[i]; return copy; } function spliceOne(list, index) { for (; index + 1 < list.length; index++) list[index] = list[index + 1]; list.pop(); } function unwrapListeners(arr) { var ret = new Array(arr.length); for (var i = 0; i < ret.length; ++i) { ret[i] = arr[i].listener || arr[i]; } return ret; } function once(emitter, name) { return new Promise(function (resolve, reject) { function errorListener(err) { emitter.removeListener(name, resolver); reject(err); } function resolver() { if (typeof emitter.removeListener === 'function') { emitter.removeListener('error', errorListener); } resolve([].slice.call(arguments)); } ; eventTargetAgnosticAddListener(emitter, name, resolver, { once: true }); if (name !== 'error') { addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true }); } }); } function addErrorHandlerIfEventEmitter(emitter, handler, flags) { if (typeof emitter.on === 'function') { eventTargetAgnosticAddListener(emitter, 'error', handler, flags); } } function eventTargetAgnosticAddListener(emitter, name, listener, flags) { if (typeof emitter.on === 'function') { if (flags.once) { emitter.once(name, listener); } else { emitter.on(name, listener); } } else if (typeof emitter.addEventListener === 'function') { // EventTarget does not have `error` event semantics like Node // EventEmitters, we do not listen for `error` events here. emitter.addEventListener(name, function wrapListener(arg) { // IE does not have builtin `{ once: true }` support so we // have to do it manually. if (flags.once) { emitter.removeEventListener(name, wrapListener); } listener(arg); }); } else { throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter); } } /***/ }), /***/ "./node_modules/html-entities/lib/index.js": /*!*************************************************!*\ !*** ./node_modules/html-entities/lib/index.js ***! \*************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var __assign = this && this.__assign || function () { __assign = Object.assign || function (t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; Object.defineProperty(exports, "__esModule", ({ value: true })); var named_references_1 = __webpack_require__(/*! ./named-references */ "./node_modules/html-entities/lib/named-references.js"); var numeric_unicode_map_1 = __webpack_require__(/*! ./numeric-unicode-map */ "./node_modules/html-entities/lib/numeric-unicode-map.js"); var surrogate_pairs_1 = __webpack_require__(/*! ./surrogate-pairs */ "./node_modules/html-entities/lib/surrogate-pairs.js"); var allNamedReferences = __assign(__assign({}, named_references_1.namedReferences), { all: named_references_1.namedReferences.html5 }); function replaceUsingRegExp(macroText, macroRegExp, macroReplacer) { macroRegExp.lastIndex = 0; var replaceMatch = macroRegExp.exec(macroText); var replaceResult; if (replaceMatch) { replaceResult = ""; var replaceLastIndex = 0; do { if (replaceLastIndex !== replaceMatch.index) { replaceResult += macroText.substring(replaceLastIndex, replaceMatch.index); } var replaceInput = replaceMatch[0]; replaceResult += macroReplacer(replaceInput); replaceLastIndex = replaceMatch.index + replaceInput.length; } while (replaceMatch = macroRegExp.exec(macroText)); if (replaceLastIndex !== macroText.length) { replaceResult += macroText.substring(replaceLastIndex); } } else { replaceResult = macroText; } return replaceResult; } var encodeRegExps = { specialChars: /[<>'"&]/g, nonAscii: /[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, nonAsciiPrintable: /[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, nonAsciiPrintableOnly: /[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, extensive: /[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g }; var defaultEncodeOptions = { mode: "specialChars", level: "all", numeric: "decimal" }; function encode(text, _a) { var _b = _a === void 0 ? defaultEncodeOptions : _a, _c = _b.mode, mode = _c === void 0 ? "specialChars" : _c, _d = _b.numeric, numeric = _d === void 0 ? "decimal" : _d, _e = _b.level, level = _e === void 0 ? "all" : _e; if (!text) { return ""; } var encodeRegExp = encodeRegExps[mode]; var references = allNamedReferences[level].characters; var isHex = numeric === "hexadecimal"; return replaceUsingRegExp(text, encodeRegExp, function (input) { var result = references[input]; if (!result) { var code = input.length > 1 ? surrogate_pairs_1.getCodePoint(input, 0) : input.charCodeAt(0); result = (isHex ? "&#x" + code.toString(16) : "&#" + code) + ";"; } return result; }); } exports.encode = encode; var defaultDecodeOptions = { scope: "body", level: "all" }; var strict = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g; var attribute = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g; var baseDecodeRegExps = { xml: { strict: strict, attribute: attribute, body: named_references_1.bodyRegExps.xml }, html4: { strict: strict, attribute: attribute, body: named_references_1.bodyRegExps.html4 }, html5: { strict: strict, attribute: attribute, body: named_references_1.bodyRegExps.html5 } }; var decodeRegExps = __assign(__assign({}, baseDecodeRegExps), { all: baseDecodeRegExps.html5 }); var fromCharCode = String.fromCharCode; var outOfBoundsChar = fromCharCode(65533); var defaultDecodeEntityOptions = { level: "all" }; function getDecodedEntity(entity, references, isAttribute, isStrict) { var decodeResult = entity; var decodeEntityLastChar = entity[entity.length - 1]; if (isAttribute && decodeEntityLastChar === "=") { decodeResult = entity; } else if (isStrict && decodeEntityLastChar !== ";") { decodeResult = entity; } else { var decodeResultByReference = references[entity]; if (decodeResultByReference) { decodeResult = decodeResultByReference; } else if (entity[0] === "&" && entity[1] === "#") { var decodeSecondChar = entity[2]; var decodeCode = decodeSecondChar == "x" || decodeSecondChar == "X" ? parseInt(entity.substr(3), 16) : parseInt(entity.substr(2)); decodeResult = decodeCode >= 1114111 ? outOfBoundsChar : decodeCode > 65535 ? surrogate_pairs_1.fromCodePoint(decodeCode) : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode] || decodeCode); } } return decodeResult; } function decodeEntity(entity, _a) { var _b = (_a === void 0 ? defaultDecodeEntityOptions : _a).level, level = _b === void 0 ? "all" : _b; if (!entity) { return ""; } return getDecodedEntity(entity, allNamedReferences[level].entities, false, false); } exports.decodeEntity = decodeEntity; function decode(text, _a) { var _b = _a === void 0 ? defaultDecodeOptions : _a, _c = _b.level, level = _c === void 0 ? "all" : _c, _d = _b.scope, scope = _d === void 0 ? level === "xml" ? "strict" : "body" : _d; if (!text) { return ""; } var decodeRegExp = decodeRegExps[level][scope]; var references = allNamedReferences[level].entities; var isAttribute = scope === "attribute"; var isStrict = scope === "strict"; return replaceUsingRegExp(text, decodeRegExp, function (entity) { return getDecodedEntity(entity, references, isAttribute, isStrict); }); } exports.decode = decode; /***/ }), /***/ "./node_modules/html-entities/lib/named-references.js": /*!************************************************************!*\ !*** ./node_modules/html-entities/lib/named-references.js ***! \************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.bodyRegExps = { xml: /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g, html4: /∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g, html5: /·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g }; exports.namedReferences = { xml: { entities: { "<": "<", ">": ">", """: '"', "'": "'", "&": "&" }, characters: { "<": "<", ">": ">", '"': """, "'": "'", "&": "&" } }, html4: { entities: { "'": "'", " ": " ", " ": " ", "¡": "¡", "¡": "¡", "¢": "¢", "¢": "¢", "£": "£", "£": "£", "¤": "¤", "¤": "¤", "¥": "¥", "¥": "¥", "¦": "¦", "¦": "¦", "§": "§", "§": "§", "¨": "¨", "¨": "¨", "©": "©", "©": "©", "ª": "ª", "ª": "ª", "«": "«", "«": "«", "¬": "¬", "¬": "¬", "­": "", "­": "", "®": "®", "®": "®", "¯": "¯", "¯": "¯", "°": "°", "°": "°", "±": "±", "±": "±", "²": "²", "²": "²", "³": "³", "³": "³", "´": "´", "´": "´", "µ": "µ", "µ": "µ", "¶": "¶", "¶": "¶", "·": "·", "·": "·", "¸": "¸", "¸": "¸", "¹": "¹", "¹": "¹", "º": "º", "º": "º", "»": "»", "»": "»", "¼": "¼", "¼": "¼", "½": "½", "½": "½", "¾": "¾", "¾": "¾", "¿": "¿", "¿": "¿", "À": "À", "À": "À", "Á": "Á", "Á": "Á", "Â": "Â", "Â": "Â", "Ã": "Ã", "Ã": "Ã", "Ä": "Ä", "Ä": "Ä", "Å": "Å", "Å": "Å", "Æ": "Æ", "Æ": "Æ", "Ç": "Ç", "Ç": "Ç", "È": "È", "È": "È", "É": "É", "É": "É", "Ê": "Ê", "Ê": "Ê", "Ë": "Ë", "Ë": "Ë", "Ì": "Ì", "Ì": "Ì", "Í": "Í", "Í": "Í", "Î": "Î", "Î": "Î", "Ï": "Ï", "Ï": "Ï", "Ð": "Ð", "Ð": "Ð", "Ñ": "Ñ", "Ñ": "Ñ", "Ò": "Ò", "Ò": "Ò", "Ó": "Ó", "Ó": "Ó", "Ô": "Ô", "Ô": "Ô", "Õ": "Õ", "Õ": "Õ", "Ö": "Ö", "Ö": "Ö", "×": "×", "×": "×", "Ø": "Ø", "Ø": "Ø", "Ù": "Ù", "Ù": "Ù", "Ú": "Ú", "Ú": "Ú", "Û": "Û", "Û": "Û", "Ü": "Ü", "Ü": "Ü", "Ý": "Ý", "Ý": "Ý", "Þ": "Þ", "Þ": "Þ", "ß": "ß", "ß": "ß", "à": "à", "à": "à", "á": "á", "á": "á", "â": "â", "â": "â", "ã": "ã", "ã": "ã", "ä": "ä", "ä": "ä", "å": "å", "å": "å", "æ": "æ", "æ": "æ", "ç": "ç", "ç": "ç", "è": "è", "è": "è", "é": "é", "é": "é", "ê": "ê", "ê": "ê", "ë": "ë", "ë": "ë", "ì": "ì", "ì": "ì", "í": "í", "í": "í", "î": "î", "î": "î", "ï": "ï", "ï": "ï", "ð": "ð", "ð": "ð", "ñ": "ñ", "ñ": "ñ", "ò": "ò", "ò": "ò", "ó": "ó", "ó": "ó", "ô": "ô", "ô": "ô", "õ": "õ", "õ": "õ", "ö": "ö", "ö": "ö", "÷": "÷", "÷": "÷", "ø": "ø", "ø": "ø", "ù": "ù", "ù": "ù", "ú": "ú", "ú": "ú", "û": "û", "û": "û", "ü": "ü", "ü": "ü", "ý": "ý", "ý": "ý", "þ": "þ", "þ": "þ", "ÿ": "ÿ", "ÿ": "ÿ", """: '"', """: '"', "&": "&", "&": "&", "<": "<", "<": "<", ">": ">", ">": ">", "Œ": "Œ", "œ": "œ", "Š": "Š", "š": "š", "Ÿ": "Ÿ", "ˆ": "ˆ", "˜": "˜", " ": " ", " ": " ", " ": " ", "‌": "", "‍": "", "‎": "", "‏": "", "–": "–", "—": "—", "‘": "‘", "’": "’", "‚": "‚", "“": "“", "”": "”", "„": "„", "†": "†", "‡": "‡", "‰": "‰", "‹": "‹", "›": "›", "€": "€", "ƒ": "ƒ", "Α": "Α", "Β": "Β", "Γ": "Γ", "Δ": "Δ", "Ε": "Ε", "Ζ": "Ζ", "Η": "Η", "Θ": "Θ", "Ι": "Ι", "Κ": "Κ", "Λ": "Λ", "Μ": "Μ", "Ν": "Ν", "Ξ": "Ξ", "Ο": "Ο", "Π": "Π", "Ρ": "Ρ", "Σ": "Σ", "Τ": "Τ", "Υ": "Υ", "Φ": "Φ", "Χ": "Χ", "Ψ": "Ψ", "Ω": "Ω", "α": "α", "β": "β", "γ": "γ", "δ": "δ", "ε": "ε", "ζ": "ζ", "η": "η", "θ": "θ", "ι": "ι", "κ": "κ", "λ": "λ", "μ": "μ", "ν": "ν", "ξ": "ξ", "ο": "ο", "π": "π", "ρ": "ρ", "ς": "ς", "σ": "σ", "τ": "τ", "υ": "υ", "φ": "φ", "χ": "χ", "ψ": "ψ", "ω": "ω", "ϑ": "ϑ", "ϒ": "ϒ", "ϖ": "ϖ", "•": "•", "…": "…", "′": "′", "″": "″", "‾": "‾", "⁄": "⁄", "℘": "℘", "ℑ": "ℑ", "ℜ": "ℜ", "™": "™", "ℵ": "ℵ", "←": "←", "↑": "↑", "→": "→", "↓": "↓", "↔": "↔", "↵": "↵", "⇐": "⇐", "⇑": "⇑", "⇒": "⇒", "⇓": "⇓", "⇔": "⇔", "∀": "∀", "∂": "∂", "∃": "∃", "∅": "∅", "∇": "∇", "∈": "∈", "∉": "∉", "∋": "∋", "∏": "∏", "∑": "∑", "−": "−", "∗": "∗", "√": "√", "∝": "∝", "∞": "∞", "∠": "∠", "∧": "∧", "∨": "∨", "∩": "∩", "∪": "∪", "∫": "∫", "∴": "∴", "∼": "∼", "≅": "≅", "≈": "≈", "≠": "≠", "≡": "≡", "≤": "≤", "≥": "≥", "⊂": "⊂", "⊃": "⊃", "⊄": "⊄", "⊆": "⊆", "⊇": "⊇", "⊕": "⊕", "⊗": "⊗", "⊥": "⊥", "⋅": "⋅", "⌈": "⌈", "⌉": "⌉", "⌊": "⌊", "⌋": "⌋", "⟨": "〈", "⟩": "〉", "◊": "◊", "♠": "♠", "♣": "♣", "♥": "♥", "♦": "♦" }, characters: { "'": "'", " ": " ", "¡": "¡", "¢": "¢", "£": "£", "¤": "¤", "¥": "¥", "¦": "¦", "§": "§", "¨": "¨", "©": "©", "ª": "ª", "«": "«", "¬": "¬", "": "­", "®": "®", "¯": "¯", "°": "°", "±": "±", "²": "²", "³": "³", "´": "´", "µ": "µ", "¶": "¶", "·": "·", "¸": "¸", "¹": "¹", "º": "º", "»": "»", "¼": "¼", "½": "½", "¾": "¾", "¿": "¿", "À": "À", "Á": "Á", "Â": "Â", "Ã": "Ã", "Ä": "Ä", "Å": "Å", "Æ": "Æ", "Ç": "Ç", "È": "È", "É": "É", "Ê": "Ê", "Ë": "Ë", "Ì": "Ì", "Í": "Í", "Î": "Î", "Ï": "Ï", "Ð": "Ð", "Ñ": "Ñ", "Ò": "Ò", "Ó": "Ó", "Ô": "Ô", "Õ": "Õ", "Ö": "Ö", "×": "×", "Ø": "Ø", "Ù": "Ù", "Ú": "Ú", "Û": "Û", "Ü": "Ü", "Ý": "Ý", "Þ": "Þ", "ß": "ß", "à": "à", "á": "á", "â": "â", "ã": "ã", "ä": "ä", "å": "å", "æ": "æ", "ç": "ç", "è": "è", "é": "é", "ê": "ê", "ë": "ë", "ì": "ì", "í": "í", "î": "î", "ï": "ï", "ð": "ð", "ñ": "ñ", "ò": "ò", "ó": "ó", "ô": "ô", "õ": "õ", "ö": "ö", "÷": "÷", "ø": "ø", "ù": "ù", "ú": "ú", "û": "û", "ü": "ü", "ý": "ý", "þ": "þ", "ÿ": "ÿ", '"': """, "&": "&", "<": "<", ">": ">", "Œ": "Œ", "œ": "œ", "Š": "Š", "š": "š", "Ÿ": "Ÿ", "ˆ": "ˆ", "˜": "˜", " ": " ", " ": " ", " ": " ", "": "‌", "": "‍", "": "‎", "": "‏", "–": "–", "—": "—", "‘": "‘", "’": "’", "‚": "‚", "“": "“", "”": "”", "„": "„", "†": "†", "‡": "‡", "‰": "‰", "‹": "‹", "›": "›", "€": "€", "ƒ": "ƒ", "Α": "Α", "Β": "Β", "Γ": "Γ", "Δ": "Δ", "Ε": "Ε", "Ζ": "Ζ", "Η": "Η", "Θ": "Θ", "Ι": "Ι", "Κ": "Κ", "Λ": "Λ", "Μ": "Μ", "Ν": "Ν", "Ξ": "Ξ", "Ο": "Ο", "Π": "Π", "Ρ": "Ρ", "Σ": "Σ", "Τ": "Τ", "Υ": "Υ", "Φ": "Φ", "Χ": "Χ", "Ψ": "Ψ", "Ω": "Ω", "α": "α", "β": "β", "γ": "γ", "δ": "δ", "ε": "ε", "ζ": "ζ", "η": "η", "θ": "θ", "ι": "ι", "κ": "κ", "λ": "λ", "μ": "μ", "ν": "ν", "ξ": "ξ", "ο": "ο", "π": "π", "ρ": "ρ", "ς": "ς", "σ": "σ", "τ": "τ", "υ": "υ", "φ": "φ", "χ": "χ", "ψ": "ψ", "ω": "ω", "ϑ": "ϑ", "ϒ": "ϒ", "ϖ": "ϖ", "•": "•", "…": "…", "′": "′", "″": "″", "‾": "‾", "⁄": "⁄", "℘": "℘", "ℑ": "ℑ", "ℜ": "ℜ", "™": "™", "ℵ": "ℵ", "←": "←", "↑": "↑", "→": "→", "↓": "↓", "↔": "↔", "↵": "↵", "⇐": "⇐", "⇑": "⇑", "⇒": "⇒", "⇓": "⇓", "⇔": "⇔", "∀": "∀", "∂": "∂", "∃": "∃", "∅": "∅", "∇": "∇", "∈": "∈", "∉": "∉", "∋": "∋", "∏": "∏", "∑": "∑", "−": "−", "∗": "∗", "√": "√", "∝": "∝", "∞": "∞", "∠": "∠", "∧": "∧", "∨": "∨", "∩": "∩", "∪": "∪", "∫": "∫", "∴": "∴", "∼": "∼", "≅": "≅", "≈": "≈", "≠": "≠", "≡": "≡", "≤": "≤", "≥": "≥", "⊂": "⊂", "⊃": "⊃", "⊄": "⊄", "⊆": "⊆", "⊇": "⊇", "⊕": "⊕", "⊗": "⊗", "⊥": "⊥", "⋅": "⋅", "⌈": "⌈", "⌉": "⌉", "⌊": "⌊", "⌋": "⌋", "〈": "⟨", "〉": "⟩", "◊": "◊", "♠": "♠", "♣": "♣", "♥": "♥", "♦": "♦" } }, html5: { entities: { "Æ": "Æ", "Æ": "Æ", "&": "&", "&": "&", "Á": "Á", "Á": "Á", "Ă": "Ă", "Â": "Â", "Â": "Â", "А": "А", "𝔄": "𝔄", "À": "À", "À": "À", "Α": "Α", "Ā": "Ā", "⩓": "⩓", "Ą": "Ą", "𝔸": "𝔸", "⁡": "", "Å": "Å", "Å": "Å", "𝒜": "𝒜", "≔": "≔", "Ã": "Ã", "Ã": "Ã", "Ä": "Ä", "Ä": "Ä", "∖": "∖", "⫧": "⫧", "⌆": "⌆", "Б": "Б", "∵": "∵", "ℬ": "ℬ", "Β": "Β", "𝔅": "𝔅", "𝔹": "𝔹", "˘": "˘", "ℬ": "ℬ", "≎": "≎", "Ч": "Ч", "©": "©", "©": "©", "Ć": "Ć", "⋒": "⋒", "ⅅ": "ⅅ", "ℭ": "ℭ", "Č": "Č", "Ç": "Ç", "Ç": "Ç", "Ĉ": "Ĉ", "∰": "∰", "Ċ": "Ċ", "¸": "¸", "·": "·", "ℭ": "ℭ", "Χ": "Χ", "⊙": "⊙", "⊖": "⊖", "⊕": "⊕", "⊗": "⊗", "∲": "∲", "”": "”", "’": "’", "∷": "∷", "⩴": "⩴", "≡": "≡", "∯": "∯", "∮": "∮", "ℂ": "ℂ", "∐": "∐", "∳": "∳", "⨯": "⨯", "𝒞": "𝒞", "⋓": "⋓", "≍": "≍", "ⅅ": "ⅅ", "⤑": "⤑", "Ђ": "Ђ", "Ѕ": "Ѕ", "Џ": "Џ", "‡": "‡", "↡": "↡", "⫤": "⫤", "Ď": "Ď", "Д": "Д", "∇": "∇", "Δ": "Δ", "𝔇": "𝔇", "´": "´", "˙": "˙", "˝": "˝", "`": "`", "˜": "˜", "⋄": "⋄", "ⅆ": "ⅆ", "𝔻": "𝔻", "¨": "¨", "⃜": "⃜", "≐": "≐", "∯": "∯", "¨": "¨", "⇓": "⇓", "⇐": "⇐", "⇔": "⇔", "⫤": "⫤", "⟸": "⟸", "⟺": "⟺", "⟹": "⟹", "⇒": "⇒", "⊨": "⊨", "⇑": "⇑", "⇕": "⇕", "∥": "∥", "↓": "↓", "⤓": "⤓", "⇵": "⇵", "̑": "̑", "⥐": "⥐", "⥞": "⥞", "↽": "↽", "⥖": "⥖", "⥟": "⥟", "⇁": "⇁", "⥗": "⥗", "⊤": "⊤", "↧": "↧", "⇓": "⇓", "𝒟": "𝒟", "Đ": "Đ", "Ŋ": "Ŋ", "Ð": "Ð", "Ð": "Ð", "É": "É", "É": "É", "Ě": "Ě", "Ê": "Ê", "Ê": "Ê", "Э": "Э", "Ė": "Ė", "𝔈": "𝔈", "È": "È", "È": "È", "∈": "∈", "Ē": "Ē", "◻": "◻", "▫": "▫", "Ę": "Ę", "𝔼": "𝔼", "Ε": "Ε", "⩵": "⩵", "≂": "≂", "⇌": "⇌", "ℰ": "ℰ", "⩳": "⩳", "Η": "Η", "Ë": "Ë", "Ë": "Ë", "∃": "∃", "ⅇ": "ⅇ", "Ф": "Ф", "𝔉": "𝔉", "◼": "◼", "▪": "▪", "𝔽": "𝔽", "∀": "∀", "ℱ": "ℱ", "ℱ": "ℱ", "Ѓ": "Ѓ", ">": ">", ">": ">", "Γ": "Γ", "Ϝ": "Ϝ", "Ğ": "Ğ", "Ģ": "Ģ", "Ĝ": "Ĝ", "Г": "Г", "Ġ": "Ġ", "𝔊": "𝔊", "⋙": "⋙", "𝔾": "𝔾", "≥": "≥", "⋛": "⋛", "≧": "≧", "⪢": "⪢", "≷": "≷", "⩾": "⩾", "≳": "≳", "𝒢": "𝒢", "≫": "≫", "Ъ": "Ъ", "ˇ": "ˇ", "^": "^", "Ĥ": "Ĥ", "ℌ": "ℌ", "ℋ": "ℋ", "ℍ": "ℍ", "─": "─", "ℋ": "ℋ", "Ħ": "Ħ", "≎": "≎", "≏": "≏", "Е": "Е", "IJ": "IJ", "Ё": "Ё", "Í": "Í", "Í": "Í", "Î": "Î", "Î": "Î", "И": "И", "İ": "İ", "ℑ": "ℑ", "Ì": "Ì", "Ì": "Ì", "ℑ": "ℑ", "Ī": "Ī", "ⅈ": "ⅈ", "⇒": "⇒", "∬": "∬", "∫": "∫", "⋂": "⋂", "⁣": "", "⁢": "", "Į": "Į", "𝕀": "𝕀", "Ι": "Ι", "ℐ": "ℐ", "Ĩ": "Ĩ", "І": "І", "Ï": "Ï", "Ï": "Ï", "Ĵ": "Ĵ", "Й": "Й", "𝔍": "𝔍", "𝕁": "𝕁", "𝒥": "𝒥", "Ј": "Ј", "Є": "Є", "Х": "Х", "Ќ": "Ќ", "Κ": "Κ", "Ķ": "Ķ", "К": "К", "𝔎": "𝔎", "𝕂": "𝕂", "𝒦": "𝒦", "Љ": "Љ", "<": "<", "<": "<", "Ĺ": "Ĺ", "Λ": "Λ", "⟪": "⟪", "ℒ": "ℒ", "↞": "↞", "Ľ": "Ľ", "Ļ": "Ļ", "Л": "Л", "⟨": "⟨", "←": "←", "⇤": "⇤", "⇆": "⇆", "⌈": "⌈", "⟦": "⟦", "⥡": "⥡", "⇃": "⇃", "⥙": "⥙", "⌊": "⌊", "↔": "↔", "⥎": "⥎", "⊣": "⊣", "↤": "↤", "⥚": "⥚", "⊲": "⊲", "⧏": "⧏", "⊴": "⊴", "⥑": "⥑", "⥠": "⥠", "↿": "↿", "⥘": "⥘", "↼": "↼", "⥒": "⥒", "⇐": "⇐", "⇔": "⇔", "⋚": "⋚", "≦": "≦", "≶": "≶", "⪡": "⪡", "⩽": "⩽", "≲": "≲", "𝔏": "𝔏", "⋘": "⋘", "⇚": "⇚", "Ŀ": "Ŀ", "⟵": "⟵", "⟷": "⟷", "⟶": "⟶", "⟸": "⟸", "⟺": "⟺", "⟹": "⟹", "𝕃": "𝕃", "↙": "↙", "↘": "↘", "ℒ": "ℒ", "↰": "↰", "Ł": "Ł", "≪": "≪", "⤅": "⤅", "М": "М", " ": " ", "ℳ": "ℳ", "𝔐": "𝔐", "∓": "∓", "𝕄": "𝕄", "ℳ": "ℳ", "Μ": "Μ", "Њ": "Њ", "Ń": "Ń", "Ň": "Ň", "Ņ": "Ņ", "Н": "Н", "​": "", "​": "", "​": "", "​": "", "≫": "≫", "≪": "≪", "
": "\n", "𝔑": "𝔑", "⁠": "", " ": " ", "ℕ": "ℕ", "⫬": "⫬", "≢": "≢", "≭": "≭", "∦": "∦", "∉": "∉", "≠": "≠", "≂̸": "≂̸", "∄": "∄", "≯": "≯", "≱": "≱", "≧̸": "≧̸", "≫̸": "≫̸", "≹": "≹", "⩾̸": "⩾̸", "≵": "≵", "≎̸": "≎̸", "≏̸": "≏̸", "⋪": "⋪", "⧏̸": "⧏̸", "⋬": "⋬", "≮": "≮", "≰": "≰", "≸": "≸", "≪̸": "≪̸", "⩽̸": "⩽̸", "≴": "≴", "⪢̸": "⪢̸", "⪡̸": "⪡̸", "⊀": "⊀", "⪯̸": "⪯̸", "⋠": "⋠", "∌": "∌", "⋫": "⋫", "⧐̸": "⧐̸", "⋭": "⋭", "⊏̸": "⊏̸", "⋢": "⋢", "⊐̸": "⊐̸", "⋣": "⋣", "⊂⃒": "⊂⃒", "⊈": "⊈", "⊁": "⊁", "⪰̸": "⪰̸", "⋡": "⋡", "≿̸": "≿̸", "⊃⃒": "⊃⃒", "⊉": "⊉", "≁": "≁", "≄": "≄", "≇": "≇", "≉": "≉", "∤": "∤", "𝒩": "𝒩", "Ñ": "Ñ", "Ñ": "Ñ", "Ν": "Ν", "Œ": "Œ", "Ó": "Ó", "Ó": "Ó", "Ô": "Ô", "Ô": "Ô", "О": "О", "Ő": "Ő", "𝔒": "𝔒", "Ò": "Ò", "Ò": "Ò", "Ō": "Ō", "Ω": "Ω", "Ο": "Ο", "𝕆": "𝕆", "“": "“", "‘": "‘", "⩔": "⩔", "𝒪": "𝒪", "Ø": "Ø", "Ø": "Ø", "Õ": "Õ", "Õ": "Õ", "⨷": "⨷", "Ö": "Ö", "Ö": "Ö", "‾": "‾", "⏞": "⏞", "⎴": "⎴", "⏜": "⏜", "∂": "∂", "П": "П", "𝔓": "𝔓", "Φ": "Φ", "Π": "Π", "±": "±", "ℌ": "ℌ", "ℙ": "ℙ", "⪻": "⪻", "≺": "≺", "⪯": "⪯", "≼": "≼", "≾": "≾", "″": "″", "∏": "∏", "∷": "∷", "∝": "∝", "𝒫": "𝒫", "Ψ": "Ψ", """: '"', """: '"', "𝔔": "𝔔", "ℚ": "ℚ", "𝒬": "𝒬", "⤐": "⤐", "®": "®", "®": "®", "Ŕ": "Ŕ", "⟫": "⟫", "↠": "↠", "⤖": "⤖", "Ř": "Ř", "Ŗ": "Ŗ", "Р": "Р", "ℜ": "ℜ", "∋": "∋", "⇋": "⇋", "⥯": "⥯", "ℜ": "ℜ", "Ρ": "Ρ", "⟩": "⟩", "→": "→", "⇥": "⇥", "⇄": "⇄", "⌉": "⌉", "⟧": "⟧", "⥝": "⥝", "⇂": "⇂", "⥕": "⥕", "⌋": "⌋", "⊢": "⊢", "↦": "↦", "⥛": "⥛", "⊳": "⊳", "⧐": "⧐", "⊵": "⊵", "⥏": "⥏", "⥜": "⥜", "↾": "↾", "⥔": "⥔", "⇀": "⇀", "⥓": "⥓", "⇒": "⇒", "ℝ": "ℝ", "⥰": "⥰", "⇛": "⇛", "ℛ": "ℛ", "↱": "↱", "⧴": "⧴", "Щ": "Щ", "Ш": "Ш", "Ь": "Ь", "Ś": "Ś", "⪼": "⪼", "Š": "Š", "Ş": "Ş", "Ŝ": "Ŝ", "С": "С", "𝔖": "𝔖", "↓": "↓", "←": "←", "→": "→", "↑": "↑", "Σ": "Σ", "∘": "∘", "𝕊": "𝕊", "√": "√", "□": "□", "⊓": "⊓", "⊏": "⊏", "⊑": "⊑", "⊐": "⊐", "⊒": "⊒", "⊔": "⊔", "𝒮": "𝒮", "⋆": "⋆", "⋐": "⋐", "⋐": "⋐", "⊆": "⊆", "≻": "≻", "⪰": "⪰", "≽": "≽", "≿": "≿", "∋": "∋", "∑": "∑", "⋑": "⋑", "⊃": "⊃", "⊇": "⊇", "⋑": "⋑", "Þ": "Þ", "Þ": "Þ", "™": "™", "Ћ": "Ћ", "Ц": "Ц", "	": "\t", "Τ": "Τ", "Ť": "Ť", "Ţ": "Ţ", "Т": "Т", "𝔗": "𝔗", "∴": "∴", "Θ": "Θ", "  ": " ", " ": " ", "∼": "∼", "≃": "≃", "≅": "≅", "≈": "≈", "𝕋": "𝕋", "⃛": "⃛", "𝒯": "𝒯", "Ŧ": "Ŧ", "Ú": "Ú", "Ú": "Ú", "↟": "↟", "⥉": "⥉", "Ў": "Ў", "Ŭ": "Ŭ", "Û": "Û", "Û": "Û", "У": "У", "Ű": "Ű", "𝔘": "𝔘", "Ù": "Ù", "Ù": "Ù", "Ū": "Ū", "_": "_", "⏟": "⏟", "⎵": "⎵", "⏝": "⏝", "⋃": "⋃", "⊎": "⊎", "Ų": "Ų", "𝕌": "𝕌", "↑": "↑", "⤒": "⤒", "⇅": "⇅", "↕": "↕", "⥮": "⥮", "⊥": "⊥", "↥": "↥", "⇑": "⇑", "⇕": "⇕", "↖": "↖", "↗": "↗", "ϒ": "ϒ", "Υ": "Υ", "Ů": "Ů", "𝒰": "𝒰", "Ũ": "Ũ", "Ü": "Ü", "Ü": "Ü", "⊫": "⊫", "⫫": "⫫", "В": "В", "⊩": "⊩", "⫦": "⫦", "⋁": "⋁", "‖": "‖", "‖": "‖", "∣": "∣", "|": "|", "❘": "❘", "≀": "≀", " ": " ", "𝔙": "𝔙", "𝕍": "𝕍", "𝒱": "𝒱", "⊪": "⊪", "Ŵ": "Ŵ", "⋀": "⋀", "𝔚": "𝔚", "𝕎": "𝕎", "𝒲": "𝒲", "𝔛": "𝔛", "Ξ": "Ξ", "𝕏": "𝕏", "𝒳": "𝒳", "Я": "Я", "Ї": "Ї", "Ю": "Ю", "Ý": "Ý", "Ý": "Ý", "Ŷ": "Ŷ", "Ы": "Ы", "𝔜": "𝔜", "𝕐": "𝕐", "𝒴": "𝒴", "Ÿ": "Ÿ", "Ж": "Ж", "Ź": "Ź", "Ž": "Ž", "З": "З", "Ż": "Ż", "​": "", "Ζ": "Ζ", "ℨ": "ℨ", "ℤ": "ℤ", "𝒵": "𝒵", "á": "á", "á": "á", "ă": "ă", "∾": "∾", "∾̳": "∾̳", "∿": "∿", "â": "â", "â": "â", "´": "´", "´": "´", "а": "а", "æ": "æ", "æ": "æ", "⁡": "", "𝔞": "𝔞", "à": "à", "à": "à", "ℵ": "ℵ", "ℵ": "ℵ", "α": "α", "ā": "ā", "⨿": "⨿", "&": "&", "&": "&", "∧": "∧", "⩕": "⩕", "⩜": "⩜", "⩘": "⩘", "⩚": "⩚", "∠": "∠", "⦤": "⦤", "∠": "∠", "∡": "∡", "⦨": "⦨", "⦩": "⦩", "⦪": "⦪", "⦫": "⦫", "⦬": "⦬", "⦭": "⦭", "⦮": "⦮", "⦯": "⦯", "∟": "∟", "⊾": "⊾", "⦝": "⦝", "∢": "∢", "Å": "Å", "⍼": "⍼", "ą": "ą", "𝕒": "𝕒", "≈": "≈", "⩰": "⩰", "⩯": "⩯", "≊": "≊", "≋": "≋", "'": "'", "≈": "≈", "≊": "≊", "å": "å", "å": "å", "𝒶": "𝒶", "*": "*", "≈": "≈", "≍": "≍", "ã": "ã", "ã": "ã", "ä": "ä", "ä": "ä", "∳": "∳", "⨑": "⨑", "⫭": "⫭", "≌": "≌", "϶": "϶", "‵": "‵", "∽": "∽", "⋍": "⋍", "⊽": "⊽", "⌅": "⌅", "⌅": "⌅", "⎵": "⎵", "⎶": "⎶", "≌": "≌", "б": "б", "„": "„", "∵": "∵", "∵": "∵", "⦰": "⦰", "϶": "϶", "ℬ": "ℬ", "β": "β", "ℶ": "ℶ", "≬": "≬", "𝔟": "𝔟", "⋂": "⋂", "◯": "◯", "⋃": "⋃", "⨀": "⨀", "⨁": "⨁", "⨂": "⨂", "⨆": "⨆", "★": "★", "▽": "▽", "△": "△", "⨄": "⨄", "⋁": "⋁", "⋀": "⋀", "⤍": "⤍", "⧫": "⧫", "▪": "▪", "▴": "▴", "▾": "▾", "◂": "◂", "▸": "▸", "␣": "␣", "▒": "▒", "░": "░", "▓": "▓", "█": "█", "=⃥": "=⃥", "≡⃥": "≡⃥", "⌐": "⌐", "𝕓": "𝕓", "⊥": "⊥", "⊥": "⊥", "⋈": "⋈", "╗": "╗", "╔": "╔", "╖": "╖", "╓": "╓", "═": "═", "╦": "╦", "╩": "╩", "╤": "╤", "╧": "╧", "╝": "╝", "╚": "╚", "╜": "╜", "╙": "╙", "║": "║", "╬": "╬", "╣": "╣", "╠": "╠", "╫": "╫", "╢": "╢", "╟": "╟", "⧉": "⧉", "╕": "╕", "╒": "╒", "┐": "┐", "┌": "┌", "─": "─", "╥": "╥", "╨": "╨", "┬": "┬", "┴": "┴", "⊟": "⊟", "⊞": "⊞", "⊠": "⊠", "╛": "╛", "╘": "╘", "┘": "┘", "└": "└", "│": "│", "╪": "╪", "╡": "╡", "╞": "╞", "┼": "┼", "┤": "┤", "├": "├", "‵": "‵", "˘": "˘", "¦": "¦", "¦": "¦", "𝒷": "𝒷", "⁏": "⁏", "∽": "∽", "⋍": "⋍", "\": "\\", "⧅": "⧅", "⟈": "⟈", "•": "•", "•": "•", "≎": "≎", "⪮": "⪮", "≏": "≏", "≏": "≏", "ć": "ć", "∩": "∩", "⩄": "⩄", "⩉": "⩉", "⩋": "⩋", "⩇": "⩇", "⩀": "⩀", "∩︀": "∩︀", "⁁": "⁁", "ˇ": "ˇ", "⩍": "⩍", "č": "č", "ç": "ç", "ç": "ç", "ĉ": "ĉ", "⩌": "⩌", "⩐": "⩐", "ċ": "ċ", "¸": "¸", "¸": "¸", "⦲": "⦲", "¢": "¢", "¢": "¢", "·": "·", "𝔠": "𝔠", "ч": "ч", "✓": "✓", "✓": "✓", "χ": "χ", "○": "○", "⧃": "⧃", "ˆ": "ˆ", "≗": "≗", "↺": "↺", "↻": "↻", "®": "®", "Ⓢ": "Ⓢ", "⊛": "⊛", "⊚": "⊚", "⊝": "⊝", "≗": "≗", "⨐": "⨐", "⫯": "⫯", "⧂": "⧂", "♣": "♣", "♣": "♣", ":": ":", "≔": "≔", "≔": "≔", ",": ",", "@": "@", "∁": "∁", "∘": "∘", "∁": "∁", "ℂ": "ℂ", "≅": "≅", "⩭": "⩭", "∮": "∮", "𝕔": "𝕔", "∐": "∐", "©": "©", "©": "©", "℗": "℗", "↵": "↵", "✗": "✗", "𝒸": "𝒸", "⫏": "⫏", "⫑": "⫑", "⫐": "⫐", "⫒": "⫒", "⋯": "⋯", "⤸": "⤸", "⤵": "⤵", "⋞": "⋞", "⋟": "⋟", "↶": "↶", "⤽": "⤽", "∪": "∪", "⩈": "⩈", "⩆": "⩆", "⩊": "⩊", "⊍": "⊍", "⩅": "⩅", "∪︀": "∪︀", "↷": "↷", "⤼": "⤼", "⋞": "⋞", "⋟": "⋟", "⋎": "⋎", "⋏": "⋏", "¤": "¤", "¤": "¤", "↶": "↶", "↷": "↷", "⋎": "⋎", "⋏": "⋏", "∲": "∲", "∱": "∱", "⌭": "⌭", "⇓": "⇓", "⥥": "⥥", "†": "†", "ℸ": "ℸ", "↓": "↓", "‐": "‐", "⊣": "⊣", "⤏": "⤏", "˝": "˝", "ď": "ď", "д": "д", "ⅆ": "ⅆ", "‡": "‡", "⇊": "⇊", "⩷": "⩷", "°": "°", "°": "°", "δ": "δ", "⦱": "⦱", "⥿": "⥿", "𝔡": "𝔡", "⇃": "⇃", "⇂": "⇂", "⋄": "⋄", "⋄": "⋄", "♦": "♦", "♦": "♦", "¨": "¨", "ϝ": "ϝ", "⋲": "⋲", "÷": "÷", "÷": "÷", "÷": "÷", "⋇": "⋇", "⋇": "⋇", "ђ": "ђ", "⌞": "⌞", "⌍": "⌍", "$": "$", "𝕕": "𝕕", "˙": "˙", "≐": "≐", "≑": "≑", "∸": "∸", "∔": "∔", "⊡": "⊡", "⌆": "⌆", "↓": "↓", "⇊": "⇊", "⇃": "⇃", "⇂": "⇂", "⤐": "⤐", "⌟": "⌟", "⌌": "⌌", "𝒹": "𝒹", "ѕ": "ѕ", "⧶": "⧶", "đ": "đ", "⋱": "⋱", "▿": "▿", "▾": "▾", "⇵": "⇵", "⥯": "⥯", "⦦": "⦦", "џ": "џ", "⟿": "⟿", "⩷": "⩷", "≑": "≑", "é": "é", "é": "é", "⩮": "⩮", "ě": "ě", "≖": "≖", "ê": "ê", "ê": "ê", "≕": "≕", "э": "э", "ė": "ė", "ⅇ": "ⅇ", "≒": "≒", "𝔢": "𝔢", "⪚": "⪚", "è": "è", "è": "è", "⪖": "⪖", "⪘": "⪘", "⪙": "⪙", "⏧": "⏧", "ℓ": "ℓ", "⪕": "⪕", "⪗": "⪗", "ē": "ē", "∅": "∅", "∅": "∅", "∅": "∅", " ": " ", " ": " ", " ": " ", "ŋ": "ŋ", " ": " ", "ę": "ę", "𝕖": "𝕖", "⋕": "⋕", "⧣": "⧣", "⩱": "⩱", "ε": "ε", "ε": "ε", "ϵ": "ϵ", "≖": "≖", "≕": "≕", "≂": "≂", "⪖": "⪖", "⪕": "⪕", "=": "=", "≟": "≟", "≡": "≡", "⩸": "⩸", "⧥": "⧥", "≓": "≓", "⥱": "⥱", "ℯ": "ℯ", "≐": "≐", "≂": "≂", "η": "η", "ð": "ð", "ð": "ð", "ë": "ë", "ë": "ë", "€": "€", "!": "!", "∃": "∃", "ℰ": "ℰ", "ⅇ": "ⅇ", "≒": "≒", "ф": "ф", "♀": "♀", "ffi": "ffi", "ff": "ff", "ffl": "ffl", "𝔣": "𝔣", "fi": "fi", "fj": "fj", "♭": "♭", "fl": "fl", "▱": "▱", "ƒ": "ƒ", "𝕗": "𝕗", "∀": "∀", "⋔": "⋔", "⫙": "⫙", "⨍": "⨍", "½": "½", "½": "½", "⅓": "⅓", "¼": "¼", "¼": "¼", "⅕": "⅕", "⅙": "⅙", "⅛": "⅛", "⅔": "⅔", "⅖": "⅖", "¾": "¾", "¾": "¾", "⅗": "⅗", "⅜": "⅜", "⅘": "⅘", "⅚": "⅚", "⅝": "⅝", "⅞": "⅞", "⁄": "⁄", "⌢": "⌢", "𝒻": "𝒻", "≧": "≧", "⪌": "⪌", "ǵ": "ǵ", "γ": "γ", "ϝ": "ϝ", "⪆": "⪆", "ğ": "ğ", "ĝ": "ĝ", "г": "г", "ġ": "ġ", "≥": "≥", "⋛": "⋛", "≥": "≥", "≧": "≧", "⩾": "⩾", "⩾": "⩾", "⪩": "⪩", "⪀": "⪀", "⪂": "⪂", "⪄": "⪄", "⋛︀": "⋛︀", "⪔": "⪔", "𝔤": "𝔤", "≫": "≫", "⋙": "⋙", "ℷ": "ℷ", "ѓ": "ѓ", "≷": "≷", "⪒": "⪒", "⪥": "⪥", "⪤": "⪤", "≩": "≩", "⪊": "⪊", "⪊": "⪊", "⪈": "⪈", "⪈": "⪈", "≩": "≩", "⋧": "⋧", "𝕘": "𝕘", "`": "`", "ℊ": "ℊ", "≳": "≳", "⪎": "⪎", "⪐": "⪐", ">": ">", ">": ">", "⪧": "⪧", "⩺": "⩺", "⋗": "⋗", "⦕": "⦕", "⩼": "⩼", "⪆": "⪆", "⥸": "⥸", "⋗": "⋗", "⋛": "⋛", "⪌": "⪌", "≷": "≷", "≳": "≳", "≩︀": "≩︀", "≩︀": "≩︀", "⇔": "⇔", " ": " ", "½": "½", "ℋ": "ℋ", "ъ": "ъ", "↔": "↔", "⥈": "⥈", "↭": "↭", "ℏ": "ℏ", "ĥ": "ĥ", "♥": "♥", "♥": "♥", "…": "…", "⊹": "⊹", "𝔥": "𝔥", "⤥": "⤥", "⤦": "⤦", "⇿": "⇿", "∻": "∻", "↩": "↩", "↪": "↪", "𝕙": "𝕙", "―": "―", "𝒽": "𝒽", "ℏ": "ℏ", "ħ": "ħ", "⁃": "⁃", "‐": "‐", "í": "í", "í": "í", "⁣": "", "î": "î", "î": "î", "и": "и", "е": "е", "¡": "¡", "¡": "¡", "⇔": "⇔", "𝔦": "𝔦", "ì": "ì", "ì": "ì", "ⅈ": "ⅈ", "⨌": "⨌", "∭": "∭", "⧜": "⧜", "℩": "℩", "ij": "ij", "ī": "ī", "ℑ": "ℑ", "ℐ": "ℐ", "ℑ": "ℑ", "ı": "ı", "⊷": "⊷", "Ƶ": "Ƶ", "∈": "∈", "℅": "℅", "∞": "∞", "⧝": "⧝", "ı": "ı", "∫": "∫", "⊺": "⊺", "ℤ": "ℤ", "⊺": "⊺", "⨗": "⨗", "⨼": "⨼", "ё": "ё", "į": "į", "𝕚": "𝕚", "ι": "ι", "⨼": "⨼", "¿": "¿", "¿": "¿", "𝒾": "𝒾", "∈": "∈", "⋹": "⋹", "⋵": "⋵", "⋴": "⋴", "⋳": "⋳", "∈": "∈", "⁢": "", "ĩ": "ĩ", "і": "і", "ï": "ï", "ï": "ï", "ĵ": "ĵ", "й": "й", "𝔧": "𝔧", "ȷ": "ȷ", "𝕛": "𝕛", "𝒿": "𝒿", "ј": "ј", "є": "є", "κ": "κ", "ϰ": "ϰ", "ķ": "ķ", "к": "к", "𝔨": "𝔨", "ĸ": "ĸ", "х": "х", "ќ": "ќ", "𝕜": "𝕜", "𝓀": "𝓀", "⇚": "⇚", "⇐": "⇐", "⤛": "⤛", "⤎": "⤎", "≦": "≦", "⪋": "⪋", "⥢": "⥢", "ĺ": "ĺ", "⦴": "⦴", "ℒ": "ℒ", "λ": "λ", "⟨": "⟨", "⦑": "⦑", "⟨": "⟨", "⪅": "⪅", "«": "«", "«": "«", "←": "←", "⇤": "⇤", "⤟": "⤟", "⤝": "⤝", "↩": "↩", "↫": "↫", "⤹": "⤹", "⥳": "⥳", "↢": "↢", "⪫": "⪫", "⤙": "⤙", "⪭": "⪭", "⪭︀": "⪭︀", "⤌": "⤌", "❲": "❲", "{": "{", "[": "[", "⦋": "⦋", "⦏": "⦏", "⦍": "⦍", "ľ": "ľ", "ļ": "ļ", "⌈": "⌈", "{": "{", "л": "л", "⤶": "⤶", "“": "“", "„": "„", "⥧": "⥧", "⥋": "⥋", "↲": "↲", "≤": "≤", "←": "←", "↢": "↢", "↽": "↽", "↼": "↼", "⇇": "⇇", "↔": "↔", "⇆": "⇆", "⇋": "⇋", "↭": "↭", "⋋": "⋋", "⋚": "⋚", "≤": "≤", "≦": "≦", "⩽": "⩽", "⩽": "⩽", "⪨": "⪨", "⩿": "⩿", "⪁": "⪁", "⪃": "⪃", "⋚︀": "⋚︀", "⪓": "⪓", "⪅": "⪅", "⋖": "⋖", "⋚": "⋚", "⪋": "⪋", "≶": "≶", "≲": "≲", "⥼": "⥼", "⌊": "⌊", "𝔩": "𝔩", "≶": "≶", "⪑": "⪑", "↽": "↽", "↼": "↼", "⥪": "⥪", "▄": "▄", "љ": "љ", "≪": "≪", "⇇": "⇇", "⌞": "⌞", "⥫": "⥫", "◺": "◺", "ŀ": "ŀ", "⎰": "⎰", "⎰": "⎰", "≨": "≨", "⪉": "⪉", "⪉": "⪉", "⪇": "⪇", "⪇": "⪇", "≨": "≨", "⋦": "⋦", "⟬": "⟬", "⇽": "⇽", "⟦": "⟦", "⟵": "⟵", "⟷": "⟷", "⟼": "⟼", "⟶": "⟶", "↫": "↫", "↬": "↬", "⦅": "⦅", "𝕝": "𝕝", "⨭": "⨭", "⨴": "⨴", "∗": "∗", "_": "_", "◊": "◊", "◊": "◊", "⧫": "⧫", "(": "(", "⦓": "⦓", "⇆": "⇆", "⌟": "⌟", "⇋": "⇋", "⥭": "⥭", "‎": "", "⊿": "⊿", "‹": "‹", "𝓁": "𝓁", "↰": "↰", "≲": "≲", "⪍": "⪍", "⪏": "⪏", "[": "[", "‘": "‘", "‚": "‚", "ł": "ł", "<": "<", "<": "<", "⪦": "⪦", "⩹": "⩹", "⋖": "⋖", "⋋": "⋋", "⋉": "⋉", "⥶": "⥶", "⩻": "⩻", "⦖": "⦖", "◃": "◃", "⊴": "⊴", "◂": "◂", "⥊": "⥊", "⥦": "⥦", "≨︀": "≨︀", "≨︀": "≨︀", "∺": "∺", "¯": "¯", "¯": "¯", "♂": "♂", "✠": "✠", "✠": "✠", "↦": "↦", "↦": "↦", "↧": "↧", "↤": "↤", "↥": "↥", "▮": "▮", "⨩": "⨩", "м": "м", "—": "—", "∡": "∡", "𝔪": "𝔪", "℧": "℧", "µ": "µ", "µ": "µ", "∣": "∣", "*": "*", "⫰": "⫰", "·": "·", "·": "·", "−": "−", "⊟": "⊟", "∸": "∸", "⨪": "⨪", "⫛": "⫛", "…": "…", "∓": "∓", "⊧": "⊧", "𝕞": "𝕞", "∓": "∓", "𝓂": "𝓂", "∾": "∾", "μ": "μ", "⊸": "⊸", "⊸": "⊸", "⋙̸": "⋙̸", "≫⃒": "≫⃒", "≫̸": "≫̸", "⇍": "⇍", "⇎": "⇎", "⋘̸": "⋘̸", "≪⃒": "≪⃒", "≪̸": "≪̸", "⇏": "⇏", "⊯": "⊯", "⊮": "⊮", "∇": "∇", "ń": "ń", "∠⃒": "∠⃒", "≉": "≉", "⩰̸": "⩰̸", "≋̸": "≋̸", "ʼn": "ʼn", "≉": "≉", "♮": "♮", "♮": "♮", "ℕ": "ℕ", " ": " ", " ": " ", "≎̸": "≎̸", "≏̸": "≏̸", "⩃": "⩃", "ň": "ň", "ņ": "ņ", "≇": "≇", "⩭̸": "⩭̸", "⩂": "⩂", "н": "н", "–": "–", "≠": "≠", "⇗": "⇗", "⤤": "⤤", "↗": "↗", "↗": "↗", "≐̸": "≐̸", "≢": "≢", "⤨": "⤨", "≂̸": "≂̸", "∄": "∄", "∄": "∄", "𝔫": "𝔫", "≧̸": "≧̸", "≱": "≱", "≱": "≱", "≧̸": "≧̸", "⩾̸": "⩾̸", "⩾̸": "⩾̸", "≵": "≵", "≯": "≯", "≯": "≯", "⇎": "⇎", "↮": "↮", "⫲": "⫲", "∋": "∋", "⋼": "⋼", "⋺": "⋺", "∋": "∋", "њ": "њ", "⇍": "⇍", "≦̸": "≦̸", "↚": "↚", "‥": "‥", "≰": "≰", "↚": "↚", "↮": "↮", "≰": "≰", "≦̸": "≦̸", "⩽̸": "⩽̸", "⩽̸": "⩽̸", "≮": "≮", "≴": "≴", "≮": "≮", "⋪": "⋪", "⋬": "⋬", "∤": "∤", "𝕟": "𝕟", "¬": "¬", "¬": "¬", "∉": "∉", "⋹̸": "⋹̸", "⋵̸": "⋵̸", "∉": "∉", "⋷": "⋷", "⋶": "⋶", "∌": "∌", "∌": "∌", "⋾": "⋾", "⋽": "⋽", "∦": "∦", "∦": "∦", "⫽⃥": "⫽⃥", "∂̸": "∂̸", "⨔": "⨔", "⊀": "⊀", "⋠": "⋠", "⪯̸": "⪯̸", "⊀": "⊀", "⪯̸": "⪯̸", "⇏": "⇏", "↛": "↛", "⤳̸": "⤳̸", "↝̸": "↝̸", "↛": "↛", "⋫": "⋫", "⋭": "⋭", "⊁": "⊁", "⋡": "⋡", "⪰̸": "⪰̸", "𝓃": "𝓃", "∤": "∤", "∦": "∦", "≁": "≁", "≄": "≄", "≄": "≄", "∤": "∤", "∦": "∦", "⋢": "⋢", "⋣": "⋣", "⊄": "⊄", "⫅̸": "⫅̸", "⊈": "⊈", "⊂⃒": "⊂⃒", "⊈": "⊈", "⫅̸": "⫅̸", "⊁": "⊁", "⪰̸": "⪰̸", "⊅": "⊅", "⫆̸": "⫆̸", "⊉": "⊉", "⊃⃒": "⊃⃒", "⊉": "⊉", "⫆̸": "⫆̸", "≹": "≹", "ñ": "ñ", "ñ": "ñ", "≸": "≸", "⋪": "⋪", "⋬": "⋬", "⋫": "⋫", "⋭": "⋭", "ν": "ν", "#": "#", "№": "№", " ": " ", "⊭": "⊭", "⤄": "⤄", "≍⃒": "≍⃒", "⊬": "⊬", "≥⃒": "≥⃒", ">⃒": ">⃒", "⧞": "⧞", "⤂": "⤂", "≤⃒": "≤⃒", "<⃒": "<⃒", "⊴⃒": "⊴⃒", "⤃": "⤃", "⊵⃒": "⊵⃒", "∼⃒": "∼⃒", "⇖": "⇖", "⤣": "⤣", "↖": "↖", "↖": "↖", "⤧": "⤧", "Ⓢ": "Ⓢ", "ó": "ó", "ó": "ó", "⊛": "⊛", "⊚": "⊚", "ô": "ô", "ô": "ô", "о": "о", "⊝": "⊝", "ő": "ő", "⨸": "⨸", "⊙": "⊙", "⦼": "⦼", "œ": "œ", "⦿": "⦿", "𝔬": "𝔬", "˛": "˛", "ò": "ò", "ò": "ò", "⧁": "⧁", "⦵": "⦵", "Ω": "Ω", "∮": "∮", "↺": "↺", "⦾": "⦾", "⦻": "⦻", "‾": "‾", "⧀": "⧀", "ō": "ō", "ω": "ω", "ο": "ο", "⦶": "⦶", "⊖": "⊖", "𝕠": "𝕠", "⦷": "⦷", "⦹": "⦹", "⊕": "⊕", "∨": "∨", "↻": "↻", "⩝": "⩝", "ℴ": "ℴ", "ℴ": "ℴ", "ª": "ª", "ª": "ª", "º": "º", "º": "º", "⊶": "⊶", "⩖": "⩖", "⩗": "⩗", "⩛": "⩛", "ℴ": "ℴ", "ø": "ø", "ø": "ø", "⊘": "⊘", "õ": "õ", "õ": "õ", "⊗": "⊗", "⨶": "⨶", "ö": "ö", "ö": "ö", "⌽": "⌽", "∥": "∥", "¶": "¶", "¶": "¶", "∥": "∥", "⫳": "⫳", "⫽": "⫽", "∂": "∂", "п": "п", "%": "%", ".": ".", "‰": "‰", "⊥": "⊥", "‱": "‱", "𝔭": "𝔭", "φ": "φ", "ϕ": "ϕ", "ℳ": "ℳ", "☎": "☎", "π": "π", "⋔": "⋔", "ϖ": "ϖ", "ℏ": "ℏ", "ℎ": "ℎ", "ℏ": "ℏ", "+": "+", "⨣": "⨣", "⊞": "⊞", "⨢": "⨢", "∔": "∔", "⨥": "⨥", "⩲": "⩲", "±": "±", "±": "±", "⨦": "⨦", "⨧": "⨧", "±": "±", "⨕": "⨕", "𝕡": "𝕡", "£": "£", "£": "£", "≺": "≺", "⪳": "⪳", "⪷": "⪷", "≼": "≼", "⪯": "⪯", "≺": "≺", "⪷": "⪷", "≼": "≼", "⪯": "⪯", "⪹": "⪹", "⪵": "⪵", "⋨": "⋨", "≾": "≾", "′": "′", "ℙ": "ℙ", "⪵": "⪵", "⪹": "⪹", "⋨": "⋨", "∏": "∏", "⌮": "⌮", "⌒": "⌒", "⌓": "⌓", "∝": "∝", "∝": "∝", "≾": "≾", "⊰": "⊰", "𝓅": "𝓅", "ψ": "ψ", " ": " ", "𝔮": "𝔮", "⨌": "⨌", "𝕢": "𝕢", "⁗": "⁗", "𝓆": "𝓆", "ℍ": "ℍ", "⨖": "⨖", "?": "?", "≟": "≟", """: '"', """: '"', "⇛": "⇛", "⇒": "⇒", "⤜": "⤜", "⤏": "⤏", "⥤": "⥤", "∽̱": "∽̱", "ŕ": "ŕ", "√": "√", "⦳": "⦳", "⟩": "⟩", "⦒": "⦒", "⦥": "⦥", "⟩": "⟩", "»": "»", "»": "»", "→": "→", "⥵": "⥵", "⇥": "⇥", "⤠": "⤠", "⤳": "⤳", "⤞": "⤞", "↪": "↪", "↬": "↬", "⥅": "⥅", "⥴": "⥴", "↣": "↣", "↝": "↝", "⤚": "⤚", "∶": "∶", "ℚ": "ℚ", "⤍": "⤍", "❳": "❳", "}": "}", "]": "]", "⦌": "⦌", "⦎": "⦎", "⦐": "⦐", "ř": "ř", "ŗ": "ŗ", "⌉": "⌉", "}": "}", "р": "р", "⤷": "⤷", "⥩": "⥩", "”": "”", "”": "”", "↳": "↳", "ℜ": "ℜ", "ℛ": "ℛ", "ℜ": "ℜ", "ℝ": "ℝ", "▭": "▭", "®": "®", "®": "®", "⥽": "⥽", "⌋": "⌋", "𝔯": "𝔯", "⇁": "⇁", "⇀": "⇀", "⥬": "⥬", "ρ": "ρ", "ϱ": "ϱ", "→": "→", "↣": "↣", "⇁": "⇁", "⇀": "⇀", "⇄": "⇄", "⇌": "⇌", "⇉": "⇉", "↝": "↝", "⋌": "⋌", "˚": "˚", "≓": "≓", "⇄": "⇄", "⇌": "⇌", "‏": "", "⎱": "⎱", "⎱": "⎱", "⫮": "⫮", "⟭": "⟭", "⇾": "⇾", "⟧": "⟧", "⦆": "⦆", "𝕣": "𝕣", "⨮": "⨮", "⨵": "⨵", ")": ")", "⦔": "⦔", "⨒": "⨒", "⇉": "⇉", "›": "›", "𝓇": "𝓇", "↱": "↱", "]": "]", "’": "’", "’": "’", "⋌": "⋌", "⋊": "⋊", "▹": "▹", "⊵": "⊵", "▸": "▸", "⧎": "⧎", "⥨": "⥨", "℞": "℞", "ś": "ś", "‚": "‚", "≻": "≻", "⪴": "⪴", "⪸": "⪸", "š": "š", "≽": "≽", "⪰": "⪰", "ş": "ş", "ŝ": "ŝ", "⪶": "⪶", "⪺": "⪺", "⋩": "⋩", "⨓": "⨓", "≿": "≿", "с": "с", "⋅": "⋅", "⊡": "⊡", "⩦": "⩦", "⇘": "⇘", "⤥": "⤥", "↘": "↘", "↘": "↘", "§": "§", "§": "§", ";": ";", "⤩": "⤩", "∖": "∖", "∖": "∖", "✶": "✶", "𝔰": "𝔰", "⌢": "⌢", "♯": "♯", "щ": "щ", "ш": "ш", "∣": "∣", "∥": "∥", "­": "", "­": "", "σ": "σ", "ς": "ς", "ς": "ς", "∼": "∼", "⩪": "⩪", "≃": "≃", "≃": "≃", "⪞": "⪞", "⪠": "⪠", "⪝": "⪝", "⪟": "⪟", "≆": "≆", "⨤": "⨤", "⥲": "⥲", "←": "←", "∖": "∖", "⨳": "⨳", "⧤": "⧤", "∣": "∣", "⌣": "⌣", "⪪": "⪪", "⪬": "⪬", "⪬︀": "⪬︀", "ь": "ь", "/": "/", "⧄": "⧄", "⌿": "⌿", "𝕤": "𝕤", "♠": "♠", "♠": "♠", "∥": "∥", "⊓": "⊓", "⊓︀": "⊓︀", "⊔": "⊔", "⊔︀": "⊔︀", "⊏": "⊏", "⊑": "⊑", "⊏": "⊏", "⊑": "⊑", "⊐": "⊐", "⊒": "⊒", "⊐": "⊐", "⊒": "⊒", "□": "□", "□": "□", "▪": "▪", "▪": "▪", "→": "→", "𝓈": "𝓈", "∖": "∖", "⌣": "⌣", "⋆": "⋆", "☆": "☆", "★": "★", "ϵ": "ϵ", "ϕ": "ϕ", "¯": "¯", "⊂": "⊂", "⫅": "⫅", "⪽": "⪽", "⊆": "⊆", "⫃": "⫃", "⫁": "⫁", "⫋": "⫋", "⊊": "⊊", "⪿": "⪿", "⥹": "⥹", "⊂": "⊂", "⊆": "⊆", "⫅": "⫅", "⊊": "⊊", "⫋": "⫋", "⫇": "⫇", "⫕": "⫕", "⫓": "⫓", "≻": "≻", "⪸": "⪸", "≽": "≽", "⪰": "⪰", "⪺": "⪺", "⪶": "⪶", "⋩": "⋩", "≿": "≿", "∑": "∑", "♪": "♪", "¹": "¹", "¹": "¹", "²": "²", "²": "²", "³": "³", "³": "³", "⊃": "⊃", "⫆": "⫆", "⪾": "⪾", "⫘": "⫘", "⊇": "⊇", "⫄": "⫄", "⟉": "⟉", "⫗": "⫗", "⥻": "⥻", "⫂": "⫂", "⫌": "⫌", "⊋": "⊋", "⫀": "⫀", "⊃": "⊃", "⊇": "⊇", "⫆": "⫆", "⊋": "⊋", "⫌": "⫌", "⫈": "⫈", "⫔": "⫔", "⫖": "⫖", "⇙": "⇙", "⤦": "⤦", "↙": "↙", "↙": "↙", "⤪": "⤪", "ß": "ß", "ß": "ß", "⌖": "⌖", "τ": "τ", "⎴": "⎴", "ť": "ť", "ţ": "ţ", "т": "т", "⃛": "⃛", "⌕": "⌕", "𝔱": "𝔱", "∴": "∴", "∴": "∴", "θ": "θ", "ϑ": "ϑ", "ϑ": "ϑ", "≈": "≈", "∼": "∼", " ": " ", "≈": "≈", "∼": "∼", "þ": "þ", "þ": "þ", "˜": "˜", "×": "×", "×": "×", "⊠": "⊠", "⨱": "⨱", "⨰": "⨰", "∭": "∭", "⤨": "⤨", "⊤": "⊤", "⌶": "⌶", "⫱": "⫱", "𝕥": "𝕥", "⫚": "⫚", "⤩": "⤩", "‴": "‴", "™": "™", "▵": "▵", "▿": "▿", "◃": "◃", "⊴": "⊴", "≜": "≜", "▹": "▹", "⊵": "⊵", "◬": "◬", "≜": "≜", "⨺": "⨺", "⨹": "⨹", "⧍": "⧍", "⨻": "⨻", "⏢": "⏢", "𝓉": "𝓉", "ц": "ц", "ћ": "ћ", "ŧ": "ŧ", "≬": "≬", "↞": "↞", "↠": "↠", "⇑": "⇑", "⥣": "⥣", "ú": "ú", "ú": "ú", "↑": "↑", "ў": "ў", "ŭ": "ŭ", "û": "û", "û": "û", "у": "у", "⇅": "⇅", "ű": "ű", "⥮": "⥮", "⥾": "⥾", "𝔲": "𝔲", "ù": "ù", "ù": "ù", "↿": "↿", "↾": "↾", "▀": "▀", "⌜": "⌜", "⌜": "⌜", "⌏": "⌏", "◸": "◸", "ū": "ū", "¨": "¨", "¨": "¨", "ų": "ų", "𝕦": "𝕦", "↑": "↑", "↕": "↕", "↿": "↿", "↾": "↾", "⊎": "⊎", "υ": "υ", "ϒ": "ϒ", "υ": "υ", "⇈": "⇈", "⌝": "⌝", "⌝": "⌝", "⌎": "⌎", "ů": "ů", "◹": "◹", "𝓊": "𝓊", "⋰": "⋰", "ũ": "ũ", "▵": "▵", "▴": "▴", "⇈": "⇈", "ü": "ü", "ü": "ü", "⦧": "⦧", "⇕": "⇕", "⫨": "⫨", "⫩": "⫩", "⊨": "⊨", "⦜": "⦜", "ϵ": "ϵ", "ϰ": "ϰ", "∅": "∅", "ϕ": "ϕ", "ϖ": "ϖ", "∝": "∝", "↕": "↕", "ϱ": "ϱ", "ς": "ς", "⊊︀": "⊊︀", "⫋︀": "⫋︀", "⊋︀": "⊋︀", "⫌︀": "⫌︀", "ϑ": "ϑ", "⊲": "⊲", "⊳": "⊳", "в": "в", "⊢": "⊢", "∨": "∨", "⊻": "⊻", "≚": "≚", "⋮": "⋮", "|": "|", "|": "|", "𝔳": "𝔳", "⊲": "⊲", "⊂⃒": "⊂⃒", "⊃⃒": "⊃⃒", "𝕧": "𝕧", "∝": "∝", "⊳": "⊳", "𝓋": "𝓋", "⫋︀": "⫋︀", "⊊︀": "⊊︀", "⫌︀": "⫌︀", "⊋︀": "⊋︀", "⦚": "⦚", "ŵ": "ŵ", "⩟": "⩟", "∧": "∧", "≙": "≙", "℘": "℘", "𝔴": "𝔴", "𝕨": "𝕨", "℘": "℘", "≀": "≀", "≀": "≀", "𝓌": "𝓌", "⋂": "⋂", "◯": "◯", "⋃": "⋃", "▽": "▽", "𝔵": "𝔵", "⟺": "⟺", "⟷": "⟷", "ξ": "ξ", "⟸": "⟸", "⟵": "⟵", "⟼": "⟼", "⋻": "⋻", "⨀": "⨀", "𝕩": "𝕩", "⨁": "⨁", "⨂": "⨂", "⟹": "⟹", "⟶": "⟶", "𝓍": "𝓍", "⨆": "⨆", "⨄": "⨄", "△": "△", "⋁": "⋁", "⋀": "⋀", "ý": "ý", "ý": "ý", "я": "я", "ŷ": "ŷ", "ы": "ы", "¥": "¥", "¥": "¥", "𝔶": "𝔶", "ї": "ї", "𝕪": "𝕪", "𝓎": "𝓎", "ю": "ю", "ÿ": "ÿ", "ÿ": "ÿ", "ź": "ź", "ž": "ž", "з": "з", "ż": "ż", "ℨ": "ℨ", "ζ": "ζ", "𝔷": "𝔷", "ж": "ж", "⇝": "⇝", "𝕫": "𝕫", "𝓏": "𝓏", "‍": "", "‌": "" }, characters: { "Æ": "Æ", "&": "&", "Á": "Á", "Ă": "Ă", "Â": "Â", "А": "А", "𝔄": "𝔄", "À": "À", "Α": "Α", "Ā": "Ā", "⩓": "⩓", "Ą": "Ą", "𝔸": "𝔸", "": "⁡", "Å": "Å", "𝒜": "𝒜", "≔": "≔", "Ã": "Ã", "Ä": "Ä", "∖": "∖", "⫧": "⫧", "⌆": "⌆", "Б": "Б", "∵": "∵", "ℬ": "ℬ", "Β": "Β", "𝔅": "𝔅", "𝔹": "𝔹", "˘": "˘", "≎": "≎", "Ч": "Ч", "©": "©", "Ć": "Ć", "⋒": "⋒", "ⅅ": "ⅅ", "ℭ": "ℭ", "Č": "Č", "Ç": "Ç", "Ĉ": "Ĉ", "∰": "∰", "Ċ": "Ċ", "¸": "¸", "·": "·", "Χ": "Χ", "⊙": "⊙", "⊖": "⊖", "⊕": "⊕", "⊗": "⊗", "∲": "∲", "”": "”", "’": "’", "∷": "∷", "⩴": "⩴", "≡": "≡", "∯": "∯", "∮": "∮", "ℂ": "ℂ", "∐": "∐", "∳": "∳", "⨯": "⨯", "𝒞": "𝒞", "⋓": "⋓", "≍": "≍", "⤑": "⤑", "Ђ": "Ђ", "Ѕ": "Ѕ", "Џ": "Џ", "‡": "‡", "↡": "↡", "⫤": "⫤", "Ď": "Ď", "Д": "Д", "∇": "∇", "Δ": "Δ", "𝔇": "𝔇", "´": "´", "˙": "˙", "˝": "˝", "`": "`", "˜": "˜", "⋄": "⋄", "ⅆ": "ⅆ", "𝔻": "𝔻", "¨": "¨", "⃜": "⃜", "≐": "≐", "⇓": "⇓", "⇐": "⇐", "⇔": "⇔", "⟸": "⟸", "⟺": "⟺", "⟹": "⟹", "⇒": "⇒", "⊨": "⊨", "⇑": "⇑", "⇕": "⇕", "∥": "∥", "↓": "↓", "⤓": "⤓", "⇵": "⇵", "̑": "̑", "⥐": "⥐", "⥞": "⥞", "↽": "↽", "⥖": "⥖", "⥟": "⥟", "⇁": "⇁", "⥗": "⥗", "⊤": "⊤", "↧": "↧", "𝒟": "𝒟", "Đ": "Đ", "Ŋ": "Ŋ", "Ð": "Ð", "É": "É", "Ě": "Ě", "Ê": "Ê", "Э": "Э", "Ė": "Ė", "𝔈": "𝔈", "È": "È", "∈": "∈", "Ē": "Ē", "◻": "◻", "▫": "▫", "Ę": "Ę", "𝔼": "𝔼", "Ε": "Ε", "⩵": "⩵", "≂": "≂", "⇌": "⇌", "ℰ": "ℰ", "⩳": "⩳", "Η": "Η", "Ë": "Ë", "∃": "∃", "ⅇ": "ⅇ", "Ф": "Ф", "𝔉": "𝔉", "◼": "◼", "▪": "▪", "𝔽": "𝔽", "∀": "∀", "ℱ": "ℱ", "Ѓ": "Ѓ", ">": ">", "Γ": "Γ", "Ϝ": "Ϝ", "Ğ": "Ğ", "Ģ": "Ģ", "Ĝ": "Ĝ", "Г": "Г", "Ġ": "Ġ", "𝔊": "𝔊", "⋙": "⋙", "𝔾": "𝔾", "≥": "≥", "⋛": "⋛", "≧": "≧", "⪢": "⪢", "≷": "≷", "⩾": "⩾", "≳": "≳", "𝒢": "𝒢", "≫": "≫", "Ъ": "Ъ", "ˇ": "ˇ", "^": "^", "Ĥ": "Ĥ", "ℌ": "ℌ", "ℋ": "ℋ", "ℍ": "ℍ", "─": "─", "Ħ": "Ħ", "≏": "≏", "Е": "Е", "IJ": "IJ", "Ё": "Ё", "Í": "Í", "Î": "Î", "И": "И", "İ": "İ", "ℑ": "ℑ", "Ì": "Ì", "Ī": "Ī", "ⅈ": "ⅈ", "∬": "∬", "∫": "∫", "⋂": "⋂", "": "⁣", "": "⁢", "Į": "Į", "𝕀": "𝕀", "Ι": "Ι", "ℐ": "ℐ", "Ĩ": "Ĩ", "І": "І", "Ï": "Ï", "Ĵ": "Ĵ", "Й": "Й", "𝔍": "𝔍", "𝕁": "𝕁", "𝒥": "𝒥", "Ј": "Ј", "Є": "Є", "Х": "Х", "Ќ": "Ќ", "Κ": "Κ", "Ķ": "Ķ", "К": "К", "𝔎": "𝔎", "𝕂": "𝕂", "𝒦": "𝒦", "Љ": "Љ", "<": "<", "Ĺ": "Ĺ", "Λ": "Λ", "⟪": "⟪", "ℒ": "ℒ", "↞": "↞", "Ľ": "Ľ", "Ļ": "Ļ", "Л": "Л", "⟨": "⟨", "←": "←", "⇤": "⇤", "⇆": "⇆", "⌈": "⌈", "⟦": "⟦", "⥡": "⥡", "⇃": "⇃", "⥙": "⥙", "⌊": "⌊", "↔": "↔", "⥎": "⥎", "⊣": "⊣", "↤": "↤", "⥚": "⥚", "⊲": "⊲", "⧏": "⧏", "⊴": "⊴", "⥑": "⥑", "⥠": "⥠", "↿": "↿", "⥘": "⥘", "↼": "↼", "⥒": "⥒", "⋚": "⋚", "≦": "≦", "≶": "≶", "⪡": "⪡", "⩽": "⩽", "≲": "≲", "𝔏": "𝔏", "⋘": "⋘", "⇚": "⇚", "Ŀ": "Ŀ", "⟵": "⟵", "⟷": "⟷", "⟶": "⟶", "𝕃": "𝕃", "↙": "↙", "↘": "↘", "↰": "↰", "Ł": "Ł", "≪": "≪", "⤅": "⤅", "М": "М", " ": " ", "ℳ": "ℳ", "𝔐": "𝔐", "∓": "∓", "𝕄": "𝕄", "Μ": "Μ", "Њ": "Њ", "Ń": "Ń", "Ň": "Ň", "Ņ": "Ņ", "Н": "Н", "": "​", "\n": "
", "𝔑": "𝔑", "": "⁠", " ": " ", "ℕ": "ℕ", "⫬": "⫬", "≢": "≢", "≭": "≭", "∦": "∦", "∉": "∉", "≠": "≠", "≂̸": "≂̸", "∄": "∄", "≯": "≯", "≱": "≱", "≧̸": "≧̸", "≫̸": "≫̸", "≹": "≹", "⩾̸": "⩾̸", "≵": "≵", "≎̸": "≎̸", "≏̸": "≏̸", "⋪": "⋪", "⧏̸": "⧏̸", "⋬": "⋬", "≮": "≮", "≰": "≰", "≸": "≸", "≪̸": "≪̸", "⩽̸": "⩽̸", "≴": "≴", "⪢̸": "⪢̸", "⪡̸": "⪡̸", "⊀": "⊀", "⪯̸": "⪯̸", "⋠": "⋠", "∌": "∌", "⋫": "⋫", "⧐̸": "⧐̸", "⋭": "⋭", "⊏̸": "⊏̸", "⋢": "⋢", "⊐̸": "⊐̸", "⋣": "⋣", "⊂⃒": "⊂⃒", "⊈": "⊈", "⊁": "⊁", "⪰̸": "⪰̸", "⋡": "⋡", "≿̸": "≿̸", "⊃⃒": "⊃⃒", "⊉": "⊉", "≁": "≁", "≄": "≄", "≇": "≇", "≉": "≉", "∤": "∤", "𝒩": "𝒩", "Ñ": "Ñ", "Ν": "Ν", "Œ": "Œ", "Ó": "Ó", "Ô": "Ô", "О": "О", "Ő": "Ő", "𝔒": "𝔒", "Ò": "Ò", "Ō": "Ō", "Ω": "Ω", "Ο": "Ο", "𝕆": "𝕆", "“": "“", "‘": "‘", "⩔": "⩔", "𝒪": "𝒪", "Ø": "Ø", "Õ": "Õ", "⨷": "⨷", "Ö": "Ö", "‾": "‾", "⏞": "⏞", "⎴": "⎴", "⏜": "⏜", "∂": "∂", "П": "П", "𝔓": "𝔓", "Φ": "Φ", "Π": "Π", "±": "±", "ℙ": "ℙ", "⪻": "⪻", "≺": "≺", "⪯": "⪯", "≼": "≼", "≾": "≾", "″": "″", "∏": "∏", "∝": "∝", "𝒫": "𝒫", "Ψ": "Ψ", '"': """, "𝔔": "𝔔", "ℚ": "ℚ", "𝒬": "𝒬", "⤐": "⤐", "®": "®", "Ŕ": "Ŕ", "⟫": "⟫", "↠": "↠", "⤖": "⤖", "Ř": "Ř", "Ŗ": "Ŗ", "Р": "Р", "ℜ": "ℜ", "∋": "∋", "⇋": "⇋", "⥯": "⥯", "Ρ": "Ρ", "⟩": "⟩", "→": "→", "⇥": "⇥", "⇄": "⇄", "⌉": "⌉", "⟧": "⟧", "⥝": "⥝", "⇂": "⇂", "⥕": "⥕", "⌋": "⌋", "⊢": "⊢", "↦": "↦", "⥛": "⥛", "⊳": "⊳", "⧐": "⧐", "⊵": "⊵", "⥏": "⥏", "⥜": "⥜", "↾": "↾", "⥔": "⥔", "⇀": "⇀", "⥓": "⥓", "ℝ": "ℝ", "⥰": "⥰", "⇛": "⇛", "ℛ": "ℛ", "↱": "↱", "⧴": "⧴", "Щ": "Щ", "Ш": "Ш", "Ь": "Ь", "Ś": "Ś", "⪼": "⪼", "Š": "Š", "Ş": "Ş", "Ŝ": "Ŝ", "С": "С", "𝔖": "𝔖", "↑": "↑", "Σ": "Σ", "∘": "∘", "𝕊": "𝕊", "√": "√", "□": "□", "⊓": "⊓", "⊏": "⊏", "⊑": "⊑", "⊐": "⊐", "⊒": "⊒", "⊔": "⊔", "𝒮": "𝒮", "⋆": "⋆", "⋐": "⋐", "⊆": "⊆", "≻": "≻", "⪰": "⪰", "≽": "≽", "≿": "≿", "∑": "∑", "⋑": "⋑", "⊃": "⊃", "⊇": "⊇", "Þ": "Þ", "™": "™", "Ћ": "Ћ", "Ц": "Ц", "\t": "	", "Τ": "Τ", "Ť": "Ť", "Ţ": "Ţ", "Т": "Т", "𝔗": "𝔗", "∴": "∴", "Θ": "Θ", " ": "  ", " ": " ", "∼": "∼", "≃": "≃", "≅": "≅", "≈": "≈", "𝕋": "𝕋", "⃛": "⃛", "𝒯": "𝒯", "Ŧ": "Ŧ", "Ú": "Ú", "↟": "↟", "⥉": "⥉", "Ў": "Ў", "Ŭ": "Ŭ", "Û": "Û", "У": "У", "Ű": "Ű", "𝔘": "𝔘", "Ù": "Ù", "Ū": "Ū", _: "_", "⏟": "⏟", "⎵": "⎵", "⏝": "⏝", "⋃": "⋃", "⊎": "⊎", "Ų": "Ų", "𝕌": "𝕌", "⤒": "⤒", "⇅": "⇅", "↕": "↕", "⥮": "⥮", "⊥": "⊥", "↥": "↥", "↖": "↖", "↗": "↗", "ϒ": "ϒ", "Υ": "Υ", "Ů": "Ů", "𝒰": "𝒰", "Ũ": "Ũ", "Ü": "Ü", "⊫": "⊫", "⫫": "⫫", "В": "В", "⊩": "⊩", "⫦": "⫦", "⋁": "⋁", "‖": "‖", "∣": "∣", "|": "|", "❘": "❘", "≀": "≀", " ": " ", "𝔙": "𝔙", "𝕍": "𝕍", "𝒱": "𝒱", "⊪": "⊪", "Ŵ": "Ŵ", "⋀": "⋀", "𝔚": "𝔚", "𝕎": "𝕎", "𝒲": "𝒲", "𝔛": "𝔛", "Ξ": "Ξ", "𝕏": "𝕏", "𝒳": "𝒳", "Я": "Я", "Ї": "Ї", "Ю": "Ю", "Ý": "Ý", "Ŷ": "Ŷ", "Ы": "Ы", "𝔜": "𝔜", "𝕐": "𝕐", "𝒴": "𝒴", "Ÿ": "Ÿ", "Ж": "Ж", "Ź": "Ź", "Ž": "Ž", "З": "З", "Ż": "Ż", "Ζ": "Ζ", "ℨ": "ℨ", "ℤ": "ℤ", "𝒵": "𝒵", "á": "á", "ă": "ă", "∾": "∾", "∾̳": "∾̳", "∿": "∿", "â": "â", "а": "а", "æ": "æ", "𝔞": "𝔞", "à": "à", "ℵ": "ℵ", "α": "α", "ā": "ā", "⨿": "⨿", "∧": "∧", "⩕": "⩕", "⩜": "⩜", "⩘": "⩘", "⩚": "⩚", "∠": "∠", "⦤": "⦤", "∡": "∡", "⦨": "⦨", "⦩": "⦩", "⦪": "⦪", "⦫": "⦫", "⦬": "⦬", "⦭": "⦭", "⦮": "⦮", "⦯": "⦯", "∟": "∟", "⊾": "⊾", "⦝": "⦝", "∢": "∢", "⍼": "⍼", "ą": "ą", "𝕒": "𝕒", "⩰": "⩰", "⩯": "⩯", "≊": "≊", "≋": "≋", "'": "'", "å": "å", "𝒶": "𝒶", "*": "*", "ã": "ã", "ä": "ä", "⨑": "⨑", "⫭": "⫭", "≌": "≌", "϶": "϶", "‵": "‵", "∽": "∽", "⋍": "⋍", "⊽": "⊽", "⌅": "⌅", "⎶": "⎶", "б": "б", "„": "„", "⦰": "⦰", "β": "β", "ℶ": "ℶ", "≬": "≬", "𝔟": "𝔟", "◯": "◯", "⨀": "⨀", "⨁": "⨁", "⨂": "⨂", "⨆": "⨆", "★": "★", "▽": "▽", "△": "△", "⨄": "⨄", "⤍": "⤍", "⧫": "⧫", "▴": "▴", "▾": "▾", "◂": "◂", "▸": "▸", "␣": "␣", "▒": "▒", "░": "░", "▓": "▓", "█": "█", "=⃥": "=⃥", "≡⃥": "≡⃥", "⌐": "⌐", "𝕓": "𝕓", "⋈": "⋈", "╗": "╗", "╔": "╔", "╖": "╖", "╓": "╓", "═": "═", "╦": "╦", "╩": "╩", "╤": "╤", "╧": "╧", "╝": "╝", "╚": "╚", "╜": "╜", "╙": "╙", "║": "║", "╬": "╬", "╣": "╣", "╠": "╠", "╫": "╫", "╢": "╢", "╟": "╟", "⧉": "⧉", "╕": "╕", "╒": "╒", "┐": "┐", "┌": "┌", "╥": "╥", "╨": "╨", "┬": "┬", "┴": "┴", "⊟": "⊟", "⊞": "⊞", "⊠": "⊠", "╛": "╛", "╘": "╘", "┘": "┘", "└": "└", "│": "│", "╪": "╪", "╡": "╡", "╞": "╞", "┼": "┼", "┤": "┤", "├": "├", "¦": "¦", "𝒷": "𝒷", "⁏": "⁏", "\\": "\", "⧅": "⧅", "⟈": "⟈", "•": "•", "⪮": "⪮", "ć": "ć", "∩": "∩", "⩄": "⩄", "⩉": "⩉", "⩋": "⩋", "⩇": "⩇", "⩀": "⩀", "∩︀": "∩︀", "⁁": "⁁", "⩍": "⩍", "č": "č", "ç": "ç", "ĉ": "ĉ", "⩌": "⩌", "⩐": "⩐", "ċ": "ċ", "⦲": "⦲", "¢": "¢", "𝔠": "𝔠", "ч": "ч", "✓": "✓", "χ": "χ", "○": "○", "⧃": "⧃", "ˆ": "ˆ", "≗": "≗", "↺": "↺", "↻": "↻", "Ⓢ": "Ⓢ", "⊛": "⊛", "⊚": "⊚", "⊝": "⊝", "⨐": "⨐", "⫯": "⫯", "⧂": "⧂", "♣": "♣", ":": ":", ",": ",", "@": "@", "∁": "∁", "⩭": "⩭", "𝕔": "𝕔", "℗": "℗", "↵": "↵", "✗": "✗", "𝒸": "𝒸", "⫏": "⫏", "⫑": "⫑", "⫐": "⫐", "⫒": "⫒", "⋯": "⋯", "⤸": "⤸", "⤵": "⤵", "⋞": "⋞", "⋟": "⋟", "↶": "↶", "⤽": "⤽", "∪": "∪", "⩈": "⩈", "⩆": "⩆", "⩊": "⩊", "⊍": "⊍", "⩅": "⩅", "∪︀": "∪︀", "↷": "↷", "⤼": "⤼", "⋎": "⋎", "⋏": "⋏", "¤": "¤", "∱": "∱", "⌭": "⌭", "⥥": "⥥", "†": "†", "ℸ": "ℸ", "‐": "‐", "⤏": "⤏", "ď": "ď", "д": "д", "⇊": "⇊", "⩷": "⩷", "°": "°", "δ": "δ", "⦱": "⦱", "⥿": "⥿", "𝔡": "𝔡", "♦": "♦", "ϝ": "ϝ", "⋲": "⋲", "÷": "÷", "⋇": "⋇", "ђ": "ђ", "⌞": "⌞", "⌍": "⌍", $: "$", "𝕕": "𝕕", "≑": "≑", "∸": "∸", "∔": "∔", "⊡": "⊡", "⌟": "⌟", "⌌": "⌌", "𝒹": "𝒹", "ѕ": "ѕ", "⧶": "⧶", "đ": "đ", "⋱": "⋱", "▿": "▿", "⦦": "⦦", "џ": "џ", "⟿": "⟿", "é": "é", "⩮": "⩮", "ě": "ě", "≖": "≖", "ê": "ê", "≕": "≕", "э": "э", "ė": "ė", "≒": "≒", "𝔢": "𝔢", "⪚": "⪚", "è": "è", "⪖": "⪖", "⪘": "⪘", "⪙": "⪙", "⏧": "⏧", "ℓ": "ℓ", "⪕": "⪕", "⪗": "⪗", "ē": "ē", "∅": "∅", " ": " ", " ": " ", " ": " ", "ŋ": "ŋ", " ": " ", "ę": "ę", "𝕖": "𝕖", "⋕": "⋕", "⧣": "⧣", "⩱": "⩱", "ε": "ε", "ϵ": "ϵ", "=": "=", "≟": "≟", "⩸": "⩸", "⧥": "⧥", "≓": "≓", "⥱": "⥱", "ℯ": "ℯ", "η": "η", "ð": "ð", "ë": "ë", "€": "€", "!": "!", "ф": "ф", "♀": "♀", "ffi": "ffi", "ff": "ff", "ffl": "ffl", "𝔣": "𝔣", "fi": "fi", fj: "fj", "♭": "♭", "fl": "fl", "▱": "▱", "ƒ": "ƒ", "𝕗": "𝕗", "⋔": "⋔", "⫙": "⫙", "⨍": "⨍", "½": "½", "⅓": "⅓", "¼": "¼", "⅕": "⅕", "⅙": "⅙", "⅛": "⅛", "⅔": "⅔", "⅖": "⅖", "¾": "¾", "⅗": "⅗", "⅜": "⅜", "⅘": "⅘", "⅚": "⅚", "⅝": "⅝", "⅞": "⅞", "⁄": "⁄", "⌢": "⌢", "𝒻": "𝒻", "⪌": "⪌", "ǵ": "ǵ", "γ": "γ", "⪆": "⪆", "ğ": "ğ", "ĝ": "ĝ", "г": "г", "ġ": "ġ", "⪩": "⪩", "⪀": "⪀", "⪂": "⪂", "⪄": "⪄", "⋛︀": "⋛︀", "⪔": "⪔", "𝔤": "𝔤", "ℷ": "ℷ", "ѓ": "ѓ", "⪒": "⪒", "⪥": "⪥", "⪤": "⪤", "≩": "≩", "⪊": "⪊", "⪈": "⪈", "⋧": "⋧", "𝕘": "𝕘", "ℊ": "ℊ", "⪎": "⪎", "⪐": "⪐", "⪧": "⪧", "⩺": "⩺", "⋗": "⋗", "⦕": "⦕", "⩼": "⩼", "⥸": "⥸", "≩︀": "≩︀", "ъ": "ъ", "⥈": "⥈", "↭": "↭", "ℏ": "ℏ", "ĥ": "ĥ", "♥": "♥", "…": "…", "⊹": "⊹", "𝔥": "𝔥", "⤥": "⤥", "⤦": "⤦", "⇿": "⇿", "∻": "∻", "↩": "↩", "↪": "↪", "𝕙": "𝕙", "―": "―", "𝒽": "𝒽", "ħ": "ħ", "⁃": "⁃", "í": "í", "î": "î", "и": "и", "е": "е", "¡": "¡", "𝔦": "𝔦", "ì": "ì", "⨌": "⨌", "∭": "∭", "⧜": "⧜", "℩": "℩", "ij": "ij", "ī": "ī", "ı": "ı", "⊷": "⊷", "Ƶ": "Ƶ", "℅": "℅", "∞": "∞", "⧝": "⧝", "⊺": "⊺", "⨗": "⨗", "⨼": "⨼", "ё": "ё", "į": "į", "𝕚": "𝕚", "ι": "ι", "¿": "¿", "𝒾": "𝒾", "⋹": "⋹", "⋵": "⋵", "⋴": "⋴", "⋳": "⋳", "ĩ": "ĩ", "і": "і", "ï": "ï", "ĵ": "ĵ", "й": "й", "𝔧": "𝔧", "ȷ": "ȷ", "𝕛": "𝕛", "𝒿": "𝒿", "ј": "ј", "є": "є", "κ": "κ", "ϰ": "ϰ", "ķ": "ķ", "к": "к", "𝔨": "𝔨", "ĸ": "ĸ", "х": "х", "ќ": "ќ", "𝕜": "𝕜", "𝓀": "𝓀", "⤛": "⤛", "⤎": "⤎", "⪋": "⪋", "⥢": "⥢", "ĺ": "ĺ", "⦴": "⦴", "λ": "λ", "⦑": "⦑", "⪅": "⪅", "«": "«", "⤟": "⤟", "⤝": "⤝", "↫": "↫", "⤹": "⤹", "⥳": "⥳", "↢": "↢", "⪫": "⪫", "⤙": "⤙", "⪭": "⪭", "⪭︀": "⪭︀", "⤌": "⤌", "❲": "❲", "{": "{", "[": "[", "⦋": "⦋", "⦏": "⦏", "⦍": "⦍", "ľ": "ľ", "ļ": "ļ", "л": "л", "⤶": "⤶", "⥧": "⥧", "⥋": "⥋", "↲": "↲", "≤": "≤", "⇇": "⇇", "⋋": "⋋", "⪨": "⪨", "⩿": "⩿", "⪁": "⪁", "⪃": "⪃", "⋚︀": "⋚︀", "⪓": "⪓", "⋖": "⋖", "⥼": "⥼", "𝔩": "𝔩", "⪑": "⪑", "⥪": "⥪", "▄": "▄", "љ": "љ", "⥫": "⥫", "◺": "◺", "ŀ": "ŀ", "⎰": "⎰", "≨": "≨", "⪉": "⪉", "⪇": "⪇", "⋦": "⋦", "⟬": "⟬", "⇽": "⇽", "⟼": "⟼", "↬": "↬", "⦅": "⦅", "𝕝": "𝕝", "⨭": "⨭", "⨴": "⨴", "∗": "∗", "◊": "◊", "(": "(", "⦓": "⦓", "⥭": "⥭", "": "‎", "⊿": "⊿", "‹": "‹", "𝓁": "𝓁", "⪍": "⪍", "⪏": "⪏", "‚": "‚", "ł": "ł", "⪦": "⪦", "⩹": "⩹", "⋉": "⋉", "⥶": "⥶", "⩻": "⩻", "⦖": "⦖", "◃": "◃", "⥊": "⥊", "⥦": "⥦", "≨︀": "≨︀", "∺": "∺", "¯": "¯", "♂": "♂", "✠": "✠", "▮": "▮", "⨩": "⨩", "м": "м", "—": "—", "𝔪": "𝔪", "℧": "℧", "µ": "µ", "⫰": "⫰", "−": "−", "⨪": "⨪", "⫛": "⫛", "⊧": "⊧", "𝕞": "𝕞", "𝓂": "𝓂", "μ": "μ", "⊸": "⊸", "⋙̸": "⋙̸", "≫⃒": "≫⃒", "⇍": "⇍", "⇎": "⇎", "⋘̸": "⋘̸", "≪⃒": "≪⃒", "⇏": "⇏", "⊯": "⊯", "⊮": "⊮", "ń": "ń", "∠⃒": "∠⃒", "⩰̸": "⩰̸", "≋̸": "≋̸", "ʼn": "ʼn", "♮": "♮", "⩃": "⩃", "ň": "ň", "ņ": "ņ", "⩭̸": "⩭̸", "⩂": "⩂", "н": "н", "–": "–", "⇗": "⇗", "⤤": "⤤", "≐̸": "≐̸", "⤨": "⤨", "𝔫": "𝔫", "↮": "↮", "⫲": "⫲", "⋼": "⋼", "⋺": "⋺", "њ": "њ", "≦̸": "≦̸", "↚": "↚", "‥": "‥", "𝕟": "𝕟", "¬": "¬", "⋹̸": "⋹̸", "⋵̸": "⋵̸", "⋷": "⋷", "⋶": "⋶", "⋾": "⋾", "⋽": "⋽", "⫽⃥": "⫽⃥", "∂̸": "∂̸", "⨔": "⨔", "↛": "↛", "⤳̸": "⤳̸", "↝̸": "↝̸", "𝓃": "𝓃", "⊄": "⊄", "⫅̸": "⫅̸", "⊅": "⊅", "⫆̸": "⫆̸", "ñ": "ñ", "ν": "ν", "#": "#", "№": "№", " ": " ", "⊭": "⊭", "⤄": "⤄", "≍⃒": "≍⃒", "⊬": "⊬", "≥⃒": "≥⃒", ">⃒": ">⃒", "⧞": "⧞", "⤂": "⤂", "≤⃒": "≤⃒", "<⃒": "<⃒", "⊴⃒": "⊴⃒", "⤃": "⤃", "⊵⃒": "⊵⃒", "∼⃒": "∼⃒", "⇖": "⇖", "⤣": "⤣", "⤧": "⤧", "ó": "ó", "ô": "ô", "о": "о", "ő": "ő", "⨸": "⨸", "⦼": "⦼", "œ": "œ", "⦿": "⦿", "𝔬": "𝔬", "˛": "˛", "ò": "ò", "⧁": "⧁", "⦵": "⦵", "⦾": "⦾", "⦻": "⦻", "⧀": "⧀", "ō": "ō", "ω": "ω", "ο": "ο", "⦶": "⦶", "𝕠": "𝕠", "⦷": "⦷", "⦹": "⦹", "∨": "∨", "⩝": "⩝", "ℴ": "ℴ", "ª": "ª", "º": "º", "⊶": "⊶", "⩖": "⩖", "⩗": "⩗", "⩛": "⩛", "ø": "ø", "⊘": "⊘", "õ": "õ", "⨶": "⨶", "ö": "ö", "⌽": "⌽", "¶": "¶", "⫳": "⫳", "⫽": "⫽", "п": "п", "%": "%", ".": ".", "‰": "‰", "‱": "‱", "𝔭": "𝔭", "φ": "φ", "ϕ": "ϕ", "☎": "☎", "π": "π", "ϖ": "ϖ", "ℎ": "ℎ", "+": "+", "⨣": "⨣", "⨢": "⨢", "⨥": "⨥", "⩲": "⩲", "⨦": "⨦", "⨧": "⨧", "⨕": "⨕", "𝕡": "𝕡", "£": "£", "⪳": "⪳", "⪷": "⪷", "⪹": "⪹", "⪵": "⪵", "⋨": "⋨", "′": "′", "⌮": "⌮", "⌒": "⌒", "⌓": "⌓", "⊰": "⊰", "𝓅": "𝓅", "ψ": "ψ", " ": " ", "𝔮": "𝔮", "𝕢": "𝕢", "⁗": "⁗", "𝓆": "𝓆", "⨖": "⨖", "?": "?", "⤜": "⤜", "⥤": "⥤", "∽̱": "∽̱", "ŕ": "ŕ", "⦳": "⦳", "⦒": "⦒", "⦥": "⦥", "»": "»", "⥵": "⥵", "⤠": "⤠", "⤳": "⤳", "⤞": "⤞", "⥅": "⥅", "⥴": "⥴", "↣": "↣", "↝": "↝", "⤚": "⤚", "∶": "∶", "❳": "❳", "}": "}", "]": "]", "⦌": "⦌", "⦎": "⦎", "⦐": "⦐", "ř": "ř", "ŗ": "ŗ", "р": "р", "⤷": "⤷", "⥩": "⥩", "↳": "↳", "▭": "▭", "⥽": "⥽", "𝔯": "𝔯", "⥬": "⥬", "ρ": "ρ", "ϱ": "ϱ", "⇉": "⇉", "⋌": "⋌", "˚": "˚", "": "‏", "⎱": "⎱", "⫮": "⫮", "⟭": "⟭", "⇾": "⇾", "⦆": "⦆", "𝕣": "𝕣", "⨮": "⨮", "⨵": "⨵", ")": ")", "⦔": "⦔", "⨒": "⨒", "›": "›", "𝓇": "𝓇", "⋊": "⋊", "▹": "▹", "⧎": "⧎", "⥨": "⥨", "℞": "℞", "ś": "ś", "⪴": "⪴", "⪸": "⪸", "š": "š", "ş": "ş", "ŝ": "ŝ", "⪶": "⪶", "⪺": "⪺", "⋩": "⋩", "⨓": "⨓", "с": "с", "⋅": "⋅", "⩦": "⩦", "⇘": "⇘", "§": "§", ";": ";", "⤩": "⤩", "✶": "✶", "𝔰": "𝔰", "♯": "♯", "щ": "щ", "ш": "ш", "": "­", "σ": "σ", "ς": "ς", "⩪": "⩪", "⪞": "⪞", "⪠": "⪠", "⪝": "⪝", "⪟": "⪟", "≆": "≆", "⨤": "⨤", "⥲": "⥲", "⨳": "⨳", "⧤": "⧤", "⌣": "⌣", "⪪": "⪪", "⪬": "⪬", "⪬︀": "⪬︀", "ь": "ь", "/": "/", "⧄": "⧄", "⌿": "⌿", "𝕤": "𝕤", "♠": "♠", "⊓︀": "⊓︀", "⊔︀": "⊔︀", "𝓈": "𝓈", "☆": "☆", "⊂": "⊂", "⫅": "⫅", "⪽": "⪽", "⫃": "⫃", "⫁": "⫁", "⫋": "⫋", "⊊": "⊊", "⪿": "⪿", "⥹": "⥹", "⫇": "⫇", "⫕": "⫕", "⫓": "⫓", "♪": "♪", "¹": "¹", "²": "²", "³": "³", "⫆": "⫆", "⪾": "⪾", "⫘": "⫘", "⫄": "⫄", "⟉": "⟉", "⫗": "⫗", "⥻": "⥻", "⫂": "⫂", "⫌": "⫌", "⊋": "⊋", "⫀": "⫀", "⫈": "⫈", "⫔": "⫔", "⫖": "⫖", "⇙": "⇙", "⤪": "⤪", "ß": "ß", "⌖": "⌖", "τ": "τ", "ť": "ť", "ţ": "ţ", "т": "т", "⌕": "⌕", "𝔱": "𝔱", "θ": "θ", "ϑ": "ϑ", "þ": "þ", "×": "×", "⨱": "⨱", "⨰": "⨰", "⌶": "⌶", "⫱": "⫱", "𝕥": "𝕥", "⫚": "⫚", "‴": "‴", "▵": "▵", "≜": "≜", "◬": "◬", "⨺": "⨺", "⨹": "⨹", "⧍": "⧍", "⨻": "⨻", "⏢": "⏢", "𝓉": "𝓉", "ц": "ц", "ћ": "ћ", "ŧ": "ŧ", "⥣": "⥣", "ú": "ú", "ў": "ў", "ŭ": "ŭ", "û": "û", "у": "у", "ű": "ű", "⥾": "⥾", "𝔲": "𝔲", "ù": "ù", "▀": "▀", "⌜": "⌜", "⌏": "⌏", "◸": "◸", "ū": "ū", "ų": "ų", "𝕦": "𝕦", "υ": "υ", "⇈": "⇈", "⌝": "⌝", "⌎": "⌎", "ů": "ů", "◹": "◹", "𝓊": "𝓊", "⋰": "⋰", "ũ": "ũ", "ü": "ü", "⦧": "⦧", "⫨": "⫨", "⫩": "⫩", "⦜": "⦜", "⊊︀": "⊊︀", "⫋︀": "⫋︀", "⊋︀": "⊋︀", "⫌︀": "⫌︀", "в": "в", "⊻": "⊻", "≚": "≚", "⋮": "⋮", "𝔳": "𝔳", "𝕧": "𝕧", "𝓋": "𝓋", "⦚": "⦚", "ŵ": "ŵ", "⩟": "⩟", "≙": "≙", "℘": "℘", "𝔴": "𝔴", "𝕨": "𝕨", "𝓌": "𝓌", "𝔵": "𝔵", "ξ": "ξ", "⋻": "⋻", "𝕩": "𝕩", "𝓍": "𝓍", "ý": "ý", "я": "я", "ŷ": "ŷ", "ы": "ы", "¥": "¥", "𝔶": "𝔶", "ї": "ї", "𝕪": "𝕪", "𝓎": "𝓎", "ю": "ю", "ÿ": "ÿ", "ź": "ź", "ž": "ž", "з": "з", "ż": "ż", "ζ": "ζ", "𝔷": "𝔷", "ж": "ж", "⇝": "⇝", "𝕫": "𝕫", "𝓏": "𝓏", "": "‍", "": "‌" } } }; /***/ }), /***/ "./node_modules/html-entities/lib/numeric-unicode-map.js": /*!***************************************************************!*\ !*** ./node_modules/html-entities/lib/numeric-unicode-map.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.numericUnicodeMap = { 0: 65533, 128: 8364, 130: 8218, 131: 402, 132: 8222, 133: 8230, 134: 8224, 135: 8225, 136: 710, 137: 8240, 138: 352, 139: 8249, 140: 338, 142: 381, 145: 8216, 146: 8217, 147: 8220, 148: 8221, 149: 8226, 150: 8211, 151: 8212, 152: 732, 153: 8482, 154: 353, 155: 8250, 156: 339, 158: 382, 159: 376 }; /***/ }), /***/ "./node_modules/html-entities/lib/surrogate-pairs.js": /*!***********************************************************!*\ !*** ./node_modules/html-entities/lib/surrogate-pairs.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.fromCodePoint = String.fromCodePoint || function (astralCodePoint) { return String.fromCharCode(Math.floor((astralCodePoint - 65536) / 1024) + 55296, (astralCodePoint - 65536) % 1024 + 56320); }; exports.getCodePoint = String.prototype.codePointAt ? function (input, position) { return input.codePointAt(position); } : function (input, position) { return (input.charCodeAt(position) - 55296) * 1024 + input.charCodeAt(position + 1) - 56320 + 65536; }; exports.highSurrogateFrom = 55296; exports.highSurrogateTo = 56319; /***/ }), /***/ "./node_modules/react-dom/cjs/react-dom-client.development.js": /*!********************************************************************!*\ !*** ./node_modules/react-dom/cjs/react-dom-client.development.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * @license React * react-dom-client.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* Modernizr 3.0.0pre (Custom Build) | MIT */ true && function () { function findHook(fiber, id) { for (fiber = fiber.memoizedState; null !== fiber && 0 < id;) fiber = fiber.next, id--; return fiber; } function copyWithSetImpl(obj, path, index, value) { if (index >= path.length) return value; var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj); updated[key] = copyWithSetImpl(obj[key], path, index + 1, value); return updated; } function copyWithRename(obj, oldPath, newPath) { if (oldPath.length !== newPath.length) console.warn("copyWithRename() expects paths of the same length");else { for (var i = 0; i < newPath.length - 1; i++) if (oldPath[i] !== newPath[i]) { console.warn("copyWithRename() expects paths to be the same except for the deepest key"); return; } return copyWithRenameImpl(obj, oldPath, newPath, 0); } } function copyWithRenameImpl(obj, oldPath, newPath, index) { var oldKey = oldPath[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj); index + 1 === oldPath.length ? (updated[newPath[index]] = updated[oldKey], isArrayImpl(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] = copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1); return updated; } function copyWithDeleteImpl(obj, path, index) { var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj); if (index + 1 === path.length) return isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key], updated; updated[key] = copyWithDeleteImpl(obj[key], path, index + 1); return updated; } function shouldSuspendImpl() { return !1; } function shouldErrorImpl() { return null; } function createFiber(tag, pendingProps, key, mode) { return new FiberNode(tag, pendingProps, key, mode); } function warnInvalidHookAccess() { console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"); } function warnInvalidContextAccess() { console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."); } function noop$2() {} function warnForMissingKey() {} function setToSortedString(set) { var array = []; set.forEach(function (value) { array.push(value); }); return array.sort().join(", "); } function scheduleRoot(root, element) { root.context === emptyContextObject && (updateContainerSync(element, root, null, null), flushSyncWork$1()); } function scheduleRefresh(root, update) { if (null !== resolveFamily) { var staleFamilies = update.staleFamilies; update = update.updatedFamilies; flushPassiveEffects(); scheduleFibersWithFamiliesRecursively(root.current, update, staleFamilies); flushSyncWork$1(); } } function setRefreshHandler(handler) { resolveFamily = handler; } function isValidContainer(node) { return !(!node || 1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType); } function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } function getComponentNameFromType(type) { if (null == type) return null; if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PORTAL_TYPE: return "Portal"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; } if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) { case REACT_CONTEXT_TYPE: return (type.displayName || "Context") + ".Provider"; case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type.render; type = type.displayName; type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); return type; case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; case REACT_LAZY_TYPE: innerType = type._payload; type = type._init; try { return getComponentNameFromType(type(innerType)); } catch (x) {} } return null; } function getComponentNameFromOwner(owner) { return "number" === typeof owner.tag ? getComponentNameFromFiber(owner) : "string" === typeof owner.name ? owner.name : null; } function getComponentNameFromFiber(fiber) { var type = fiber.type; switch (fiber.tag) { case 24: return "Cache"; case 9: return (type._context.displayName || "Context") + ".Consumer"; case 10: return (type.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return fiber = type.render, fiber = fiber.displayName || fiber.name || "", type.displayName || ("" !== fiber ? "ForwardRef(" + fiber + ")" : "ForwardRef"); case 7: return "Fragment"; case 26: case 27: case 5: return type; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return getComponentNameFromType(type); case 8: return type === REACT_STRICT_MODE_TYPE ? "StrictMode" : "Mode"; case 22: return "Offscreen"; case 12: return "Profiler"; case 21: return "Scope"; case 13: return "Suspense"; case 19: return "SuspenseList"; case 25: return "TracingMarker"; case 1: case 0: case 14: case 15: if ("function" === typeof type) return type.displayName || type.name || null; if ("string" === typeof type) return type; break; case 29: type = fiber._debugInfo; if (null != type) for (var i = type.length - 1; 0 <= i; i--) if ("string" === typeof type[i].name) return type[i].name; if (null !== fiber.return) return getComponentNameFromFiber(fiber.return); } return null; } function disabledLog() {} function disableLogs() { if (0 === disabledDepth) { prevLog = console.log; prevInfo = console.info; prevWarn = console.warn; prevError = console.error; prevGroup = console.group; prevGroupCollapsed = console.groupCollapsed; prevGroupEnd = console.groupEnd; var props = { configurable: !0, enumerable: !0, value: disabledLog, writable: !0 }; Object.defineProperties(console, { info: props, log: props, warn: props, error: props, group: props, groupCollapsed: props, groupEnd: props }); } disabledDepth++; } function reenableLogs() { disabledDepth--; if (0 === disabledDepth) { var props = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: assign({}, props, { value: prevLog }), info: assign({}, props, { value: prevInfo }), warn: assign({}, props, { value: prevWarn }), error: assign({}, props, { value: prevError }), group: assign({}, props, { value: prevGroup }), groupCollapsed: assign({}, props, { value: prevGroupCollapsed }), groupEnd: assign({}, props, { value: prevGroupEnd }) }); } 0 > disabledDepth && console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = match && match[1] || ""; suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix; } function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; var frame = componentFrameCache.get(fn); if (void 0 !== frame) return frame; reentry = !0; frame = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var previousDispatcher = null; previousDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = null; disableLogs(); try { var RunInRootFrame = { DetermineComponentFrameRoot: function () { try { if (construct) { var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function () { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$0) { control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$1) { control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function () {}); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name"); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" }); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++; for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");) _RunInRootFrame$Deter++; if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];) _RunInRootFrame$Deter--; for (; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--) if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) { do if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { var _frame = "\n" + sampleLines[namePropDescriptor].replace(" at new ", " at "); fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName)); "function" === typeof fn && componentFrameCache.set(fn, _frame); return _frame; } while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter); } break; } } } finally { reentry = !1, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame; } sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : ""; "function" === typeof fn && componentFrameCache.set(fn, sampleLines); return sampleLines; } function describeFiber(fiber) { switch (fiber.tag) { case 26: case 27: case 5: return describeBuiltInComponentFrame(fiber.type); case 16: return describeBuiltInComponentFrame("Lazy"); case 13: return describeBuiltInComponentFrame("Suspense"); case 19: return describeBuiltInComponentFrame("SuspenseList"); case 0: case 15: return fiber = describeNativeComponentFrame(fiber.type, !1), fiber; case 11: return fiber = describeNativeComponentFrame(fiber.type.render, !1), fiber; case 1: return fiber = describeNativeComponentFrame(fiber.type, !0), fiber; default: return ""; } } function getStackByFiberInDevAndProd(workInProgress) { try { var info = ""; do { info += describeFiber(workInProgress); var debugInfo = workInProgress._debugInfo; if (debugInfo) for (var i = debugInfo.length - 1; 0 <= i; i--) { var entry = debugInfo[i]; if ("string" === typeof entry.name) { var JSCompiler_temp_const = info, env = entry.env; var JSCompiler_inline_result = describeBuiltInComponentFrame(entry.name + (env ? " [" + env + "]" : "")); info = JSCompiler_temp_const + JSCompiler_inline_result; } } workInProgress = workInProgress.return; } while (workInProgress); return info; } catch (x) { return "\nError generating stack: " + x.message + "\n" + x.stack; } } function getCurrentFiberOwnerNameInDevOrNull() { if (null === current) return null; var owner = current._debugOwner; return null != owner ? getComponentNameFromOwner(owner) : null; } function getCurrentFiberStackInDev() { return null === current ? "" : getStackByFiberInDevAndProd(current); } function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) { var previousFiber = current; ReactSharedInternals.getCurrentStack = null === fiber ? null : getCurrentFiberStackInDev; isRendering = !1; current = fiber; try { return callback(arg0, arg1, arg2, arg3, arg4); } finally { current = previousFiber; } throw Error("runWithFiberInDEV should never be called in production. This is a bug in React."); } function getNearestMountedFiber(fiber) { var node = fiber, nearestMounted = fiber; if (fiber.alternate) for (; node.return;) node = node.return;else { fiber = node; do node = fiber, 0 !== (node.flags & 4098) && (nearestMounted = node.return), fiber = node.return; while (fiber); } return 3 === node.tag ? nearestMounted : null; } function getSuspenseInstanceFromFiber(fiber) { if (13 === fiber.tag) { var suspenseState = fiber.memoizedState; null === suspenseState && (fiber = fiber.alternate, null !== fiber && (suspenseState = fiber.memoizedState)); if (null !== suspenseState) return suspenseState.dehydrated; } return null; } function assertIsMounted(fiber) { if (getNearestMountedFiber(fiber) !== fiber) throw Error("Unable to find node on an unmounted component."); } function findCurrentFiberUsingSlowPath(fiber) { var alternate = fiber.alternate; if (!alternate) { alternate = getNearestMountedFiber(fiber); if (null === alternate) throw Error("Unable to find node on an unmounted component."); return alternate !== fiber ? null : fiber; } for (var a = fiber, b = alternate;;) { var parentA = a.return; if (null === parentA) break; var parentB = parentA.alternate; if (null === parentB) { b = parentA.return; if (null !== b) { a = b; continue; } break; } if (parentA.child === parentB.child) { for (parentB = parentA.child; parentB;) { if (parentB === a) return assertIsMounted(parentA), fiber; if (parentB === b) return assertIsMounted(parentA), alternate; parentB = parentB.sibling; } throw Error("Unable to find node on an unmounted component."); } if (a.return !== b.return) a = parentA, b = parentB;else { for (var didFindChild = !1, _child = parentA.child; _child;) { if (_child === a) { didFindChild = !0; a = parentA; b = parentB; break; } if (_child === b) { didFindChild = !0; b = parentA; a = parentB; break; } _child = _child.sibling; } if (!didFindChild) { for (_child = parentB.child; _child;) { if (_child === a) { didFindChild = !0; a = parentB; b = parentA; break; } if (_child === b) { didFindChild = !0; b = parentB; a = parentA; break; } _child = _child.sibling; } if (!didFindChild) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."); } } if (a.alternate !== b) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."); } if (3 !== a.tag) throw Error("Unable to find node on an unmounted component."); return a.stateNode.current === a ? fiber : alternate; } function findCurrentHostFiberImpl(node) { var tag = node.tag; if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node; for (node = node.child; null !== node;) { tag = findCurrentHostFiberImpl(node); if (null !== tag) return tag; node = node.sibling; } return null; } function createCursor(defaultValue) { return { current: defaultValue }; } function pop(cursor, fiber) { 0 > index$jscomp$0 ? console.error("Unexpected pop.") : (fiber !== fiberStack[index$jscomp$0] && console.error("Unexpected Fiber popped."), cursor.current = valueStack[index$jscomp$0], valueStack[index$jscomp$0] = null, fiberStack[index$jscomp$0] = null, index$jscomp$0--); } function push(cursor, value, fiber) { index$jscomp$0++; valueStack[index$jscomp$0] = cursor.current; fiberStack[index$jscomp$0] = fiber; cursor.current = value; } function requiredContext(c) { null === c && console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."); return c; } function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance, fiber); push(contextFiberStackCursor, fiber, fiber); push(contextStackCursor, null, fiber); var nextRootContext = nextRootInstance.nodeType; switch (nextRootContext) { case 9: case 11: nextRootContext = 9 === nextRootContext ? "#document" : "#fragment"; nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) ? (nextRootInstance = nextRootInstance.namespaceURI) ? getOwnHostContext(nextRootInstance) : HostContextNamespaceNone : HostContextNamespaceNone; break; default: if (nextRootInstance = 8 === nextRootContext ? nextRootInstance.parentNode : nextRootInstance, nextRootContext = nextRootInstance.tagName, nextRootInstance = nextRootInstance.namespaceURI) nextRootInstance = getOwnHostContext(nextRootInstance), nextRootInstance = getChildHostContextProd(nextRootInstance, nextRootContext);else switch (nextRootContext) { case "svg": nextRootInstance = HostContextNamespaceSvg; break; case "math": nextRootInstance = HostContextNamespaceMath; break; default: nextRootInstance = HostContextNamespaceNone; } } nextRootContext = nextRootContext.toLowerCase(); nextRootContext = updatedAncestorInfoDev(null, nextRootContext); nextRootContext = { context: nextRootInstance, ancestorInfo: nextRootContext }; pop(contextStackCursor, fiber); push(contextStackCursor, nextRootContext, fiber); } function popHostContainer(fiber) { pop(contextStackCursor, fiber); pop(contextFiberStackCursor, fiber); pop(rootInstanceStackCursor, fiber); } function getHostContext() { return requiredContext(contextStackCursor.current); } function pushHostContext(fiber) { null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber, fiber); var context = requiredContext(contextStackCursor.current); var type = fiber.type; var nextContext = getChildHostContextProd(context.context, type); type = updatedAncestorInfoDev(context.ancestorInfo, type); nextContext = { context: nextContext, ancestorInfo: type }; context !== nextContext && (push(contextFiberStackCursor, fiber, fiber), push(contextStackCursor, nextContext, fiber)); } function popHostContext(fiber) { contextFiberStackCursor.current === fiber && (pop(contextStackCursor, fiber), pop(contextFiberStackCursor, fiber)); hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor, fiber), HostTransitionContext._currentValue = NotPendingTransition); } function typeName(value) { return "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; } function willCoercionThrow(value) { try { return testStringCoercion(value), !1; } catch (e) { return !0; } } function testStringCoercion(value) { return "" + value; } function checkAttributeStringCoercion(value, attributeName) { if (willCoercionThrow(value)) return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.", attributeName, typeName(value)), testStringCoercion(value); } function checkCSSPropertyStringCoercion(value, propName) { if (willCoercionThrow(value)) return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.", propName, typeName(value)), testStringCoercion(value); } function checkFormFieldValueStringCoercion(value) { if (willCoercionThrow(value)) return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.", typeName(value)), testStringCoercion(value); } function injectInternals(internals) { if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__; if (hook.isDisabled) return !0; if (!hook.supportsFiber) return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"), !0; try { rendererID = hook.inject(internals), injectedHook = hook; } catch (err) { console.error("React instrumentation encountered an error: %s.", err); } return hook.checkDCE ? !0 : !1; } function onCommitRoot$1(root, eventPriority) { if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot) try { var didError = 128 === (root.current.flags & 128); switch (eventPriority) { case DiscreteEventPriority: var schedulerPriority = ImmediatePriority; break; case ContinuousEventPriority: schedulerPriority = UserBlockingPriority; break; case DefaultEventPriority: schedulerPriority = NormalPriority$1; break; case IdleEventPriority: schedulerPriority = IdlePriority; break; default: schedulerPriority = NormalPriority$1; } injectedHook.onCommitFiberRoot(rendererID, root, schedulerPriority, didError); } catch (err) { hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %s", err)); } } function setIsStrictModeForDevtools(newIsStrictMode) { "function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode); if (injectedHook && "function" === typeof injectedHook.setStrictMode) try { injectedHook.setStrictMode(rendererID, newIsStrictMode); } catch (err) { hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %s", err)); } } function injectProfilingHooks(profilingHooks) { injectedProfilingHooks = profilingHooks; } function markCommitStopped() { null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStopped && injectedProfilingHooks.markCommitStopped(); } function markComponentRenderStarted(fiber) { null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentRenderStarted && injectedProfilingHooks.markComponentRenderStarted(fiber); } function markComponentRenderStopped() { null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentRenderStopped && injectedProfilingHooks.markComponentRenderStopped(); } function markRenderStarted(lanes) { null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markRenderStarted && injectedProfilingHooks.markRenderStarted(lanes); } function markRenderStopped() { null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markRenderStopped && injectedProfilingHooks.markRenderStopped(); } function markStateUpdateScheduled(fiber, lane) { null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markStateUpdateScheduled && injectedProfilingHooks.markStateUpdateScheduled(fiber, lane); } function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : 31 - (log(x) / LN2 | 0) | 0; } function getLabelForLane(lane) { if (lane & 1) return "SyncHydrationLane"; if (lane & 2) return "Sync"; if (lane & 4) return "InputContinuousHydration"; if (lane & 8) return "InputContinuous"; if (lane & 16) return "DefaultHydration"; if (lane & 32) return "Default"; if (lane & 64) return "TransitionHydration"; if (lane & 4194176) return "Transition"; if (lane & 62914560) return "Retry"; if (lane & 67108864) return "SelectiveHydration"; if (lane & 134217728) return "IdleHydration"; if (lane & 268435456) return "Idle"; if (lane & 536870912) return "Offscreen"; if (lane & 1073741824) return "Deferred"; } function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; if (0 !== pendingSyncLanes) return pendingSyncLanes; switch (lanes & -lanes) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: return 64; case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return lanes & 4194176; case 4194304: case 8388608: case 16777216: case 33554432: return lanes & 62914560; case 67108864: return 67108864; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 0; default: return console.error("Should have found matching lanes. This is a bug in React."), lanes; } } function getNextLanes(root, wipLanes) { var pendingLanes = root.pendingLanes; if (0 === pendingLanes) return 0; var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, warmLanes = root.warmLanes; root = 0 !== root.finishedLanes; var nonIdlePendingLanes = pendingLanes & 134217727; 0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : root || (warmLanes = nonIdlePendingLanes & ~warmLanes, 0 !== warmLanes && (nextLanes = getHighestPriorityLanes(warmLanes))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : root || (warmLanes = pendingLanes & ~warmLanes, 0 !== warmLanes && (nextLanes = getHighestPriorityLanes(warmLanes)))); return 0 === nextLanes ? 0 : 0 !== wipLanes && wipLanes !== nextLanes && 0 === (wipLanes & suspendedLanes) && (suspendedLanes = nextLanes & -nextLanes, warmLanes = wipLanes & -wipLanes, suspendedLanes >= warmLanes || 32 === suspendedLanes && 0 !== (warmLanes & 4194176)) ? wipLanes : nextLanes; } function checkIfRootIsPrerendering(root, renderLanes) { return 0 === (root.pendingLanes & ~(root.suspendedLanes & ~root.pingedLanes) & renderLanes); } function computeExpirationTime(lane, currentTime) { switch (lane) { case 1: case 2: case 4: case 8: return currentTime + 250; case 16: case 32: case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return currentTime + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: return -1; case 67108864: case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return console.error("Should have found matching lanes. This is a bug in React."), -1; } } function claimNextTransitionLane() { var lane = nextTransitionLane; nextTransitionLane <<= 1; 0 === (nextTransitionLane & 4194176) && (nextTransitionLane = 128); return lane; } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304); return lane; } function createLaneMap(initial) { for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial); return laneMap; } function markRootUpdated$1(root, updateLane) { root.pendingLanes |= updateLane; 268435456 !== updateLane && (root.suspendedLanes = 0, root.pingedLanes = 0, root.warmLanes = 0); } function markRootFinished(root, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes) { var previouslyPendingLanes = root.pendingLanes; root.pendingLanes = remainingLanes; root.suspendedLanes = 0; root.pingedLanes = 0; root.warmLanes = 0; root.expiredLanes &= remainingLanes; root.entangledLanes &= remainingLanes; root.errorRecoveryDisabledLanes &= remainingLanes; root.shellSuspendCounter = 0; var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates; for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) { var index = 31 - clz32(remainingLanes), lane = 1 << index; entanglements[index] = 0; expirationTimes[index] = -1; var hiddenUpdatesForLane = hiddenUpdates[index]; if (null !== hiddenUpdatesForLane) for (hiddenUpdates[index] = null, index = 0; index < hiddenUpdatesForLane.length; index++) { var update = hiddenUpdatesForLane[index]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; } 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0); 0 !== suspendedRetryLanes && 0 === updatedLanes && 0 !== root.tag && (root.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes)); } function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.pendingLanes |= spawnedLane; root.suspendedLanes &= ~spawnedLane; var spawnedLaneIndex = 31 - clz32(spawnedLane); root.entangledLanes |= spawnedLane; root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | entangledLanes & 4194218; } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = root.entangledLanes |= entangledLanes; for (root = root.entanglements; rootEntangledLanes;) { var index = 31 - clz32(rootEntangledLanes), lane = 1 << index; lane & entangledLanes | root[index] & entangledLanes && (root[index] |= entangledLanes); rootEntangledLanes &= ~lane; } } function addFiberToLanesMap(root, fiber, lanes) { if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes;) { var index = 31 - clz32(lanes), lane = 1 << index; root[index].add(fiber); lanes &= ~lane; } } function movePendingFibersToMemoized(root, lanes) { if (isDevToolsPresent) for (var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap, memoizedUpdaters = root.memoizedUpdaters; 0 < lanes;) { var index = 31 - clz32(lanes); root = 1 << index; index = pendingUpdatersLaneMap[index]; 0 < index.size && (index.forEach(function (fiber) { var alternate = fiber.alternate; null !== alternate && memoizedUpdaters.has(alternate) || memoizedUpdaters.add(fiber); }), index.clear()); lanes &= ~root; } } function lanesToEventPriority(lanes) { lanes &= -lanes; return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes ? 0 !== ContinuousEventPriority && ContinuousEventPriority < lanes ? 0 !== (lanes & 134217727) ? DefaultEventPriority : IdleEventPriority : ContinuousEventPriority : DiscreteEventPriority; } function resolveUpdatePriority() { var updatePriority = ReactDOMSharedInternals.p; if (0 !== updatePriority) return updatePriority; updatePriority = window.event; return void 0 === updatePriority ? DefaultEventPriority : getEventPriority(updatePriority.type); } function runWithPriority(priority, fn) { var previousPriority = ReactDOMSharedInternals.p; try { return ReactDOMSharedInternals.p = priority, fn(); } finally { ReactDOMSharedInternals.p = previousPriority; } } function detachDeletedInstance(node) { delete node[internalInstanceKey]; delete node[internalPropsKey]; delete node[internalEventHandlersKey]; delete node[internalEventHandlerListenersKey]; delete node[internalEventHandlesSetKey]; } function getClosestInstanceFromNode(targetNode) { var targetInst = targetNode[internalInstanceKey]; if (targetInst) return targetInst; for (var parentNode = targetNode.parentNode; parentNode;) { if (targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) { parentNode = targetInst.alternate; if (null !== targetInst.child || null !== parentNode && null !== parentNode.child) for (targetNode = getParentSuspenseInstance(targetNode); null !== targetNode;) { if (parentNode = targetNode[internalInstanceKey]) return parentNode; targetNode = getParentSuspenseInstance(targetNode); } return targetInst; } targetNode = parentNode; parentNode = targetNode.parentNode; } return null; } function getInstanceFromNode(node) { if (node = node[internalInstanceKey] || node[internalContainerInstanceKey]) { var tag = node.tag; if (5 === tag || 6 === tag || 13 === tag || 26 === tag || 27 === tag || 3 === tag) return node; } return null; } function getNodeFromInstance(inst) { var tag = inst.tag; if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode; throw Error("getNodeFromInstance: Invalid argument."); } function getResourcesFromRoot(root) { var resources = root[internalRootNodeResourcesKey]; resources || (resources = root[internalRootNodeResourcesKey] = { hoistableStyles: new Map(), hoistableScripts: new Map() }); return resources; } function markNodeAsHoistable(node) { node[internalHoistableMarker] = !0; } function registerTwoPhaseEvent(registrationName, dependencies) { registerDirectEvent(registrationName, dependencies); registerDirectEvent(registrationName + "Capture", dependencies); } function registerDirectEvent(registrationName, dependencies) { registrationNameDependencies[registrationName] && console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", registrationName); registrationNameDependencies[registrationName] = dependencies; var lowerCasedName = registrationName.toLowerCase(); possibleRegistrationNames[lowerCasedName] = registrationName; "onDoubleClick" === registrationName && (possibleRegistrationNames.ondblclick = registrationName); for (registrationName = 0; registrationName < dependencies.length; registrationName++) allNativeEvents.add(dependencies[registrationName]); } function checkControlledValueProps(tagName, props) { hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || null == props.value || ("select" === tagName ? console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.") : console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")); props.onChange || props.readOnly || props.disabled || null == props.checked || console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."); } function isAttributeNameSafe(attributeName) { if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return !0; if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1; if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return validatedAttributeNameCache[attributeName] = !0; illegalAttributeNameCache[attributeName] = !0; console.error("Invalid attribute name: `%s`", attributeName); return !1; } function getValueForAttributeOnCustomComponent(node, name, expected) { if (isAttributeNameSafe(name)) { if (!node.hasAttribute(name)) { switch (typeof expected) { case "symbol": case "object": return expected; case "function": return expected; case "boolean": if (!1 === expected) return expected; } return void 0 === expected ? void 0 : null; } node = node.getAttribute(name); if ("" === node && !0 === expected) return !0; checkAttributeStringCoercion(expected, name); return node === "" + expected ? expected : node; } } function setValueForAttribute(node, name, value) { if (isAttributeNameSafe(name)) if (null === value) node.removeAttribute(name);else { switch (typeof value) { case "undefined": case "function": case "symbol": node.removeAttribute(name); return; case "boolean": var prefix = name.toLowerCase().slice(0, 5); if ("data-" !== prefix && "aria-" !== prefix) { node.removeAttribute(name); return; } } checkAttributeStringCoercion(value, name); node.setAttribute(name, "" + value); } } function setValueForKnownAttribute(node, name, value) { if (null === value) node.removeAttribute(name);else { switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": node.removeAttribute(name); return; } checkAttributeStringCoercion(value, name); node.setAttribute(name, "" + value); } } function setValueForNamespacedAttribute(node, namespace, name, value) { if (null === value) node.removeAttribute(name);else { switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": node.removeAttribute(name); return; } checkAttributeStringCoercion(value, name); node.setAttributeNS(namespace, name, "" + value); } } function getToStringValue(value) { switch (typeof value) { case "bigint": case "boolean": case "number": case "string": case "undefined": return value; case "object": return checkFormFieldValueStringCoercion(value), value; default: return ""; } } function isCheckable(elem) { var type = elem.type; return (elem = elem.nodeName) && "input" === elem.toLowerCase() && ("checkbox" === type || "radio" === type); } function trackValueOnNode(node) { var valueField = isCheckable(node) ? "checked" : "value", descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField); checkFormFieldValueStringCoercion(node[valueField]); var currentValue = "" + node[valueField]; if (!node.hasOwnProperty(valueField) && "undefined" !== typeof descriptor && "function" === typeof descriptor.get && "function" === typeof descriptor.set) { var get = descriptor.get, set = descriptor.set; Object.defineProperty(node, valueField, { configurable: !0, get: function () { return get.call(this); }, set: function (value) { checkFormFieldValueStringCoercion(value); currentValue = "" + value; set.call(this, value); } }); Object.defineProperty(node, valueField, { enumerable: descriptor.enumerable }); return { getValue: function () { return currentValue; }, setValue: function (value) { checkFormFieldValueStringCoercion(value); currentValue = "" + value; }, stopTracking: function () { node._valueTracker = null; delete node[valueField]; } }; } } function track(node) { node._valueTracker || (node._valueTracker = trackValueOnNode(node)); } function updateValueIfChanged(node) { if (!node) return !1; var tracker = node._valueTracker; if (!tracker) return !0; var lastValue = tracker.getValue(); var value = ""; node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value); node = value; return node !== lastValue ? (tracker.setValue(node), !0) : !1; } function getActiveElement(doc) { doc = doc || ("undefined" !== typeof document ? document : void 0); if ("undefined" === typeof doc) return null; try { return doc.activeElement || doc.body; } catch (e) { return doc.body; } } function escapeSelectorAttributeValueInsideDoubleQuotes(value) { return value.replace(escapeSelectorAttributeValueInsideDoubleQuotesRegex, function (ch) { return "\\" + ch.charCodeAt(0).toString(16) + " "; }); } function validateInputProps(element, props) { void 0 === props.checked || void 0 === props.defaultChecked || didWarnCheckedDefaultChecked || (console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type), didWarnCheckedDefaultChecked = !0); void 0 === props.value || void 0 === props.defaultValue || didWarnValueDefaultValue$1 || (console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type), didWarnValueDefaultValue$1 = !0); } function updateInput(element, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name) { element.name = ""; null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type ? (checkAttributeStringCoercion(type, "type"), element.type = type) : element.removeAttribute("type"); if (null != value) { if ("number" === type) { if (0 === value && "" === element.value || element.value != value) element.value = "" + getToStringValue(value); } else element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value)); } else "submit" !== type && "reset" !== type || element.removeAttribute("value"); null != value ? setDefaultValue(element, type, getToStringValue(value)) : null != defaultValue ? setDefaultValue(element, type, getToStringValue(defaultValue)) : null != lastDefaultValue && element.removeAttribute("value"); null == checked && null != defaultChecked && (element.defaultChecked = !!defaultChecked); null != checked && (element.checked = checked && "function" !== typeof checked && "symbol" !== typeof checked); null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name ? (checkAttributeStringCoercion(name, "name"), element.name = "" + getToStringValue(name)) : element.removeAttribute("name"); } function initInput(element, value, defaultValue, checked, defaultChecked, type, name, isHydrating) { null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type && (checkAttributeStringCoercion(type, "type"), element.type = type); if (null != value || null != defaultValue) { if (!("submit" !== type && "reset" !== type || void 0 !== value && null !== value)) return; defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; value = null != value ? "" + getToStringValue(value) : defaultValue; isHydrating || value === element.value || (element.value = value); element.defaultValue = value; } checked = null != checked ? checked : defaultChecked; checked = "function" !== typeof checked && "symbol" !== typeof checked && !!checked; element.checked = isHydrating ? element.checked : !!checked; element.defaultChecked = !!checked; null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name && (checkAttributeStringCoercion(name, "name"), element.name = name); } function setDefaultValue(node, type, value) { "number" === type && getActiveElement(node.ownerDocument) === node || node.defaultValue === "" + value || (node.defaultValue = "" + value); } function validateOptionProps(element, props) { null == props.value && ("object" === typeof props.children && null !== props.children ? React.Children.forEach(props.children, function (child) { null == child || "string" === typeof child || "number" === typeof child || "bigint" === typeof child || didWarnInvalidChild || (didWarnInvalidChild = !0, console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")); }) : null == props.dangerouslySetInnerHTML || didWarnInvalidInnerHTML || (didWarnInvalidInnerHTML = !0, console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))); null == props.selected || didWarnSelectedSetOnOption || (console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), didWarnSelectedSetOnOption = !0); } function getDeclarationErrorAddendum() { var ownerName = getCurrentFiberOwnerNameInDevOrNull(); return ownerName ? "\n\nCheck the render method of `" + ownerName + "`." : ""; } function updateOptions(node, multiple, propValue, setDefaultSelected) { node = node.options; if (multiple) { multiple = {}; for (var i = 0; i < propValue.length; i++) multiple["$" + propValue[i]] = !0; for (propValue = 0; propValue < node.length; propValue++) i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = !0); } else { propValue = "" + getToStringValue(propValue); multiple = null; for (i = 0; i < node.length; i++) { if (node[i].value === propValue) { node[i].selected = !0; setDefaultSelected && (node[i].defaultSelected = !0); return; } null !== multiple || node[i].disabled || (multiple = node[i]); } null !== multiple && (multiple.selected = !0); } } function validateSelectProps(element, props) { for (element = 0; element < valuePropNames.length; element++) { var propName = valuePropNames[element]; if (null != props[propName]) { var propNameIsArray = isArrayImpl(props[propName]); props.multiple && !propNameIsArray ? console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s", propName, getDeclarationErrorAddendum()) : !props.multiple && propNameIsArray && console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s", propName, getDeclarationErrorAddendum()); } } void 0 === props.value || void 0 === props.defaultValue || didWarnValueDefaultValue || (console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"), didWarnValueDefaultValue = !0); } function validateTextareaProps(element, props) { void 0 === props.value || void 0 === props.defaultValue || didWarnValDefaultVal || (console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component"), didWarnValDefaultVal = !0); null != props.children && null == props.value && console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."); } function updateTextarea(element, value, defaultValue) { if (null != value && (value = "" + getToStringValue(value), value !== element.value && (element.value = value), null == defaultValue)) { element.defaultValue !== value && (element.defaultValue = value); return; } element.defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; } function initTextarea(element, value, defaultValue, children) { if (null == value) { if (null != children) { if (null != defaultValue) throw Error("If you supply `defaultValue` on a <textarea>, do not pass children."); if (isArrayImpl(children)) { if (1 < children.length) throw Error("<textarea> can only have at most one child."); children = children[0]; } defaultValue = children; } null == defaultValue && (defaultValue = ""); value = defaultValue; } defaultValue = getToStringValue(value); element.defaultValue = defaultValue; children = element.textContent; children === defaultValue && "" !== children && null !== children && (element.value = children); } function findNotableNode(node, indent) { return void 0 === node.serverProps && 0 === node.serverTail.length && 1 === node.children.length && 3 < node.distanceFromLeaf && node.distanceFromLeaf > 15 - indent ? findNotableNode(node.children[0], indent) : node; } function indentation(indent) { return " " + " ".repeat(indent); } function added(indent) { return "+ " + " ".repeat(indent); } function removed(indent) { return "- " + " ".repeat(indent); } function describeFiberType(fiber) { switch (fiber.tag) { case 26: case 27: case 5: return fiber.type; case 16: return "Lazy"; case 13: return "Suspense"; case 19: return "SuspenseList"; case 0: case 15: return fiber = fiber.type, fiber.displayName || fiber.name || null; case 11: return fiber = fiber.type.render, fiber.displayName || fiber.name || null; case 1: return fiber = fiber.type, fiber.displayName || fiber.name || null; default: return null; } } function describeTextNode(content, maxLength) { return needsEscaping.test(content) ? (content = JSON.stringify(content), content.length > maxLength - 2 ? 8 > maxLength ? '{"..."}' : "{" + content.slice(0, maxLength - 7) + '..."}' : "{" + content + "}") : content.length > maxLength ? 5 > maxLength ? '{"..."}' : content.slice(0, maxLength - 3) + "..." : content; } function describeTextDiff(clientText, serverProps, indent) { var maxLength = 120 - 2 * indent; if (null === serverProps) return added(indent) + describeTextNode(clientText, maxLength) + "\n"; if ("string" === typeof serverProps) { for (var firstDiff = 0; firstDiff < serverProps.length && firstDiff < clientText.length && serverProps.charCodeAt(firstDiff) === clientText.charCodeAt(firstDiff); firstDiff++); firstDiff > maxLength - 8 && 10 < firstDiff && (clientText = "..." + clientText.slice(firstDiff - 8), serverProps = "..." + serverProps.slice(firstDiff - 8)); return added(indent) + describeTextNode(clientText, maxLength) + "\n" + removed(indent) + describeTextNode(serverProps, maxLength) + "\n"; } return indentation(indent) + describeTextNode(clientText, maxLength) + "\n"; } function objectName(object) { return Object.prototype.toString.call(object).replace(/^\[object (.*)\]$/, function (m, p0) { return p0; }); } function describeValue(value, maxLength) { switch (typeof value) { case "string": return value = JSON.stringify(value), value.length > maxLength ? 5 > maxLength ? '"..."' : value.slice(0, maxLength - 4) + '..."' : value; case "object": if (null === value) return "null"; if (isArrayImpl(value)) return "[...]"; if (value.$$typeof === REACT_ELEMENT_TYPE) return (maxLength = getComponentNameFromType(value.type)) ? "<" + maxLength + ">" : "<...>"; var name = objectName(value); if ("Object" === name) { name = ""; maxLength -= 2; for (var propName in value) if (value.hasOwnProperty(propName)) { var jsonPropName = JSON.stringify(propName); jsonPropName !== '"' + propName + '"' && (propName = jsonPropName); maxLength -= propName.length - 2; jsonPropName = describeValue(value[propName], 15 > maxLength ? maxLength : 15); maxLength -= jsonPropName.length; if (0 > maxLength) { name += "" === name ? "..." : ", ..."; break; } name += ("" === name ? "" : ",") + propName + ":" + jsonPropName; } return "{" + name + "}"; } return name; case "function": return (maxLength = value.displayName || value.name) ? "function " + maxLength : "function"; default: return String(value); } } function describePropValue(value, maxLength) { return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 ? 5 > maxLength ? '"..."' : '"' + value.slice(0, maxLength - 5) + '..."' : '"' + value + '"'; } function describeExpandedElement(type, props, rowPrefix) { var remainingRowLength = 120 - rowPrefix.length - type.length, properties = [], propName; for (propName in props) if (props.hasOwnProperty(propName) && "children" !== propName) { var propValue = describePropValue(props[propName], 120 - rowPrefix.length - propName.length - 1); remainingRowLength -= propName.length + propValue.length + 2; properties.push(propName + "=" + propValue); } return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" : rowPrefix + "<" + type + "\n" + rowPrefix + " " + properties.join("\n" + rowPrefix + " ") + "\n" + rowPrefix + ">\n"; } function describePropertiesDiff(clientObject, serverObject, indent) { var properties = "", remainingServerProperties = assign({}, serverObject), propName; for (propName in clientObject) if (clientObject.hasOwnProperty(propName)) { delete remainingServerProperties[propName]; var maxLength = 120 - 2 * indent - propName.length - 2, clientPropValue = describeValue(clientObject[propName], maxLength); serverObject.hasOwnProperty(propName) ? (maxLength = describeValue(serverObject[propName], maxLength), properties += added(indent) + propName + ": " + clientPropValue + "\n", properties += removed(indent) + propName + ": " + maxLength + "\n") : properties += added(indent) + propName + ": " + clientPropValue + "\n"; } for (var _propName in remainingServerProperties) remainingServerProperties.hasOwnProperty(_propName) && (clientObject = describeValue(remainingServerProperties[_propName], 120 - 2 * indent - _propName.length - 2), properties += removed(indent) + _propName + ": " + clientObject + "\n"); return properties; } function describeElementDiff(type, clientProps, serverProps, indent) { var content = "", serverPropNames = new Map(); for (propName$jscomp$0 in serverProps) serverProps.hasOwnProperty(propName$jscomp$0) && serverPropNames.set(propName$jscomp$0.toLowerCase(), propName$jscomp$0); if (1 === serverPropNames.size && serverPropNames.has("children")) content += describeExpandedElement(type, clientProps, indentation(indent));else { for (var _propName2 in clientProps) if (clientProps.hasOwnProperty(_propName2) && "children" !== _propName2) { var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1, serverPropName = serverPropNames.get(_propName2.toLowerCase()); if (void 0 !== serverPropName) { serverPropNames.delete(_propName2.toLowerCase()); var propName$jscomp$0 = clientProps[_propName2]; serverPropName = serverProps[serverPropName]; var clientPropValue = describePropValue(propName$jscomp$0, maxLength$jscomp$0); maxLength$jscomp$0 = describePropValue(serverPropName, maxLength$jscomp$0); "object" === typeof propName$jscomp$0 && null !== propName$jscomp$0 && "object" === typeof serverPropName && null !== serverPropName && "Object" === objectName(propName$jscomp$0) && "Object" === objectName(serverPropName) && (2 < Object.keys(propName$jscomp$0).length || 2 < Object.keys(serverPropName).length || -1 < clientPropValue.indexOf("...") || -1 < maxLength$jscomp$0.indexOf("...")) ? content += indentation(indent + 1) + _propName2 + "={{\n" + describePropertiesDiff(propName$jscomp$0, serverPropName, indent + 2) + indentation(indent + 1) + "}}\n" : (content += added(indent + 1) + _propName2 + "=" + clientPropValue + "\n", content += removed(indent + 1) + _propName2 + "=" + maxLength$jscomp$0 + "\n"); } else content += indentation(indent + 1) + _propName2 + "=" + describePropValue(clientProps[_propName2], maxLength$jscomp$0) + "\n"; } serverPropNames.forEach(function (propName) { if ("children" !== propName) { var maxLength = 120 - 2 * (indent + 1) - propName.length - 1; content += removed(indent + 1) + propName + "=" + describePropValue(serverProps[propName], maxLength) + "\n"; } }); content = "" === content ? indentation(indent) + "<" + type + ">\n" : indentation(indent) + "<" + type + "\n" + content + indentation(indent) + ">\n"; } type = serverProps.children; clientProps = clientProps.children; if ("string" === typeof type || "number" === typeof type || "bigint" === typeof type) { serverPropNames = ""; if ("string" === typeof clientProps || "number" === typeof clientProps || "bigint" === typeof clientProps) serverPropNames = "" + clientProps; content += describeTextDiff(serverPropNames, "" + type, indent + 1); } else if ("string" === typeof clientProps || "number" === typeof clientProps || "bigint" === typeof clientProps) content = null == type ? content + describeTextDiff("" + clientProps, null, indent + 1) : content + describeTextDiff("" + clientProps, void 0, indent + 1); return content; } function describeSiblingFiber(fiber, indent) { var type = describeFiberType(fiber); if (null === type) { type = ""; for (fiber = fiber.child; fiber;) type += describeSiblingFiber(fiber, indent), fiber = fiber.sibling; return type; } return indentation(indent) + "<" + type + ">\n"; } function describeNode(node, indent) { var skipToNode = findNotableNode(node, indent); if (skipToNode !== node && (1 !== node.children.length || node.children[0] !== skipToNode)) return indentation(indent) + "...\n" + describeNode(skipToNode, indent + 1); skipToNode = ""; var debugInfo = node.fiber._debugInfo; if (debugInfo) for (var i = 0; i < debugInfo.length; i++) { var serverComponentName = debugInfo[i].name; "string" === typeof serverComponentName && (skipToNode += indentation(indent) + "<" + serverComponentName + ">\n", indent++); } debugInfo = ""; i = node.fiber.pendingProps; if (6 === node.fiber.tag) debugInfo = describeTextDiff(i, node.serverProps, indent), indent++;else if (serverComponentName = describeFiberType(node.fiber), null !== serverComponentName) if (void 0 === node.serverProps) { debugInfo = indent; var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2, content = ""; for (propName in i) if (i.hasOwnProperty(propName) && "children" !== propName) { var propValue = describePropValue(i[propName], 15); maxLength -= propName.length + propValue.length + 2; if (0 > maxLength) { content += " ..."; break; } content += " " + propName + "=" + propValue; } debugInfo = indentation(debugInfo) + "<" + serverComponentName + content + ">\n"; indent++; } else null === node.serverProps ? (debugInfo = describeExpandedElement(serverComponentName, i, added(indent)), indent++) : "string" === typeof node.serverProps ? console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React.") : (debugInfo = describeElementDiff(serverComponentName, i, node.serverProps, indent), indent++); var propName = ""; i = node.fiber.child; for (serverComponentName = 0; i && serverComponentName < node.children.length;) maxLength = node.children[serverComponentName], maxLength.fiber === i ? (propName += describeNode(maxLength, indent), serverComponentName++) : propName += describeSiblingFiber(i, indent), i = i.sibling; i && 0 < node.children.length && (propName += indentation(indent) + "...\n"); i = node.serverTail; null === node.serverProps && indent--; for (node = 0; node < i.length; node++) serverComponentName = i[node], propName = "string" === typeof serverComponentName ? propName + (removed(indent) + describeTextNode(serverComponentName, 120 - 2 * indent) + "\n") : propName + describeExpandedElement(serverComponentName.type, serverComponentName.props, removed(indent)); return skipToNode + debugInfo + propName; } function describeDiff(rootNode) { try { return "\n\n" + describeNode(rootNode, 0); } catch (x) { return ""; } } function describeAncestors(ancestor, child, props) { for (var fiber = child, node = null, distanceFromLeaf = 0; fiber;) fiber === ancestor && (distanceFromLeaf = 0), node = { fiber: fiber, children: null !== node ? [node] : [], serverProps: fiber === child ? props : fiber === ancestor ? null : void 0, serverTail: [], distanceFromLeaf: distanceFromLeaf }, distanceFromLeaf++, fiber = fiber.return; return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, ">") : ""; } function updatedAncestorInfoDev(oldInfo, tag) { oldInfo = assign({}, oldInfo || emptyAncestorInfoDev); var info = { tag: tag }; -1 !== inScopeTags.indexOf(tag) && (oldInfo.aTagInScope = null, oldInfo.buttonTagInScope = null, oldInfo.nobrTagInScope = null); -1 !== buttonScopeTags.indexOf(tag) && (oldInfo.pTagInButtonScope = null); -1 !== specialTags.indexOf(tag) && "address" !== tag && "div" !== tag && "p" !== tag && (oldInfo.listItemTagAutoclosing = null, oldInfo.dlItemTagAutoclosing = null); oldInfo.current = info; "form" === tag && (oldInfo.formTag = info); "a" === tag && (oldInfo.aTagInScope = info); "button" === tag && (oldInfo.buttonTagInScope = info); "nobr" === tag && (oldInfo.nobrTagInScope = info); "p" === tag && (oldInfo.pTagInButtonScope = info); "li" === tag && (oldInfo.listItemTagAutoclosing = info); if ("dd" === tag || "dt" === tag) oldInfo.dlItemTagAutoclosing = info; "#document" === tag || "html" === tag ? oldInfo.containerTagInScope = null : oldInfo.containerTagInScope || (oldInfo.containerTagInScope = info); return oldInfo; } function isTagValidWithParent(tag, parentTag) { switch (parentTag) { case "select": return "hr" === tag || "option" === tag || "optgroup" === tag || "#text" === tag; case "optgroup": return "option" === tag || "#text" === tag; case "option": return "#text" === tag; case "tr": return "th" === tag || "td" === tag || "style" === tag || "script" === tag || "template" === tag; case "tbody": case "thead": case "tfoot": return "tr" === tag || "style" === tag || "script" === tag || "template" === tag; case "colgroup": return "col" === tag || "template" === tag; case "table": return "caption" === tag || "colgroup" === tag || "tbody" === tag || "tfoot" === tag || "thead" === tag || "style" === tag || "script" === tag || "template" === tag; case "head": return "base" === tag || "basefont" === tag || "bgsound" === tag || "link" === tag || "meta" === tag || "title" === tag || "noscript" === tag || "noframes" === tag || "style" === tag || "script" === tag || "template" === tag; case "html": return "head" === tag || "body" === tag || "frameset" === tag; case "frameset": return "frame" === tag; case "#document": return "html" === tag; } switch (tag) { case "h1": case "h2": case "h3": case "h4": case "h5": case "h6": return "h1" !== parentTag && "h2" !== parentTag && "h3" !== parentTag && "h4" !== parentTag && "h5" !== parentTag && "h6" !== parentTag; case "rp": case "rt": return -1 === impliedEndTags.indexOf(parentTag); case "body": case "caption": case "col": case "colgroup": case "frameset": case "frame": case "head": case "html": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": return null == parentTag; } return !0; } function findInvalidAncestorForTag(tag, ancestorInfo) { switch (tag) { case "address": case "article": case "aside": case "blockquote": case "center": case "details": case "dialog": case "dir": case "div": case "dl": case "fieldset": case "figcaption": case "figure": case "footer": case "header": case "hgroup": case "main": case "menu": case "nav": case "ol": case "p": case "section": case "summary": case "ul": case "pre": case "listing": case "table": case "hr": case "xmp": case "h1": case "h2": case "h3": case "h4": case "h5": case "h6": return ancestorInfo.pTagInButtonScope; case "form": return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope; case "li": return ancestorInfo.listItemTagAutoclosing; case "dd": case "dt": return ancestorInfo.dlItemTagAutoclosing; case "button": return ancestorInfo.buttonTagInScope; case "a": return ancestorInfo.aTagInScope; case "nobr": return ancestorInfo.nobrTagInScope; } return null; } function findAncestor(parent, tagName) { for (; parent;) { switch (parent.tag) { case 5: case 26: case 27: if (parent.type === tagName) return parent; } parent = parent.return; } return null; } function validateDOMNesting(childTag, ancestorInfo) { ancestorInfo = ancestorInfo || emptyAncestorInfoDev; var parentInfo = ancestorInfo.current; ancestorInfo = (parentInfo = isTagValidWithParent(childTag, parentInfo && parentInfo.tag) ? null : parentInfo) ? null : findInvalidAncestorForTag(childTag, ancestorInfo); ancestorInfo = parentInfo || ancestorInfo; if (!ancestorInfo) return !0; ancestorInfo = ancestorInfo.tag; var warnKey = String(!!parentInfo) + "|" + childTag + "|" + ancestorInfo; if (didWarn[warnKey]) return !1; didWarn[warnKey] = !0; var ancestor = (warnKey = current) ? findAncestor(warnKey.return, ancestorInfo) : null; warnKey = null !== warnKey && null !== ancestor ? describeAncestors(ancestor, warnKey, null) : ""; ancestor = "<" + childTag + ">"; parentInfo ? (parentInfo = "", "table" === ancestorInfo && "tr" === childTag && (parentInfo += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), console.error("In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s", ancestor, ancestorInfo, parentInfo, warnKey)) : console.error("In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s", ancestor, ancestorInfo, warnKey); return !1; } function validateTextNesting(childText, parentTag) { if (isTagValidWithParent("#text", parentTag)) return !0; var warnKey = "#text|" + parentTag; if (didWarn[warnKey]) return !1; didWarn[warnKey] = !0; var ancestor = (warnKey = current) ? findAncestor(warnKey, parentTag) : null; warnKey = null !== warnKey && null !== ancestor ? describeAncestors(ancestor, warnKey, 6 !== warnKey.tag ? { children: null } : null) : ""; /\S/.test(childText) ? console.error("In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s", parentTag, warnKey) : console.error("In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s", parentTag, warnKey); return !1; } function setTextContent(node, text) { if (text) { var firstChild = node.firstChild; if (firstChild && firstChild === node.lastChild && 3 === firstChild.nodeType) { firstChild.nodeValue = text; return; } } node.textContent = text; } function camelize(string) { return string.replace(hyphenPattern, function (_, character) { return character.toUpperCase(); }); } function setValueForStyle(style, styleName, value) { var isCustomProperty = 0 === styleName.indexOf("--"); isCustomProperty || (-1 < styleName.indexOf("-") ? warnedStyleNames.hasOwnProperty(styleName) && warnedStyleNames[styleName] || (warnedStyleNames[styleName] = !0, console.error("Unsupported style property %s. Did you mean %s?", styleName, camelize(styleName.replace(msPattern, "ms-")))) : badVendoredStyleNamePattern.test(styleName) ? warnedStyleNames.hasOwnProperty(styleName) && warnedStyleNames[styleName] || (warnedStyleNames[styleName] = !0, console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?", styleName, styleName.charAt(0).toUpperCase() + styleName.slice(1))) : !badStyleValueWithSemicolonPattern.test(value) || warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value] || (warnedStyleValues[value] = !0, console.error('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.', styleName, value.replace(badStyleValueWithSemicolonPattern, ""))), "number" === typeof value && (isNaN(value) ? warnedForNaNValue || (warnedForNaNValue = !0, console.error("`NaN` is an invalid value for the `%s` css style property.", styleName)) : isFinite(value) || warnedForInfinityValue || (warnedForInfinityValue = !0, console.error("`Infinity` is an invalid value for the `%s` css style property.", styleName)))); null == value || "boolean" === typeof value || "" === value ? isCustomProperty ? style.setProperty(styleName, "") : "float" === styleName ? style.cssFloat = "" : style[styleName] = "" : isCustomProperty ? style.setProperty(styleName, value) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? "float" === styleName ? style.cssFloat = value : (checkCSSPropertyStringCoercion(value, styleName), style[styleName] = ("" + value).trim()) : style[styleName] = value + "px"; } function setValueForStyles(node, styles, prevStyles) { if (null != styles && "object" !== typeof styles) throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."); styles && Object.freeze(styles); node = node.style; if (null != prevStyles) { if (styles) { var expandedUpdates = {}; if (prevStyles) for (var key in prevStyles) if (prevStyles.hasOwnProperty(key) && !styles.hasOwnProperty(key)) for (var longhands = shorthandToLonghand[key] || [key], i = 0; i < longhands.length; i++) expandedUpdates[longhands[i]] = key; for (var _key in styles) if (styles.hasOwnProperty(_key) && (!prevStyles || prevStyles[_key] !== styles[_key])) for (key = shorthandToLonghand[_key] || [_key], longhands = 0; longhands < key.length; longhands++) expandedUpdates[key[longhands]] = _key; _key = {}; for (var key$jscomp$0 in styles) for (key = shorthandToLonghand[key$jscomp$0] || [key$jscomp$0], longhands = 0; longhands < key.length; longhands++) _key[key[longhands]] = key$jscomp$0; key$jscomp$0 = {}; for (var _key2 in expandedUpdates) if (key = expandedUpdates[_key2], (longhands = _key[_key2]) && key !== longhands && (i = key + "," + longhands, !key$jscomp$0[i])) { key$jscomp$0[i] = !0; i = console; var value = styles[key]; i.error.call(i, "%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.", null == value || "boolean" === typeof value || "" === value ? "Removing" : "Updating", key, longhands); } } for (var styleName in prevStyles) !prevStyles.hasOwnProperty(styleName) || null != styles && styles.hasOwnProperty(styleName) || (0 === styleName.indexOf("--") ? node.setProperty(styleName, "") : "float" === styleName ? node.cssFloat = "" : node[styleName] = ""); for (var _styleName in styles) _key2 = styles[_styleName], styles.hasOwnProperty(_styleName) && prevStyles[_styleName] !== _key2 && setValueForStyle(node, _styleName, _key2); } else for (expandedUpdates in styles) styles.hasOwnProperty(expandedUpdates) && setValueForStyle(node, expandedUpdates, styles[expandedUpdates]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; switch (tagName) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return !1; default: return !0; } } function getAttributeAlias(name) { return aliases.get(name) || name; } function validateProperty$1(tagName, name) { if (hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) return !0; if (rARIACamel$1.test(name)) { tagName = "aria-" + name.slice(4).toLowerCase(); tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null; if (null == tagName) return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", name), warnedProperties$1[name] = !0; if (name !== tagName) return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?", name, tagName), warnedProperties$1[name] = !0; } if (rARIA$1.test(name)) { tagName = name.toLowerCase(); tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null; if (null == tagName) return warnedProperties$1[name] = !0, !1; name !== tagName && (console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?", name, tagName), warnedProperties$1[name] = !0); } return !0; } function validateProperties$2(type, props) { var invalidProps = [], key; for (key in props) validateProperty$1(type, key) || invalidProps.push(key); props = invalidProps.map(function (prop) { return "`" + prop + "`"; }).join(", "); 1 === invalidProps.length ? console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props", props, type) : 1 < invalidProps.length && console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props", props, type); } function validateProperty(tagName, name, value, eventRegistry) { if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name]) return !0; var lowerCasedName = name.toLowerCase(); if ("onfocusin" === lowerCasedName || "onfocusout" === lowerCasedName) return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."), warnedProperties[name] = !0; if ("function" === typeof value && ("form" === tagName && "action" === name || "input" === tagName && "formAction" === name || "button" === tagName && "formAction" === name)) return !0; if (null != eventRegistry) { tagName = eventRegistry.possibleRegistrationNames; if (eventRegistry.registrationNameDependencies.hasOwnProperty(name)) return !0; eventRegistry = tagName.hasOwnProperty(lowerCasedName) ? tagName[lowerCasedName] : null; if (null != eventRegistry) return console.error("Invalid event handler property `%s`. Did you mean `%s`?", name, eventRegistry), warnedProperties[name] = !0; if (EVENT_NAME_REGEX.test(name)) return console.error("Unknown event handler property `%s`. It will be ignored.", name), warnedProperties[name] = !0; } else if (EVENT_NAME_REGEX.test(name)) return INVALID_EVENT_NAME_REGEX.test(name) && console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", name), warnedProperties[name] = !0; if (rARIA.test(name) || rARIACamel.test(name)) return !0; if ("innerhtml" === lowerCasedName) return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), warnedProperties[name] = !0; if ("aria" === lowerCasedName) return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), warnedProperties[name] = !0; if ("is" === lowerCasedName && null !== value && void 0 !== value && "string" !== typeof value) return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof value), warnedProperties[name] = !0; if ("number" === typeof value && isNaN(value)) return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", name), warnedProperties[name] = !0; if (possibleStandardNames.hasOwnProperty(lowerCasedName)) { if (lowerCasedName = possibleStandardNames[lowerCasedName], lowerCasedName !== name) return console.error("Invalid DOM property `%s`. Did you mean `%s`?", name, lowerCasedName), warnedProperties[name] = !0; } else if (name !== lowerCasedName) return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", name, lowerCasedName), warnedProperties[name] = !0; switch (name) { case "dangerouslySetInnerHTML": case "children": case "style": case "suppressContentEditableWarning": case "suppressHydrationWarning": case "defaultValue": case "defaultChecked": case "innerHTML": case "ref": return !0; case "innerText": case "textContent": return !0; } switch (typeof value) { case "boolean": switch (name) { case "autoFocus": case "checked": case "multiple": case "muted": case "selected": case "contentEditable": case "spellCheck": case "draggable": case "value": case "autoReverse": case "externalResourcesRequired": case "focusable": case "preserveAlpha": case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": case "capture": case "download": case "inert": return !0; default: lowerCasedName = name.toLowerCase().slice(0, 5); if ("data-" === lowerCasedName || "aria-" === lowerCasedName) return !0; value ? console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', value, name, name, value, name) : console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', value, name, name, value, name, name, name); return warnedProperties[name] = !0; } case "function": case "symbol": return warnedProperties[name] = !0, !1; case "string": if ("false" === value || "true" === value) { switch (name) { case "checked": case "selected": case "multiple": case "muted": case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": case "inert": break; default: return !0; } console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", value, name, "false" === value ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', name, value); warnedProperties[name] = !0; } } return !0; } function warnUnknownProperties(type, props, eventRegistry) { var unknownProps = [], key; for (key in props) validateProperty(type, key, props[key], eventRegistry) || unknownProps.push(key); props = unknownProps.map(function (prop) { return "`" + prop + "`"; }).join(", "); 1 === unknownProps.length ? console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ", props, type) : 1 < unknownProps.length && console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ", props, type); } function sanitizeURL(url) { return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url; } function getEventTarget(nativeEvent) { nativeEvent = nativeEvent.target || nativeEvent.srcElement || window; nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement); return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent; } function restoreStateOfTarget(target) { var internalInstance = getInstanceFromNode(target); if (internalInstance && (target = internalInstance.stateNode)) { var props = target[internalPropsKey] || null; a: switch (target = internalInstance.stateNode, internalInstance.type) { case "input": updateInput(target, props.value, props.defaultValue, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name); internalInstance = props.name; if ("radio" === props.type && null != internalInstance) { for (props = target; props.parentNode;) props = props.parentNode; checkAttributeStringCoercion(internalInstance, "name"); props = props.querySelectorAll('input[name="' + escapeSelectorAttributeValueInsideDoubleQuotes("" + internalInstance) + '"][type="radio"]'); for (internalInstance = 0; internalInstance < props.length; internalInstance++) { var otherNode = props[internalInstance]; if (otherNode !== target && otherNode.form === target.form) { var otherProps = otherNode[internalPropsKey] || null; if (!otherProps) throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."); updateInput(otherNode, otherProps.value, otherProps.defaultValue, otherProps.defaultValue, otherProps.checked, otherProps.defaultChecked, otherProps.type, otherProps.name); } } for (internalInstance = 0; internalInstance < props.length; internalInstance++) otherNode = props[internalInstance], otherNode.form === target.form && updateValueIfChanged(otherNode); } break a; case "textarea": updateTextarea(target, props.value, props.defaultValue); break a; case "select": internalInstance = props.value, null != internalInstance && updateOptions(target, !!props.multiple, internalInstance, !1); } } } function batchedUpdates$1(fn, a, b) { if (isInsideEventHandler) return fn(a, b); isInsideEventHandler = !0; try { var JSCompiler_inline_result = fn(a); return JSCompiler_inline_result; } finally { if (isInsideEventHandler = !1, null !== restoreTarget || null !== restoreQueue) if (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn)) for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]); } } function getListener(inst, registrationName) { var stateNode = inst.stateNode; if (null === stateNode) return null; var props = stateNode[internalPropsKey] || null; if (null === props) return null; stateNode = props[registrationName]; a: switch (registrationName) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (props = !props.disabled) || (inst = inst.type, props = !("button" === inst || "input" === inst || "select" === inst || "textarea" === inst)); inst = !props; break a; default: inst = !1; } if (inst) return null; if (stateNode && "function" !== typeof stateNode) throw Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof stateNode + "` type."); return stateNode; } function getData() { if (fallbackText) return fallbackText; var start, startValue = startText, startLength = startValue.length, end, endValue = "value" in root ? root.value : root.textContent, endLength = endValue.length; for (start = 0; start < startLength && startValue[start] === endValue[start]; start++); var minEnd = startLength - start; for (end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++); return fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0); } function getEventCharCode(nativeEvent) { var keyCode = nativeEvent.keyCode; "charCode" in nativeEvent ? (nativeEvent = nativeEvent.charCode, 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13)) : nativeEvent = keyCode; 10 === nativeEvent && (nativeEvent = 13); return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0; } function functionThatReturnsTrue() { return !0; } function functionThatReturnsFalse() { return !1; } function createSyntheticEvent(Interface) { function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) { this._reactName = reactName; this._targetInst = targetInst; this.type = reactEventType; this.nativeEvent = nativeEvent; this.target = nativeEventTarget; this.currentTarget = null; for (var propName in Interface) Interface.hasOwnProperty(propName) && (reactName = Interface[propName], this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName]); this.isDefaultPrevented = (null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : !1 === nativeEvent.returnValue) ? functionThatReturnsTrue : functionThatReturnsFalse; this.isPropagationStopped = functionThatReturnsFalse; return this; } assign(SyntheticBaseEvent.prototype, { preventDefault: function () { this.defaultPrevented = !0; var event = this.nativeEvent; event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue = !1), this.isDefaultPrevented = functionThatReturnsTrue); }, stopPropagation: function () { var event = this.nativeEvent; event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble = !0), this.isPropagationStopped = functionThatReturnsTrue); }, persist: function () {}, isPersistent: functionThatReturnsTrue }); return SyntheticBaseEvent; } function modifierStateGetter(keyArg) { var nativeEvent = this.nativeEvent; return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : !1; } function getEventModifierState() { return modifierStateGetter; } function isFallbackCompositionEnd(domEventName, nativeEvent) { switch (domEventName) { case "keyup": return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); case "keydown": return nativeEvent.keyCode !== START_KEYCODE; case "keypress": case "mousedown": case "focusout": return !0; default: return !1; } } function getDataFromCustomEvent(nativeEvent) { nativeEvent = nativeEvent.detail; return "object" === typeof nativeEvent && "data" in nativeEvent ? nativeEvent.data : null; } function getNativeBeforeInputChars(domEventName, nativeEvent) { switch (domEventName) { case "compositionend": return getDataFromCustomEvent(nativeEvent); case "keypress": if (nativeEvent.which !== SPACEBAR_CODE) return null; hasSpaceKeypress = !0; return SPACEBAR_CHAR; case "textInput": return domEventName = nativeEvent.data, domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName; default: return null; } } function getFallbackBeforeInputChars(domEventName, nativeEvent) { if (isComposing) return "compositionend" === domEventName || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = !1, domEventName) : null; switch (domEventName) { case "paste": return null; case "keypress": if (!(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || nativeEvent.ctrlKey && nativeEvent.altKey) { if (nativeEvent.char && 1 < nativeEvent.char.length) return nativeEvent.char; if (nativeEvent.which) return String.fromCharCode(nativeEvent.which); } return null; case "compositionend": return useFallbackCompositionData && "ko" !== nativeEvent.locale ? null : nativeEvent.data; default: return null; } } function isTextInputElement(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ? !0 : !1; } function isEventSupported(eventNameSuffix) { if (!canUseDOM) return !1; eventNameSuffix = "on" + eventNameSuffix; var isSupported = eventNameSuffix in document; isSupported || (isSupported = document.createElement("div"), isSupported.setAttribute(eventNameSuffix, "return;"), isSupported = "function" === typeof isSupported[eventNameSuffix]); return isSupported; } function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) { restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target; inst = accumulateTwoPhaseListeners(inst, "onChange"); 0 < inst.length && (nativeEvent = new SyntheticEvent("onChange", "change", null, nativeEvent, target), dispatchQueue.push({ event: nativeEvent, listeners: inst })); } function runEventInBatch(dispatchQueue) { processDispatchQueue(dispatchQueue, 0); } function getInstIfValueChanged(targetInst) { var targetNode = getNodeFromInstance(targetInst); if (updateValueIfChanged(targetNode)) return targetInst; } function getTargetInstForChangeEvent(domEventName, targetInst) { if ("change" === domEventName) return targetInst; } function stopWatchingForValueChange() { activeElement$1 && (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), activeElementInst$1 = activeElement$1 = null); } function handlePropertyChange(nativeEvent) { if ("value" === nativeEvent.propertyName && getInstIfValueChanged(activeElementInst$1)) { var dispatchQueue = []; createAndAccumulateChangeEvent(dispatchQueue, activeElementInst$1, nativeEvent, getEventTarget(nativeEvent)); batchedUpdates$1(runEventInBatch, dispatchQueue); } } function handleEventsForInputEventPolyfill(domEventName, target, targetInst) { "focusin" === domEventName ? (stopWatchingForValueChange(), activeElement$1 = target, activeElementInst$1 = targetInst, activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : "focusout" === domEventName && stopWatchingForValueChange(); } function getTargetInstForInputEventPolyfill(domEventName) { if ("selectionchange" === domEventName || "keyup" === domEventName || "keydown" === domEventName) return getInstIfValueChanged(activeElementInst$1); } function getTargetInstForClickEvent(domEventName, targetInst) { if ("click" === domEventName) return getInstIfValueChanged(targetInst); } function getTargetInstForInputOrChangeEvent(domEventName, targetInst) { if ("input" === domEventName || "change" === domEventName) return getInstIfValueChanged(targetInst); } function is(x, y) { return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y; } function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1; var keysA = Object.keys(objA), keysB = Object.keys(objB); if (keysA.length !== keysB.length) return !1; for (keysB = 0; keysB < keysA.length; keysB++) { var currentKey = keysA[keysB]; if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) return !1; } return !0; } function getLeafNode(node) { for (; node && node.firstChild;) node = node.firstChild; return node; } function getNodeForCharacterOffset(root, offset) { var node = getLeafNode(root); root = 0; for (var nodeEnd; node;) { if (3 === node.nodeType) { nodeEnd = root + node.textContent.length; if (root <= offset && nodeEnd >= offset) return { node: node, offset: offset - root }; root = nodeEnd; } a: { for (; node;) { if (node.nextSibling) { node = node.nextSibling; break a; } node = node.parentNode; } node = void 0; } node = getLeafNode(node); } } function containsNode(outerNode, innerNode) { return outerNode && innerNode ? outerNode === innerNode ? !0 : outerNode && 3 === outerNode.nodeType ? !1 : innerNode && 3 === innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : !1 : !1; } function getActiveElementDeep(containerInfo) { containerInfo = null != containerInfo && null != containerInfo.ownerDocument && null != containerInfo.ownerDocument.defaultView ? containerInfo.ownerDocument.defaultView : window; for (var element = getActiveElement(containerInfo.document); element instanceof containerInfo.HTMLIFrameElement;) { try { var JSCompiler_inline_result = "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) containerInfo = element.contentWindow;else break; element = getActiveElement(containerInfo.document); } return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return nodeName && ("input" === nodeName && ("text" === elem.type || "search" === elem.type || "tel" === elem.type || "url" === elem.type || "password" === elem.type) || "textarea" === nodeName || "true" === elem.contentEditable); } function restoreSelection(priorSelectionInformation, containerInfo) { var curFocusedElem = getActiveElementDeep(containerInfo); containerInfo = priorSelectionInformation.focusedElem; var priorSelectionRange = priorSelectionInformation.selectionRange; if (curFocusedElem !== containerInfo && containerInfo && containerInfo.ownerDocument && containsNode(containerInfo.ownerDocument.documentElement, containerInfo)) { if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo)) if (priorSelectionInformation = priorSelectionRange.start, curFocusedElem = priorSelectionRange.end, void 0 === curFocusedElem && (curFocusedElem = priorSelectionInformation), "selectionStart" in containerInfo) containerInfo.selectionStart = priorSelectionInformation, containerInfo.selectionEnd = Math.min(curFocusedElem, containerInfo.value.length);else if (curFocusedElem = (priorSelectionInformation = containerInfo.ownerDocument || document) && priorSelectionInformation.defaultView || window, curFocusedElem.getSelection) { curFocusedElem = curFocusedElem.getSelection(); var length = containerInfo.textContent.length, start = Math.min(priorSelectionRange.start, length); priorSelectionRange = void 0 === priorSelectionRange.end ? start : Math.min(priorSelectionRange.end, length); !curFocusedElem.extend && start > priorSelectionRange && (length = priorSelectionRange, priorSelectionRange = start, start = length); length = getNodeForCharacterOffset(containerInfo, start); var endMarker = getNodeForCharacterOffset(containerInfo, priorSelectionRange); length && endMarker && (1 !== curFocusedElem.rangeCount || curFocusedElem.anchorNode !== length.node || curFocusedElem.anchorOffset !== length.offset || curFocusedElem.focusNode !== endMarker.node || curFocusedElem.focusOffset !== endMarker.offset) && (priorSelectionInformation = priorSelectionInformation.createRange(), priorSelectionInformation.setStart(length.node, length.offset), curFocusedElem.removeAllRanges(), start > priorSelectionRange ? (curFocusedElem.addRange(priorSelectionInformation), curFocusedElem.extend(endMarker.node, endMarker.offset)) : (priorSelectionInformation.setEnd(endMarker.node, endMarker.offset), curFocusedElem.addRange(priorSelectionInformation))); } priorSelectionInformation = []; for (curFocusedElem = containerInfo; curFocusedElem = curFocusedElem.parentNode;) 1 === curFocusedElem.nodeType && priorSelectionInformation.push({ element: curFocusedElem, left: curFocusedElem.scrollLeft, top: curFocusedElem.scrollTop }); "function" === typeof containerInfo.focus && containerInfo.focus(); for (containerInfo = 0; containerInfo < priorSelectionInformation.length; containerInfo++) curFocusedElem = priorSelectionInformation[containerInfo], curFocusedElem.element.scrollLeft = curFocusedElem.left, curFocusedElem.element.scrollTop = curFocusedElem.top; } } function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) { var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : 9 === nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument; mouseDown || null == activeElement || activeElement !== getActiveElement(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = { start: doc.selectionStart, end: doc.selectionEnd } : (doc = (doc.ownerDocument && doc.ownerDocument.defaultView || window).getSelection(), doc = { anchorNode: doc.anchorNode, anchorOffset: doc.anchorOffset, focusNode: doc.focusNode, focusOffset: doc.focusOffset }), lastSelection && shallowEqual(lastSelection, doc) || (lastSelection = doc, doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect"), 0 < doc.length && (nativeEvent = new SyntheticEvent("onSelect", "select", null, nativeEvent, nativeEventTarget), dispatchQueue.push({ event: nativeEvent, listeners: doc }), nativeEvent.target = activeElement))); } function makePrefixMap(styleProp, eventName) { var prefixes = {}; prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(); prefixes["Webkit" + styleProp] = "webkit" + eventName; prefixes["Moz" + styleProp] = "moz" + eventName; return prefixes; } function getVendorPrefixedEventName(eventName) { if (prefixedEventNames[eventName]) return prefixedEventNames[eventName]; if (!vendorPrefixes[eventName]) return eventName; var prefixMap = vendorPrefixes[eventName], styleProp; for (styleProp in prefixMap) if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) return prefixedEventNames[eventName] = prefixMap[styleProp]; return eventName; } function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } function finishQueueingConcurrentUpdates() { for (var endIndex = concurrentQueuesIndex, i = concurrentlyUpdatedLanes = concurrentQueuesIndex = 0; i < endIndex;) { var fiber = concurrentQueues[i]; concurrentQueues[i++] = null; var queue = concurrentQueues[i]; concurrentQueues[i++] = null; var update = concurrentQueues[i]; concurrentQueues[i++] = null; var lane = concurrentQueues[i]; concurrentQueues[i++] = null; if (null !== queue && null !== update) { var pending = queue.pending; null === pending ? update.next = update : (update.next = pending.next, pending.next = update); queue.pending = update; } 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane); } } function enqueueUpdate$1(fiber, queue, update, lane) { concurrentQueues[concurrentQueuesIndex++] = fiber; concurrentQueues[concurrentQueuesIndex++] = queue; concurrentQueues[concurrentQueuesIndex++] = update; concurrentQueues[concurrentQueuesIndex++] = lane; concurrentlyUpdatedLanes |= lane; fiber.lanes |= lane; fiber = fiber.alternate; null !== fiber && (fiber.lanes |= lane); } function enqueueConcurrentHookUpdate(fiber, queue, update, lane) { enqueueUpdate$1(fiber, queue, update, lane); return getRootForUpdatedFiber(fiber); } function enqueueConcurrentRenderForLane(fiber, lane) { enqueueUpdate$1(fiber, null, null, lane); return getRootForUpdatedFiber(fiber); } function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) { sourceFiber.lanes |= lane; var alternate = sourceFiber.alternate; null !== alternate && (alternate.lanes |= lane); for (var isHidden = !1, parent = sourceFiber.return; null !== parent;) parent.childLanes |= lane, alternate = parent.alternate, null !== alternate && (alternate.childLanes |= lane), 22 === parent.tag && (sourceFiber = parent.stateNode, null === sourceFiber || sourceFiber._visibility & OffscreenVisible || (isHidden = !0)), sourceFiber = parent, parent = parent.return; isHidden && null !== update && 3 === sourceFiber.tag && (parent = sourceFiber.stateNode, isHidden = 31 - clz32(lane), parent = parent.hiddenUpdates, sourceFiber = parent[isHidden], null === sourceFiber ? parent[isHidden] = [update] : sourceFiber.push(update), update.lane = lane | 536870912); } function getRootForUpdatedFiber(sourceFiber) { if (nestedUpdateCount > NESTED_UPDATE_LIMIT) throw nestedPassiveUpdateCount = nestedUpdateCount = 0, rootWithPassiveNestedUpdates = rootWithNestedUpdates = null, Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."); nestedPassiveUpdateCount > NESTED_PASSIVE_UPDATE_LIMIT && (nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")); null === sourceFiber.alternate && 0 !== (sourceFiber.flags & 4098) && warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber); for (var node = sourceFiber, parent = node.return; null !== parent;) null === node.alternate && 0 !== (node.flags & 4098) && warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber), node = parent, parent = node.return; return 3 === node.tag ? node.stateNode : null; } function resolveFunctionForHotReloading(type) { if (null === resolveFamily) return type; var family = resolveFamily(type); return void 0 === family ? type : family.current; } function resolveForwardRefForHotReloading(type) { if (null === resolveFamily) return type; var family = resolveFamily(type); return void 0 === family ? null !== type && void 0 !== type && "function" === typeof type.render && (family = resolveFunctionForHotReloading(type.render), type.render !== family) ? (family = { $$typeof: REACT_FORWARD_REF_TYPE, render: family }, void 0 !== type.displayName && (family.displayName = type.displayName), family) : type : family.current; } function isCompatibleFamilyForHotReloading(fiber, element) { if (null === resolveFamily) return !1; var prevType = fiber.elementType; element = element.type; var needsCompareFamilies = !1, $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null; switch (fiber.tag) { case 1: "function" === typeof element && (needsCompareFamilies = !0); break; case 0: "function" === typeof element ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); break; case 11: $$typeofNextType === REACT_FORWARD_REF_TYPE ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); break; case 14: case 15: $$typeofNextType === REACT_MEMO_TYPE ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); break; default: return !1; } return needsCompareFamilies && (fiber = resolveFamily(prevType), void 0 !== fiber && fiber === resolveFamily(element)) ? !0 : !1; } function markFailedErrorBoundaryForHotReloading(fiber) { null !== resolveFamily && "function" === typeof WeakSet && (null === failedBoundaries && (failedBoundaries = new WeakSet()), failedBoundaries.add(fiber)); } function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) { var alternate = fiber.alternate, child = fiber.child, sibling = fiber.sibling, tag = fiber.tag, type = fiber.type, candidateType = null; switch (tag) { case 0: case 15: case 1: candidateType = type; break; case 11: candidateType = type.render; } if (null === resolveFamily) throw Error("Expected resolveFamily to be set during hot reload."); var needsRender = !1; type = !1; null !== candidateType && (candidateType = resolveFamily(candidateType), void 0 !== candidateType && (staleFamilies.has(candidateType) ? type = !0 : updatedFamilies.has(candidateType) && (1 === tag ? type = !0 : needsRender = !0))); null !== failedBoundaries && (failedBoundaries.has(fiber) || null !== alternate && failedBoundaries.has(alternate)) && (type = !0); type && (fiber._debugNeedsRemount = !0); if (type || needsRender) alternate = enqueueConcurrentRenderForLane(fiber, 2), null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2); null === child || type || scheduleFibersWithFamiliesRecursively(child, updatedFamilies, staleFamilies); null !== sibling && scheduleFibersWithFamiliesRecursively(sibling, updatedFamilies, staleFamilies); } function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; return prevEffectDuration; } function popNestedEffectDurations(prevEffectDuration) { var elapsedTime = profilerEffectDuration; profilerEffectDuration = prevEffectDuration; return elapsedTime; } function bubbleNestedEffectDurations(prevEffectDuration) { var elapsedTime = profilerEffectDuration; profilerEffectDuration += prevEffectDuration; return elapsedTime; } function startProfilerTimer(fiber) { profilerStartTime = now(); 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDuration(fiber) { if (0 <= profilerStartTime) { var elapsedTime = now() - profilerStartTime; fiber.actualDuration += elapsedTime; fiber.selfBaseDuration = elapsedTime; profilerStartTime = -1; } } function stopProfilerTimerIfRunningAndRecordIncompleteDuration(fiber) { if (0 <= profilerStartTime) { var elapsedTime = now() - profilerStartTime; fiber.actualDuration += elapsedTime; profilerStartTime = -1; } } function recordEffectDuration() { if (0 <= profilerStartTime) { var elapsedTime = now() - profilerStartTime; profilerStartTime = -1; profilerEffectDuration += elapsedTime; } } function startEffectTimer() { profilerStartTime = now(); } function transferActualDuration(fiber) { for (var child = fiber.child; child;) fiber.actualDuration += child.actualDuration, child = child.sibling; } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); if (void 0 !== existing) return existing; source = { value: value, source: source, stack: getStackByFiberInDevAndProd(source) }; CapturedStacks.set(value, source); return source; } return { value: value, source: source, stack: getStackByFiberInDevAndProd(source) }; } function pushTreeFork(workInProgress, totalChildren) { warnIfNotHydrating(); forkStack[forkStackIndex++] = treeForkCount; forkStack[forkStackIndex++] = treeForkProvider; treeForkProvider = workInProgress; treeForkCount = totalChildren; } function pushTreeId(workInProgress, totalChildren, index) { warnIfNotHydrating(); idStack[idStackIndex++] = treeContextId; idStack[idStackIndex++] = treeContextOverflow; idStack[idStackIndex++] = treeContextProvider; treeContextProvider = workInProgress; var baseIdWithLeadingBit = treeContextId; workInProgress = treeContextOverflow; var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; baseIdWithLeadingBit &= ~(1 << baseLength); index += 1; var length = 32 - clz32(totalChildren) + baseLength; if (30 < length) { var numberOfOverflowBits = baseLength - baseLength % 5; length = (baseIdWithLeadingBit & (1 << numberOfOverflowBits) - 1).toString(32); baseIdWithLeadingBit >>= numberOfOverflowBits; baseLength -= numberOfOverflowBits; treeContextId = 1 << 32 - clz32(totalChildren) + baseLength | index << baseLength | baseIdWithLeadingBit; treeContextOverflow = length + workInProgress; } else treeContextId = 1 << length | index << baseLength | baseIdWithLeadingBit, treeContextOverflow = workInProgress; } function pushMaterializedTreeId(workInProgress) { warnIfNotHydrating(); null !== workInProgress.return && (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0)); } function popTreeContext(workInProgress) { for (; workInProgress === treeForkProvider;) treeForkProvider = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null, treeForkCount = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null; for (; workInProgress === treeContextProvider;) treeContextProvider = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextOverflow = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextId = idStack[--idStackIndex], idStack[idStackIndex] = null; } function warnIfNotHydrating() { isHydrating || console.error("Expected to be hydrating. This is a bug in React. Please file an issue."); } function buildHydrationDiffNode(fiber, distanceFromLeaf) { if (null === fiber.return) { if (null === hydrationDiffRootDEV) hydrationDiffRootDEV = { fiber: fiber, children: [], serverProps: void 0, serverTail: [], distanceFromLeaf: distanceFromLeaf };else { if (hydrationDiffRootDEV.fiber !== fiber) throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React."); hydrationDiffRootDEV.distanceFromLeaf > distanceFromLeaf && (hydrationDiffRootDEV.distanceFromLeaf = distanceFromLeaf); } return hydrationDiffRootDEV; } var siblings = buildHydrationDiffNode(fiber.return, distanceFromLeaf + 1).children; if (0 < siblings.length && siblings[siblings.length - 1].fiber === fiber) return siblings = siblings[siblings.length - 1], siblings.distanceFromLeaf > distanceFromLeaf && (siblings.distanceFromLeaf = distanceFromLeaf), siblings; distanceFromLeaf = { fiber: fiber, children: [], serverProps: void 0, serverTail: [], distanceFromLeaf: distanceFromLeaf }; siblings.push(distanceFromLeaf); return distanceFromLeaf; } function warnNonHydratedInstance(fiber, rejectedCandidate) { didSuspendOrErrorDEV || (fiber = buildHydrationDiffNode(fiber, 0), fiber.serverProps = null, null !== rejectedCandidate && (rejectedCandidate = describeHydratableInstanceForDevWarnings(rejectedCandidate), fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { var diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && (hydrationDiffRootDEV = null, diff = describeDiff(diffRoot)); queueHydrationError(createCapturedValueAtFiber(Error("Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff), fiber)); throw HydrationMismatchException; } function prepareToHydrateHostInstance(fiber) { var didHydrate = fiber.stateNode; var type = fiber.type, props = fiber.memoizedProps; didHydrate[internalInstanceKey] = fiber; didHydrate[internalPropsKey] = props; validatePropertiesInDevelopment(type, props); switch (type) { case "dialog": listenToNonDelegatedEvent("cancel", didHydrate); listenToNonDelegatedEvent("close", didHydrate); break; case "iframe": case "object": case "embed": listenToNonDelegatedEvent("load", didHydrate); break; case "video": case "audio": for (type = 0; type < mediaEventTypes.length; type++) listenToNonDelegatedEvent(mediaEventTypes[type], didHydrate); break; case "source": listenToNonDelegatedEvent("error", didHydrate); break; case "img": case "image": case "link": listenToNonDelegatedEvent("error", didHydrate); listenToNonDelegatedEvent("load", didHydrate); break; case "details": listenToNonDelegatedEvent("toggle", didHydrate); break; case "input": checkControlledValueProps("input", props); listenToNonDelegatedEvent("invalid", didHydrate); validateInputProps(didHydrate, props); initInput(didHydrate, props.value, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name, !0); track(didHydrate); break; case "option": validateOptionProps(didHydrate, props); break; case "select": checkControlledValueProps("select", props); listenToNonDelegatedEvent("invalid", didHydrate); validateSelectProps(didHydrate, props); break; case "textarea": checkControlledValueProps("textarea", props), listenToNonDelegatedEvent("invalid", didHydrate), validateTextareaProps(didHydrate, props), initTextarea(didHydrate, props.value, props.defaultValue, props.children), track(didHydrate); } type = props.children; "string" !== typeof type && "number" !== typeof type && "bigint" !== typeof type || didHydrate.textContent === "" + type || !0 === props.suppressHydrationWarning || checkForUnmatchedText(didHydrate.textContent, type) ? (null != props.popover && (listenToNonDelegatedEvent("beforetoggle", didHydrate), listenToNonDelegatedEvent("toggle", didHydrate)), null != props.onScroll && listenToNonDelegatedEvent("scroll", didHydrate), null != props.onScrollEnd && listenToNonDelegatedEvent("scrollend", didHydrate), null != props.onClick && (didHydrate.onclick = noop$1), didHydrate = !0) : didHydrate = !1; didHydrate || throwOnHydrationMismatch(fiber); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber;) switch (hydrationParentFiber.tag) { case 3: case 27: rootOrSingletonContext = !0; return; case 5: case 13: rootOrSingletonContext = !1; return; default: hydrationParentFiber = hydrationParentFiber.return; } } function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), isHydrating = !0, !1; var shouldClear = !1, JSCompiler_temp; if (JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag) { if (JSCompiler_temp = 5 === fiber.tag) JSCompiler_temp = fiber.type, JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps); JSCompiler_temp = !JSCompiler_temp; } JSCompiler_temp && (shouldClear = !0); if (shouldClear && nextHydratableInstance) { for (shouldClear = nextHydratableInstance; shouldClear;) { JSCompiler_temp = buildHydrationDiffNode(fiber, 0); var description = describeHydratableInstanceForDevWarnings(shouldClear); JSCompiler_temp.serverTail.push(description); shouldClear = "Suspense" === description.type ? getNextHydratableInstanceAfterSuspenseInstance(shouldClear) : getNextHydratable(shouldClear.nextSibling); } throwOnHydrationMismatch(fiber); } popToNextHostParent(fiber); if (13 === fiber.tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."); nextHydratableInstance = getNextHydratableInstanceAfterSuspenseInstance(fiber); } else nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null; return !0; } function resetHydrationState() { nextHydratableInstance = hydrationParentFiber = null; didSuspendOrErrorDEV = isHydrating = !1; } function queueHydrationError(error) { null === hydrationErrors ? hydrationErrors = [error] : hydrationErrors.push(error); } function emitPendingHydrationWarnings() { var diffRoot = hydrationDiffRootDEV; null !== diffRoot && (hydrationDiffRootDEV = null, diffRoot = describeDiff(diffRoot), console.error("A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s", "https://react.dev/link/hydration-mismatch", diffRoot)); } function createThenableState() { return { didWarnAboutUncachedPromise: !1, thenables: [] }; } function isThenableResolved(thenable) { thenable = thenable.status; return "fulfilled" === thenable || "rejected" === thenable; } function noop$3() {} function trackUsedThenable(thenableState, thenable, index) { null !== ReactSharedInternals.actQueue && (ReactSharedInternals.didUsePromise = !0); var trackedThenables = thenableState.thenables; index = trackedThenables[index]; void 0 === index ? trackedThenables.push(thenable) : index !== thenable && (thenableState.didWarnAboutUncachedPromise || (thenableState.didWarnAboutUncachedPromise = !0, console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")), thenable.then(noop$3, noop$3), thenable = index); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenableState = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState), thenableState; default: if ("string" === typeof thenable.status) thenable.then(noop$3, noop$3);else { thenableState = workInProgressRoot; if (null !== thenableState && 100 < thenableState.shellSuspendCounter) throw Error("async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."); thenableState = thenable; thenableState.status = "pending"; thenableState.then(function (fulfilledValue) { if ("pending" === thenable.status) { var fulfilledThenable = thenable; fulfilledThenable.status = "fulfilled"; fulfilledThenable.value = fulfilledValue; } }, function (error) { if ("pending" === thenable.status) { var rejectedThenable = thenable; rejectedThenable.status = "rejected"; rejectedThenable.reason = error; } }); } switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenableState = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState), thenableState; } suspendedThenable = thenable; needsToResetSuspendedThenableDEV = !0; throw SuspenseException; } } function getSuspendedThenable() { if (null === suspendedThenable) throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue."); var thenable = suspendedThenable; suspendedThenable = null; needsToResetSuspendedThenableDEV = !1; return thenable; } function checkIfUseWrappedInAsyncCatch(rejectedReason) { if (rejectedReason === SuspenseException) throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."); } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && (currentDebugInfo = null === previousDebugInfo ? debugInfo : previousDebugInfo.concat(debugInfo)); return previousDebugInfo; } function validateFragmentProps(element, fiber, returnFiber) { for (var keys = Object.keys(element.props), i = 0; i < keys.length; i++) { var key = keys[i]; if ("children" !== key && "key" !== key) { null === fiber && (fiber = createFiberFromElement(element, returnFiber.mode, 0), fiber._debugInfo = currentDebugInfo, fiber.return = returnFiber); runWithFiberInDEV(fiber, function (erroredKey) { console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", erroredKey); }, key); break; } } } function unwrapThenable(thenable) { var index = thenableIndexCounter$1; thenableIndexCounter$1 += 1; null === thenableState$1 && (thenableState$1 = createThenableState()); return trackUsedThenable(thenableState$1, thenable, index); } function coerceRef(workInProgress, element) { element = element.props.ref; workInProgress.ref = void 0 !== element ? element : null; } function throwOnInvalidObjectType(returnFiber, newChild) { if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) throw Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.'); returnFiber = Object.prototype.toString.call(newChild); throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === returnFiber ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber) + "). If you meant to render a collection of children, use an array instead."); } function warnOnFunctionType(returnFiber, invalidChild) { var parentName = getComponentNameFromFiber(returnFiber) || "Component"; ownerHasFunctionTypeWarning[parentName] || (ownerHasFunctionTypeWarning[parentName] = !0, invalidChild = invalidChild.displayName || invalidChild.name || "Component", 3 === returnFiber.tag ? console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n root.render(%s)", invalidChild, invalidChild, invalidChild) : console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n <%s>{%s}</%s>", invalidChild, invalidChild, parentName, invalidChild, parentName)); } function warnOnSymbolType(returnFiber, invalidChild) { var parentName = getComponentNameFromFiber(returnFiber) || "Component"; ownerHasSymbolTypeWarning[parentName] || (ownerHasSymbolTypeWarning[parentName] = !0, invalidChild = String(invalidChild), 3 === returnFiber.tag ? console.error("Symbols are not valid as a React child.\n root.render(%s)", invalidChild) : console.error("Symbols are not valid as a React child.\n <%s>%s</%s>", parentName, invalidChild, parentName)); } function createChildReconciler(shouldTrackSideEffects) { function deleteChild(returnFiber, childToDelete) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions ? (returnFiber.deletions = [childToDelete], returnFiber.flags |= 16) : deletions.push(childToDelete); } } function deleteRemainingChildren(returnFiber, currentFirstChild) { if (!shouldTrackSideEffects) return null; for (; null !== currentFirstChild;) deleteChild(returnFiber, currentFirstChild), currentFirstChild = currentFirstChild.sibling; return null; } function mapRemainingChildren(currentFirstChild) { for (var existingChildren = new Map(); null !== currentFirstChild;) null !== currentFirstChild.key ? existingChildren.set(currentFirstChild.key, currentFirstChild) : existingChildren.set(currentFirstChild.index, currentFirstChild), currentFirstChild = currentFirstChild.sibling; return existingChildren; } function useFiber(fiber, pendingProps) { fiber = createWorkInProgress(fiber, pendingProps); fiber.index = 0; fiber.sibling = null; return fiber; } function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) return newFiber.flags |= 1048576, lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return newIndex = newIndex.index, newIndex < lastPlacedIndex ? (newFiber.flags |= 33554434, lastPlacedIndex) : newIndex; newFiber.flags |= 33554434; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && (newFiber.flags |= 33554434); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { if (null === current || 6 !== current.tag) return current = createFiberFromText(textContent, returnFiber.mode, lanes), current.return = returnFiber, current._debugOwner = returnFiber, current._debugInfo = currentDebugInfo, current; current = useFiber(current, textContent); current.return = returnFiber; current._debugInfo = currentDebugInfo; return current; } function updateElement(returnFiber, current, element, lanes) { var elementType = element.type; if (elementType === REACT_FRAGMENT_TYPE) return current = updateFragment(returnFiber, current, element.props.children, lanes, element.key), validateFragmentProps(element, current, returnFiber), current; if (null !== current && (current.elementType === elementType || isCompatibleFamilyForHotReloading(current, element) || "object" === typeof elementType && null !== elementType && elementType.$$typeof === REACT_LAZY_TYPE && callLazyInitInDEV(elementType) === current.type)) return current = useFiber(current, element.props), coerceRef(current, element), current.return = returnFiber, current._debugOwner = element._owner, current._debugInfo = currentDebugInfo, current; current = createFiberFromElement(element, returnFiber.mode, lanes); coerceRef(current, element); current.return = returnFiber; current._debugInfo = currentDebugInfo; return current; } function updatePortal(returnFiber, current, portal, lanes) { if (null === current || 4 !== current.tag || current.stateNode.containerInfo !== portal.containerInfo || current.stateNode.implementation !== portal.implementation) return current = createFiberFromPortal(portal, returnFiber.mode, lanes), current.return = returnFiber, current._debugInfo = currentDebugInfo, current; current = useFiber(current, portal.children || []); current.return = returnFiber; current._debugInfo = currentDebugInfo; return current; } function updateFragment(returnFiber, current, fragment, lanes, key) { if (null === current || 7 !== current.tag) return current = createFiberFromFragment(fragment, returnFiber.mode, lanes, key), current.return = returnFiber, current._debugOwner = returnFiber, current._debugInfo = currentDebugInfo, current; current = useFiber(current, fragment); current.return = returnFiber; current._debugInfo = currentDebugInfo; return current; } function createChild(returnFiber, newChild, lanes) { if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return newChild = createFiberFromText("" + newChild, returnFiber.mode, lanes), newChild.return = returnFiber, newChild._debugOwner = returnFiber, newChild._debugInfo = currentDebugInfo, newChild; if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return lanes = createFiberFromElement(newChild, returnFiber.mode, lanes), coerceRef(lanes, newChild), lanes.return = returnFiber, returnFiber = pushDebugInfo(newChild._debugInfo), lanes._debugInfo = currentDebugInfo, currentDebugInfo = returnFiber, lanes; case REACT_PORTAL_TYPE: return newChild = createFiberFromPortal(newChild, returnFiber.mode, lanes), newChild.return = returnFiber, newChild._debugInfo = currentDebugInfo, newChild; case REACT_LAZY_TYPE: var _prevDebugInfo = pushDebugInfo(newChild._debugInfo); newChild = callLazyInitInDEV(newChild); returnFiber = createChild(returnFiber, newChild, lanes); currentDebugInfo = _prevDebugInfo; return returnFiber; } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return lanes = createFiberFromFragment(newChild, returnFiber.mode, lanes, null), lanes.return = returnFiber, lanes._debugOwner = returnFiber, returnFiber = pushDebugInfo(newChild._debugInfo), lanes._debugInfo = currentDebugInfo, currentDebugInfo = returnFiber, lanes; if ("function" === typeof newChild.then) return _prevDebugInfo = pushDebugInfo(newChild._debugInfo), returnFiber = createChild(returnFiber, unwrapThenable(newChild), lanes), currentDebugInfo = _prevDebugInfo, returnFiber; if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild(returnFiber, readContextDuringReconciliation(returnFiber, newChild), lanes); throwOnInvalidObjectType(returnFiber, newChild); } "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); return null; } function updateSlot(returnFiber, oldFiber, newChild, lanes) { var key = null !== oldFiber ? oldFiber.key : null; if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return null !== key ? null : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return newChild.key === key ? (key = pushDebugInfo(newChild._debugInfo), returnFiber = updateElement(returnFiber, oldFiber, newChild, lanes), currentDebugInfo = key, returnFiber) : null; case REACT_PORTAL_TYPE: return newChild.key === key ? updatePortal(returnFiber, oldFiber, newChild, lanes) : null; case REACT_LAZY_TYPE: return key = pushDebugInfo(newChild._debugInfo), newChild = callLazyInitInDEV(newChild), returnFiber = updateSlot(returnFiber, oldFiber, newChild, lanes), currentDebugInfo = key, returnFiber; } if (isArrayImpl(newChild) || getIteratorFn(newChild)) { if (null !== key) return null; key = pushDebugInfo(newChild._debugInfo); returnFiber = updateFragment(returnFiber, oldFiber, newChild, lanes, null); currentDebugInfo = key; return returnFiber; } if ("function" === typeof newChild.then) return key = pushDebugInfo(newChild._debugInfo), returnFiber = updateSlot(returnFiber, oldFiber, unwrapThenable(newChild), lanes), currentDebugInfo = key, returnFiber; if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot(returnFiber, oldFiber, readContextDuringReconciliation(returnFiber, newChild), lanes); throwOnInvalidObjectType(returnFiber, newChild); } "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); return null; } function updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) { if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return existingChildren = existingChildren.get(newIdx) || null, updateTextNode(returnFiber, existingChildren, "" + newChild, lanes); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return newIdx = existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null, existingChildren = pushDebugInfo(newChild._debugInfo), returnFiber = updateElement(returnFiber, newIdx, newChild, lanes), currentDebugInfo = existingChildren, returnFiber; case REACT_PORTAL_TYPE: return existingChildren = existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null, updatePortal(returnFiber, existingChildren, newChild, lanes); case REACT_LAZY_TYPE: var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo); newChild = callLazyInitInDEV(newChild); returnFiber = updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes); currentDebugInfo = _prevDebugInfo7; return returnFiber; } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return newIdx = existingChildren.get(newIdx) || null, existingChildren = pushDebugInfo(newChild._debugInfo), returnFiber = updateFragment(returnFiber, newIdx, newChild, lanes, null), currentDebugInfo = existingChildren, returnFiber; if ("function" === typeof newChild.then) return _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo), returnFiber = updateFromMap(existingChildren, returnFiber, newIdx, unwrapThenable(newChild), lanes), currentDebugInfo = _prevDebugInfo7, returnFiber; if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap(existingChildren, returnFiber, newIdx, readContextDuringReconciliation(returnFiber, newChild), lanes); throwOnInvalidObjectType(returnFiber, newChild); } "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); return null; } function warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys) { if ("object" !== typeof child || null === child) return knownKeys; switch (child.$$typeof) { case REACT_ELEMENT_TYPE: case REACT_PORTAL_TYPE: warnForMissingKey(returnFiber, workInProgress, child); var key = child.key; if ("string" !== typeof key) break; if (null === knownKeys) { knownKeys = new Set(); knownKeys.add(key); break; } if (!knownKeys.has(key)) { knownKeys.add(key); break; } runWithFiberInDEV(workInProgress, function () { console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.", key); }); break; case REACT_LAZY_TYPE: child = callLazyInitInDEV(child), warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys); } return knownKeys; } function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) { for (var knownKeys = null, resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = currentFirstChild = 0, nextOldFiber = null; null !== oldFiber && newIdx < newChildren.length; newIdx++) { oldFiber.index > newIdx ? (nextOldFiber = oldFiber, oldFiber = null) : nextOldFiber = oldFiber.sibling; var newFiber = updateSlot(returnFiber, oldFiber, newChildren[newIdx], lanes); if (null === newFiber) { null === oldFiber && (oldFiber = nextOldFiber); break; } knownKeys = warnOnInvalidKey(returnFiber, newFiber, newChildren[newIdx], knownKeys); shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); null === previousNewFiber ? resultingFirstChild = newFiber : previousNewFiber.sibling = newFiber; previousNewFiber = newFiber; oldFiber = nextOldFiber; } if (newIdx === newChildren.length) return deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild; if (null === oldFiber) { for (; newIdx < newChildren.length; newIdx++) oldFiber = createChild(returnFiber, newChildren[newIdx], lanes), null !== oldFiber && (knownKeys = warnOnInvalidKey(returnFiber, oldFiber, newChildren[newIdx], knownKeys), currentFirstChild = placeChild(oldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = oldFiber : previousNewFiber.sibling = oldFiber, previousNewFiber = oldFiber); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } for (oldFiber = mapRemainingChildren(oldFiber); newIdx < newChildren.length; newIdx++) nextOldFiber = updateFromMap(oldFiber, returnFiber, newIdx, newChildren[newIdx], lanes), null !== nextOldFiber && (knownKeys = warnOnInvalidKey(returnFiber, nextOldFiber, newChildren[newIdx], knownKeys), shouldTrackSideEffects && null !== nextOldFiber.alternate && oldFiber.delete(null === nextOldFiber.key ? newIdx : nextOldFiber.key), currentFirstChild = placeChild(nextOldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = nextOldFiber : previousNewFiber.sibling = nextOldFiber, previousNewFiber = nextOldFiber); shouldTrackSideEffects && oldFiber.forEach(function (child) { return deleteChild(returnFiber, child); }); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildren, lanes) { if (null == newChildren) throw Error("An iterable object provided no iterator."); for (var resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = currentFirstChild = 0, nextOldFiber = null, knownKeys = null, step = newChildren.next(); null !== oldFiber && !step.done; newIdx++, step = newChildren.next()) { oldFiber.index > newIdx ? (nextOldFiber = oldFiber, oldFiber = null) : nextOldFiber = oldFiber.sibling; var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes); if (null === newFiber) { null === oldFiber && (oldFiber = nextOldFiber); break; } knownKeys = warnOnInvalidKey(returnFiber, newFiber, step.value, knownKeys); shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); null === previousNewFiber ? resultingFirstChild = newFiber : previousNewFiber.sibling = newFiber; previousNewFiber = newFiber; oldFiber = nextOldFiber; } if (step.done) return deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild; if (null === oldFiber) { for (; !step.done; newIdx++, step = newChildren.next()) oldFiber = createChild(returnFiber, step.value, lanes), null !== oldFiber && (knownKeys = warnOnInvalidKey(returnFiber, oldFiber, step.value, knownKeys), currentFirstChild = placeChild(oldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = oldFiber : previousNewFiber.sibling = oldFiber, previousNewFiber = oldFiber); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } for (oldFiber = mapRemainingChildren(oldFiber); !step.done; newIdx++, step = newChildren.next()) nextOldFiber = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes), null !== nextOldFiber && (knownKeys = warnOnInvalidKey(returnFiber, nextOldFiber, step.value, knownKeys), shouldTrackSideEffects && null !== nextOldFiber.alternate && oldFiber.delete(null === nextOldFiber.key ? newIdx : nextOldFiber.key), currentFirstChild = placeChild(nextOldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = nextOldFiber : previousNewFiber.sibling = nextOldFiber, previousNewFiber = nextOldFiber); shouldTrackSideEffects && oldFiber.forEach(function (child) { return deleteChild(returnFiber, child); }); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } function reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes) { "object" === typeof newChild && null !== newChild && newChild.type === REACT_FRAGMENT_TYPE && null === newChild.key && (validateFragmentProps(newChild, null, returnFiber), newChild = newChild.props.children); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: var prevDebugInfo = pushDebugInfo(newChild._debugInfo); a: { for (var key = newChild.key; null !== currentFirstChild;) { if (currentFirstChild.key === key) { key = newChild.type; if (key === REACT_FRAGMENT_TYPE) { if (7 === currentFirstChild.tag) { deleteRemainingChildren(returnFiber, currentFirstChild.sibling); lanes = useFiber(currentFirstChild, newChild.props.children); lanes.return = returnFiber; lanes._debugOwner = newChild._owner; lanes._debugInfo = currentDebugInfo; validateFragmentProps(newChild, lanes, returnFiber); returnFiber = lanes; break a; } } else if (currentFirstChild.elementType === key || isCompatibleFamilyForHotReloading(currentFirstChild, newChild) || "object" === typeof key && null !== key && key.$$typeof === REACT_LAZY_TYPE && callLazyInitInDEV(key) === currentFirstChild.type) { deleteRemainingChildren(returnFiber, currentFirstChild.sibling); lanes = useFiber(currentFirstChild, newChild.props); coerceRef(lanes, newChild); lanes.return = returnFiber; lanes._debugOwner = newChild._owner; lanes._debugInfo = currentDebugInfo; returnFiber = lanes; break a; } deleteRemainingChildren(returnFiber, currentFirstChild); break; } else deleteChild(returnFiber, currentFirstChild); currentFirstChild = currentFirstChild.sibling; } newChild.type === REACT_FRAGMENT_TYPE ? (lanes = createFiberFromFragment(newChild.props.children, returnFiber.mode, lanes, newChild.key), lanes.return = returnFiber, lanes._debugOwner = returnFiber, lanes._debugInfo = currentDebugInfo, validateFragmentProps(newChild, lanes, returnFiber), returnFiber = lanes) : (lanes = createFiberFromElement(newChild, returnFiber.mode, lanes), coerceRef(lanes, newChild), lanes.return = returnFiber, lanes._debugInfo = currentDebugInfo, returnFiber = lanes); } returnFiber = placeSingleChild(returnFiber); currentDebugInfo = prevDebugInfo; return returnFiber; case REACT_PORTAL_TYPE: a: { prevDebugInfo = newChild; for (newChild = prevDebugInfo.key; null !== currentFirstChild;) { if (currentFirstChild.key === newChild) { if (4 === currentFirstChild.tag && currentFirstChild.stateNode.containerInfo === prevDebugInfo.containerInfo && currentFirstChild.stateNode.implementation === prevDebugInfo.implementation) { deleteRemainingChildren(returnFiber, currentFirstChild.sibling); lanes = useFiber(currentFirstChild, prevDebugInfo.children || []); lanes.return = returnFiber; returnFiber = lanes; break a; } else { deleteRemainingChildren(returnFiber, currentFirstChild); break; } } else deleteChild(returnFiber, currentFirstChild); currentFirstChild = currentFirstChild.sibling; } lanes = createFiberFromPortal(prevDebugInfo, returnFiber.mode, lanes); lanes.return = returnFiber; returnFiber = lanes; } return placeSingleChild(returnFiber); case REACT_LAZY_TYPE: return prevDebugInfo = pushDebugInfo(newChild._debugInfo), newChild = callLazyInitInDEV(newChild), returnFiber = reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes), currentDebugInfo = prevDebugInfo, returnFiber; } if (isArrayImpl(newChild)) return prevDebugInfo = pushDebugInfo(newChild._debugInfo), returnFiber = reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes), currentDebugInfo = prevDebugInfo, returnFiber; if (getIteratorFn(newChild)) { prevDebugInfo = pushDebugInfo(newChild._debugInfo); key = getIteratorFn(newChild); if ("function" !== typeof key) throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."); var newChildren = key.call(newChild); if (newChildren === newChild) { if (0 !== returnFiber.tag || "[object GeneratorFunction]" !== Object.prototype.toString.call(returnFiber.type) || "[object Generator]" !== Object.prototype.toString.call(newChildren)) didWarnAboutGenerators || console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."), didWarnAboutGenerators = !0; } else newChild.entries !== key || didWarnAboutMaps || (console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = !0); returnFiber = reconcileChildrenIterator(returnFiber, currentFirstChild, newChildren, lanes); currentDebugInfo = prevDebugInfo; return returnFiber; } if ("function" === typeof newChild.then) return prevDebugInfo = pushDebugInfo(newChild._debugInfo), returnFiber = reconcileChildFibersImpl(returnFiber, currentFirstChild, unwrapThenable(newChild), lanes), currentDebugInfo = prevDebugInfo, returnFiber; if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl(returnFiber, currentFirstChild, readContextDuringReconciliation(returnFiber, newChild), lanes); throwOnInvalidObjectType(returnFiber, newChild); } if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return prevDebugInfo = "" + newChild, null !== currentFirstChild && 6 === currentFirstChild.tag ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling), lanes = useFiber(currentFirstChild, prevDebugInfo), lanes.return = returnFiber, returnFiber = lanes) : (deleteRemainingChildren(returnFiber, currentFirstChild), lanes = createFiberFromText(prevDebugInfo, returnFiber.mode, lanes), lanes.return = returnFiber, lanes._debugOwner = returnFiber, lanes._debugInfo = currentDebugInfo, returnFiber = lanes), placeSingleChild(returnFiber); "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); return deleteRemainingChildren(returnFiber, currentFirstChild); } return function (returnFiber, currentFirstChild, newChild, lanes) { var prevDebugInfo = currentDebugInfo; currentDebugInfo = null; try { thenableIndexCounter$1 = 0; var firstChildFiber = reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes); thenableState$1 = null; return firstChildFiber; } catch (x) { if (x === SuspenseException) throw x; var fiber = createFiber(29, x, null, returnFiber.mode); fiber.lanes = lanes; fiber.return = returnFiber; var debugInfo = fiber._debugInfo = currentDebugInfo; fiber._debugOwner = returnFiber._debugOwner; if (null != debugInfo) for (var i = debugInfo.length - 1; 0 <= i; i--) if ("string" === typeof debugInfo[i].stack) { fiber._debugOwner = debugInfo[i]; break; } return fiber; } finally { currentDebugInfo = prevDebugInfo; } }; } function pushHiddenContext(fiber, context) { var prevEntangledRenderLanes = entangledRenderLanes; push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, context, fiber); entangledRenderLanes = prevEntangledRenderLanes | context.baseLanes; } function reuseHiddenContextOnStack(fiber) { push(prevEntangledRenderLanesCursor, entangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); } function popHiddenContext(fiber) { entangledRenderLanes = prevEntangledRenderLanesCursor.current; pop(currentTreeHiddenStackCursor, fiber); pop(prevEntangledRenderLanesCursor, fiber); } function pushPrimaryTreeSuspenseHandler(handler) { var current = handler.alternate; push(suspenseStackCursor, suspenseStackCursor.current & SubtreeSuspenseContextMask, handler); push(suspenseHandlerStackCursor, handler, handler); null === shellBoundary && (null === current || null !== currentTreeHiddenStackCursor.current ? shellBoundary = handler : null !== current.memoizedState && (shellBoundary = handler)); } function pushOffscreenSuspenseHandler(fiber) { if (22 === fiber.tag) { if (push(suspenseStackCursor, suspenseStackCursor.current, fiber), push(suspenseHandlerStackCursor, fiber, fiber), null === shellBoundary) { var current = fiber.alternate; null !== current && null !== current.memoizedState && (shellBoundary = fiber); } } else reuseSuspenseHandlerOnStack(fiber); } function reuseSuspenseHandlerOnStack(fiber) { push(suspenseStackCursor, suspenseStackCursor.current, fiber); push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current, fiber); } function popSuspenseHandler(fiber) { pop(suspenseHandlerStackCursor, fiber); shellBoundary === fiber && (shellBoundary = null); pop(suspenseStackCursor, fiber); } function findFirstSuspended(row) { for (var node = row; null !== node;) { if (13 === node.tag) { var state = node.memoizedState; if (null !== state && (state = state.dehydrated, null === state || state.data === SUSPENSE_PENDING_START_DATA || state.data === SUSPENSE_FALLBACK_START_DATA)) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; continue; } if (node === row) break; for (; null === node.sibling;) { if (null === node.return || node.return === row) return null; node = node.return; } node.sibling.return = node.return; node = node.sibling; } return null; } function createCache() { return { controller: new AbortControllerLocal(), data: new Map(), refCount: 0 }; } function retainCache(cache) { cache.controller.signal.aborted && console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."); cache.refCount++; } function releaseCache(cache) { cache.refCount--; 0 > cache.refCount && console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."); 0 === cache.refCount && scheduleCallback$2(NormalPriority, function () { cache.controller.abort(); }); } function entangleAsyncAction(transition, thenable) { if (null === currentEntangledListeners) { var entangledListeners = currentEntangledListeners = []; currentEntangledPendingCount = 0; currentEntangledLane = requestTransitionLane(); currentEntangledActionThenable = { status: "pending", value: void 0, then: function (resolve) { entangledListeners.push(resolve); } }; } currentEntangledPendingCount++; thenable.then(pingEngtangledActionScope, pingEngtangledActionScope); return thenable; } function pingEngtangledActionScope() { if (0 === --currentEntangledPendingCount && null !== currentEntangledListeners) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); var listeners = currentEntangledListeners; currentEntangledListeners = null; currentEntangledLane = 0; currentEntangledActionThenable = null; for (var i = 0; i < listeners.length; i++) (0, listeners[i])(); } } function chainThenableValue(thenable, result) { var listeners = [], thenableWithOverride = { status: "pending", value: null, reason: null, then: function (resolve) { listeners.push(resolve); } }; thenable.then(function () { thenableWithOverride.status = "fulfilled"; thenableWithOverride.value = result; for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result); }, function (error) { thenableWithOverride.status = "rejected"; thenableWithOverride.reason = error; for (error = 0; error < listeners.length; error++) (0, listeners[error])(void 0); }); return thenableWithOverride; } function peekCacheFromPool() { var cacheResumedFromPreviousRender = resumedCache.current; return null !== cacheResumedFromPreviousRender ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache; } function pushTransition(offscreenWorkInProgress, prevCachePool) { null === prevCachePool ? push(resumedCache, resumedCache.current, offscreenWorkInProgress) : push(resumedCache, prevCachePool.pool, offscreenWorkInProgress); } function getSuspendedCache() { var cacheFromPool = peekCacheFromPool(); return null === cacheFromPool ? null : { parent: CacheContext._currentValue, pool: cacheFromPool }; } function mountHookTypesDev() { var hookName = currentHookNameInDev; null === hookTypesDev ? hookTypesDev = [hookName] : hookTypesDev.push(hookName); } function updateHookTypesDev() { var hookName = currentHookNameInDev; if (null !== hookTypesDev && (hookTypesUpdateIndexDev++, hookTypesDev[hookTypesUpdateIndexDev] !== hookName)) { var componentName = getComponentNameFromFiber(currentlyRenderingFiber$1); if (!didWarnAboutMismatchedHooksForComponent.has(componentName) && (didWarnAboutMismatchedHooksForComponent.add(componentName), null !== hookTypesDev)) { for (var table = "", i = 0; i <= hookTypesUpdateIndexDev; i++) { var oldHookName = hookTypesDev[i], newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName; for (oldHookName = i + 1 + ". " + oldHookName; 30 > oldHookName.length;) oldHookName += " "; oldHookName += newHookName + "\n"; table += oldHookName; } console.error("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", componentName, table); } } } function checkDepsAreArrayDev(deps) { void 0 === deps || null === deps || isArrayImpl(deps) || console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.", currentHookNameInDev, typeof deps); } function warnOnUseFormStateInDev() { var componentName = getComponentNameFromFiber(currentlyRenderingFiber$1); didWarnAboutUseFormState.has(componentName) || (didWarnAboutUseFormState.add(componentName), console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.", componentName)); } function throwInvalidHookError() { throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."); } function areHookInputsEqual(nextDeps, prevDeps) { if (ignorePreviousDependencies) return !1; if (null === prevDeps) return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", currentHookNameInDev), !1; nextDeps.length !== prevDeps.length && console.error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s", currentHookNameInDev, "[" + prevDeps.join(", ") + "]", "[" + nextDeps.join(", ") + "]"); for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) if (!objectIs(nextDeps[i], prevDeps[i])) return !1; return !0; } function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { renderLanes = nextRenderLanes; currentlyRenderingFiber$1 = workInProgress; hookTypesDev = null !== current ? current._debugHookTypes : null; hookTypesUpdateIndexDev = -1; ignorePreviousDependencies = null !== current && current.type !== workInProgress.type; if ("[object AsyncFunction]" === Object.prototype.toString.call(Component) || "[object AsyncGeneratorFunction]" === Object.prototype.toString.call(Component)) nextRenderLanes = getComponentNameFromFiber(currentlyRenderingFiber$1), didWarnAboutAsyncClientComponent.has(nextRenderLanes) || (didWarnAboutAsyncClientComponent.add(nextRenderLanes), console.error("async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")); workInProgress.memoizedState = null; workInProgress.updateQueue = null; workInProgress.lanes = 0; ReactSharedInternals.H = null !== current && null !== current.memoizedState ? HooksDispatcherOnUpdateInDEV : null !== hookTypesDev ? HooksDispatcherOnMountWithHookTypesInDEV : HooksDispatcherOnMountInDEV; shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes = (workInProgress.mode & StrictLegacyMode) !== NoMode; var children = callComponentInDEV(Component, props, secondArg); shouldDoubleInvokeUserFnsInHooksDEV = !1; didScheduleRenderPhaseUpdateDuringThisPass && (children = renderWithHooksAgain(workInProgress, Component, props, secondArg)); if (nextRenderLanes) { setIsStrictModeForDevtools(!0); try { children = renderWithHooksAgain(workInProgress, Component, props, secondArg); } finally { setIsStrictModeForDevtools(!1); } } finishRenderingHooks(current, workInProgress); return children; } function finishRenderingHooks(current, workInProgress) { workInProgress._debugHookTypes = hookTypesDev; null === workInProgress.dependencies ? null !== thenableState && (workInProgress.dependencies = { lanes: 0, firstContext: null, _debugThenableState: thenableState }) : workInProgress.dependencies._debugThenableState = thenableState; ReactSharedInternals.H = ContextOnlyDispatcher; var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next; renderLanes = 0; hookTypesDev = currentHookNameInDev = workInProgressHook = currentHook = currentlyRenderingFiber$1 = null; hookTypesUpdateIndexDev = -1; null !== current && (current.flags & 31457280) !== (workInProgress.flags & 31457280) && console.error("Internal React error: Expected static flag was missing. Please notify the React team."); didScheduleRenderPhaseUpdate = !1; thenableIndexCounter = 0; thenableState = null; if (didRenderTooFewHooks) throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement."); null === current || didReceiveUpdate || (current = current.dependencies, null !== current && checkIfContextChanged(current) && (didReceiveUpdate = !0)); needsToResetSuspendedThenableDEV ? (needsToResetSuspendedThenableDEV = !1, current = !0) : current = !1; current && (workInProgress = getComponentNameFromFiber(workInProgress) || "Unknown", didWarnAboutUseWrappedInTryCatch.has(workInProgress) || didWarnAboutAsyncClientComponent.has(workInProgress) || (didWarnAboutUseWrappedInTryCatch.add(workInProgress), console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary."))); } function renderWithHooksAgain(workInProgress, Component, props, secondArg) { currentlyRenderingFiber$1 = workInProgress; var numberOfReRenders = 0; do { didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null); thenableIndexCounter = 0; didScheduleRenderPhaseUpdateDuringThisPass = !1; if (numberOfReRenders >= RE_RENDER_LIMIT) throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."); numberOfReRenders += 1; ignorePreviousDependencies = !1; workInProgressHook = currentHook = null; if (null != workInProgress.updateQueue) { var children = workInProgress.updateQueue; children.lastEffect = null; children.events = null; children.stores = null; null != children.memoCache && (children.memoCache.index = 0); } hookTypesUpdateIndexDev = -1; ReactSharedInternals.H = HooksDispatcherOnRerenderInDEV; children = callComponentInDEV(Component, props, secondArg); } while (didScheduleRenderPhaseUpdateDuringThisPass); return children; } function TransitionAwareHostComponent() { var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0]; maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable; dispatcher = dispatcher.useState()[0]; (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber$1.flags |= 1024); return maybeThenable; } function checkDidRenderIdHook() { var didRenderIdHook = 0 !== localIdCounter; localIdCounter = 0; return didRenderIdHook; } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; workInProgress.flags = (workInProgress.mode & StrictEffectsMode) !== NoMode ? workInProgress.flags & -201328645 : workInProgress.flags & -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind(workInProgress) { if (didScheduleRenderPhaseUpdate) { for (workInProgress = workInProgress.memoizedState; null !== workInProgress;) { var queue = workInProgress.queue; null !== queue && (queue.pending = null); workInProgress = workInProgress.next; } didScheduleRenderPhaseUpdate = !1; } renderLanes = 0; hookTypesDev = workInProgressHook = currentHook = currentlyRenderingFiber$1 = null; hookTypesUpdateIndexDev = -1; currentHookNameInDev = null; didScheduleRenderPhaseUpdateDuringThisPass = !1; thenableIndexCounter = localIdCounter = 0; thenableState = null; } function mountWorkInProgressHook() { var hook = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; null === workInProgressHook ? currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook : workInProgressHook = workInProgressHook.next = hook; return workInProgressHook; } function updateWorkInProgressHook() { if (null === currentHook) { var nextCurrentHook = currentlyRenderingFiber$1.alternate; nextCurrentHook = null !== nextCurrentHook ? nextCurrentHook.memoizedState : null; } else nextCurrentHook = currentHook.next; var nextWorkInProgressHook = null === workInProgressHook ? currentlyRenderingFiber$1.memoizedState : workInProgressHook.next; if (null !== nextWorkInProgressHook) workInProgressHook = nextWorkInProgressHook, currentHook = nextCurrentHook;else { if (null === nextCurrentHook) { if (null === currentlyRenderingFiber$1.alternate) throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."); throw Error("Rendered more hooks than during the previous render."); } currentHook = nextCurrentHook; nextCurrentHook = { memoizedState: currentHook.memoizedState, baseState: currentHook.baseState, baseQueue: currentHook.baseQueue, queue: currentHook.queue, next: null }; null === workInProgressHook ? currentlyRenderingFiber$1.memoizedState = workInProgressHook = nextCurrentHook : workInProgressHook = workInProgressHook.next = nextCurrentHook; } return workInProgressHook; } function useThenable(thenable) { var index = thenableIndexCounter; thenableIndexCounter += 1; null === thenableState && (thenableState = createThenableState()); thenable = trackUsedThenable(thenableState, thenable, index); index = currentlyRenderingFiber$1; null === (null === workInProgressHook ? index.memoizedState : workInProgressHook.next) && (index = index.alternate, ReactSharedInternals.H = null !== index && null !== index.memoizedState ? HooksDispatcherOnUpdateInDEV : HooksDispatcherOnMountInDEV); return thenable; } function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error("An unsupported type was passed to use(): " + String(usable)); } function useMemoCache(size) { var memoCache = null, updateQueue = currentlyRenderingFiber$1.updateQueue; null !== updateQueue && (memoCache = updateQueue.memoCache); if (null == memoCache) { var current = currentlyRenderingFiber$1.alternate; null !== current && (current = current.updateQueue, null !== current && (current = current.memoCache, null != current && (memoCache = { data: current.data.map(function (array) { return array.slice(); }), index: 0 }))); } null == memoCache && (memoCache = { data: [], index: 0 }); null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber$1.updateQueue = updateQueue); updateQueue.memoCache = memoCache; updateQueue = memoCache.data[memoCache.index]; if (void 0 === updateQueue || ignorePreviousDependencies) for (updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; current < size; current++) updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;else updateQueue.length !== size && console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.", updateQueue.length, size); memoCache.index++; return updateQueue; } function basicStateReducer(state, action) { return "function" === typeof action ? action(state) : action; } function mountReducer(reducer, initialArg, init) { var hook = mountWorkInProgressHook(); if (void 0 !== init) { var initialState = init(initialArg); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { init(initialArg); } finally { setIsStrictModeForDevtools(!1); } } } else initialState = initialArg; hook.memoizedState = hook.baseState = initialState; reducer = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: reducer, lastRenderedState: initialState }; hook.queue = reducer; reducer = reducer.dispatch = dispatchReducerAction.bind(null, currentlyRenderingFiber$1, reducer); return [hook.memoizedState, reducer]; } function updateReducer(reducer) { var hook = updateWorkInProgressHook(); return updateReducerImpl(hook, currentHook, reducer); } function updateReducerImpl(hook, current, reducer) { var queue = hook.queue; if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"); queue.lastRenderedReducer = reducer; var baseQueue = hook.baseQueue, pendingQueue = queue.pending; if (null !== pendingQueue) { if (null !== baseQueue) { var baseFirst = baseQueue.next; baseQueue.next = pendingQueue.next; pendingQueue.next = baseFirst; } current.baseQueue !== baseQueue && console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."); current.baseQueue = baseQueue = pendingQueue; queue.pending = null; } pendingQueue = hook.baseState; if (null === baseQueue) hook.memoizedState = pendingQueue;else { current = baseQueue.next; var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction = !1; do { var updateLane = update.lane & -536870913; if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) { var revertLane = update.revertLane; if (0 === revertLane) null !== newBaseQueueLast && (newBaseQueueLast = newBaseQueueLast.next = { lane: 0, revertLane: 0, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }), updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0); continue; } else updateLane = { lane: 0, revertLane: update.revertLane, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }, null === newBaseQueueLast ? (newBaseQueueFirst = newBaseQueueLast = updateLane, baseFirst = pendingQueue) : newBaseQueueLast = newBaseQueueLast.next = updateLane, currentlyRenderingFiber$1.lanes |= revertLane, workInProgressRootSkippedLanes |= revertLane; updateLane = update.action; shouldDoubleInvokeUserFnsInHooksDEV && reducer(pendingQueue, updateLane); pendingQueue = update.hasEagerState ? update.eagerState : reducer(pendingQueue, updateLane); } else revertLane = { lane: updateLane, revertLane: update.revertLane, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }, null === newBaseQueueLast ? (newBaseQueueFirst = newBaseQueueLast = revertLane, baseFirst = pendingQueue) : newBaseQueueLast = newBaseQueueLast.next = revertLane, currentlyRenderingFiber$1.lanes |= updateLane, workInProgressRootSkippedLanes |= updateLane; update = update.next; } while (null !== update && update !== current); null === newBaseQueueLast ? baseFirst = pendingQueue : newBaseQueueLast.next = newBaseQueueFirst; if (!objectIs(pendingQueue, hook.memoizedState) && (didReceiveUpdate = !0, didReadFromEntangledAsyncAction && (reducer = currentEntangledActionThenable, null !== reducer))) throw reducer; hook.memoizedState = pendingQueue; hook.baseState = baseFirst; hook.baseQueue = newBaseQueueLast; queue.lastRenderedState = pendingQueue; } null === baseQueue && (queue.lanes = 0); return [hook.memoizedState, queue.dispatch]; } function rerenderReducer(reducer) { var hook = updateWorkInProgressHook(), queue = hook.queue; if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"); queue.lastRenderedReducer = reducer; var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState; if (null !== lastRenderPhaseUpdate) { queue.pending = null; var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next; do newState = reducer(newState, update.action), update = update.next; while (update !== lastRenderPhaseUpdate); objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0); hook.memoizedState = newState; null === hook.baseQueue && (hook.baseState = newState); queue.lastRenderedState = newState; } return [newState, dispatch]; } function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { var fiber = currentlyRenderingFiber$1, hook = mountWorkInProgressHook(); if (isHydrating) { if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."); var nextSnapshot = getServerSnapshot(); didWarnUncachedGetSnapshot || nextSnapshot === getServerSnapshot() || (console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0); } else { nextSnapshot = getSnapshot(); didWarnUncachedGetSnapshot || (getServerSnapshot = getSnapshot(), objectIs(nextSnapshot, getServerSnapshot) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0)); if (null === workInProgressRoot) throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue."); 0 !== (workInProgressRootRenderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } hook.memoizedState = nextSnapshot; getServerSnapshot = { value: nextSnapshot, getSnapshot: getSnapshot }; hook.queue = getServerSnapshot; mountEffect(subscribeToStore.bind(null, fiber, getServerSnapshot, subscribe), [subscribe]); fiber.flags |= 2048; pushEffect(HasEffect | Passive, updateStoreInstance.bind(null, fiber, getServerSnapshot, nextSnapshot, getSnapshot), { destroy: void 0 }, null); return nextSnapshot; } function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { var fiber = currentlyRenderingFiber$1, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating; if (isHydrating$jscomp$0) { if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."); getServerSnapshot = getServerSnapshot(); } else if (getServerSnapshot = getSnapshot(), !didWarnUncachedGetSnapshot) { var cachedSnapshot = getSnapshot(); objectIs(getServerSnapshot, cachedSnapshot) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0); } if (cachedSnapshot = !objectIs((currentHook || hook).memoizedState, getServerSnapshot)) hook.memoizedState = getServerSnapshot, didReceiveUpdate = !0; hook = hook.queue; var create = subscribeToStore.bind(null, fiber, hook, subscribe); updateEffectImpl(2048, Passive, create, [subscribe]); if (hook.getSnapshot !== getSnapshot || cachedSnapshot || null !== workInProgressHook && workInProgressHook.memoizedState.tag & HasEffect) { fiber.flags |= 2048; pushEffect(HasEffect | Passive, updateStoreInstance.bind(null, fiber, hook, getServerSnapshot, getSnapshot), { destroy: void 0 }, null); if (null === workInProgressRoot) throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue."); isHydrating$jscomp$0 || 0 !== (renderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); } return getServerSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber$1.updateQueue; null === getSnapshot ? (getSnapshot = createFunctionComponentUpdateQueue(), currentlyRenderingFiber$1.updateQueue = getSnapshot, getSnapshot.stores = [fiber]) : (renderedSnapshot = getSnapshot.stores, null === renderedSnapshot ? getSnapshot.stores = [fiber] : renderedSnapshot.push(fiber)); } function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) { inst.value = nextSnapshot; inst.getSnapshot = getSnapshot; checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); } function subscribeToStore(fiber, inst, subscribe) { return subscribe(function () { checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); }); } function checkIfSnapshotChanged(inst) { var latestGetSnapshot = inst.getSnapshot; inst = inst.value; try { var nextValue = latestGetSnapshot(); return !objectIs(inst, nextValue); } catch (error) { return !0; } } function forceStoreRerender(fiber) { var root = enqueueConcurrentRenderForLane(fiber, 2); null !== root && scheduleUpdateOnFiber(root, fiber, 2); } function mountStateImpl(initialState) { var hook = mountWorkInProgressHook(); if ("function" === typeof initialState) { var initialStateInitializer = initialState; initialState = initialStateInitializer(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { initialStateInitializer(); } finally { setIsStrictModeForDevtools(!1); } } } hook.memoizedState = hook.baseState = initialState; hook.queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: initialState }; return hook; } function mountState(initialState) { initialState = mountStateImpl(initialState); var queue = initialState.queue, dispatch = dispatchSetState.bind(null, currentlyRenderingFiber$1, queue); queue.dispatch = dispatch; return [initialState.memoizedState, dispatch]; } function mountOptimistic(passthrough) { var hook = mountWorkInProgressHook(); hook.memoizedState = hook.baseState = passthrough; var queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: null, lastRenderedState: null }; hook.queue = queue; hook = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1, !0, queue); queue.dispatch = hook; return [passthrough, hook]; } function updateOptimistic(passthrough, reducer) { var hook = updateWorkInProgressHook(); return updateOptimisticImpl(hook, currentHook, passthrough, reducer); } function updateOptimisticImpl(hook, current, passthrough, reducer) { hook.baseState = passthrough; return updateReducerImpl(hook, currentHook, "function" === typeof reducer ? reducer : basicStateReducer); } function rerenderOptimistic(passthrough, reducer) { var hook = updateWorkInProgressHook(); if (null !== currentHook) return updateOptimisticImpl(hook, currentHook, passthrough, reducer); hook.baseState = passthrough; return [passthrough, hook.queue.dispatch]; } function dispatchActionState(fiber, actionQueue, setPendingState, setState, payload) { if (isRenderPhaseUpdate(fiber)) throw Error("Cannot update form state while rendering."); fiber = actionQueue.action; if (null !== fiber) { var actionNode = { payload: payload, action: fiber, next: null, isTransition: !0, status: "pending", value: null, reason: null, listeners: [], then: function (listener) { actionNode.listeners.push(listener); } }; null !== ReactSharedInternals.T ? setPendingState(!0) : actionNode.isTransition = !1; setState(actionNode); setPendingState = actionQueue.pending; null === setPendingState ? (actionNode.next = actionQueue.pending = actionNode, runActionStateAction(actionQueue, actionNode)) : (actionNode.next = setPendingState.next, actionQueue.pending = setPendingState.next = actionNode); } } function runActionStateAction(actionQueue, node) { var action = node.action, payload = node.payload, prevState = actionQueue.state; if (node.isTransition) { var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; ReactSharedInternals.T._updatedFibers = new Set(); try { var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); handleActionReturnValue(actionQueue, node, returnValue); } catch (error) { onActionError(actionQueue, node, error); } finally { ReactSharedInternals.T = prevTransition, null === prevTransition && currentTransition._updatedFibers && (actionQueue = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < actionQueue && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")); } } else try { currentTransition = action(prevState, payload), handleActionReturnValue(actionQueue, node, currentTransition); } catch (error$3) { onActionError(actionQueue, node, error$3); } } function handleActionReturnValue(actionQueue, node, returnValue) { null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then ? (returnValue.then(function (nextState) { onActionSuccess(actionQueue, node, nextState); }, function (error) { return onActionError(actionQueue, node, error); }), node.isTransition || console.error("An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`")) : onActionSuccess(actionQueue, node, returnValue); } function onActionSuccess(actionQueue, actionNode, nextState) { actionNode.status = "fulfilled"; actionNode.value = nextState; notifyActionListeners(actionNode); actionQueue.state = nextState; actionNode = actionQueue.pending; null !== actionNode && (nextState = actionNode.next, nextState === actionNode ? actionQueue.pending = null : (nextState = nextState.next, actionNode.next = nextState, runActionStateAction(actionQueue, nextState))); } function onActionError(actionQueue, actionNode, error) { var last = actionQueue.pending; actionQueue.pending = null; if (null !== last) { last = last.next; do actionNode.status = "rejected", actionNode.reason = error, notifyActionListeners(actionNode), actionNode = actionNode.next; while (actionNode !== last); } actionQueue.action = null; } function notifyActionListeners(actionNode) { actionNode = actionNode.listeners; for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])(); } function actionStateReducer(oldState, newState) { return newState; } function mountActionState(action, initialStateProp) { if (isHydrating) { var ssrFormState = workInProgressRoot.formState; if (null !== ssrFormState) { a: { var isMatching = currentlyRenderingFiber$1; if (isHydrating) { if (nextHydratableInstance) { b: { var markerInstance = nextHydratableInstance; for (var inRootOrSingleton = rootOrSingletonContext; 8 !== markerInstance.nodeType;) { if (!inRootOrSingleton) { markerInstance = null; break b; } markerInstance = getNextHydratable(markerInstance.nextSibling); if (null === markerInstance) { markerInstance = null; break b; } } inRootOrSingleton = markerInstance.data; markerInstance = inRootOrSingleton === FORM_STATE_IS_MATCHING || inRootOrSingleton === FORM_STATE_IS_NOT_MATCHING ? markerInstance : null; } if (markerInstance) { nextHydratableInstance = getNextHydratable(markerInstance.nextSibling); isMatching = markerInstance.data === FORM_STATE_IS_MATCHING; break a; } } throwOnHydrationMismatch(isMatching); } isMatching = !1; } isMatching && (initialStateProp = ssrFormState[0]); } } ssrFormState = mountWorkInProgressHook(); ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp; isMatching = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: actionStateReducer, lastRenderedState: initialStateProp }; ssrFormState.queue = isMatching; ssrFormState = dispatchSetState.bind(null, currentlyRenderingFiber$1, isMatching); isMatching.dispatch = ssrFormState; isMatching = mountStateImpl(!1); inRootOrSingleton = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1, !1, isMatching.queue); isMatching = mountWorkInProgressHook(); markerInstance = { state: initialStateProp, dispatch: null, action: action, pending: null }; isMatching.queue = markerInstance; ssrFormState = dispatchActionState.bind(null, currentlyRenderingFiber$1, markerInstance, inRootOrSingleton, ssrFormState); markerInstance.dispatch = ssrFormState; isMatching.memoizedState = action; return [initialStateProp, ssrFormState, !1]; } function updateActionState(action) { var stateHook = updateWorkInProgressHook(); return updateActionStateImpl(stateHook, currentHook, action); } function updateActionStateImpl(stateHook, currentStateHook, action) { currentStateHook = updateReducerImpl(stateHook, currentStateHook, actionStateReducer)[0]; stateHook = updateReducer(basicStateReducer)[0]; currentStateHook = "object" === typeof currentStateHook && null !== currentStateHook && "function" === typeof currentStateHook.then ? useThenable(currentStateHook) : currentStateHook; var actionQueueHook = updateWorkInProgressHook(), actionQueue = actionQueueHook.queue, dispatch = actionQueue.dispatch; action !== actionQueueHook.memoizedState && (currentlyRenderingFiber$1.flags |= 2048, pushEffect(HasEffect | Passive, actionStateActionEffect.bind(null, actionQueue, action), { destroy: void 0 }, null)); return [currentStateHook, dispatch, stateHook]; } function actionStateActionEffect(actionQueue, action) { actionQueue.action = action; } function rerenderActionState(action) { var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook; if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action); updateWorkInProgressHook(); stateHook = stateHook.memoizedState; currentStateHook = updateWorkInProgressHook(); var dispatch = currentStateHook.queue.dispatch; currentStateHook.memoizedState = action; return [stateHook, dispatch, !1]; } function pushEffect(tag, create, inst, deps) { tag = { tag: tag, create: create, inst: inst, deps: deps, next: null }; create = currentlyRenderingFiber$1.updateQueue; null === create && (create = createFunctionComponentUpdateQueue(), currentlyRenderingFiber$1.updateQueue = create); inst = create.lastEffect; null === inst ? create.lastEffect = tag.next = tag : (deps = inst.next, inst.next = tag, tag.next = deps, create.lastEffect = tag); return tag; } function mountRef(initialValue) { var hook = mountWorkInProgressHook(); initialValue = { current: initialValue }; return hook.memoizedState = initialValue; } function mountEffectImpl(fiberFlags, hookFlags, create, deps) { var hook = mountWorkInProgressHook(); currentlyRenderingFiber$1.flags |= fiberFlags; hook.memoizedState = pushEffect(HasEffect | hookFlags, create, { destroy: void 0 }, void 0 === deps ? null : deps); } function updateEffectImpl(fiberFlags, hookFlags, create, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var inst = hook.memoizedState.inst; null !== currentHook && null !== deps && areHookInputsEqual(deps, currentHook.memoizedState.deps) ? hook.memoizedState = pushEffect(hookFlags, create, inst, deps) : (currentlyRenderingFiber$1.flags |= fiberFlags, hook.memoizedState = pushEffect(HasEffect | hookFlags, create, inst, deps)); } function mountEffect(create, deps) { (currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode && (currentlyRenderingFiber$1.mode & NoStrictPassiveEffectsMode) === NoMode ? mountEffectImpl(142608384, Passive, create, deps) : mountEffectImpl(8390656, Passive, create, deps); } function mountLayoutEffect(create, deps) { var fiberFlags = 4194308; (currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode && (fiberFlags |= 67108864); return mountEffectImpl(fiberFlags, Layout, create, deps); } function imperativeHandleEffect(create, ref) { if ("function" === typeof ref) { create = create(); var refCleanup = ref(create); return function () { "function" === typeof refCleanup ? refCleanup() : ref(null); }; } if (null !== ref && void 0 !== ref) return ref.hasOwnProperty("current") || console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.", "an object with keys {" + Object.keys(ref).join(", ") + "}"), create = create(), ref.current = create, function () { ref.current = null; }; } function mountImperativeHandle(ref, create, deps) { "function" !== typeof create && console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", null !== create ? typeof create : "null"); deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; var fiberFlags = 4194308; (currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode && (fiberFlags |= 67108864); mountEffectImpl(fiberFlags, Layout, imperativeHandleEffect.bind(null, create, ref), deps); } function updateImperativeHandle(ref, create, deps) { "function" !== typeof create && console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", null !== create ? typeof create : "null"); deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; updateEffectImpl(4, Layout, imperativeHandleEffect.bind(null, create, ref), deps); } function mountCallback(callback, deps) { mountWorkInProgressHook().memoizedState = [callback, void 0 === deps ? null : deps]; return callback; } function updateCallback(callback, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var prevState = hook.memoizedState; if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; hook.memoizedState = [callback, deps]; return callback; } function mountMemo(nextCreate, deps) { var hook = mountWorkInProgressHook(); deps = void 0 === deps ? null : deps; var nextValue = nextCreate(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { nextCreate(); } finally { setIsStrictModeForDevtools(!1); } } hook.memoizedState = [nextValue, deps]; return nextValue; } function updateMemo(nextCreate, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var prevState = hook.memoizedState; if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; prevState = nextCreate(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { nextCreate(); } finally { setIsStrictModeForDevtools(!1); } } hook.memoizedState = [prevState, deps]; return prevState; } function mountDeferredValue(value, initialValue) { var hook = mountWorkInProgressHook(); return mountDeferredValueImpl(hook, value, initialValue); } function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); return updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue); } function rerenderDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue); } function mountDeferredValueImpl(hook, value, initialValue) { if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) return hook.memoizedState = value; hook.memoizedState = initialValue; hook = requestDeferredLane(); currentlyRenderingFiber$1.lanes |= hook; workInProgressRootSkippedLanes |= hook; return initialValue; } function updateDeferredValueImpl(hook, prevValue, value, initialValue) { if (objectIs(value, prevValue)) return value; if (null !== currentTreeHiddenStackCursor.current) return hook = mountDeferredValueImpl(hook, value, initialValue), objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook; if (0 === (renderLanes & 42)) return didReceiveUpdate = !0, hook.memoizedState = value; hook = requestDeferredLane(); currentlyRenderingFiber$1.lanes |= hook; workInProgressRootSkippedLanes |= hook; return prevValue; } function startTransition(fiber, queue, pendingState, finishedState, callback) { var previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 0 !== previousPriority && previousPriority < ContinuousEventPriority ? previousPriority : ContinuousEventPriority; var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; dispatchOptimisticSetState(fiber, !1, queue, pendingState); currentTransition._updatedFibers = new Set(); try { var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) { var thenableForFinishedState = chainThenableValue(returnValue, finishedState); dispatchSetStateInternal(fiber, queue, thenableForFinishedState, requestUpdateLane(fiber)); } else dispatchSetStateInternal(fiber, queue, finishedState, requestUpdateLane(fiber)); } catch (error) { dispatchSetStateInternal(fiber, queue, { then: function () {}, status: "rejected", reason: error }, requestUpdateLane(fiber)); } finally { ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition, null === prevTransition && currentTransition._updatedFibers && (fiber = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < fiber && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")); } } function startHostTransition(formFiber, pendingState, action, formData) { if (5 !== formFiber.tag) throw Error("Expected the form instance to be a HostComponent. This is a bug in React."); var queue = ensureFormComponentIsStateful(formFiber).queue; startTransition(formFiber, queue, pendingState, NotPendingTransition, null === action ? noop$2 : function () { requestFormReset$1(formFiber); return action(formData); }); } function ensureFormComponentIsStateful(formFiber) { var existingStateHook = formFiber.memoizedState; if (null !== existingStateHook) return existingStateHook; existingStateHook = { memoizedState: NotPendingTransition, baseState: NotPendingTransition, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: NotPendingTransition }, next: null }; var initialResetState = {}; existingStateHook.next = { memoizedState: initialResetState, baseState: initialResetState, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: initialResetState }, next: null }; formFiber.memoizedState = existingStateHook; formFiber = formFiber.alternate; null !== formFiber && (formFiber.memoizedState = existingStateHook); return existingStateHook; } function requestFormReset$1(formFiber) { null === ReactSharedInternals.T && console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition."); var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane(formFiber)); } function mountTransition() { var stateHook = mountStateImpl(!1); stateHook = startTransition.bind(null, currentlyRenderingFiber$1, stateHook.queue, !0, !1); mountWorkInProgressHook().memoizedState = stateHook; return [!1, stateHook]; } function updateTransition() { var booleanOrThenable = updateReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start]; } function rerenderTransition() { var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start]; } function useHostTransitionStatus() { return readContext(HostTransitionContext); } function mountId() { var hook = mountWorkInProgressHook(), identifierPrefix = workInProgressRoot.identifierPrefix; if (isHydrating) { var treeId = treeContextOverflow; var idWithLeadingBit = treeContextId; treeId = (idWithLeadingBit & ~(1 << 32 - clz32(idWithLeadingBit) - 1)).toString(32) + treeId; identifierPrefix = ":" + identifierPrefix + "R" + treeId; treeId = localIdCounter++; 0 < treeId && (identifierPrefix += "H" + treeId.toString(32)); identifierPrefix += ":"; } else treeId = globalClientIdCounter++, identifierPrefix = ":" + identifierPrefix + "r" + treeId.toString(32) + ":"; return hook.memoizedState = identifierPrefix; } function mountRefresh() { return mountWorkInProgressHook().memoizedState = refreshCache.bind(null, currentlyRenderingFiber$1); } function refreshCache(fiber, seedKey) { for (var provider = fiber.return; null !== provider;) { switch (provider.tag) { case 24: case 3: var lane = requestUpdateLane(provider); fiber = createUpdate(lane); var root = enqueueUpdate(provider, fiber, lane); null !== root && (scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane)); provider = createCache(); null !== seedKey && void 0 !== seedKey && null !== root && console.error("The seed argument is not enabled outside experimental channels."); fiber.payload = { cache: provider }; return; } provider = provider.return; } } function dispatchReducerAction(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p0) { "function" === typeof JSCompiler_OptimizeArgumentsArray_p0 && console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, hasEagerState: !1, eagerState: null, next: null }; isRenderPhaseUpdate(fiber) ? enqueueRenderPhaseUpdate(queue, action) : (action = enqueueConcurrentHookUpdate(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p0), null !== action && (scheduleUpdateOnFiber(action, fiber, JSCompiler_OptimizeArgumentsArray_p0), entangleTransitionUpdate(action, queue, JSCompiler_OptimizeArgumentsArray_p0))); markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p1) { "function" === typeof JSCompiler_OptimizeArgumentsArray_p1 && console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."); JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber); dispatchSetStateInternal(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p1); markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { lane: lane, revertLane: 0, action: action, hasEagerState: !1, eagerState: null, next: null }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);else { var alternate = fiber.alternate; if (0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && (alternate = queue.lastRenderedReducer, null !== alternate)) { var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1; } catch (error) {} finally { ReactSharedInternals.H = prevDispatcher; } } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); if (null !== action) return scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane), !0; } return !1; } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { null === ReactSharedInternals.T && 0 === currentEntangledLane && console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."); action = { lane: 2, revertLane: requestTransitionLane(), action: action, hasEagerState: !1, eagerState: null, next: null }; if (isRenderPhaseUpdate(fiber)) { if (throwIfDuringRender) throw Error("Cannot update optimistic state while rendering."); console.error("Cannot call startTransition while rendering."); } else throwIfDuringRender = enqueueConcurrentHookUpdate(fiber, queue, action, 2), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; return fiber === currentlyRenderingFiber$1 || null !== alternate && alternate === currentlyRenderingFiber$1; } function enqueueRenderPhaseUpdate(queue, update) { didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0; var pending = queue.pending; null === pending ? update.next = update : (update.next = pending.next, pending.next = update); queue.pending = update; } function entangleTransitionUpdate(root, queue, lane) { if (0 !== (lane & 4194176)) { var queueLanes = queue.lanes; queueLanes &= root.pendingLanes; lane |= queueLanes; queue.lanes = lane; markRootEntangled(root, lane); } } function warnOnInvalidCallback(callback) { if (null !== callback && "function" !== typeof callback) { var key = String(callback); didWarnOnInvalidCallback.has(key) || (didWarnOnInvalidCallback.add(key), console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.", callback)); } } function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) { var prevState = workInProgress.memoizedState, partialState = getDerivedStateFromProps(nextProps, prevState); if (workInProgress.mode & StrictLegacyMode) { setIsStrictModeForDevtools(!0); try { partialState = getDerivedStateFromProps(nextProps, prevState); } finally { setIsStrictModeForDevtools(!1); } } void 0 === partialState && (ctor = getComponentNameFromType(ctor) || "Component", didWarnAboutUndefinedDerivedState.has(ctor) || (didWarnAboutUndefinedDerivedState.add(ctor), console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", ctor))); prevState = null === partialState || void 0 === partialState ? prevState : assign({}, prevState, partialState); workInProgress.memoizedState = prevState; 0 === workInProgress.lanes && (workInProgress.updateQueue.baseState = prevState); } function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) { var instance = workInProgress.stateNode; if ("function" === typeof instance.shouldComponentUpdate) { oldProps = instance.shouldComponentUpdate(newProps, newState, nextContext); if (workInProgress.mode & StrictLegacyMode) { setIsStrictModeForDevtools(!0); try { oldProps = instance.shouldComponentUpdate(newProps, newState, nextContext); } finally { setIsStrictModeForDevtools(!1); } } void 0 === oldProps && console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", getComponentNameFromType(ctor) || "Component"); return oldProps; } return ctor.prototype && ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) : !0; } function callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) { var oldState = instance.state; "function" === typeof instance.componentWillReceiveProps && instance.componentWillReceiveProps(newProps, nextContext); "function" === typeof instance.UNSAFE_componentWillReceiveProps && instance.UNSAFE_componentWillReceiveProps(newProps, nextContext); instance.state !== oldState && (workInProgress = getComponentNameFromFiber(workInProgress) || "Component", didWarnAboutStateAssignmentForComponent.has(workInProgress) || (didWarnAboutStateAssignmentForComponent.add(workInProgress), console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", workInProgress)), classComponentUpdater.enqueueReplaceState(instance, instance.state, null)); } function resolveClassComponentProps(Component, baseProps) { var newProps = baseProps; if ("ref" in baseProps) { newProps = {}; for (var propName in baseProps) "ref" !== propName && (newProps[propName] = baseProps[propName]); } if (Component = Component.defaultProps) { newProps === baseProps && (newProps = assign({}, newProps)); for (var _propName in Component) void 0 === newProps[_propName] && (newProps[_propName] = Component[_propName]); } return newProps; } function defaultOnUncaughtError(error, errorInfo) { reportGlobalError(error); error = componentName ? "An error occurred in the <" + componentName + "> component." : "An error occurred in one of your React components."; var prevGetCurrentStack = ReactSharedInternals.getCurrentStack, componentStack = null != errorInfo.componentStack ? errorInfo.componentStack : ""; ReactSharedInternals.getCurrentStack = function () { return componentStack; }; try { console.warn("%s\n\n%s\n", error, "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."); } finally { ReactSharedInternals.getCurrentStack = prevGetCurrentStack; } } function defaultOnCaughtError(error, errorInfo) { var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.", recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + "."), prevGetCurrentStack = ReactSharedInternals.getCurrentStack, componentStack = null != errorInfo.componentStack ? errorInfo.componentStack : ""; ReactSharedInternals.getCurrentStack = function () { return componentStack; }; try { "object" === typeof error && null !== error && "string" === typeof error.environmentName ? bindToConsole("error", ["%o\n\n%s\n\n%s\n", error, componentNameMessage, recreateMessage], error.environmentName)() : console.error("%o\n\n%s\n\n%s\n", error, componentNameMessage, recreateMessage); } finally { ReactSharedInternals.getCurrentStack = prevGetCurrentStack; } } function defaultOnRecoverableError(error) { reportGlobalError(error); } function logUncaughtError(root, errorInfo) { try { componentName = errorInfo.source ? getComponentNameFromFiber(errorInfo.source) : null; errorBoundaryName = null; var error = errorInfo.value; if (null !== ReactSharedInternals.actQueue) ReactSharedInternals.thrownErrors.push(error);else { var onUncaughtError = root.onUncaughtError; onUncaughtError(error, { componentStack: errorInfo.stack }); } } catch (e$4) { setTimeout(function () { throw e$4; }); } } function logCaughtError(root, boundary, errorInfo) { try { componentName = errorInfo.source ? getComponentNameFromFiber(errorInfo.source) : null; errorBoundaryName = getComponentNameFromFiber(boundary); var onCaughtError = root.onCaughtError; onCaughtError(errorInfo.value, { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); } catch (e$5) { setTimeout(function () { throw e$5; }); } } function createRootErrorUpdate(root, errorInfo, lane) { lane = createUpdate(lane); lane.tag = CaptureUpdate; lane.payload = { element: null }; lane.callback = function () { runWithFiberInDEV(errorInfo.source, logUncaughtError, root, errorInfo); }; return lane; } function createClassErrorUpdate(lane) { lane = createUpdate(lane); lane.tag = CaptureUpdate; return lane; } function initializeClassErrorUpdate(update, root, fiber, errorInfo) { var getDerivedStateFromError = fiber.type.getDerivedStateFromError; if ("function" === typeof getDerivedStateFromError) { var error = errorInfo.value; update.payload = function () { return getDerivedStateFromError(error); }; update.callback = function () { markFailedErrorBoundaryForHotReloading(fiber); runWithFiberInDEV(errorInfo.source, logCaughtError, root, fiber, errorInfo); }; } var inst = fiber.stateNode; null !== inst && "function" === typeof inst.componentDidCatch && (update.callback = function () { markFailedErrorBoundaryForHotReloading(fiber); runWithFiberInDEV(errorInfo.source, logCaughtError, root, fiber, errorInfo); "function" !== typeof getDerivedStateFromError && (null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = new Set([this]) : legacyErrorBoundariesThatAlreadyFailed.add(this)); callComponentDidCatchInDEV(this, errorInfo); "function" === typeof getDerivedStateFromError || 0 === (fiber.lanes & 2) && console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", getComponentNameFromFiber(fiber) || "Unknown"); }); } function throwException(root, returnFiber, sourceFiber, value, rootRenderLanes) { sourceFiber.flags |= 32768; isDevToolsPresent && restorePendingUpdaters(root, rootRenderLanes); if (null !== value && "object" === typeof value && "function" === typeof value.then) { returnFiber = sourceFiber.alternate; null !== returnFiber && propagateParentContextChanges(returnFiber, sourceFiber, rootRenderLanes, !0); isHydrating && (didSuspendOrErrorDEV = !0); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { case 13: return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && workInProgressRootExitStatus === RootInProgress && (workInProgressRootExitStatus = RootSuspended), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = new Set([value]) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)), !1; case 22: return sourceFiber.flags |= 65536, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? (returnFiber = { transitions: null, markerInstances: null, retryQueue: new Set([value]) }, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = new Set([value]) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)), !1; } throw Error("Unexpected Suspense handler tag (" + sourceFiber.tag + "). This is a bug in React."); } attachPingListener(root, value, rootRenderLanes); renderDidSuspendDelayIfPossible(); return !1; } if (isHydrating) return didSuspendOrErrorDEV = !0, returnFiber = suspenseHandlerStackCursor.current, null !== returnFiber ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256), returnFiber.flags |= 65536, returnFiber.lanes = rootRenderLanes, value !== HydrationMismatchException && queueHydrationError(createCapturedValueAtFiber(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.", { cause: value }), sourceFiber))) : (value !== HydrationMismatchException && queueHydrationError(createCapturedValueAtFiber(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.", { cause: value }), sourceFiber)), root = root.current.alternate, root.flags |= 65536, rootRenderLanes &= -rootRenderLanes, root.lanes |= rootRenderLanes, value = createCapturedValueAtFiber(value, sourceFiber), rootRenderLanes = createRootErrorUpdate(root.stateNode, value, rootRenderLanes), enqueueCapturedUpdate(root, rootRenderLanes), workInProgressRootExitStatus !== RootSuspendedWithDelay && (workInProgressRootExitStatus = RootErrored)), !1; var error = createCapturedValueAtFiber(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.", { cause: value }), sourceFiber); null === workInProgressRootConcurrentErrors ? workInProgressRootConcurrentErrors = [error] : workInProgressRootConcurrentErrors.push(error); workInProgressRootExitStatus !== RootSuspendedWithDelay && (workInProgressRootExitStatus = RootErrored); if (null === returnFiber) return !0; value = createCapturedValueAtFiber(value, sourceFiber); sourceFiber = returnFiber; do { switch (sourceFiber.tag) { case 3: return sourceFiber.flags |= 65536, root = rootRenderLanes & -rootRenderLanes, sourceFiber.lanes |= root, root = createRootErrorUpdate(sourceFiber.stateNode, value, root), enqueueCapturedUpdate(sourceFiber, root), !1; case 1: if (returnFiber = sourceFiber.type, error = sourceFiber.stateNode, 0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== error && "function" === typeof error.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(error)))) return sourceFiber.flags |= 65536, rootRenderLanes &= -rootRenderLanes, sourceFiber.lanes |= rootRenderLanes, rootRenderLanes = createClassErrorUpdate(rootRenderLanes), initializeClassErrorUpdate(rootRenderLanes, root, sourceFiber, value), enqueueCapturedUpdate(sourceFiber, rootRenderLanes), !1; } sourceFiber = sourceFiber.return; } while (null !== sourceFiber); return !1; } function reconcileChildren(current, workInProgress, nextChildren, renderLanes) { workInProgress.child = null === current ? mountChildFibers(workInProgress, null, nextChildren, renderLanes) : reconcileChildFibers(workInProgress, current.child, nextChildren, renderLanes); } function updateForwardRef(current, workInProgress, Component, nextProps, renderLanes) { Component = Component.render; var ref = workInProgress.ref; if ("ref" in nextProps) { var propsWithoutRef = {}; for (var key in nextProps) "ref" !== key && (propsWithoutRef[key] = nextProps[key]); } else propsWithoutRef = nextProps; prepareToReadContext(workInProgress); markComponentRenderStarted(workInProgress); nextProps = renderWithHooks(current, workInProgress, Component, propsWithoutRef, ref, renderLanes); key = checkDidRenderIdHook(); markComponentRenderStopped(); if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); isHydrating && key && pushMaterializedTreeId(workInProgress); workInProgress.flags |= 1; reconcileChildren(current, workInProgress, nextProps, renderLanes); return workInProgress.child; } function updateMemoComponent(current, workInProgress, Component, nextProps, renderLanes) { if (null === current) { var type = Component.type; if ("function" === typeof type && !shouldConstruct(type) && void 0 === type.defaultProps && null === Component.compare) return Component = resolveFunctionForHotReloading(type), workInProgress.tag = 15, workInProgress.type = Component, validateFunctionComponentInDev(workInProgress, type), updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes); current = createFiberFromTypeAndProps(Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes); current.ref = workInProgress.ref; current.return = workInProgress; return workInProgress.child = current; } type = current.child; if (!checkScheduledUpdateOrContext(current, renderLanes)) { var prevProps = type.memoizedProps; Component = Component.compare; Component = null !== Component ? Component : shallowEqual; if (Component(prevProps, nextProps) && current.ref === workInProgress.ref) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } workInProgress.flags |= 1; current = createWorkInProgress(type, nextProps); current.ref = workInProgress.ref; current.return = workInProgress; return workInProgress.child = current; } function updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes) { if (null !== current) { var prevProps = current.memoizedProps; if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref && workInProgress.type === current.type) if (didReceiveUpdate = !1, workInProgress.pendingProps = nextProps = prevProps, checkScheduledUpdateOrContext(current, renderLanes)) 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);else return workInProgress.lanes = current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes); } function updateOffscreenComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, nextChildren = nextProps.children, nextIsDetached = 0 !== (workInProgress.stateNode._pendingVisibility & OffscreenDetached), prevState = null !== current ? current.memoizedState : null; markRef(current, workInProgress); if ("hidden" === nextProps.mode || nextIsDetached) { if (0 !== (workInProgress.flags & 128)) { nextProps = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { nextChildren = workInProgress.child = current.child; for (nextIsDetached = 0; null !== nextChildren;) nextIsDetached = nextIsDetached | nextChildren.lanes | nextChildren.childLanes, nextChildren = nextChildren.sibling; workInProgress.childLanes = nextIsDetached & ~nextProps; } else workInProgress.childLanes = 0, workInProgress.child = null; return deferHiddenOffscreenComponent(current, workInProgress, nextProps, renderLanes); } if (0 !== (renderLanes & 536870912)) workInProgress.memoizedState = { baseLanes: 0, cachePool: null }, null !== current && pushTransition(workInProgress, null !== prevState ? prevState.cachePool : null), null !== prevState ? pushHiddenContext(workInProgress, prevState) : reuseHiddenContextOnStack(workInProgress), pushOffscreenSuspenseHandler(workInProgress);else return workInProgress.lanes = workInProgress.childLanes = 536870912, deferHiddenOffscreenComponent(current, workInProgress, null !== prevState ? prevState.baseLanes | renderLanes : renderLanes, renderLanes); } else null !== prevState ? (pushTransition(workInProgress, prevState.cachePool), pushHiddenContext(workInProgress, prevState), reuseSuspenseHandlerOnStack(workInProgress), workInProgress.memoizedState = null) : (null !== current && pushTransition(workInProgress, null), reuseHiddenContextOnStack(workInProgress), reuseSuspenseHandlerOnStack(workInProgress)); reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } function deferHiddenOffscreenComponent(current, workInProgress, nextBaseLanes, renderLanes) { var JSCompiler_inline_result = peekCacheFromPool(); JSCompiler_inline_result = null === JSCompiler_inline_result ? null : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result }; workInProgress.memoizedState = { baseLanes: nextBaseLanes, cachePool: JSCompiler_inline_result }; null !== current && pushTransition(workInProgress, null); reuseHiddenContextOnStack(workInProgress); pushOffscreenSuspenseHandler(workInProgress); null !== current && propagateParentContextChanges(current, workInProgress, renderLanes, !0); return null; } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) null !== current && null !== current.ref && (workInProgress.flags |= 2097664);else { if ("function" !== typeof ref && "object" !== typeof ref) throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null."); if (null === current || current.ref !== ref) workInProgress.flags |= 2097664; } } function updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) { if (Component.prototype && "function" === typeof Component.prototype.render) { var componentName = getComponentNameFromType(Component) || "Unknown"; didWarnAboutBadClass[componentName] || (console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", componentName, componentName), didWarnAboutBadClass[componentName] = !0); } workInProgress.mode & StrictLegacyMode && ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, null); null === current && (validateFunctionComponentInDev(workInProgress, workInProgress.type), Component.contextTypes && (componentName = getComponentNameFromType(Component) || "Unknown", didWarnAboutContextTypes[componentName] || (didWarnAboutContextTypes[componentName] = !0, console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)", componentName)))); prepareToReadContext(workInProgress); markComponentRenderStarted(workInProgress); Component = renderWithHooks(current, workInProgress, Component, nextProps, void 0, renderLanes); nextProps = checkDidRenderIdHook(); markComponentRenderStopped(); if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); isHydrating && nextProps && pushMaterializedTreeId(workInProgress); workInProgress.flags |= 1; reconcileChildren(current, workInProgress, Component, renderLanes); return workInProgress.child; } function replayFunctionComponent(current, workInProgress, nextProps, Component, secondArg, renderLanes) { prepareToReadContext(workInProgress); markComponentRenderStarted(workInProgress); hookTypesUpdateIndexDev = -1; ignorePreviousDependencies = null !== current && current.type !== workInProgress.type; workInProgress.updateQueue = null; nextProps = renderWithHooksAgain(workInProgress, Component, nextProps, secondArg); finishRenderingHooks(current, workInProgress); Component = checkDidRenderIdHook(); markComponentRenderStopped(); if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); isHydrating && Component && pushMaterializedTreeId(workInProgress); workInProgress.flags |= 1; reconcileChildren(current, workInProgress, nextProps, renderLanes); return workInProgress.child; } function updateClassComponent(current$jscomp$0, workInProgress, Component, nextProps, renderLanes) { switch (shouldErrorImpl(workInProgress)) { case !1: var _instance = workInProgress.stateNode, state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state; _instance.updater.enqueueSetState(_instance, state, null); break; case !0: workInProgress.flags |= 128; workInProgress.flags |= 65536; _instance = Error("Simulated error coming from DevTools"); var lane = renderLanes & -renderLanes; workInProgress.lanes |= lane; state = workInProgressRoot; if (null === state) throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue."); lane = createClassErrorUpdate(lane); initializeClassErrorUpdate(lane, state, workInProgress, createCapturedValueAtFiber(_instance, workInProgress)); enqueueCapturedUpdate(workInProgress, lane); } prepareToReadContext(workInProgress); if (null === workInProgress.stateNode) { state = emptyContextObject; _instance = Component.contextType; "contextType" in Component && null !== _instance && (void 0 === _instance || _instance.$$typeof !== REACT_CONTEXT_TYPE) && !didWarnAboutInvalidateContextType.has(Component) && (didWarnAboutInvalidateContextType.add(Component), lane = void 0 === _instance ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" !== typeof _instance ? " However, it is set to a " + typeof _instance + "." : _instance.$$typeof === REACT_CONSUMER_TYPE ? " Did you accidentally pass the Context.Consumer instead?" : " However, it is set to an object with keys {" + Object.keys(_instance).join(", ") + "}.", console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentNameFromType(Component) || "Component", lane)); "object" === typeof _instance && null !== _instance && (state = readContext(_instance)); _instance = new Component(nextProps, state); if (workInProgress.mode & StrictLegacyMode) { setIsStrictModeForDevtools(!0); try { _instance = new Component(nextProps, state); } finally { setIsStrictModeForDevtools(!1); } } state = workInProgress.memoizedState = null !== _instance.state && void 0 !== _instance.state ? _instance.state : null; _instance.updater = classComponentUpdater; workInProgress.stateNode = _instance; _instance._reactInternals = workInProgress; _instance._reactInternalInstance = fakeInternalInstance; "function" === typeof Component.getDerivedStateFromProps && null === state && (state = getComponentNameFromType(Component) || "Component", didWarnAboutUninitializedState.has(state) || (didWarnAboutUninitializedState.add(state), console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", state, null === _instance.state ? "null" : "undefined", state))); if ("function" === typeof Component.getDerivedStateFromProps || "function" === typeof _instance.getSnapshotBeforeUpdate) { var foundWillUpdateName = lane = state = null; "function" === typeof _instance.componentWillMount && !0 !== _instance.componentWillMount.__suppressDeprecationWarning ? state = "componentWillMount" : "function" === typeof _instance.UNSAFE_componentWillMount && (state = "UNSAFE_componentWillMount"); "function" === typeof _instance.componentWillReceiveProps && !0 !== _instance.componentWillReceiveProps.__suppressDeprecationWarning ? lane = "componentWillReceiveProps" : "function" === typeof _instance.UNSAFE_componentWillReceiveProps && (lane = "UNSAFE_componentWillReceiveProps"); "function" === typeof _instance.componentWillUpdate && !0 !== _instance.componentWillUpdate.__suppressDeprecationWarning ? foundWillUpdateName = "componentWillUpdate" : "function" === typeof _instance.UNSAFE_componentWillUpdate && (foundWillUpdateName = "UNSAFE_componentWillUpdate"); if (null !== state || null !== lane || null !== foundWillUpdateName) { _instance = getComponentNameFromType(Component) || "Component"; var newApiName = "function" === typeof Component.getDerivedStateFromProps ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()"; didWarnAboutLegacyLifecyclesAndDerivedState.has(_instance) || (didWarnAboutLegacyLifecyclesAndDerivedState.add(_instance), console.error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles", _instance, newApiName, null !== state ? "\n " + state : "", null !== lane ? "\n " + lane : "", null !== foundWillUpdateName ? "\n " + foundWillUpdateName : "")); } } _instance = workInProgress.stateNode; state = getComponentNameFromType(Component) || "Component"; _instance.render || (Component.prototype && "function" === typeof Component.prototype.render ? console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?", state) : console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.", state)); !_instance.getInitialState || _instance.getInitialState.isReactClassApproved || _instance.state || console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", state); _instance.getDefaultProps && !_instance.getDefaultProps.isReactClassApproved && console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", state); _instance.contextType && console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", state); Component.childContextTypes && !didWarnAboutChildContextTypes.has(Component) && (didWarnAboutChildContextTypes.add(Component), console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)", state)); Component.contextTypes && !didWarnAboutContextTypes$1.has(Component) && (didWarnAboutContextTypes$1.add(Component), console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)", state)); "function" === typeof _instance.componentShouldUpdate && console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", state); Component.prototype && Component.prototype.isPureReactComponent && "undefined" !== typeof _instance.shouldComponentUpdate && console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", getComponentNameFromType(Component) || "A pure component"); "function" === typeof _instance.componentDidUnmount && console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", state); "function" === typeof _instance.componentDidReceiveProps && console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", state); "function" === typeof _instance.componentWillRecieveProps && console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", state); "function" === typeof _instance.UNSAFE_componentWillRecieveProps && console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", state); lane = _instance.props !== nextProps; void 0 !== _instance.props && lane && console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", state); _instance.defaultProps && console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", state, state); "function" !== typeof _instance.getSnapshotBeforeUpdate || "function" === typeof _instance.componentDidUpdate || didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(Component) || (didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(Component), console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", getComponentNameFromType(Component))); "function" === typeof _instance.getDerivedStateFromProps && console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", state); "function" === typeof _instance.getDerivedStateFromError && console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", state); "function" === typeof Component.getSnapshotBeforeUpdate && console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", state); (lane = _instance.state) && ("object" !== typeof lane || isArrayImpl(lane)) && console.error("%s.state: must be set to an object or null", state); "function" === typeof _instance.getChildContext && "object" !== typeof Component.childContextTypes && console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", state); _instance = workInProgress.stateNode; _instance.props = nextProps; _instance.state = workInProgress.memoizedState; _instance.refs = {}; initializeUpdateQueue(workInProgress); state = Component.contextType; _instance.context = "object" === typeof state && null !== state ? readContext(state) : emptyContextObject; _instance.state === nextProps && (state = getComponentNameFromType(Component) || "Component", didWarnAboutDirectlyAssigningPropsToState.has(state) || (didWarnAboutDirectlyAssigningPropsToState.add(state), console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", state))); workInProgress.mode & StrictLegacyMode && ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, _instance); ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress, _instance); _instance.state = workInProgress.memoizedState; state = Component.getDerivedStateFromProps; "function" === typeof state && (applyDerivedStateFromProps(workInProgress, Component, state, nextProps), _instance.state = workInProgress.memoizedState); "function" === typeof Component.getDerivedStateFromProps || "function" === typeof _instance.getSnapshotBeforeUpdate || "function" !== typeof _instance.UNSAFE_componentWillMount && "function" !== typeof _instance.componentWillMount || (state = _instance.state, "function" === typeof _instance.componentWillMount && _instance.componentWillMount(), "function" === typeof _instance.UNSAFE_componentWillMount && _instance.UNSAFE_componentWillMount(), state !== _instance.state && (console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", getComponentNameFromFiber(workInProgress) || "Component"), classComponentUpdater.enqueueReplaceState(_instance, _instance.state, null)), processUpdateQueue(workInProgress, nextProps, _instance, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction(), _instance.state = workInProgress.memoizedState); "function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308); (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 67108864); _instance = !0; } else if (null === current$jscomp$0) { _instance = workInProgress.stateNode; var unresolvedOldProps = workInProgress.memoizedProps; lane = resolveClassComponentProps(Component, unresolvedOldProps); _instance.props = lane; var oldContext = _instance.context; foundWillUpdateName = Component.contextType; state = emptyContextObject; "object" === typeof foundWillUpdateName && null !== foundWillUpdateName && (state = readContext(foundWillUpdateName)); newApiName = Component.getDerivedStateFromProps; foundWillUpdateName = "function" === typeof newApiName || "function" === typeof _instance.getSnapshotBeforeUpdate; unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps; foundWillUpdateName || "function" !== typeof _instance.UNSAFE_componentWillReceiveProps && "function" !== typeof _instance.componentWillReceiveProps || (unresolvedOldProps || oldContext !== state) && callComponentWillReceiveProps(workInProgress, _instance, nextProps, state); hasForceUpdate = !1; var oldState = workInProgress.memoizedState; _instance.state = oldState; processUpdateQueue(workInProgress, nextProps, _instance, renderLanes); suspendIfUpdateReadFromEntangledAsyncAction(); oldContext = workInProgress.memoizedState; unresolvedOldProps || oldState !== oldContext || hasForceUpdate ? ("function" === typeof newApiName && (applyDerivedStateFromProps(workInProgress, Component, newApiName, nextProps), oldContext = workInProgress.memoizedState), (lane = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, lane, nextProps, oldState, oldContext, state)) ? (foundWillUpdateName || "function" !== typeof _instance.UNSAFE_componentWillMount && "function" !== typeof _instance.componentWillMount || ("function" === typeof _instance.componentWillMount && _instance.componentWillMount(), "function" === typeof _instance.UNSAFE_componentWillMount && _instance.UNSAFE_componentWillMount()), "function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 67108864)) : ("function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 67108864), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = oldContext), _instance.props = nextProps, _instance.state = oldContext, _instance.context = state, _instance = lane) : ("function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 67108864), _instance = !1); } else { _instance = workInProgress.stateNode; cloneUpdateQueue(current$jscomp$0, workInProgress); state = workInProgress.memoizedProps; foundWillUpdateName = resolveClassComponentProps(Component, state); _instance.props = foundWillUpdateName; newApiName = workInProgress.pendingProps; oldState = _instance.context; oldContext = Component.contextType; lane = emptyContextObject; "object" === typeof oldContext && null !== oldContext && (lane = readContext(oldContext)); unresolvedOldProps = Component.getDerivedStateFromProps; (oldContext = "function" === typeof unresolvedOldProps || "function" === typeof _instance.getSnapshotBeforeUpdate) || "function" !== typeof _instance.UNSAFE_componentWillReceiveProps && "function" !== typeof _instance.componentWillReceiveProps || (state !== newApiName || oldState !== lane) && callComponentWillReceiveProps(workInProgress, _instance, nextProps, lane); hasForceUpdate = !1; oldState = workInProgress.memoizedState; _instance.state = oldState; processUpdateQueue(workInProgress, nextProps, _instance, renderLanes); suspendIfUpdateReadFromEntangledAsyncAction(); var newState = workInProgress.memoizedState; state !== newApiName || oldState !== newState || hasForceUpdate || null !== current$jscomp$0 && null !== current$jscomp$0.dependencies && checkIfContextChanged(current$jscomp$0.dependencies) ? ("function" === typeof unresolvedOldProps && (applyDerivedStateFromProps(workInProgress, Component, unresolvedOldProps, nextProps), newState = workInProgress.memoizedState), (foundWillUpdateName = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, foundWillUpdateName, nextProps, oldState, newState, lane) || null !== current$jscomp$0 && null !== current$jscomp$0.dependencies && checkIfContextChanged(current$jscomp$0.dependencies)) ? (oldContext || "function" !== typeof _instance.UNSAFE_componentWillUpdate && "function" !== typeof _instance.componentWillUpdate || ("function" === typeof _instance.componentWillUpdate && _instance.componentWillUpdate(nextProps, newState, lane), "function" === typeof _instance.UNSAFE_componentWillUpdate && _instance.UNSAFE_componentWillUpdate(nextProps, newState, lane)), "function" === typeof _instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof _instance.getSnapshotBeforeUpdate && (workInProgress.flags |= 1024)) : ("function" !== typeof _instance.componentDidUpdate || state === current$jscomp$0.memoizedProps && oldState === current$jscomp$0.memoizedState || (workInProgress.flags |= 4), "function" !== typeof _instance.getSnapshotBeforeUpdate || state === current$jscomp$0.memoizedProps && oldState === current$jscomp$0.memoizedState || (workInProgress.flags |= 1024), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = newState), _instance.props = nextProps, _instance.state = newState, _instance.context = lane, _instance = foundWillUpdateName) : ("function" !== typeof _instance.componentDidUpdate || state === current$jscomp$0.memoizedProps && oldState === current$jscomp$0.memoizedState || (workInProgress.flags |= 4), "function" !== typeof _instance.getSnapshotBeforeUpdate || state === current$jscomp$0.memoizedProps && oldState === current$jscomp$0.memoizedState || (workInProgress.flags |= 1024), _instance = !1); } lane = _instance; markRef(current$jscomp$0, workInProgress); state = 0 !== (workInProgress.flags & 128); if (lane || state) { lane = workInProgress.stateNode; ReactSharedInternals.getCurrentStack = null === workInProgress ? null : getCurrentFiberStackInDev; isRendering = !1; current = workInProgress; if (state && "function" !== typeof Component.getDerivedStateFromError) Component = null, profilerStartTime = -1;else { markComponentRenderStarted(workInProgress); Component = callRenderInDEV(lane); if (workInProgress.mode & StrictLegacyMode) { setIsStrictModeForDevtools(!0); try { callRenderInDEV(lane); } finally { setIsStrictModeForDevtools(!1); } } markComponentRenderStopped(); } workInProgress.flags |= 1; null !== current$jscomp$0 && state ? (workInProgress.child = reconcileChildFibers(workInProgress, current$jscomp$0.child, null, renderLanes), workInProgress.child = reconcileChildFibers(workInProgress, null, Component, renderLanes)) : reconcileChildren(current$jscomp$0, workInProgress, Component, renderLanes); workInProgress.memoizedState = lane.state; current$jscomp$0 = workInProgress.child; } else current$jscomp$0 = bailoutOnAlreadyFinishedWork(current$jscomp$0, workInProgress, renderLanes); renderLanes = workInProgress.stateNode; _instance && renderLanes.props !== nextProps && (didWarnAboutReassigningProps || console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", getComponentNameFromFiber(workInProgress) || "a component"), didWarnAboutReassigningProps = !0); return current$jscomp$0; } function mountHostRootWithoutHydrating(current, workInProgress, nextChildren, renderLanes) { resetHydrationState(); workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } function validateFunctionComponentInDev(workInProgress, Component) { Component && Component.childContextTypes && console.error("childContextTypes cannot be defined on a function component.\n %s.childContextTypes = ...", Component.displayName || Component.name || "Component"); "function" === typeof Component.getDerivedStateFromProps && (workInProgress = getComponentNameFromType(Component) || "Unknown", didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] || (console.error("%s: Function components do not support getDerivedStateFromProps.", workInProgress), didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] = !0)); "object" === typeof Component.contextType && null !== Component.contextType && (Component = getComponentNameFromType(Component) || "Unknown", didWarnAboutContextTypeOnFunctionComponent[Component] || (console.error("%s: Function components do not support contextType.", Component), didWarnAboutContextTypeOnFunctionComponent[Component] = !0)); } function mountSuspenseOffscreenState(renderLanes) { return { baseLanes: renderLanes, cachePool: getSuspendedCache() }; } function getRemainingWorkInPrimaryTree(current, primaryTreeDidDefer, renderLanes) { current = null !== current ? current.childLanes & ~renderLanes : 0; primaryTreeDidDefer && (current |= workInProgressDeferredLane); return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { var JSCompiler_object_inline_digest_2317; var JSCompiler_object_inline_stack_2318 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); var JSCompiler_object_inline_componentStack_2319 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); (JSCompiler_object_inline_digest_2317 = didSuspend) || (JSCompiler_object_inline_digest_2317 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); JSCompiler_object_inline_digest_2317 && (JSCompiler_object_inline_componentStack_2319 = !0, workInProgress.flags &= -129); JSCompiler_object_inline_digest_2317 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { JSCompiler_object_inline_componentStack_2319 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { var JSCompiler_object_inline_message_2316 = nextHydratableInstance; var JSCompiler_temp; if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2316)) { c: { var instance = JSCompiler_object_inline_message_2316; for (JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType;) { if (!JSCompiler_temp) { JSCompiler_temp = null; break c; } instance = getNextHydratable(instance.nextSibling); if (null === instance) { JSCompiler_temp = null; break c; } } JSCompiler_temp = instance; } null !== JSCompiler_temp ? (warnIfNotHydrating(), workInProgress.memoizedState = { dehydrated: JSCompiler_temp, treeContext: null !== treeContextProvider ? { id: treeContextId, overflow: treeContextOverflow } : null, retryLane: 536870912 }, instance = createFiber(18, null, null, NoMode), instance.stateNode = JSCompiler_temp, instance.return = workInProgress, workInProgress.child = instance, hydrationParentFiber = workInProgress, nextHydratableInstance = null, JSCompiler_temp = !0) : JSCompiler_temp = !1; JSCompiler_temp = !JSCompiler_temp; } JSCompiler_temp && (warnNonHydratedInstance(workInProgress, JSCompiler_object_inline_message_2316), throwOnHydrationMismatch(workInProgress)); } JSCompiler_object_inline_message_2316 = workInProgress.memoizedState; if (null !== JSCompiler_object_inline_message_2316 && (JSCompiler_object_inline_message_2316 = JSCompiler_object_inline_message_2316.dehydrated, null !== JSCompiler_object_inline_message_2316)) return JSCompiler_object_inline_message_2316.data === SUSPENSE_FALLBACK_START_DATA ? workInProgress.lanes = 16 : workInProgress.lanes = 536870912, null; popSuspenseHandler(workInProgress); } JSCompiler_object_inline_message_2316 = JSCompiler_object_inline_stack_2318.children; JSCompiler_object_inline_stack_2318 = JSCompiler_object_inline_stack_2318.fallback; if (JSCompiler_object_inline_componentStack_2319) return reuseSuspenseHandlerOnStack(workInProgress), JSCompiler_object_inline_componentStack_2319 = workInProgress.mode, JSCompiler_object_inline_message_2316 = mountWorkInProgressOffscreenFiber({ mode: "hidden", children: JSCompiler_object_inline_message_2316 }, JSCompiler_object_inline_componentStack_2319), JSCompiler_object_inline_stack_2318 = createFiberFromFragment(JSCompiler_object_inline_stack_2318, JSCompiler_object_inline_componentStack_2319, renderLanes, null), JSCompiler_object_inline_message_2316.return = workInProgress, JSCompiler_object_inline_stack_2318.return = workInProgress, JSCompiler_object_inline_message_2316.sibling = JSCompiler_object_inline_stack_2318, workInProgress.child = JSCompiler_object_inline_message_2316, JSCompiler_object_inline_componentStack_2319 = workInProgress.child, JSCompiler_object_inline_componentStack_2319.memoizedState = mountSuspenseOffscreenState(renderLanes), JSCompiler_object_inline_componentStack_2319.childLanes = getRemainingWorkInPrimaryTree(current, JSCompiler_object_inline_digest_2317, renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, JSCompiler_object_inline_stack_2318; pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, JSCompiler_object_inline_message_2316); } var prevState = current.memoizedState; if (null !== prevState && (JSCompiler_object_inline_message_2316 = prevState.dehydrated, null !== JSCompiler_object_inline_message_2316)) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), workInProgress.flags &= -257, workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes)) : null !== workInProgress.memoizedState ? (reuseSuspenseHandlerOnStack(workInProgress), workInProgress.child = current.child, workInProgress.flags |= 128, workInProgress = null) : (reuseSuspenseHandlerOnStack(workInProgress), JSCompiler_object_inline_componentStack_2319 = JSCompiler_object_inline_stack_2318.fallback, JSCompiler_object_inline_message_2316 = workInProgress.mode, JSCompiler_object_inline_stack_2318 = mountWorkInProgressOffscreenFiber({ mode: "visible", children: JSCompiler_object_inline_stack_2318.children }, JSCompiler_object_inline_message_2316), JSCompiler_object_inline_componentStack_2319 = createFiberFromFragment(JSCompiler_object_inline_componentStack_2319, JSCompiler_object_inline_message_2316, renderLanes, null), JSCompiler_object_inline_componentStack_2319.flags |= 2, JSCompiler_object_inline_stack_2318.return = workInProgress, JSCompiler_object_inline_componentStack_2319.return = workInProgress, JSCompiler_object_inline_stack_2318.sibling = JSCompiler_object_inline_componentStack_2319, workInProgress.child = JSCompiler_object_inline_stack_2318, reconcileChildFibers(workInProgress, current.child, null, renderLanes), JSCompiler_object_inline_stack_2318 = workInProgress.child, JSCompiler_object_inline_stack_2318.memoizedState = mountSuspenseOffscreenState(renderLanes), JSCompiler_object_inline_stack_2318.childLanes = getRemainingWorkInPrimaryTree(current, JSCompiler_object_inline_digest_2317, renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, workInProgress = JSCompiler_object_inline_componentStack_2319);else if (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error("We should not be hydrating here. This is a bug in React. Please file a bug."), JSCompiler_object_inline_message_2316.data === SUSPENSE_FALLBACK_START_DATA) { JSCompiler_object_inline_digest_2317 = JSCompiler_object_inline_message_2316.nextSibling && JSCompiler_object_inline_message_2316.nextSibling.dataset; if (JSCompiler_object_inline_digest_2317) { JSCompiler_temp = JSCompiler_object_inline_digest_2317.dgst; var message = JSCompiler_object_inline_digest_2317.msg; instance = JSCompiler_object_inline_digest_2317.stck; var componentStack = JSCompiler_object_inline_digest_2317.cstck; } JSCompiler_object_inline_message_2316 = message; JSCompiler_object_inline_digest_2317 = JSCompiler_temp; JSCompiler_object_inline_stack_2318 = instance; JSCompiler_temp = JSCompiler_object_inline_componentStack_2319 = componentStack; JSCompiler_object_inline_componentStack_2319 = JSCompiler_object_inline_message_2316 ? Error(JSCompiler_object_inline_message_2316) : Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."); JSCompiler_object_inline_componentStack_2319.stack = JSCompiler_object_inline_stack_2318 || ""; JSCompiler_object_inline_componentStack_2319.digest = JSCompiler_object_inline_digest_2317; JSCompiler_object_inline_digest_2317 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; JSCompiler_object_inline_stack_2318 = { value: JSCompiler_object_inline_componentStack_2319, source: null, stack: JSCompiler_object_inline_digest_2317 }; "string" === typeof JSCompiler_object_inline_digest_2317 && CapturedStacks.set(JSCompiler_object_inline_componentStack_2319, JSCompiler_object_inline_stack_2318); queueHydrationError(JSCompiler_object_inline_stack_2318); workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes); } else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes, !1), JSCompiler_object_inline_digest_2317 = 0 !== (renderLanes & current.childLanes), didReceiveUpdate || JSCompiler_object_inline_digest_2317) { JSCompiler_object_inline_digest_2317 = workInProgressRoot; if (null !== JSCompiler_object_inline_digest_2317) { JSCompiler_object_inline_stack_2318 = renderLanes & -renderLanes; if (0 !== (JSCompiler_object_inline_stack_2318 & 42)) JSCompiler_object_inline_stack_2318 = 1;else switch (JSCompiler_object_inline_stack_2318) { case 2: JSCompiler_object_inline_stack_2318 = 1; break; case 8: JSCompiler_object_inline_stack_2318 = 4; break; case 32: JSCompiler_object_inline_stack_2318 = 16; break; case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: case 4194304: case 8388608: case 16777216: case 33554432: JSCompiler_object_inline_stack_2318 = 64; break; case 268435456: JSCompiler_object_inline_stack_2318 = 134217728; break; default: JSCompiler_object_inline_stack_2318 = 0; } JSCompiler_object_inline_stack_2318 = 0 !== (JSCompiler_object_inline_stack_2318 & (JSCompiler_object_inline_digest_2317.suspendedLanes | renderLanes)) ? 0 : JSCompiler_object_inline_stack_2318; if (0 !== JSCompiler_object_inline_stack_2318 && JSCompiler_object_inline_stack_2318 !== prevState.retryLane) throw prevState.retryLane = JSCompiler_object_inline_stack_2318, enqueueConcurrentRenderForLane(current, JSCompiler_object_inline_stack_2318), scheduleUpdateOnFiber(JSCompiler_object_inline_digest_2317, current, JSCompiler_object_inline_stack_2318), SelectiveHydrationException; } JSCompiler_object_inline_message_2316.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes); } else JSCompiler_object_inline_message_2316.data === SUSPENSE_PENDING_START_DATA ? (workInProgress.flags |= 128, workInProgress.child = current.child, workInProgress = retryDehydratedSuspenseBoundary.bind(null, current), JSCompiler_object_inline_message_2316._reactRetry = workInProgress, workInProgress = null) : (current = prevState.treeContext, nextHydratableInstance = getNextHydratable(JSCompiler_object_inline_message_2316.nextSibling), hydrationParentFiber = workInProgress, isHydrating = !0, hydrationErrors = null, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, rootOrSingletonContext = !1, null !== current && (warnIfNotHydrating(), idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextId = current.id, treeContextOverflow = current.overflow, treeContextProvider = workInProgress), workInProgress = mountSuspensePrimaryChildren(workInProgress, JSCompiler_object_inline_stack_2318.children), workInProgress.flags |= 4096); return workInProgress; } if (JSCompiler_object_inline_componentStack_2319) return reuseSuspenseHandlerOnStack(workInProgress), JSCompiler_object_inline_componentStack_2319 = JSCompiler_object_inline_stack_2318.fallback, JSCompiler_object_inline_message_2316 = workInProgress.mode, JSCompiler_temp = current.child, instance = JSCompiler_temp.sibling, JSCompiler_object_inline_stack_2318 = createWorkInProgress(JSCompiler_temp, { mode: "hidden", children: JSCompiler_object_inline_stack_2318.children }), JSCompiler_object_inline_stack_2318.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280, null !== instance ? JSCompiler_object_inline_componentStack_2319 = createWorkInProgress(instance, JSCompiler_object_inline_componentStack_2319) : (JSCompiler_object_inline_componentStack_2319 = createFiberFromFragment(JSCompiler_object_inline_componentStack_2319, JSCompiler_object_inline_message_2316, renderLanes, null), JSCompiler_object_inline_componentStack_2319.flags |= 2), JSCompiler_object_inline_componentStack_2319.return = workInProgress, JSCompiler_object_inline_stack_2318.return = workInProgress, JSCompiler_object_inline_stack_2318.sibling = JSCompiler_object_inline_componentStack_2319, workInProgress.child = JSCompiler_object_inline_stack_2318, JSCompiler_object_inline_stack_2318 = JSCompiler_object_inline_componentStack_2319, JSCompiler_object_inline_componentStack_2319 = workInProgress.child, JSCompiler_object_inline_message_2316 = current.child.memoizedState, null === JSCompiler_object_inline_message_2316 ? JSCompiler_object_inline_message_2316 = mountSuspenseOffscreenState(renderLanes) : (JSCompiler_temp = JSCompiler_object_inline_message_2316.cachePool, null !== JSCompiler_temp ? (instance = CacheContext._currentValue, JSCompiler_temp = JSCompiler_temp.parent !== instance ? { parent: instance, pool: instance } : JSCompiler_temp) : JSCompiler_temp = getSuspendedCache(), JSCompiler_object_inline_message_2316 = { baseLanes: JSCompiler_object_inline_message_2316.baseLanes | renderLanes, cachePool: JSCompiler_temp }), JSCompiler_object_inline_componentStack_2319.memoizedState = JSCompiler_object_inline_message_2316, JSCompiler_object_inline_componentStack_2319.childLanes = getRemainingWorkInPrimaryTree(current, JSCompiler_object_inline_digest_2317, renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, JSCompiler_object_inline_stack_2318; pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", children: JSCompiler_object_inline_stack_2318.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && (JSCompiler_object_inline_digest_2317 = workInProgress.deletions, null === JSCompiler_object_inline_digest_2317 ? (workInProgress.deletions = [current], workInProgress.flags |= 16) : JSCompiler_object_inline_digest_2317.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber({ mode: "visible", children: primaryChildren }, workInProgress.mode); primaryChildren.return = workInProgress; return workInProgress.child = primaryChildren; } function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { return createFiberFromOffscreen(offscreenProps, mode, 0, null); } function retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes) { reconcileChildFibers(workInProgress, current.child, null, renderLanes); current = mountSuspensePrimaryChildren(workInProgress, workInProgress.pendingProps.children); current.flags |= 2; workInProgress.memoizedState = null; return current; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { fiber.lanes |= renderLanes; var alternate = fiber.alternate; null !== alternate && (alternate.lanes |= renderLanes); scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot); } function validateSuspenseListNestedChild(childSlot, index) { var isAnArray = isArrayImpl(childSlot); childSlot = !isAnArray && "function" === typeof getIteratorFn(childSlot); return isAnArray || childSlot ? (isAnArray = isAnArray ? "array" : "iterable", console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>", isAnArray, index, isAnArray), !1) : !0; } function initSuspenseListRenderState(workInProgress, isBackwards, tail, lastContentRow, tailMode) { var renderState = workInProgress.memoizedState; null === renderState ? workInProgress.memoizedState = { isBackwards: isBackwards, rendering: null, renderingStartTime: 0, last: lastContentRow, tail: tail, tailMode: tailMode } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode); } function updateSuspenseListComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail; nextProps = nextProps.children; if (void 0 !== revealOrder && "forwards" !== revealOrder && "backwards" !== revealOrder && "together" !== revealOrder && !didWarnAboutRevealOrder[revealOrder]) if (didWarnAboutRevealOrder[revealOrder] = !0, "string" === typeof revealOrder) switch (revealOrder.toLowerCase()) { case "together": case "forwards": case "backwards": console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.', revealOrder, revealOrder.toLowerCase()); break; case "forward": case "backward": console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.', revealOrder, revealOrder.toLowerCase()); break; default: console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', revealOrder); } else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', revealOrder); void 0 === tailMode || didWarnAboutTailOptions[tailMode] || ("collapsed" !== tailMode && "hidden" !== tailMode ? (didWarnAboutTailOptions[tailMode] = !0, console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?', tailMode)) : "forwards" !== revealOrder && "backwards" !== revealOrder && (didWarnAboutTailOptions[tailMode] = !0, console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?', tailMode))); a: if (("forwards" === revealOrder || "backwards" === revealOrder) && void 0 !== nextProps && null !== nextProps && !1 !== nextProps) if (isArrayImpl(nextProps)) for (var i = 0; i < nextProps.length; i++) { if (!validateSuspenseListNestedChild(nextProps[i], i)) break a; } else if (i = getIteratorFn(nextProps), "function" === typeof i) { if (i = i.call(nextProps)) for (var step = i.next(), _i = 0; !step.done; step = i.next()) { if (!validateSuspenseListNestedChild(step.value, _i)) break a; _i++; } } else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?', revealOrder); reconcileChildren(current, workInProgress, nextProps, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & ForceSuspenseFallback)) nextProps = nextProps & SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress.flags |= 128;else { if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current;) { if (13 === current.tag) null !== current.memoizedState && scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);else if (19 === current.tag) scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);else if (null !== current.child) { current.child.return = current; current = current.child; continue; } if (current === workInProgress) break a; for (; null === current.sibling;) { if (null === current.return || current.return === workInProgress) break a; current = current.return; } current.sibling.return = current.return; current = current.sibling; } nextProps &= SubtreeSuspenseContextMask; } push(suspenseStackCursor, nextProps, workInProgress); switch (revealOrder) { case "forwards": renderLanes = workInProgress.child; for (revealOrder = null; null !== renderLanes;) current = renderLanes.alternate, null !== current && null === findFirstSuspended(current) && (revealOrder = renderLanes), renderLanes = renderLanes.sibling; renderLanes = revealOrder; null === renderLanes ? (revealOrder = workInProgress.child, workInProgress.child = null) : (revealOrder = renderLanes.sibling, renderLanes.sibling = null); initSuspenseListRenderState(workInProgress, !1, revealOrder, renderLanes, tailMode); break; case "backwards": renderLanes = null; revealOrder = workInProgress.child; for (workInProgress.child = null; null !== revealOrder;) { current = revealOrder.alternate; if (null !== current && null === findFirstSuspended(current)) { workInProgress.child = revealOrder; break; } current = revealOrder.sibling; revealOrder.sibling = renderLanes; renderLanes = revealOrder; revealOrder = current; } initSuspenseListRenderState(workInProgress, !0, renderLanes, null, tailMode); break; case "together": initSuspenseListRenderState(workInProgress, !1, null, null, void 0); break; default: workInProgress.memoizedState = null; } return workInProgress.child; } function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) { null !== current && (workInProgress.dependencies = current.dependencies); profilerStartTime = -1; workInProgressRootSkippedLanes |= workInProgress.lanes; if (0 === (renderLanes & workInProgress.childLanes)) if (null !== current) { if (propagateParentContextChanges(current, workInProgress, renderLanes, !1), 0 === (renderLanes & workInProgress.childLanes)) return null; } else return null; if (null !== current && workInProgress.child !== current.child) throw Error("Resuming work not yet implemented."); if (null !== workInProgress.child) { current = workInProgress.child; renderLanes = createWorkInProgress(current, current.pendingProps); workInProgress.child = renderLanes; for (renderLanes.return = workInProgress; null !== current.sibling;) current = current.sibling, renderLanes = renderLanes.sibling = createWorkInProgress(current, current.pendingProps), renderLanes.return = workInProgress; renderLanes.sibling = null; } return workInProgress.child; } function checkScheduledUpdateOrContext(current, renderLanes) { if (0 !== (current.lanes & renderLanes)) return !0; current = current.dependencies; return null !== current && checkIfContextChanged(current) ? !0 : !1; } function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes) { switch (workInProgress.tag) { case 3: pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); pushProvider(workInProgress, CacheContext, current.memoizedState.cache); resetHydrationState(); break; case 27: case 5: pushHostContext(workInProgress); break; case 4: pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); break; case 10: pushProvider(workInProgress, workInProgress.type, workInProgress.memoizedProps.value); break; case 12: 0 !== (renderLanes & workInProgress.childLanes) && (workInProgress.flags |= 4); workInProgress.flags |= 2048; var stateNode = workInProgress.stateNode; stateNode.effectDuration = -0; stateNode.passiveEffectDuration = -0; break; case 13: stateNode = workInProgress.memoizedState; if (null !== stateNode) { if (null !== stateNode.dehydrated) return pushPrimaryTreeSuspenseHandler(workInProgress), workInProgress.flags |= 128, null; if (0 !== (renderLanes & workInProgress.child.childLanes)) return updateSuspenseComponent(current, workInProgress, renderLanes); pushPrimaryTreeSuspenseHandler(workInProgress); current = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); return null !== current ? current.sibling : null; } pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); stateNode = 0 !== (renderLanes & workInProgress.childLanes); stateNode || (propagateParentContextChanges(current, workInProgress, renderLanes, !1), stateNode = 0 !== (renderLanes & workInProgress.childLanes)); if (didSuspendBefore) { if (stateNode) return updateSuspenseListComponent(current, workInProgress, renderLanes); workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && (didSuspendBefore.rendering = null, didSuspendBefore.tail = null, didSuspendBefore.lastEffect = null); push(suspenseStackCursor, suspenseStackCursor.current, workInProgress); if (stateNode) break;else return null; case 22: case 23: return workInProgress.lanes = 0, updateOffscreenComponent(current, workInProgress, renderLanes); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } function beginWork(current, workInProgress, renderLanes) { if (workInProgress._debugNeedsRemount && null !== current) { renderLanes = createFiberFromTypeAndProps(workInProgress.type, workInProgress.key, workInProgress.pendingProps, workInProgress._debugOwner || null, workInProgress.mode, workInProgress.lanes); var returnFiber = workInProgress.return; if (null === returnFiber) throw Error("Cannot swap the root fiber."); current.alternate = null; workInProgress.alternate = null; renderLanes.index = workInProgress.index; renderLanes.sibling = workInProgress.sibling; renderLanes.return = workInProgress.return; renderLanes.ref = workInProgress.ref; renderLanes._debugInfo = workInProgress._debugInfo; if (workInProgress === returnFiber.child) returnFiber.child = renderLanes;else { var prevSibling = returnFiber.child; if (null === prevSibling) throw Error("Expected parent to have a child."); for (; prevSibling.sibling !== workInProgress;) if (prevSibling = prevSibling.sibling, null === prevSibling) throw Error("Expected to find the previous sibling."); prevSibling.sibling = renderLanes; } workInProgress = returnFiber.deletions; null === workInProgress ? (returnFiber.deletions = [current], returnFiber.flags |= 16) : workInProgress.push(current); renderLanes.flags |= 2; return renderLanes; } if (null !== current) { if (current.memoizedProps !== workInProgress.pendingProps || workInProgress.type !== current.type) didReceiveUpdate = !0;else { if (!checkScheduledUpdateOrContext(current, renderLanes) && 0 === (workInProgress.flags & 128)) return didReceiveUpdate = !1, attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes); didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } } else { didReceiveUpdate = !1; if (returnFiber = isHydrating) warnIfNotHydrating(), returnFiber = 0 !== (workInProgress.flags & 1048576); returnFiber && (returnFiber = workInProgress.index, warnIfNotHydrating(), pushTreeId(workInProgress, treeForkCount, returnFiber)); } workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: a: if (returnFiber = workInProgress.pendingProps, current = callLazyInitInDEV(workInProgress.elementType), workInProgress.type = current, "function" === typeof current) shouldConstruct(current) ? (returnFiber = resolveClassComponentProps(current, returnFiber), workInProgress.tag = 1, workInProgress.type = current = resolveFunctionForHotReloading(current), workInProgress = updateClassComponent(null, workInProgress, current, returnFiber, renderLanes)) : (workInProgress.tag = 0, validateFunctionComponentInDev(workInProgress, current), workInProgress.type = current = resolveFunctionForHotReloading(current), workInProgress = updateFunctionComponent(null, workInProgress, current, returnFiber, renderLanes));else { if (void 0 !== current && null !== current) if (prevSibling = current.$$typeof, prevSibling === REACT_FORWARD_REF_TYPE) { workInProgress.tag = 11; workInProgress.type = current = resolveForwardRefForHotReloading(current); workInProgress = updateForwardRef(null, workInProgress, current, returnFiber, renderLanes); break a; } else if (prevSibling === REACT_MEMO_TYPE) { workInProgress.tag = 14; workInProgress = updateMemoComponent(null, workInProgress, current, returnFiber, renderLanes); break a; } workInProgress = ""; null !== current && "object" === typeof current && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); current = getComponentNameFromType(current) || current; throw Error("Element type is invalid. Received a promise that resolves to: " + current + ". Lazy element type must resolve to a class or function." + workInProgress); } return workInProgress; case 0: return updateFunctionComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); case 1: return returnFiber = workInProgress.type, prevSibling = resolveClassComponentProps(returnFiber, workInProgress.pendingProps), updateClassComponent(current, workInProgress, returnFiber, prevSibling, renderLanes); case 3: a: { pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); if (null === current) throw Error("Should have a current fiber. This is a bug in React."); var nextProps = workInProgress.pendingProps; prevSibling = workInProgress.memoizedState; returnFiber = prevSibling.element; cloneUpdateQueue(current, workInProgress); processUpdateQueue(workInProgress, nextProps, null, renderLanes); var nextState = workInProgress.memoizedState; nextProps = nextState.cache; pushProvider(workInProgress, CacheContext, nextProps); nextProps !== prevSibling.cache && propagateContextChanges(workInProgress, [CacheContext], renderLanes, !0); suspendIfUpdateReadFromEntangledAsyncAction(); nextProps = nextState.element; if (prevSibling.isDehydrated) { if (prevSibling = { element: nextProps, isDehydrated: !1, cache: nextState.cache }, workInProgress.updateQueue.baseState = prevSibling, workInProgress.memoizedState = prevSibling, workInProgress.flags & 256) { workInProgress = mountHostRootWithoutHydrating(current, workInProgress, nextProps, renderLanes); break a; } else if (nextProps !== returnFiber) { returnFiber = createCapturedValueAtFiber(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), workInProgress); queueHydrationError(returnFiber); workInProgress = mountHostRootWithoutHydrating(current, workInProgress, nextProps, renderLanes); break a; } else for (nextHydratableInstance = getNextHydratable(workInProgress.stateNode.containerInfo.firstChild), hydrationParentFiber = workInProgress, isHydrating = !0, hydrationErrors = null, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, rootOrSingletonContext = !0, current = mountChildFibers(workInProgress, null, nextProps, renderLanes), workInProgress.child = current; current;) current.flags = current.flags & -3 | 4096, current = current.sibling; } else { resetHydrationState(); if (nextProps === returnFiber) { workInProgress = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); break a; } reconcileChildren(current, workInProgress, nextProps, renderLanes); } workInProgress = workInProgress.child; } return workInProgress; case 26: return markRef(current, workInProgress), null === current ? (current = getResource(workInProgress.type, null, workInProgress.pendingProps, null)) ? workInProgress.memoizedState = current : isHydrating || (current = workInProgress.type, renderLanes = workInProgress.pendingProps, returnFiber = requiredContext(rootInstanceStackCursor.current), returnFiber = getOwnerDocumentFromRootContainer(returnFiber).createElement(current), returnFiber[internalInstanceKey] = workInProgress, returnFiber[internalPropsKey] = renderLanes, setInitialProperties(returnFiber, current, renderLanes), markNodeAsHoistable(returnFiber), workInProgress.stateNode = returnFiber) : workInProgress.memoizedState = getResource(workInProgress.type, current.memoizedProps, workInProgress.pendingProps, current.memoizedState), null; case 27: return pushHostContext(workInProgress), null === current && isHydrating && (prevSibling = requiredContext(rootInstanceStackCursor.current), returnFiber = getHostContext(), prevSibling = workInProgress.stateNode = resolveSingletonInstance(workInProgress.type, workInProgress.pendingProps, prevSibling, returnFiber, !1), didSuspendOrErrorDEV || (returnFiber = diffHydratedProperties(prevSibling, workInProgress.type, workInProgress.pendingProps, returnFiber), null !== returnFiber && (buildHydrationDiffNode(workInProgress, 0).serverProps = returnFiber)), hydrationParentFiber = workInProgress, rootOrSingletonContext = !0, nextHydratableInstance = getNextHydratable(prevSibling.firstChild)), returnFiber = workInProgress.pendingProps.children, null !== current || isHydrating ? reconcileChildren(current, workInProgress, returnFiber, renderLanes) : workInProgress.child = reconcileChildFibers(workInProgress, null, returnFiber, renderLanes), markRef(current, workInProgress), workInProgress.child; case 5: return null === current && isHydrating && (nextProps = getHostContext(), returnFiber = validateDOMNesting(workInProgress.type, nextProps.ancestorInfo), prevSibling = nextHydratableInstance, (nextState = !prevSibling) || (nextState = canHydrateInstance(prevSibling, workInProgress.type, workInProgress.pendingProps, rootOrSingletonContext), null !== nextState ? (workInProgress.stateNode = nextState, didSuspendOrErrorDEV || (nextProps = diffHydratedProperties(nextState, workInProgress.type, workInProgress.pendingProps, nextProps), null !== nextProps && (buildHydrationDiffNode(workInProgress, 0).serverProps = nextProps)), hydrationParentFiber = workInProgress, nextHydratableInstance = getNextHydratable(nextState.firstChild), rootOrSingletonContext = !1, nextProps = !0) : nextProps = !1, nextState = !nextProps), nextState && (returnFiber && warnNonHydratedInstance(workInProgress, prevSibling), throwOnHydrationMismatch(workInProgress))), pushHostContext(workInProgress), prevSibling = workInProgress.type, nextProps = workInProgress.pendingProps, nextState = null !== current ? current.memoizedProps : null, returnFiber = nextProps.children, shouldSetTextContent(prevSibling, nextProps) ? returnFiber = null : null !== nextState && shouldSetTextContent(prevSibling, nextState) && (workInProgress.flags |= 32), null !== workInProgress.memoizedState && (prevSibling = renderWithHooks(current, workInProgress, TransitionAwareHostComponent, null, null, renderLanes), HostTransitionContext._currentValue = prevSibling), markRef(current, workInProgress), reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; case 6: return null === current && isHydrating && (current = workInProgress.pendingProps, renderLanes = getHostContext().ancestorInfo.current, current = null != renderLanes ? validateTextNesting(current, renderLanes.tag) : !0, renderLanes = nextHydratableInstance, (returnFiber = !renderLanes) || (returnFiber = canHydrateTextInstance(renderLanes, workInProgress.pendingProps, rootOrSingletonContext), null !== returnFiber ? (workInProgress.stateNode = returnFiber, hydrationParentFiber = workInProgress, nextHydratableInstance = null, returnFiber = !0) : returnFiber = !1, returnFiber = !returnFiber), returnFiber && (current && warnNonHydratedInstance(workInProgress, renderLanes), throwOnHydrationMismatch(workInProgress))), null; case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: return pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo), returnFiber = workInProgress.pendingProps, null === current ? workInProgress.child = reconcileChildFibers(workInProgress, null, returnFiber, renderLanes) : reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; case 11: return updateForwardRef(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); case 7: return reconcileChildren(current, workInProgress, workInProgress.pendingProps, renderLanes), workInProgress.child; case 8: return reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child; case 12: return workInProgress.flags |= 4, workInProgress.flags |= 2048, returnFiber = workInProgress.stateNode, returnFiber.effectDuration = -0, returnFiber.passiveEffectDuration = -0, reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child; case 10: return returnFiber = workInProgress.type, prevSibling = workInProgress.pendingProps, nextProps = prevSibling.value, "value" in prevSibling || hasWarnedAboutUsingNoValuePropOnContextProvider || (hasWarnedAboutUsingNoValuePropOnContextProvider = !0, console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")), pushProvider(workInProgress, returnFiber, nextProps), reconcileChildren(current, workInProgress, prevSibling.children, renderLanes), workInProgress.child; case 9: return prevSibling = workInProgress.type._context, returnFiber = workInProgress.pendingProps.children, "function" !== typeof returnFiber && console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), prepareToReadContext(workInProgress), prevSibling = readContext(prevSibling), markComponentRenderStarted(workInProgress), returnFiber = callComponentInDEV(returnFiber, prevSibling, void 0), markComponentRenderStopped(), workInProgress.flags |= 1, reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; case 14: return updateMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); case 15: return updateSimpleMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent(current, workInProgress, renderLanes); case 24: return prepareToReadContext(workInProgress), returnFiber = readContext(CacheContext), null === current ? (prevSibling = peekCacheFromPool(), null === prevSibling && (prevSibling = workInProgressRoot, nextProps = createCache(), prevSibling.pooledCache = nextProps, retainCache(nextProps), null !== nextProps && (prevSibling.pooledCacheLanes |= renderLanes), prevSibling = nextProps), workInProgress.memoizedState = { parent: returnFiber, cache: prevSibling }, initializeUpdateQueue(workInProgress), pushProvider(workInProgress, CacheContext, prevSibling)) : (0 !== (current.lanes & renderLanes) && (cloneUpdateQueue(current, workInProgress), processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), prevSibling = current.memoizedState, nextProps = workInProgress.memoizedState, prevSibling.parent !== returnFiber ? (prevSibling = { parent: returnFiber, cache: returnFiber }, workInProgress.memoizedState = prevSibling, 0 === workInProgress.lanes && (workInProgress.memoizedState = workInProgress.updateQueue.baseState = prevSibling), pushProvider(workInProgress, CacheContext, returnFiber)) : (returnFiber = nextProps.cache, pushProvider(workInProgress, CacheContext, returnFiber), returnFiber !== prevSibling.cache && propagateContextChanges(workInProgress, [CacheContext], renderLanes, !0))), reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child; case 29: throw workInProgress.pendingProps; } throw Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in React. Please file an issue."); } function resetContextDependencies() { lastContextDependency = currentlyRenderingFiber = null; isDisallowedContextReadInDEV = !1; } function pushProvider(providerFiber, context, nextValue) { push(valueCursor, context._currentValue, providerFiber); context._currentValue = nextValue; push(rendererCursorDEV, context._currentRenderer, providerFiber); void 0 !== context._currentRenderer && null !== context._currentRenderer && context._currentRenderer !== rendererSigil && console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."); context._currentRenderer = rendererSigil; } function popProvider(context, providerFiber) { context._currentValue = valueCursor.current; var currentRenderer = rendererCursorDEV.current; pop(rendererCursorDEV, providerFiber); context._currentRenderer = currentRenderer; pop(valueCursor, providerFiber); } function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { for (; null !== parent;) { var alternate = parent.alternate; (parent.childLanes & renderLanes) !== renderLanes ? (parent.childLanes |= renderLanes, null !== alternate && (alternate.childLanes |= renderLanes)) : null !== alternate && (alternate.childLanes & renderLanes) !== renderLanes && (alternate.childLanes |= renderLanes); if (parent === propagationRoot) break; parent = parent.return; } parent !== propagationRoot && console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue."); } function propagateContextChanges(workInProgress, contexts, renderLanes, forcePropagateEntireTree) { var fiber = workInProgress.child; null !== fiber && (fiber.return = workInProgress); for (; null !== fiber;) { var list = fiber.dependencies; if (null !== list) { var nextFiber = fiber.child; list = list.firstContext; a: for (; null !== list;) { var dependency = list; list = fiber; for (var i = 0; i < contexts.length; i++) if (dependency.context === contexts[i]) { list.lanes |= renderLanes; dependency = list.alternate; null !== dependency && (dependency.lanes |= renderLanes); scheduleContextWorkOnParentPath(list.return, renderLanes, workInProgress); forcePropagateEntireTree || (nextFiber = null); break a; } list = dependency.next; } } else if (18 === fiber.tag) { nextFiber = fiber.return; if (null === nextFiber) throw Error("We just came from a parent so we must have had a parent. This is a bug in React."); nextFiber.lanes |= renderLanes; list = nextFiber.alternate; null !== list && (list.lanes |= renderLanes); scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress); nextFiber = null; } else nextFiber = fiber.child; if (null !== nextFiber) nextFiber.return = fiber;else for (nextFiber = fiber; null !== nextFiber;) { if (nextFiber === workInProgress) { nextFiber = null; break; } fiber = nextFiber.sibling; if (null !== fiber) { fiber.return = nextFiber.return; nextFiber = fiber; break; } nextFiber = nextFiber.return; } fiber = nextFiber; } } function propagateParentContextChanges(current, workInProgress, renderLanes, forcePropagateEntireTree) { current = null; for (var parent = workInProgress, isInsidePropagationBailout = !1; null !== parent;) { if (!isInsidePropagationBailout) if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0;else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error("Should have a current fiber. This is a bug in React."); currentParent = currentParent.memoizedProps; if (null !== currentParent) { var context = parent.type; objectIs(parent.pendingProps.value, currentParent.value) || (null !== current ? current.push(context) : current = [context]); } } else if (parent === hostTransitionProviderCursor.current) { currentParent = parent.alternate; if (null === currentParent) throw Error("Should have a current fiber. This is a bug in React."); currentParent.memoizedState.memoizedState !== parent.memoizedState.memoizedState && (null !== current ? current.push(HostTransitionContext) : current = [HostTransitionContext]); } parent = parent.return; } null !== current && propagateContextChanges(workInProgress, current, renderLanes, forcePropagateEntireTree); workInProgress.flags |= 262144; } function checkIfContextChanged(currentDependencies) { for (currentDependencies = currentDependencies.firstContext; null !== currentDependencies;) { if (!objectIs(currentDependencies.context._currentValue, currentDependencies.memoizedValue)) return !0; currentDependencies = currentDependencies.next; } return !1; } function prepareToReadContext(workInProgress) { currentlyRenderingFiber = workInProgress; lastContextDependency = null; workInProgress = workInProgress.dependencies; null !== workInProgress && (workInProgress.firstContext = null); } function readContext(context) { isDisallowedContextReadInDEV && console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."); return readContextForConsumer(currentlyRenderingFiber, context); } function readContextDuringReconciliation(consumer, context) { null === currentlyRenderingFiber && prepareToReadContext(consumer); return readContextForConsumer(consumer, context); } function readContextForConsumer(consumer, context) { var value = context._currentValue; context = { context: context, memoizedValue: value, next: null }; if (null === lastContextDependency) { if (null === consumer) throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."); lastContextDependency = context; consumer.dependencies = { lanes: 0, firstContext: context, _debugThenableState: null }; consumer.flags |= 524288; } else lastContextDependency = lastContextDependency.next = context; return value; } function initializeUpdateQueue(fiber) { fiber.updateQueue = { baseState: fiber.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, lanes: 0, hiddenCallbacks: null }, callbacks: null }; } function cloneUpdateQueue(current, workInProgress) { current = current.updateQueue; workInProgress.updateQueue === current && (workInProgress.updateQueue = { baseState: current.baseState, firstBaseUpdate: current.firstBaseUpdate, lastBaseUpdate: current.lastBaseUpdate, shared: current.shared, callbacks: null }); } function createUpdate(lane) { return { lane: lane, tag: UpdateState, payload: null, callback: null, next: null }; } function enqueueUpdate(fiber, update, lane) { var updateQueue = fiber.updateQueue; if (null === updateQueue) return null; updateQueue = updateQueue.shared; if (currentlyProcessingQueue === updateQueue && !didWarnUpdateInsideUpdate) { var componentName = getComponentNameFromFiber(fiber); console.error("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\n\nPlease update the following component: %s", componentName); didWarnUpdateInsideUpdate = !0; } if ((executionContext & RenderContext) !== NoContext) return componentName = updateQueue.pending, null === componentName ? update.next = update : (update.next = componentName.next, componentName.next = update), updateQueue.pending = update, update = getRootForUpdatedFiber(fiber), markUpdateLaneFromFiberToRoot(fiber, null, lane), update; enqueueUpdate$1(fiber, updateQueue, update, lane); return getRootForUpdatedFiber(fiber); } function entangleTransitions(root, fiber, lane) { fiber = fiber.updateQueue; if (null !== fiber && (fiber = fiber.shared, 0 !== (lane & 4194176))) { var queueLanes = fiber.lanes; queueLanes &= root.pendingLanes; lane |= queueLanes; fiber.lanes = lane; markRootEntangled(root, lane); } } function enqueueCapturedUpdate(workInProgress, capturedUpdate) { var queue = workInProgress.updateQueue, current = workInProgress.alternate; if (null !== current && (current = current.updateQueue, queue === current)) { var newFirst = null, newLast = null; queue = queue.firstBaseUpdate; if (null !== queue) { do { var clone = { lane: queue.lane, tag: queue.tag, payload: queue.payload, callback: null, next: null }; null === newLast ? newFirst = newLast = clone : newLast = newLast.next = clone; queue = queue.next; } while (null !== queue); null === newLast ? newFirst = newLast = capturedUpdate : newLast = newLast.next = capturedUpdate; } else newFirst = newLast = capturedUpdate; queue = { baseState: current.baseState, firstBaseUpdate: newFirst, lastBaseUpdate: newLast, shared: current.shared, callbacks: current.callbacks }; workInProgress.updateQueue = queue; return; } workInProgress = queue.lastBaseUpdate; null === workInProgress ? queue.firstBaseUpdate = capturedUpdate : workInProgress.next = capturedUpdate; queue.lastBaseUpdate = capturedUpdate; } function suspendIfUpdateReadFromEntangledAsyncAction() { if (didReadFromEntangledAsyncAction) { var entangledActionThenable = currentEntangledActionThenable; if (null !== entangledActionThenable) throw entangledActionThenable; } } function processUpdateQueue(workInProgress, props, instance$jscomp$0, renderLanes) { didReadFromEntangledAsyncAction = !1; var queue = workInProgress.updateQueue; hasForceUpdate = !1; currentlyProcessingQueue = queue.shared; var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending; if (null !== pendingQueue) { queue.shared.pending = null; var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next; lastPendingUpdate.next = null; null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate; lastBaseUpdate = lastPendingUpdate; var current = workInProgress.alternate; null !== current && (current = current.updateQueue, pendingQueue = current.lastBaseUpdate, pendingQueue !== lastBaseUpdate && (null === pendingQueue ? current.firstBaseUpdate = firstPendingUpdate : pendingQueue.next = firstPendingUpdate, current.lastBaseUpdate = lastPendingUpdate)); } if (null !== firstBaseUpdate) { var newState = queue.baseState; lastBaseUpdate = 0; current = firstPendingUpdate = lastPendingUpdate = null; pendingQueue = firstBaseUpdate; do { var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane; if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) { 0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0); null !== current && (current = current.next = { lane: 0, tag: pendingQueue.tag, payload: pendingQueue.payload, callback: null, next: null }); a: { updateLane = workInProgress; var partialState = pendingQueue; var nextProps = props, instance = instance$jscomp$0; switch (partialState.tag) { case ReplaceState: partialState = partialState.payload; if ("function" === typeof partialState) { isDisallowedContextReadInDEV = !0; var nextState = partialState.call(instance, newState, nextProps); if (updateLane.mode & StrictLegacyMode) { setIsStrictModeForDevtools(!0); try { partialState.call(instance, newState, nextProps); } finally { setIsStrictModeForDevtools(!1); } } isDisallowedContextReadInDEV = !1; newState = nextState; break a; } newState = partialState; break a; case CaptureUpdate: updateLane.flags = updateLane.flags & -65537 | 128; case UpdateState: nextState = partialState.payload; if ("function" === typeof nextState) { isDisallowedContextReadInDEV = !0; partialState = nextState.call(instance, newState, nextProps); if (updateLane.mode & StrictLegacyMode) { setIsStrictModeForDevtools(!0); try { nextState.call(instance, newState, nextProps); } finally { setIsStrictModeForDevtools(!1); } } isDisallowedContextReadInDEV = !1; } else partialState = nextState; if (null === partialState || void 0 === partialState) break a; newState = assign({}, newState, partialState); break a; case ForceUpdate: hasForceUpdate = !0; } } updateLane = pendingQueue.callback; null !== updateLane && (workInProgress.flags |= 64, isHiddenUpdate && (workInProgress.flags |= 8192), isHiddenUpdate = queue.callbacks, null === isHiddenUpdate ? queue.callbacks = [updateLane] : isHiddenUpdate.push(updateLane)); } else isHiddenUpdate = { lane: updateLane, tag: pendingQueue.tag, payload: pendingQueue.payload, callback: pendingQueue.callback, next: null }, null === current ? (firstPendingUpdate = current = isHiddenUpdate, lastPendingUpdate = newState) : current = current.next = isHiddenUpdate, lastBaseUpdate |= updateLane; pendingQueue = pendingQueue.next; if (null === pendingQueue) if (pendingQueue = queue.shared.pending, null === pendingQueue) break;else isHiddenUpdate = pendingQueue, pendingQueue = isHiddenUpdate.next, isHiddenUpdate.next = null, queue.lastBaseUpdate = isHiddenUpdate, queue.shared.pending = null; } while (1); null === current && (lastPendingUpdate = newState); queue.baseState = lastPendingUpdate; queue.firstBaseUpdate = firstPendingUpdate; queue.lastBaseUpdate = current; null === firstBaseUpdate && (queue.shared.lanes = 0); workInProgressRootSkippedLanes |= lastBaseUpdate; workInProgress.lanes = lastBaseUpdate; workInProgress.memoizedState = newState; } currentlyProcessingQueue = null; } function callCallback(callback, context) { if ("function" !== typeof callback) throw Error("Invalid argument passed as callback. Expected a function. Instead received: " + callback); callback.call(context); } function commitHiddenCallbacks(updateQueue, context) { var hiddenCallbacks = updateQueue.shared.hiddenCallbacks; if (null !== hiddenCallbacks) for (updateQueue.shared.hiddenCallbacks = null, updateQueue = 0; updateQueue < hiddenCallbacks.length; updateQueue++) callCallback(hiddenCallbacks[updateQueue], context); } function commitCallbacks(updateQueue, context) { var callbacks = updateQueue.callbacks; if (null !== callbacks) for (updateQueue.callbacks = null, updateQueue = 0; updateQueue < callbacks.length; updateQueue++) callCallback(callbacks[updateQueue], context); } function shouldProfile(current) { return (current.mode & ProfileMode) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListMount(hookFlags, finishedWork), recordEffectDuration()) : commitHookEffectListMount(hookFlags, finishedWork); } function commitHookLayoutUnmountEffects(finishedWork, nearestMountedAncestor, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor), recordEffectDuration()) : commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor); } function commitHookEffectListMount(flags, finishedWork) { try { var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; if (null !== lastEffect) { var firstEffect = lastEffect.next; updateQueue = firstEffect; do { if ((updateQueue.tag & flags) === flags && ((flags & Passive) !== NoFlags ? null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentPassiveEffectMountStarted && injectedProfilingHooks.markComponentPassiveEffectMountStarted(finishedWork) : (flags & Layout) !== NoFlags && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentLayoutEffectMountStarted && injectedProfilingHooks.markComponentLayoutEffectMountStarted(finishedWork), lastEffect = void 0, (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), lastEffect = runWithFiberInDEV(finishedWork, callCreateInDEV, updateQueue), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1), (flags & Passive) !== NoFlags ? null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentPassiveEffectMountStopped && injectedProfilingHooks.markComponentPassiveEffectMountStopped() : (flags & Layout) !== NoFlags && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentLayoutEffectMountStopped && injectedProfilingHooks.markComponentLayoutEffectMountStopped(), void 0 !== lastEffect && "function" !== typeof lastEffect)) { var hookName = void 0; hookName = 0 !== (updateQueue.tag & Layout) ? "useLayoutEffect" : 0 !== (updateQueue.tag & Insertion) ? "useInsertionEffect" : "useEffect"; var addendum = void 0; addendum = null === lastEffect ? " You returned null. If your effect does not require clean up, return undefined (or nothing)." : "function" === typeof lastEffect.then ? "\n\nIt looks like you wrote " + hookName + "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + hookName + "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" : " You returned: " + lastEffect; runWithFiberInDEV(finishedWork, function (n, a) { console.error("%s must not return anything besides a function, which is used for clean-up.%s", n, a); }, hookName, addendum); } updateQueue = updateQueue.next; } while (updateQueue !== firstEffect); } } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) { try { var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; if (null !== lastEffect) { var firstEffect = lastEffect.next; updateQueue = firstEffect; do { if ((updateQueue.tag & flags) === flags) { var inst = updateQueue.inst, destroy = inst.destroy; void 0 !== destroy && (inst.destroy = void 0, (flags & Passive) !== NoFlags ? null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStarted && injectedProfilingHooks.markComponentPassiveEffectUnmountStarted(finishedWork) : (flags & Layout) !== NoFlags && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStarted && injectedProfilingHooks.markComponentLayoutEffectUnmountStarted(finishedWork), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), runWithFiberInDEV(finishedWork, callDestroyInDEV, finishedWork, nearestMountedAncestor, destroy), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1), (flags & Passive) !== NoFlags ? null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStopped && injectedProfilingHooks.markComponentPassiveEffectUnmountStopped() : (flags & Layout) !== NoFlags && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStopped && injectedProfilingHooks.markComponentLayoutEffectUnmountStopped()); } updateQueue = updateQueue.next; } while (updateQueue !== firstEffect); } } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } function commitHookPassiveMountEffects(finishedWork, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListMount(hookFlags, finishedWork), recordEffectDuration()) : commitHookEffectListMount(hookFlags, finishedWork); } function commitHookPassiveUnmountEffects(finishedWork, nearestMountedAncestor, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor), recordEffectDuration()) : commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor); } function commitClassCallbacks(finishedWork) { var updateQueue = finishedWork.updateQueue; if (null !== updateQueue) { var instance = finishedWork.stateNode; finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (instance.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), instance.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")); try { runWithFiberInDEV(finishedWork, commitCallbacks, updateQueue, instance); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } } function callGetSnapshotBeforeUpdates(instance, prevProps, prevState) { return instance.getSnapshotBeforeUpdate(prevProps, prevState); } function commitClassSnapshot(finishedWork, current) { var prevProps = current.memoizedProps, prevState = current.memoizedState; current = finishedWork.stateNode; finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (current.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), current.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")); try { var resolvedPrevProps = resolveClassComponentProps(finishedWork.type, prevProps, finishedWork.elementType === finishedWork.type); var snapshot = runWithFiberInDEV(finishedWork, callGetSnapshotBeforeUpdates, current, resolvedPrevProps, prevState); prevProps = didWarnAboutUndefinedSnapshotBeforeUpdate; void 0 !== snapshot || prevProps.has(finishedWork.type) || (prevProps.add(finishedWork.type), runWithFiberInDEV(finishedWork, function () { console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", getComponentNameFromFiber(finishedWork)); })); current.__reactInternalSnapshotBeforeUpdate = snapshot; } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } function safelyCallComponentWillUnmount(current, nearestMountedAncestor, instance) { instance.props = resolveClassComponentProps(current.type, current.memoizedProps); instance.state = current.memoizedState; shouldProfile(current) ? (startEffectTimer(), runWithFiberInDEV(current, callComponentWillUnmountInDEV, current, nearestMountedAncestor, instance), recordEffectDuration()) : runWithFiberInDEV(current, callComponentWillUnmountInDEV, current, nearestMountedAncestor, instance); } function commitAttachRef(finishedWork) { var ref = finishedWork.ref; if (null !== ref) { var instance = finishedWork.stateNode; if ("function" === typeof ref) { if (shouldProfile(finishedWork)) try { startEffectTimer(), finishedWork.refCleanup = ref(instance); } finally { recordEffectDuration(); } else finishedWork.refCleanup = ref(instance); } else "string" === typeof ref ? console.error("String refs are no longer supported.") : ref.hasOwnProperty("current") || console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", getComponentNameFromFiber(finishedWork)), ref.current = instance; } } function safelyAttachRef(current, nearestMountedAncestor) { try { runWithFiberInDEV(current, commitAttachRef, current); } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); } } function safelyDetachRef(current, nearestMountedAncestor) { var ref = current.ref, refCleanup = current.refCleanup; if (null !== ref) if ("function" === typeof refCleanup) try { if (shouldProfile(current)) try { startEffectTimer(), runWithFiberInDEV(current, refCleanup); } finally { recordEffectDuration(current); } else runWithFiberInDEV(current, refCleanup); } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); } finally { current.refCleanup = null, current = current.alternate, null != current && (current.refCleanup = null); } else if ("function" === typeof ref) try { if (shouldProfile(current)) try { startEffectTimer(), runWithFiberInDEV(current, ref, null); } finally { recordEffectDuration(current); } else runWithFiberInDEV(current, ref, null); } catch (error$6) { captureCommitPhaseError(current, nearestMountedAncestor, error$6); } else ref.current = null; } function commitProfiler(finishedWork, current, commitStartTime, effectDuration) { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; _finishedWork$memoize = _finishedWork$memoize.onRender; current = null === current ? "mount" : "update"; currentUpdateIsNested && (current = "nested-update"); "function" === typeof _finishedWork$memoize && _finishedWork$memoize(id, current, finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, commitStartTime); "function" === typeof onCommit && onCommit(finishedWork.memoizedProps.id, current, effectDuration, commitStartTime); } function commitProfilerPostCommitImpl(finishedWork, current, commitStartTime, passiveEffectDuration) { var _finishedWork$memoize2 = finishedWork.memoizedProps; finishedWork = _finishedWork$memoize2.id; _finishedWork$memoize2 = _finishedWork$memoize2.onPostCommit; current = null === current ? "mount" : "update"; currentUpdateIsNested && (current = "nested-update"); "function" === typeof _finishedWork$memoize2 && _finishedWork$memoize2(finishedWork, current, passiveEffectDuration, commitStartTime); } function commitHostMount(finishedWork) { var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode; try { runWithFiberInDEV(finishedWork, commitMount, instance, type, props, finishedWork); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } function commitHostUpdate(finishedWork, newProps, oldProps) { try { runWithFiberInDEV(finishedWork, commitUpdate, finishedWork.stateNode, finishedWork.type, oldProps, newProps, finishedWork); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } function isHostParent(fiber) { return 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || 27 === fiber.tag || 4 === fiber.tag; } function getHostSibling(fiber) { a: for (;;) { for (; null === fiber.sibling;) { if (null === fiber.return || isHostParent(fiber.return)) return null; fiber = fiber.return; } fiber.sibling.return = fiber.return; for (fiber = fiber.sibling; 5 !== fiber.tag && 6 !== fiber.tag && 27 !== fiber.tag && 18 !== fiber.tag;) { if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a;else fiber.child.return = fiber, fiber = fiber.child; } if (!(fiber.flags & 2)) return fiber.stateNode; } } function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) node = node.stateNode, before ? 8 === parent.nodeType ? parent.parentNode.insertBefore(node, before) : parent.insertBefore(node, before) : (8 === parent.nodeType ? (before = parent.parentNode, before.insertBefore(node, parent)) : (before = parent, before.appendChild(node)), parent = parent._reactRootContainer, null !== parent && void 0 !== parent || null !== before.onclick || (before.onclick = noop$1));else if (4 !== tag && 27 !== tag && (node = node.child, null !== node)) for (insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling; null !== node;) insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling; } function insertOrAppendPlacementNode(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) node = node.stateNode, before ? parent.insertBefore(node, before) : parent.appendChild(node);else if (4 !== tag && 27 !== tag && (node = node.child, null !== node)) for (insertOrAppendPlacementNode(node, before, parent), node = node.sibling; null !== node;) insertOrAppendPlacementNode(node, before, parent), node = node.sibling; } function commitPlacement(finishedWork) { if (27 !== finishedWork.tag) { a: { for (var parent = finishedWork.return; null !== parent;) { if (isHostParent(parent)) { var parentFiber = parent; break a; } parent = parent.return; } throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."); } switch (parentFiber.tag) { case 27: parent = parentFiber.stateNode; parentFiber = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, parentFiber, parent); break; case 5: parent = parentFiber.stateNode; parentFiber.flags & 32 && (resetTextContent(parent), parentFiber.flags &= -33); parentFiber = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, parentFiber, parent); break; case 3: case 4: parent = parentFiber.stateNode.containerInfo; parentFiber = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer(finishedWork, parentFiber, parent); break; default: throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."); } } } function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; eventsEnabled = _enabled; root = getActiveElementDeep(root); if (hasSelectionCapabilities(root)) { if ("selectionStart" in root) var JSCompiler_temp = { start: root.selectionStart, end: root.selectionEnd };else a: { JSCompiler_temp = (JSCompiler_temp = root.ownerDocument) && JSCompiler_temp.defaultView || window; var selection = JSCompiler_temp.getSelection && JSCompiler_temp.getSelection(); if (selection && 0 !== selection.rangeCount) { JSCompiler_temp = selection.anchorNode; var anchorOffset = selection.anchorOffset, focusNode = selection.focusNode; selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; } catch (e$2) { JSCompiler_temp = null; break a; } var length = 0, start = -1, end = -1, indexWithinAnchor = 0, indexWithinFocus = 0, node = root, parentNode = null; b: for (;;) { for (var next;;) { node !== JSCompiler_temp || 0 !== anchorOffset && 3 !== node.nodeType || (start = length + anchorOffset); node !== focusNode || 0 !== selection && 3 !== node.nodeType || (end = length + selection); 3 === node.nodeType && (length += node.nodeValue.length); if (null === (next = node.firstChild)) break; parentNode = node; node = next; } for (;;) { if (node === root) break b; parentNode === JSCompiler_temp && ++indexWithinAnchor === anchorOffset && (start = length); parentNode === focusNode && ++indexWithinFocus === selection && (end = length); if (null !== (next = node.nextSibling)) break; node = parentNode; parentNode = node.parentNode; } node = next; } JSCompiler_temp = -1 === start || -1 === end ? null : { start: start, end: end }; } else JSCompiler_temp = null; } JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 }; } else JSCompiler_temp = null; selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp }; _enabled = !1; for (nextEffect = firstChild; null !== nextEffect;) if (firstChild = nextEffect, root = firstChild.child, 0 !== (firstChild.subtreeFlags & 1028) && null !== root) root.return = firstChild, nextEffect = root;else for (; null !== nextEffect;) { root = firstChild = nextEffect; JSCompiler_temp = root.alternate; anchorOffset = root.flags; switch (root.tag) { case 0: break; case 11: case 15: break; case 1: 0 !== (anchorOffset & 1024) && null !== JSCompiler_temp && commitClassSnapshot(root, JSCompiler_temp); break; case 3: if (0 !== (anchorOffset & 1024)) if (root = root.stateNode.containerInfo, JSCompiler_temp = root.nodeType, 9 === JSCompiler_temp) clearContainerSparingly(root);else if (1 === JSCompiler_temp) switch (root.nodeName) { case "HEAD": case "HTML": case "BODY": clearContainerSparingly(root); break; default: root.textContent = ""; } break; case 5: case 26: case 27: case 6: case 4: case 17: break; default: if (0 !== (anchorOffset & 1024)) throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."); } root = firstChild.sibling; if (null !== root) { root.return = firstChild.return; nextEffect = root; break; } nextEffect = firstChild.return; } firstChild = shouldFireAfterActiveInstanceBlur; shouldFireAfterActiveInstanceBlur = !1; return firstChild; } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitHookLayoutEffects(finishedWork, Layout | HasEffect); break; case 1: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); if (flags & 4) if (finishedRoot = finishedWork.stateNode, null === current) finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (finishedRoot.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), finishedRoot.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")), shouldProfile(finishedWork) ? (startEffectTimer(), runWithFiberInDEV(finishedWork, callComponentDidMountInDEV, finishedWork, finishedRoot), recordEffectDuration()) : runWithFiberInDEV(finishedWork, callComponentDidMountInDEV, finishedWork, finishedRoot);else { var prevProps = resolveClassComponentProps(finishedWork.type, current.memoizedProps); current = current.memoizedState; finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (finishedRoot.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), finishedRoot.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")); shouldProfile(finishedWork) ? (startEffectTimer(), runWithFiberInDEV(finishedWork, callComponentDidUpdateInDEV, finishedWork, finishedRoot, prevProps, current, finishedRoot.__reactInternalSnapshotBeforeUpdate), recordEffectDuration()) : runWithFiberInDEV(finishedWork, callComponentDidUpdateInDEV, finishedWork, finishedRoot, prevProps, current, finishedRoot.__reactInternalSnapshotBeforeUpdate); } flags & 64 && commitClassCallbacks(finishedWork); flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: current = pushNestedEffectDurations(); recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); if (flags & 64 && (flags = finishedWork.updateQueue, null !== flags)) { prevProps = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { case 27: case 5: prevProps = finishedWork.child.stateNode; break; case 1: prevProps = finishedWork.child.stateNode; } try { runWithFiberInDEV(finishedWork, commitCallbacks, flags, prevProps); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } finishedRoot.effectDuration += popNestedEffectDurations(current); break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostMount(finishedWork); flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: if (flags & 4) { flags = pushNestedEffectDurations(); recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); finishedRoot = finishedWork.stateNode; finishedRoot.effectDuration += bubbleNestedEffectDurations(flags); try { runWithFiberInDEV(finishedWork, commitProfiler, finishedWork, current, commitStartTime, finishedRoot.effectDuration); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); break; case 22: prevProps = null !== finishedWork.memoizedState || offscreenSubtreeIsHidden; if (!prevProps) { current = null !== current && null !== current.memoizedState || offscreenSubtreeWasHidden; var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevProps; (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden ? recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772)) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); break; default: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); } } function detachFiberAfterEffects(fiber) { var alternate = fiber.alternate; null !== alternate && (fiber.alternate = null, detachFiberAfterEffects(alternate)); fiber.child = null; fiber.deletions = null; fiber.sibling = null; 5 === fiber.tag && (alternate = fiber.stateNode, null !== alternate && detachDeletedInstance(alternate)); fiber.stateNode = null; fiber._debugOwner = null; fiber.return = null; fiber.dependencies = null; fiber.memoizedProps = null; fiber.memoizedState = null; fiber.pendingProps = null; fiber.stateNode = null; fiber.updateQueue = null; } function recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, parent) { for (parent = parent.child; null !== parent;) commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent), parent = parent.sibling; } function commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, deletedFiber) { if (injectedHook && "function" === typeof injectedHook.onCommitFiberUnmount) try { injectedHook.onCommitFiberUnmount(rendererID, deletedFiber); } catch (err) { hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %s", err)); } switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && (deletedFiber = deletedFiber.stateNode, deletedFiber.parentNode.removeChild(deletedFiber)); break; case 27: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; hostParent = deletedFiber.stateNode; recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); deletedFiber = deletedFiber.stateNode; for (finishedRoot = deletedFiber.attributes; finishedRoot.length;) deletedFiber.removeAttributeNode(finishedRoot[0]); detachDeletedInstance(deletedFiber); hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; break; case 5: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParent = hostParent; prevHostParentIsContainer = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; if (null !== hostParent) if (hostParentIsContainer) try { runWithFiberInDEV(deletedFiber, removeChildFromContainer, hostParent, deletedFiber.stateNode); } catch (error) { captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); } else try { runWithFiberInDEV(deletedFiber, removeChild, hostParent, deletedFiber.stateNode); } catch (error) { captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); } break; case 18: null !== hostParent && (hostParentIsContainer ? (finishedRoot = hostParent, deletedFiber = deletedFiber.stateNode, 8 === finishedRoot.nodeType ? clearSuspenseBoundary(finishedRoot.parentNode, deletedFiber) : 1 === finishedRoot.nodeType && clearSuspenseBoundary(finishedRoot, deletedFiber), retryIfBlockedOn(finishedRoot)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; case 4: prevHostParent = hostParent; prevHostParentIsContainer = hostParentIsContainer; hostParent = deletedFiber.stateNode.containerInfo; hostParentIsContainer = !0; recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; break; case 0: case 11: case 14: case 15: offscreenSubtreeWasHidden || commitHookEffectListUnmount(Insertion, deletedFiber, nearestMountedAncestor); offscreenSubtreeWasHidden || commitHookLayoutUnmountEffects(deletedFiber, nearestMountedAncestor, Layout); recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); break; case 1: offscreenSubtreeWasHidden || (safelyDetachRef(deletedFiber, nearestMountedAncestor), prevHostParent = deletedFiber.stateNode, "function" === typeof prevHostParent.componentWillUnmount && safelyCallComponentWillUnmount(deletedFiber, nearestMountedAncestor, prevHostParent)); recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); break; case 21: recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); break; case 22: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); offscreenSubtreeWasHidden = (prevHostParent = offscreenSubtreeWasHidden) || null !== deletedFiber.memoizedState; recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); offscreenSubtreeWasHidden = prevHostParent; break; default: recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); } } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if (null === finishedWork.memoizedState && (finishedRoot = finishedWork.alternate, null !== finishedRoot && (finishedRoot = finishedRoot.memoizedState, null !== finishedRoot && (finishedRoot = finishedRoot.dehydrated, null !== finishedRoot)))) try { runWithFiberInDEV(finishedWork, commitHydratedSuspenseInstance, finishedRoot); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } function getRetryCache(finishedWork) { switch (finishedWork.tag) { case 13: case 19: var retryCache = finishedWork.stateNode; null === retryCache && (retryCache = finishedWork.stateNode = new PossiblyWeakSet()); return retryCache; case 22: return finishedWork = finishedWork.stateNode, retryCache = finishedWork._retryCache, null === retryCache && (retryCache = finishedWork._retryCache = new PossiblyWeakSet()), retryCache; default: throw Error("Unexpected Suspense handler tag (" + finishedWork.tag + "). This is a bug in React."); } } function attachSuspenseRetryListeners(finishedWork, wakeables) { var retryCache = getRetryCache(finishedWork); wakeables.forEach(function (wakeable) { var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable); if (!retryCache.has(wakeable)) { retryCache.add(wakeable); if (isDevToolsPresent) if (null !== inProgressLanes && null !== inProgressRoot) restorePendingUpdaters(inProgressRoot, inProgressLanes);else throw Error("Expected finished root and lanes to be set. This is a bug in React."); wakeable.then(retry, retry); } }); } function commitMutationEffects(root, finishedWork, committedLanes) { inProgressLanes = committedLanes; inProgressRoot = root; commitMutationEffectsOnFiber(finishedWork, root); inProgressRoot = inProgressLanes = null; } function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { var deletions = parentFiber.deletions; if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], parent = returnFiber; a: for (; null !== parent;) { switch (parent.tag) { case 27: case 5: hostParent = parent.stateNode; hostParentIsContainer = !1; break a; case 3: hostParent = parent.stateNode.containerInfo; hostParentIsContainer = !0; break a; case 4: hostParent = parent.stateNode.containerInfo; hostParentIsContainer = !0; break a; } parent = parent.return; } if (null === hostParent) throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."); commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); hostParent = null; hostParentIsContainer = !1; root = deletedFiber; returnFiber = root.alternate; null !== returnFiber && (returnFiber.return = null); root.return = null; } if (parentFiber.subtreeFlags & 13878) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling; } function commitMutationEffectsOnFiber(finishedWork, root) { var current = finishedWork.alternate, flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 14: case 15: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 4 && (commitHookEffectListUnmount(Insertion | HasEffect, finishedWork, finishedWork.return), commitHookEffectListMount(Insertion | HasEffect, finishedWork), commitHookLayoutUnmountEffects(finishedWork, finishedWork.return, Layout | HasEffect)); break; case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); flags & 64 && offscreenSubtreeIsHidden && (finishedWork = finishedWork.updateQueue, null !== finishedWork && (flags = finishedWork.callbacks, null !== flags && (current = finishedWork.shared.hiddenCallbacks, finishedWork.shared.hiddenCallbacks = null === current ? flags : current.concat(flags)))); break; case 26: var hoistableRoot = currentHoistableRoot; recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); if (flags & 4) if (root = null !== current ? current.memoizedState : null, flags = finishedWork.memoizedState, null === current) { if (null === flags) { if (null === finishedWork.stateNode) { a: { flags = finishedWork.type; current = finishedWork.memoizedProps; root = hoistableRoot.ownerDocument || hoistableRoot; b: switch (flags) { case "title": hoistableRoot = root.getElementsByTagName("title")[0]; if (!hoistableRoot || hoistableRoot[internalHoistableMarker] || hoistableRoot[internalInstanceKey] || hoistableRoot.namespaceURI === SVG_NAMESPACE || hoistableRoot.hasAttribute("itemprop")) hoistableRoot = root.createElement(flags), root.head.insertBefore(hoistableRoot, root.querySelector("head > title")); setInitialProperties(hoistableRoot, flags, current); hoistableRoot[internalInstanceKey] = finishedWork; markNodeAsHoistable(hoistableRoot); flags = hoistableRoot; break a; case "link": var maybeNodes = getHydratableHoistableCache("link", "href", root).get(flags + (current.href || "")); if (maybeNodes) for (var i = 0; i < maybeNodes.length; i++) if (hoistableRoot = maybeNodes[i], hoistableRoot.getAttribute("href") === (null == current.href ? null : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === (null == current.title ? null : current.title) && hoistableRoot.getAttribute("crossorigin") === (null == current.crossOrigin ? null : current.crossOrigin)) { maybeNodes.splice(i, 1); break b; } hoistableRoot = root.createElement(flags); setInitialProperties(hoistableRoot, flags, current); root.head.appendChild(hoistableRoot); break; case "meta": if (maybeNodes = getHydratableHoistableCache("meta", "content", root).get(flags + (current.content || ""))) for (i = 0; i < maybeNodes.length; i++) if (hoistableRoot = maybeNodes[i], checkAttributeStringCoercion(current.content, "content"), hoistableRoot.getAttribute("content") === (null == current.content ? null : "" + current.content) && hoistableRoot.getAttribute("name") === (null == current.name ? null : current.name) && hoistableRoot.getAttribute("property") === (null == current.property ? null : current.property) && hoistableRoot.getAttribute("http-equiv") === (null == current.httpEquiv ? null : current.httpEquiv) && hoistableRoot.getAttribute("charset") === (null == current.charSet ? null : current.charSet)) { maybeNodes.splice(i, 1); break b; } hoistableRoot = root.createElement(flags); setInitialProperties(hoistableRoot, flags, current); root.head.appendChild(hoistableRoot); break; default: throw Error('getNodesForType encountered a type it did not expect: "' + flags + '". This is a bug in React.'); } hoistableRoot[internalInstanceKey] = finishedWork; markNodeAsHoistable(hoistableRoot); flags = hoistableRoot; } finishedWork.stateNode = flags; } else mountHoistable(hoistableRoot, finishedWork.type, finishedWork.stateNode); } else finishedWork.stateNode = acquireResource(hoistableRoot, flags, finishedWork.memoizedProps); } else root !== flags ? (null === root ? null !== current.stateNode && (current = current.stateNode, current.parentNode.removeChild(current)) : root.count--, null === flags ? mountHoistable(hoistableRoot, finishedWork.type, finishedWork.stateNode) : acquireResource(hoistableRoot, flags, finishedWork.memoizedProps)) : null === flags && null !== finishedWork.stateNode && commitHostUpdate(finishedWork, finishedWork.memoizedProps, current.memoizedProps); break; case 27: if (flags & 4 && null === finishedWork.alternate) { hoistableRoot = finishedWork.stateNode; maybeNodes = finishedWork.memoizedProps; try { for (i = hoistableRoot.firstChild; i;) { var nextNode = i.nextSibling, nodeName = i.nodeName; i[internalHoistableMarker] || "HEAD" === nodeName || "BODY" === nodeName || "SCRIPT" === nodeName || "STYLE" === nodeName || "LINK" === nodeName && "stylesheet" === i.rel.toLowerCase() || hoistableRoot.removeChild(i); i = nextNode; } runWithFiberInDEV(finishedWork, acquireSingletonInstance, finishedWork.type, maybeNodes, hoistableRoot, finishedWork); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { runWithFiberInDEV(finishedWork, resetTextContent, root); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } flags & 4 && null != finishedWork.stateNode && (root = finishedWork.memoizedProps, commitHostUpdate(finishedWork, root, null !== current ? current.memoizedProps : root)); flags & 1024 && (needsFormReset = !0, "form" !== finishedWork.type && console.error("Unexpected host component type. Expected a form. This is a bug in React.")); break; case 6: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); if (flags & 4) { if (null === finishedWork.stateNode) throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."); flags = finishedWork.memoizedProps; current = null !== current ? current.memoizedProps : flags; root = finishedWork.stateNode; try { runWithFiberInDEV(finishedWork, commitTextUpdate, root, current, flags); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } break; case 3: hoistableRoot = pushNestedEffectDurations(); tagCaches = null; maybeNodes = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(root.containerInfo); recursivelyTraverseMutationEffects(root, finishedWork); currentHoistableRoot = maybeNodes; commitReconciliationEffects(finishedWork); if (flags & 4 && null !== current && current.memoizedState.isDehydrated) try { runWithFiberInDEV(finishedWork, commitHydratedContainer, root.containerInfo); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } needsFormReset && (needsFormReset = !1, recursivelyResetForms(finishedWork)); root.effectDuration += popNestedEffectDurations(hoistableRoot); break; case 4: flags = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(finishedWork.stateNode.containerInfo); recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); currentHoistableRoot = flags; break; case 12: flags = pushNestedEffectDurations(); recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); finishedWork.stateNode.effectDuration += bubbleNestedEffectDurations(flags); break; case 13: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); finishedWork.child.flags & 8192 && null !== finishedWork.memoizedState !== (null !== current && null !== current.memoizedState) && (globalMostRecentFallbackTime = now$1()); flags & 4 && (flags = finishedWork.updateQueue, null !== flags && (finishedWork.updateQueue = null, attachSuspenseRetryListeners(finishedWork, flags))); break; case 22: flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); i = null !== finishedWork.memoizedState; nextNode = null !== current && null !== current.memoizedState; nodeName = offscreenSubtreeIsHidden; var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; offscreenSubtreeIsHidden = nodeName || i; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || nextNode; recursivelyTraverseMutationEffects(root, finishedWork); offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; offscreenSubtreeIsHidden = nodeName; commitReconciliationEffects(finishedWork); root = finishedWork.stateNode; root._current = finishedWork; root._visibility &= ~OffscreenDetached; root._visibility |= root._pendingVisibility & OffscreenDetached; if (flags & 8192 && (root._visibility = i ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, i && (root = offscreenSubtreeIsHidden || offscreenSubtreeWasHidden, null === current || nextNode || root || recursivelyTraverseDisappearLayoutEffects(finishedWork)), null === finishedWork.memoizedProps || "manual" !== finishedWork.memoizedProps.mode)) a: for (current = null, root = finishedWork;;) { if (5 === root.tag || 26 === root.tag || 27 === root.tag) { if (null === current) { nextNode = current = root; try { hoistableRoot = nextNode.stateNode, i ? runWithFiberInDEV(nextNode, hideInstance, hoistableRoot) : runWithFiberInDEV(nextNode, unhideInstance, nextNode.stateNode, nextNode.memoizedProps); } catch (error) { captureCommitPhaseError(nextNode, nextNode.return, error); } } } else if (6 === root.tag) { if (null === current) { nextNode = root; try { maybeNodes = nextNode.stateNode, i ? runWithFiberInDEV(nextNode, hideTextInstance, maybeNodes) : runWithFiberInDEV(nextNode, unhideTextInstance, maybeNodes, nextNode.memoizedProps); } catch (error) { captureCommitPhaseError(nextNode, nextNode.return, error); } } } else if ((22 !== root.tag && 23 !== root.tag || null === root.memoizedState || root === finishedWork) && null !== root.child) { root.child.return = root; root = root.child; continue; } if (root === finishedWork) break a; for (; null === root.sibling;) { if (null === root.return || root.return === finishedWork) break a; current === root && (current = null); root = root.return; } current === root && (current = null); root.sibling.return = root.return; root = root.sibling; } flags & 4 && (flags = finishedWork.updateQueue, null !== flags && (current = flags.retryQueue, null !== current && (flags.retryQueue = null, attachSuspenseRetryListeners(finishedWork, current)))); break; case 19: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 4 && (flags = finishedWork.updateQueue, null !== flags && (finishedWork.updateQueue = null, attachSuspenseRetryListeners(finishedWork, flags))); break; case 21: break; default: recursivelyTraverseMutationEffects(root, finishedWork), commitReconciliationEffects(finishedWork); } } function commitReconciliationEffects(finishedWork) { var flags = finishedWork.flags; if (flags & 2) { try { runWithFiberInDEV(finishedWork, commitPlacement, finishedWork); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } finishedWork.flags &= -3; } flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyResetForms(parentFiber) { if (parentFiber.subtreeFlags & 1024) for (parentFiber = parentFiber.child; null !== parentFiber;) { var fiber = parentFiber; recursivelyResetForms(fiber); 5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset(); parentFiber = parentFiber.sibling; } } function commitLayoutEffects(finishedWork, root, committedLanes) { inProgressLanes = committedLanes; inProgressRoot = root; commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork); inProgressRoot = inProgressLanes = null; } function recursivelyTraverseLayoutEffects(root, parentFiber) { if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber;) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), parentFiber = parentFiber.sibling; } function disappearLayoutEffects(finishedWork) { switch (finishedWork.tag) { case 0: case 11: case 14: case 15: commitHookLayoutUnmountEffects(finishedWork, finishedWork.return, Layout); recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 1: safelyDetachRef(finishedWork, finishedWork.return); var instance = finishedWork.stateNode; "function" === typeof instance.componentWillUnmount && safelyCallComponentWillUnmount(finishedWork, finishedWork.return, instance); recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 26: case 27: case 5: safelyDetachRef(finishedWork, finishedWork.return); recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 22: safelyDetachRef(finishedWork, finishedWork.return); null === finishedWork.memoizedState && recursivelyTraverseDisappearLayoutEffects(finishedWork); break; default: recursivelyTraverseDisappearLayoutEffects(finishedWork); } } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { for (parentFiber = parentFiber.child; null !== parentFiber;) disappearLayoutEffects(parentFiber), parentFiber = parentFiber.sibling; } function reappearLayoutEffects(finishedRoot, current, finishedWork, includeWorkInProgressEffects) { var flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); commitHookLayoutEffects(finishedWork, Layout); break; case 1: recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); current = finishedWork.stateNode; "function" === typeof current.componentDidMount && runWithFiberInDEV(finishedWork, callComponentDidMountInDEV, finishedWork, current); current = finishedWork.updateQueue; if (null !== current) { finishedRoot = finishedWork.stateNode; try { runWithFiberInDEV(finishedWork, commitHiddenCallbacks, current, finishedRoot); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } includeWorkInProgressEffects && flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; case 26: case 27: case 5: recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); includeWorkInProgressEffects && null === current && flags & 4 && commitHostMount(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; case 12: if (includeWorkInProgressEffects && flags & 4) { flags = pushNestedEffectDurations(); recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); includeWorkInProgressEffects = finishedWork.stateNode; includeWorkInProgressEffects.effectDuration += bubbleNestedEffectDurations(flags); try { runWithFiberInDEV(finishedWork, commitProfiler, finishedWork, current, commitStartTime, includeWorkInProgressEffects.effectDuration); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } else recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); break; case 13: recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); includeWorkInProgressEffects && flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); break; case 22: null === finishedWork.memoizedState && recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); safelyAttachRef(finishedWork, finishedWork.return); break; default: recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); } } function recursivelyTraverseReappearLayoutEffects(finishedRoot, parentFiber, includeWorkInProgressEffects) { includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber;) reappearLayoutEffects(finishedRoot, parentFiber.alternate, parentFiber, includeWorkInProgressEffects), parentFiber = parentFiber.sibling; } function commitOffscreenPassiveMountEffects(current, finishedWork) { var previousCache = null; null !== current && null !== current.memoizedState && null !== current.memoizedState.cachePool && (previousCache = current.memoizedState.cachePool.pool); current = null; null !== finishedWork.memoizedState && null !== finishedWork.memoizedState.cachePool && (current = finishedWork.memoizedState.cachePool.pool); current !== previousCache && (null != current && retainCache(current), null != previousCache && releaseCache(previousCache)); } function commitCachePassiveMountEffect(current, finishedWork) { current = null; null !== finishedWork.alternate && (current = finishedWork.alternate.memoizedState.cache); finishedWork = finishedWork.memoizedState.cache; finishedWork !== current && (retainCache(finishedWork), null != current && releaseCache(current)); } function recursivelyTraversePassiveMountEffects(root, parentFiber, committedLanes, committedTransitions) { if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) commitPassiveMountOnFiber(root, parentFiber, committedLanes, committedTransitions), parentFiber = parentFiber.sibling; } function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions) { var flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions); flags & 2048 && commitHookPassiveMountEffects(finishedWork, Passive | HasEffect); break; case 3: var prevEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions); flags & 2048 && (committedLanes = null, null !== finishedWork.alternate && (committedLanes = finishedWork.alternate.memoizedState.cache), finishedWork = finishedWork.memoizedState.cache, finishedWork !== committedLanes && (retainCache(finishedWork), null != committedLanes && releaseCache(committedLanes))); finishedRoot.passiveEffectDuration += popNestedEffectDurations(prevEffectDuration); break; case 12: if (flags & 2048) { prevEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions); finishedRoot = finishedWork.stateNode; finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations(prevEffectDuration); try { runWithFiberInDEV(finishedWork, commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, commitStartTime, finishedRoot.passiveEffectDuration); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } else recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions); break; case 23: break; case 22: prevEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState ? prevEffectDuration._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions) : recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) : prevEffectDuration._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions) : (prevEffectDuration._visibility |= OffscreenPassiveEffectsConnected, recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256))); flags & 2048 && commitOffscreenPassiveMountEffects(finishedWork.alternate, finishedWork); break; case 24: recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions); flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions); } } function recursivelyTraverseReconnectPassiveEffects(finishedRoot, parentFiber, committedLanes, committedTransitions, includeWorkInProgressEffects) { includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber;) reconnectPassiveEffects(finishedRoot, parentFiber, committedLanes, committedTransitions, includeWorkInProgressEffects), parentFiber = parentFiber.sibling; } function reconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects) { var flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects); commitHookPassiveMountEffects(finishedWork, Passive); break; case 23: break; case 22: var _instance2 = finishedWork.stateNode; null !== finishedWork.memoizedState ? _instance2._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects) : recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) : (_instance2._visibility |= OffscreenPassiveEffectsConnected, recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects)); includeWorkInProgressEffects && flags & 2048 && commitOffscreenPassiveMountEffects(finishedWork.alternate, finishedWork); break; case 24: recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects); includeWorkInProgressEffects && flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects); } } function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber) { if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, flags = finishedWork.flags; switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); flags & 2048 && commitOffscreenPassiveMountEffects(finishedWork.alternate, finishedWork); break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); } parentFiber = parentFiber.sibling; } } function recursivelyAccumulateSuspenseyCommit(parentFiber) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber;) accumulateSuspenseyCommitOnFiber(parentFiber), parentFiber = parentFiber.sibling; } function accumulateSuspenseyCommitOnFiber(fiber) { switch (fiber.tag) { case 26: recursivelyAccumulateSuspenseyCommit(fiber); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource(currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps); break; case 5: recursivelyAccumulateSuspenseyCommit(fiber); break; case 3: case 4: var previousHoistableRoot = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); recursivelyAccumulateSuspenseyCommit(fiber); currentHoistableRoot = previousHoistableRoot; break; case 22: null === fiber.memoizedState && (previousHoistableRoot = fiber.alternate, null !== previousHoistableRoot && null !== previousHoistableRoot.memoizedState ? (previousHoistableRoot = suspenseyCommitFlag, suspenseyCommitFlag = 16777216, recursivelyAccumulateSuspenseyCommit(fiber), suspenseyCommitFlag = previousHoistableRoot) : recursivelyAccumulateSuspenseyCommit(fiber)); break; default: recursivelyAccumulateSuspenseyCommit(fiber); } } function detachAlternateSiblings(parentFiber) { var previousFiber = parentFiber.alternate; if (null !== previousFiber && (parentFiber = previousFiber.child, null !== parentFiber)) { previousFiber.child = null; do previousFiber = parentFiber.sibling, parentFiber.sibling = null, parentFiber = previousFiber; while (null !== parentFiber); } } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber); } detachAlternateSiblings(parentFiber); } if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) commitPassiveUnmountOnFiber(parentFiber), parentFiber = parentFiber.sibling; } function commitPassiveUnmountOnFiber(finishedWork) { switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.flags & 2048 && commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, Passive | HasEffect); break; case 3: var prevEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations(prevEffectDuration); break; case 12: prevEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += bubbleNestedEffectDurations(prevEffectDuration); break; case 22: prevEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && prevEffectDuration._visibility & OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) ? (prevEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected, recursivelyTraverseDisconnectPassiveEffects(finishedWork)) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: recursivelyTraversePassiveUnmountEffects(finishedWork); } } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber); } detachAlternateSiblings(parentFiber); } for (parentFiber = parentFiber.child; null !== parentFiber;) disconnectPassiveEffect(parentFiber), parentFiber = parentFiber.sibling; } function disconnectPassiveEffect(finishedWork) { switch (finishedWork.tag) { case 0: case 11: case 15: commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, Passive); recursivelyTraverseDisconnectPassiveEffects(finishedWork); break; case 22: var instance = finishedWork.stateNode; instance._visibility & OffscreenPassiveEffectsConnected && (instance._visibility &= ~OffscreenPassiveEffectsConnected, recursivelyTraverseDisconnectPassiveEffects(finishedWork)); break; default: recursivelyTraverseDisconnectPassiveEffects(finishedWork); } } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor) { for (; null !== nextEffect;) { var fiber = nextEffect, current = fiber; switch (current.tag) { case 0: case 11: case 15: commitHookPassiveUnmountEffects(current, nearestMountedAncestor, Passive); break; case 23: case 22: null !== current.memoizedState && null !== current.memoizedState.cachePool && (current = current.memoizedState.cachePool.pool, null != current && retainCache(current)); break; case 24: releaseCache(current.memoizedState.cache); } current = fiber.child; if (null !== current) current.return = fiber, nextEffect = current;else a: for (fiber = deletedSubtreeRoot; null !== nextEffect;) { current = nextEffect; var sibling = current.sibling, returnFiber = current.return; detachFiberAfterEffects(current); if (current === fiber) { nextEffect = null; break a; } if (null !== sibling) { sibling.return = returnFiber; nextEffect = sibling; break a; } nextEffect = returnFiber; } } } function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null; this.index = 0; this.refCleanup = this.ref = null; this.pendingProps = pendingProps; this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null; this.mode = mode; this.subtreeFlags = this.flags = 0; this.deletions = null; this.childLanes = this.lanes = 0; this.alternate = null; this.actualDuration = -0; this.actualStartTime = -1.1; this.treeBaseDuration = this.selfBaseDuration = -0; this._debugOwner = this._debugInfo = null; this._debugNeedsRemount = !1; this._debugHookTypes = null; hasBadMapPolyfill || "function" !== typeof Object.preventExtensions || Object.preventExtensions(this); } function shouldConstruct(Component) { Component = Component.prototype; return !(!Component || !Component.isReactComponent); } function createWorkInProgress(current, pendingProps) { var workInProgress = current.alternate; null === workInProgress ? (workInProgress = createFiber(current.tag, pendingProps, current.key, current.mode), workInProgress.elementType = current.elementType, workInProgress.type = current.type, workInProgress.stateNode = current.stateNode, workInProgress._debugOwner = current._debugOwner, workInProgress._debugHookTypes = current._debugHookTypes, workInProgress.alternate = current, current.alternate = workInProgress) : (workInProgress.pendingProps = pendingProps, workInProgress.type = current.type, workInProgress.flags = 0, workInProgress.subtreeFlags = 0, workInProgress.deletions = null, workInProgress.actualDuration = -0, workInProgress.actualStartTime = -1.1); workInProgress.flags = current.flags & 31457280; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; workInProgress.memoizedProps = current.memoizedProps; workInProgress.memoizedState = current.memoizedState; workInProgress.updateQueue = current.updateQueue; pendingProps = current.dependencies; workInProgress.dependencies = null === pendingProps ? null : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext, _debugThenableState: pendingProps._debugThenableState }; workInProgress.sibling = current.sibling; workInProgress.index = current.index; workInProgress.ref = current.ref; workInProgress.refCleanup = current.refCleanup; workInProgress.selfBaseDuration = current.selfBaseDuration; workInProgress.treeBaseDuration = current.treeBaseDuration; workInProgress._debugInfo = current._debugInfo; workInProgress._debugNeedsRemount = current._debugNeedsRemount; switch (workInProgress.tag) { case 0: case 15: workInProgress.type = resolveFunctionForHotReloading(current.type); break; case 1: workInProgress.type = resolveFunctionForHotReloading(current.type); break; case 11: workInProgress.type = resolveForwardRefForHotReloading(current.type); } return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { workInProgress.flags &= 31457282; var current = workInProgress.alternate; null === current ? (workInProgress.childLanes = 0, workInProgress.lanes = renderLanes, workInProgress.child = null, workInProgress.subtreeFlags = 0, workInProgress.memoizedProps = null, workInProgress.memoizedState = null, workInProgress.updateQueue = null, workInProgress.dependencies = null, workInProgress.stateNode = null, workInProgress.selfBaseDuration = 0, workInProgress.treeBaseDuration = 0) : (workInProgress.childLanes = current.childLanes, workInProgress.lanes = current.lanes, workInProgress.child = current.child, workInProgress.subtreeFlags = 0, workInProgress.deletions = null, workInProgress.memoizedProps = current.memoizedProps, workInProgress.memoizedState = current.memoizedState, workInProgress.updateQueue = current.updateQueue, workInProgress.type = current.type, renderLanes = current.dependencies, workInProgress.dependencies = null === renderLanes ? null : { lanes: renderLanes.lanes, firstContext: renderLanes.firstContext, _debugThenableState: renderLanes._debugThenableState }, workInProgress.selfBaseDuration = current.selfBaseDuration, workInProgress.treeBaseDuration = current.treeBaseDuration); return workInProgress; } function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) { var fiberTag = 0, resolvedType = type; if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1), resolvedType = resolveFunctionForHotReloading(resolvedType);else if ("string" === typeof type) fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : "html" === type || "head" === type || "body" === type ? 27 : 5;else a: switch (type) { case REACT_FRAGMENT_TYPE: return createFiberFromFragment(pendingProps.children, mode, lanes, key); case REACT_STRICT_MODE_TYPE: fiberTag = 8; mode |= StrictLegacyMode; mode |= StrictEffectsMode; break; case REACT_PROFILER_TYPE: return type = pendingProps, owner = mode, "string" !== typeof type.id && console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof type.id), key = createFiber(12, type, key, owner | ProfileMode), key.elementType = REACT_PROFILER_TYPE, key.lanes = lanes, key.stateNode = { effectDuration: 0, passiveEffectDuration: 0 }, key; case REACT_SUSPENSE_TYPE: return key = createFiber(13, pendingProps, key, mode), key.elementType = REACT_SUSPENSE_TYPE, key.lanes = lanes, key; case REACT_SUSPENSE_LIST_TYPE: return key = createFiber(19, pendingProps, key, mode), key.elementType = REACT_SUSPENSE_LIST_TYPE, key.lanes = lanes, key; case REACT_OFFSCREEN_TYPE: return createFiberFromOffscreen(pendingProps, mode, lanes, key); default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { case REACT_PROVIDER_TYPE: case REACT_CONTEXT_TYPE: fiberTag = 10; break a; case REACT_CONSUMER_TYPE: fiberTag = 9; break a; case REACT_FORWARD_REF_TYPE: fiberTag = 11; resolvedType = resolveForwardRefForHotReloading(resolvedType); break a; case REACT_MEMO_TYPE: fiberTag = 14; break a; case REACT_LAZY_TYPE: fiberTag = 16; resolvedType = null; break a; } resolvedType = ""; if (void 0 === type || "object" === typeof type && null !== type && 0 === Object.keys(type).length) resolvedType += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."; null === type ? pendingProps = "null" : isArrayImpl(type) ? pendingProps = "array" : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE ? (pendingProps = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", resolvedType = " Did you accidentally export a JSX literal instead of a component?") : pendingProps = typeof type; (fiberTag = owner ? getComponentNameFromOwner(owner) : null) && (resolvedType += "\n\nCheck the render method of `" + fiberTag + "`."); fiberTag = 29; pendingProps = Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + (pendingProps + "." + resolvedType)); resolvedType = null; } key = createFiber(fiberTag, pendingProps, key, mode); key.elementType = type; key.type = resolvedType; key.lanes = lanes; key._debugOwner = owner; return key; } function createFiberFromElement(element, mode, lanes) { mode = createFiberFromTypeAndProps(element.type, element.key, element.props, element._owner, mode, lanes); mode._debugOwner = element._owner; return mode; } function createFiberFromFragment(elements, mode, lanes, key) { elements = createFiber(7, elements, key, mode); elements.lanes = lanes; return elements; } function createFiberFromOffscreen(pendingProps, mode, lanes, key) { pendingProps = createFiber(22, pendingProps, key, mode); pendingProps.elementType = REACT_OFFSCREEN_TYPE; pendingProps.lanes = lanes; var primaryChildInstance = { _visibility: OffscreenVisible, _pendingVisibility: OffscreenVisible, _pendingMarkers: null, _retryCache: null, _transitions: null, _current: null, detach: function () { var instance = primaryChildInstance, fiber = instance._current; if (null === fiber) throw Error("Calling Offscreen.detach before instance handle has been set."); if (0 === (instance._pendingVisibility & OffscreenDetached)) { var root = enqueueConcurrentRenderForLane(fiber, 2); null !== root && (instance._pendingVisibility |= OffscreenDetached, scheduleUpdateOnFiber(root, fiber, 2)); } }, attach: function () { var instance = primaryChildInstance, fiber = instance._current; if (null === fiber) throw Error("Calling Offscreen.detach before instance handle has been set."); if (0 !== (instance._pendingVisibility & OffscreenDetached)) { var root = enqueueConcurrentRenderForLane(fiber, 2); null !== root && (instance._pendingVisibility &= ~OffscreenDetached, scheduleUpdateOnFiber(root, fiber, 2)); } } }; pendingProps.stateNode = primaryChildInstance; return pendingProps; } function createFiberFromText(content, mode, lanes) { content = createFiber(6, content, null, mode); content.lanes = lanes; return content; } function createFiberFromPortal(portal, mode, lanes) { mode = createFiber(4, null !== portal.children ? portal.children : [], portal.key, mode); mode.lanes = lanes; mode.stateNode = { containerInfo: portal.containerInfo, pendingChildren: null, implementation: portal.implementation }; return mode; } function markUpdate(workInProgress) { workInProgress.flags |= 4; } function preloadResourceAndSuspendIfNeeded(workInProgress, resource) { if ("stylesheet" !== resource.type || (resource.state.loading & Inserted) !== NotLoaded) workInProgress.flags &= -16777217;else if (workInProgress.flags |= 16777216, !preloadResource(resource)) { resource = suspenseHandlerStackCursor.current; if (null !== resource && ((workInProgressRootRenderLanes & 4194176) === workInProgressRootRenderLanes ? null !== shellBoundary : (workInProgressRootRenderLanes & 62914560) !== workInProgressRootRenderLanes && 0 === (workInProgressRootRenderLanes & 536870912) || resource !== shellBoundary)) throw suspendedThenable = noopSuspenseyCommitThenable, SuspenseyCommitException; workInProgress.flags |= 8192; } } function scheduleRetryEffect(workInProgress, retryQueue) { null !== retryQueue && (workInProgress.flags |= 4); workInProgress.flags & 16384 && (retryQueue = 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912, workInProgress.lanes |= retryQueue, workInProgressSuspendedRetryLanes |= retryQueue); } function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { if (!isHydrating) switch (renderState.tailMode) { case "hidden": hasRenderedATailFallback = renderState.tail; for (var lastTailNode = null; null !== hasRenderedATailFallback;) null !== hasRenderedATailFallback.alternate && (lastTailNode = hasRenderedATailFallback), hasRenderedATailFallback = hasRenderedATailFallback.sibling; null === lastTailNode ? renderState.tail = null : lastTailNode.sibling = null; break; case "collapsed": lastTailNode = renderState.tail; for (var _lastTailNode = null; null !== lastTailNode;) null !== lastTailNode.alternate && (_lastTailNode = lastTailNode), lastTailNode = lastTailNode.sibling; null === _lastTailNode ? hasRenderedATailFallback || null === renderState.tail ? renderState.tail = null : renderState.tail.sibling = null : _lastTailNode.sibling = null; } } function bubbleProperties(completedWork) { var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0; if (didBailout) { if ((completedWork.mode & ProfileMode) !== NoMode) { for (var _treeBaseDuration = completedWork.selfBaseDuration, _child2 = completedWork.child; null !== _child2;) newChildLanes |= _child2.lanes | _child2.childLanes, subtreeFlags |= _child2.subtreeFlags & 31457280, subtreeFlags |= _child2.flags & 31457280, _treeBaseDuration += _child2.treeBaseDuration, _child2 = _child2.sibling; completedWork.treeBaseDuration = _treeBaseDuration; } else for (_treeBaseDuration = completedWork.child; null !== _treeBaseDuration;) newChildLanes |= _treeBaseDuration.lanes | _treeBaseDuration.childLanes, subtreeFlags |= _treeBaseDuration.subtreeFlags & 31457280, subtreeFlags |= _treeBaseDuration.flags & 31457280, _treeBaseDuration.return = completedWork, _treeBaseDuration = _treeBaseDuration.sibling; } else if ((completedWork.mode & ProfileMode) !== NoMode) { _treeBaseDuration = completedWork.actualDuration; _child2 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child;) newChildLanes |= child.lanes | child.childLanes, subtreeFlags |= child.subtreeFlags, subtreeFlags |= child.flags, _treeBaseDuration += child.actualDuration, _child2 += child.treeBaseDuration, child = child.sibling; completedWork.actualDuration = _treeBaseDuration; completedWork.treeBaseDuration = _child2; } else for (_treeBaseDuration = completedWork.child; null !== _treeBaseDuration;) newChildLanes |= _treeBaseDuration.lanes | _treeBaseDuration.childLanes, subtreeFlags |= _treeBaseDuration.subtreeFlags, subtreeFlags |= _treeBaseDuration.flags, _treeBaseDuration.return = completedWork, _treeBaseDuration = _treeBaseDuration.sibling; completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; } function completeWork(current, workInProgress, renderLanes) { var newProps = workInProgress.pendingProps; popTreeContext(workInProgress); switch (workInProgress.tag) { case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return bubbleProperties(workInProgress), null; case 1: return bubbleProperties(workInProgress), null; case 3: newProps = workInProgress.stateNode; renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && (workInProgress.flags |= 2048); popProvider(CacheContext, workInProgress); popHostContainer(workInProgress); newProps.pendingContext && (newProps.context = newProps.pendingContext, newProps.pendingContext = null); if (null === current || null === current.child) popHydrationState(workInProgress) ? (emitPendingHydrationWarnings(), markUpdate(workInProgress)) : null === current || current.memoizedState.isDehydrated && 0 === (workInProgress.flags & 256) || (workInProgress.flags |= 1024, null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), hydrationErrors = null)); bubbleProperties(workInProgress); return null; case 26: return renderLanes = workInProgress.memoizedState, null === current ? (markUpdate(workInProgress), null !== renderLanes ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217)) : renderLanes ? renderLanes !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (current.memoizedProps !== newProps && markUpdate(workInProgress), bubbleProperties(workInProgress), workInProgress.flags &= -16777217), null; case 27: popHostContext(workInProgress); renderLanes = requiredContext(rootInstanceStackCursor.current); var _type = workInProgress.type; if (null !== current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress);else { if (!newProps) { if (null === workInProgress.stateNode) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); bubbleProperties(workInProgress); return null; } current = getHostContext(); popHydrationState(workInProgress) ? prepareToHydrateHostInstance(workInProgress, current) : (current = resolveSingletonInstance(_type, newProps, renderLanes, current, !0), workInProgress.stateNode = current, markUpdate(workInProgress)); } bubbleProperties(workInProgress); return null; case 5: popHostContext(workInProgress); renderLanes = workInProgress.type; if (null !== current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress);else { if (!newProps) { if (null === workInProgress.stateNode) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); bubbleProperties(workInProgress); return null; } _type = getHostContext(); if (popHydrationState(workInProgress)) prepareToHydrateHostInstance(workInProgress, _type);else { current = requiredContext(rootInstanceStackCursor.current); validateDOMNesting(renderLanes, _type.ancestorInfo); _type = _type.context; current = getOwnerDocumentFromRootContainer(current); switch (_type) { case HostContextNamespaceSvg: current = current.createElementNS(SVG_NAMESPACE, renderLanes); break; case HostContextNamespaceMath: current = current.createElementNS(MATH_NAMESPACE, renderLanes); break; default: switch (renderLanes) { case "svg": current = current.createElementNS(SVG_NAMESPACE, renderLanes); break; case "math": current = current.createElementNS(MATH_NAMESPACE, renderLanes); break; case "script": current = current.createElement("div"); current.innerHTML = "<script>\x3c/script>"; current = current.removeChild(current.firstChild); break; case "select": current = "string" === typeof newProps.is ? current.createElement("select", { is: newProps.is }) : current.createElement("select"); newProps.multiple ? current.multiple = !0 : newProps.size && (current.size = newProps.size); break; default: current = "string" === typeof newProps.is ? current.createElement(renderLanes, { is: newProps.is }) : current.createElement(renderLanes), -1 === renderLanes.indexOf("-") && (renderLanes !== renderLanes.toLowerCase() && console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", renderLanes), "[object HTMLUnknownElement]" !== Object.prototype.toString.call(current) || hasOwnProperty.call(warnedUnknownTags, renderLanes) || (warnedUnknownTags[renderLanes] = !0, console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.", renderLanes))); } } current[internalInstanceKey] = workInProgress; current[internalPropsKey] = newProps; a: for (_type = workInProgress.child; null !== _type;) { if (5 === _type.tag || 6 === _type.tag) current.appendChild(_type.stateNode);else if (4 !== _type.tag && 27 !== _type.tag && null !== _type.child) { _type.child.return = _type; _type = _type.child; continue; } if (_type === workInProgress) break a; for (; null === _type.sibling;) { if (null === _type.return || _type.return === workInProgress) break a; _type = _type.return; } _type.sibling.return = _type.return; _type = _type.sibling; } workInProgress.stateNode = current; a: switch (setInitialProperties(current, renderLanes, newProps), renderLanes) { case "button": case "input": case "select": case "textarea": current = !!newProps.autoFocus; break a; case "img": current = !0; break a; default: current = !1; } current && markUpdate(workInProgress); } } bubbleProperties(workInProgress); workInProgress.flags &= -16777217; return null; case 6: if (current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress);else { if ("string" !== typeof newProps && null === workInProgress.stateNode) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); current = requiredContext(rootInstanceStackCursor.current); renderLanes = getHostContext(); if (popHydrationState(workInProgress)) { current = workInProgress.stateNode; newProps = workInProgress.memoizedProps; _type = !didSuspendOrErrorDEV; renderLanes = null; var returnFiber = hydrationParentFiber; if (null !== returnFiber) switch (returnFiber.tag) { case 3: _type && (_type = diffHydratedTextForDevWarnings(current, newProps, renderLanes), null !== _type && (buildHydrationDiffNode(workInProgress, 0).serverProps = _type)); break; case 27: case 5: renderLanes = returnFiber.memoizedProps, _type && (_type = diffHydratedTextForDevWarnings(current, newProps, renderLanes), null !== _type && (buildHydrationDiffNode(workInProgress, 0).serverProps = _type)); } current[internalInstanceKey] = workInProgress; current = current.nodeValue === newProps || null !== renderLanes && !0 === renderLanes.suppressHydrationWarning || checkForUnmatchedText(current.nodeValue, newProps) ? !0 : !1; current || throwOnHydrationMismatch(workInProgress); } else renderLanes = renderLanes.ancestorInfo.current, null != renderLanes && validateTextNesting(newProps, renderLanes.tag), current = getOwnerDocumentFromRootContainer(current).createTextNode(newProps), current[internalInstanceKey] = workInProgress, workInProgress.stateNode = current; } bubbleProperties(workInProgress); return null; case 13: newProps = workInProgress.memoizedState; if (null === current || null !== current.memoizedState && null !== current.memoizedState.dehydrated) { _type = popHydrationState(workInProgress); if (null !== newProps && null !== newProps.dehydrated) { if (null === current) { if (!_type) throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."); _type = workInProgress.memoizedState; _type = null !== _type ? _type.dehydrated : null; if (!_type) throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."); _type[internalInstanceKey] = workInProgress; bubbleProperties(workInProgress); (workInProgress.mode & ProfileMode) !== NoMode && null !== newProps && (_type = workInProgress.child, null !== _type && (workInProgress.treeBaseDuration -= _type.treeBaseDuration)); } else emitPendingHydrationWarnings(), resetHydrationState(), 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), workInProgress.flags |= 4, bubbleProperties(workInProgress), (workInProgress.mode & ProfileMode) !== NoMode && null !== newProps && (_type = workInProgress.child, null !== _type && (workInProgress.treeBaseDuration -= _type.treeBaseDuration)); _type = !1; } else null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), hydrationErrors = null), _type = !0; if (!_type) { if (workInProgress.flags & 256) return popSuspenseHandler(workInProgress), workInProgress; popSuspenseHandler(workInProgress); return null; } } popSuspenseHandler(workInProgress); if (0 !== (workInProgress.flags & 128)) return workInProgress.lanes = renderLanes, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress; newProps = null !== newProps; current = null !== current && null !== current.memoizedState; newProps && (renderLanes = workInProgress.child, _type = null, null !== renderLanes.alternate && null !== renderLanes.alternate.memoizedState && null !== renderLanes.alternate.memoizedState.cachePool && (_type = renderLanes.alternate.memoizedState.cachePool.pool), returnFiber = null, null !== renderLanes.memoizedState && null !== renderLanes.memoizedState.cachePool && (returnFiber = renderLanes.memoizedState.cachePool.pool), returnFiber !== _type && (renderLanes.flags |= 2048)); newProps !== current && newProps && (workInProgress.child.flags |= 8192); scheduleRetryEffect(workInProgress, workInProgress.updateQueue); bubbleProperties(workInProgress); (workInProgress.mode & ProfileMode) !== NoMode && newProps && (current = workInProgress.child, null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); return null; case 4: return popHostContainer(workInProgress), null === current && listenToAllSupportedEvents(workInProgress.stateNode.containerInfo), bubbleProperties(workInProgress), null; case 10: return popProvider(workInProgress.type, workInProgress), bubbleProperties(workInProgress), null; case 19: pop(suspenseStackCursor, workInProgress); _type = workInProgress.memoizedState; if (null === _type) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); returnFiber = _type.rendering; if (null === returnFiber) { if (newProps) cutOffTailIfNeeded(_type, !1);else { if (workInProgressRootExitStatus !== RootInProgress || null !== current && 0 !== (current.flags & 128)) for (current = workInProgress.child; null !== current;) { returnFiber = findFirstSuspended(current); if (null !== returnFiber) { workInProgress.flags |= 128; cutOffTailIfNeeded(_type, !1); current = returnFiber.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; current = renderLanes; for (newProps = workInProgress.child; null !== newProps;) resetWorkInProgress(newProps, current), newProps = newProps.sibling; push(suspenseStackCursor, suspenseStackCursor.current & SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress); return workInProgress.child; } current = current.sibling; } null !== _type.tail && now$1() > workInProgressRootRenderTargetTime && (workInProgress.flags |= 128, newProps = !0, cutOffTailIfNeeded(_type, !1), workInProgress.lanes = 4194304); } } else { if (!newProps) if (current = findFirstSuspended(returnFiber), null !== current) { if (workInProgress.flags |= 128, newProps = !0, current = current.updateQueue, workInProgress.updateQueue = current, scheduleRetryEffect(workInProgress, current), cutOffTailIfNeeded(_type, !0), null === _type.tail && "hidden" === _type.tailMode && !returnFiber.alternate && !isHydrating) return bubbleProperties(workInProgress), null; } else 2 * now$1() - _type.renderingStartTime > workInProgressRootRenderTargetTime && 536870912 !== renderLanes && (workInProgress.flags |= 128, newProps = !0, cutOffTailIfNeeded(_type, !1), workInProgress.lanes = 4194304); _type.isBackwards ? (returnFiber.sibling = workInProgress.child, workInProgress.child = returnFiber) : (current = _type.last, null !== current ? current.sibling = returnFiber : workInProgress.child = returnFiber, _type.last = returnFiber); } if (null !== _type.tail) return current = _type.tail, _type.rendering = current, _type.tail = current.sibling, _type.renderingStartTime = now$1(), current.sibling = null, renderLanes = suspenseStackCursor.current, renderLanes = newProps ? renderLanes & SubtreeSuspenseContextMask | ForceSuspenseFallback : renderLanes & SubtreeSuspenseContextMask, push(suspenseStackCursor, renderLanes, workInProgress), current; bubbleProperties(workInProgress); return null; case 22: case 23: return popSuspenseHandler(workInProgress), popHiddenContext(workInProgress), newProps = null !== workInProgress.memoizedState, null !== current ? null !== current.memoizedState !== newProps && (workInProgress.flags |= 8192) : newProps && (workInProgress.flags |= 8192), newProps ? 0 !== (renderLanes & 536870912) && 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), newProps = workInProgress.updateQueue, null !== newProps && scheduleRetryEffect(workInProgress, newProps.retryQueue), newProps = null, null !== current && null !== current.memoizedState && null !== current.memoizedState.cachePool && (newProps = current.memoizedState.cachePool.pool), renderLanes = null, null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), renderLanes !== newProps && (workInProgress.flags |= 2048), null !== current && pop(resumedCache, workInProgress), null; case 24: return newProps = null, null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && (workInProgress.flags |= 2048), popProvider(CacheContext, workInProgress), bubbleProperties(workInProgress), null; case 25: return null; } throw Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in React. Please file an issue."); } function unwindWork(current, workInProgress) { popTreeContext(workInProgress); switch (workInProgress.tag) { case 1: return current = workInProgress.flags, current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; case 3: return popProvider(CacheContext, workInProgress), popHostContainer(workInProgress), current = workInProgress.flags, 0 !== (current & 65536) && 0 === (current & 128) ? (workInProgress.flags = current & -65537 | 128, workInProgress) : null; case 26: case 27: case 5: return popHostContext(workInProgress), null; case 13: popSuspenseHandler(workInProgress); current = workInProgress.memoizedState; if (null !== current && null !== current.dehydrated) { if (null === workInProgress.alternate) throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue."); resetHydrationState(); } current = workInProgress.flags; return current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; case 19: return pop(suspenseStackCursor, workInProgress), null; case 4: return popHostContainer(workInProgress), null; case 10: return popProvider(workInProgress.type, workInProgress), null; case 22: case 23: return popSuspenseHandler(workInProgress), popHiddenContext(workInProgress), null !== current && pop(resumedCache, workInProgress), current = workInProgress.flags, current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; case 24: return popProvider(CacheContext, workInProgress), null; case 25: return null; default: return null; } } function unwindInterruptedWork(current, interruptedWork) { popTreeContext(interruptedWork); switch (interruptedWork.tag) { case 3: popProvider(CacheContext, interruptedWork); popHostContainer(interruptedWork); break; case 26: case 27: case 5: popHostContext(interruptedWork); break; case 4: popHostContainer(interruptedWork); break; case 13: popSuspenseHandler(interruptedWork); break; case 19: pop(suspenseStackCursor, interruptedWork); break; case 10: popProvider(interruptedWork.type, interruptedWork); break; case 22: case 23: popSuspenseHandler(interruptedWork); popHiddenContext(interruptedWork); null !== current && pop(resumedCache, interruptedWork); break; case 24: popProvider(CacheContext, interruptedWork); } } function onCommitRoot() { commitHooks.forEach(function (commitHook) { return commitHook(); }); } function isConcurrentActEnvironment() { var isReactActEnvironmentGlobal = "undefined" !== typeof IS_REACT_ACT_ENVIRONMENT ? IS_REACT_ACT_ENVIRONMENT : void 0; isReactActEnvironmentGlobal || null === ReactSharedInternals.actQueue || console.error("The current testing environment is not configured to support act(...)"); return isReactActEnvironmentGlobal; } function requestUpdateLane(fiber) { if ((executionContext & RenderContext) !== NoContext && 0 !== workInProgressRootRenderLanes) return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; var transition = ReactSharedInternals.T; return null !== transition ? (transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), fiber = currentEntangledLane, 0 !== fiber ? fiber : requestTransitionLane()) : resolveUpdatePriority(); } function requestDeferredLane() { 0 === workInProgressDeferredLane && (workInProgressDeferredLane = 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating ? claimNextTransitionLane() : 536870912); var suspenseHandler = suspenseHandlerStackCursor.current; null !== suspenseHandler && (suspenseHandler.flags |= 32); return workInProgressDeferredLane; } function scheduleUpdateOnFiber(root, fiber, lane) { isRunningInsertionEffect && console.error("useInsertionEffect must not schedule updates."); isFlushingPassiveEffects && (didScheduleUpdateDuringPassiveEffects = !0); if (root === workInProgressRoot && workInProgressSuspendedReason === SuspendedOnData || null !== root.cancelPendingCommit) prepareFreshStack(root, 0), markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane, !1); markRootUpdated$1(root, lane); if (0 !== (executionContext & RenderContext) && root === workInProgressRoot) { if (isRendering) switch (fiber.tag) { case 0: case 11: case 15: root = workInProgress && getComponentNameFromFiber(workInProgress) || "Unknown"; didWarnAboutUpdateInRenderForAnotherComponent.has(root) || (didWarnAboutUpdateInRenderForAnotherComponent.add(root), fiber = getComponentNameFromFiber(fiber) || "Unknown", console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render", fiber, root, root)); break; case 1: didWarnAboutUpdateInRender || (console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."), didWarnAboutUpdateInRender = !0); } } else isDevToolsPresent && addFiberToLanesMap(root, fiber, lane), warnIfUpdatesNotWrappedWithActDEV(fiber), root === workInProgressRoot && ((executionContext & RenderContext) === NoContext && (workInProgressRootInterleavedUpdatedLanes |= lane), workInProgressRootExitStatus === RootSuspendedWithDelay && markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane, !1)), ensureRootIsScheduled(root); } function performWorkOnRoot(root, lanes, forceSync) { if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working."); var shouldTimeSlice = !forceSync && 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) || checkIfRootIsPrerendering(root, lanes), exitStatus = shouldTimeSlice ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes, !0), renderWasConcurrent = shouldTimeSlice; do { if (exitStatus === RootInProgress) { workInProgressRootIsPrerendering && !shouldTimeSlice && markRootSuspended(root, lanes, 0, !1); break; } else if (exitStatus === RootDidNotComplete) markRootSuspended(root, lanes, 0, !workInProgressRootDidSkipSuspendedSiblings);else { forceSync = root.current.alternate; if (renderWasConcurrent && !isRenderConsistentWithExternalStores(forceSync)) { exitStatus = renderRootSync(root, lanes, !1); renderWasConcurrent = !1; continue; } if (exitStatus === RootErrored) { renderWasConcurrent = lanes; if (root.errorRecoveryDisabledLanes & renderWasConcurrent) var errorRetryLanes = 0;else errorRetryLanes = root.pendingLanes & -536870913, errorRetryLanes = 0 !== errorRetryLanes ? errorRetryLanes : errorRetryLanes & 536870912 ? 536870912 : 0; if (0 !== errorRetryLanes) { lanes = errorRetryLanes; a: { exitStatus = root; var errorRetryLanes$jscomp$0 = errorRetryLanes; errorRetryLanes = workInProgressRootConcurrentErrors; var wasRootDehydrated = exitStatus.current.memoizedState.isDehydrated; wasRootDehydrated && (prepareFreshStack(exitStatus, errorRetryLanes$jscomp$0).flags |= 256); errorRetryLanes$jscomp$0 = renderRootSync(exitStatus, errorRetryLanes$jscomp$0, !1); if (errorRetryLanes$jscomp$0 !== RootErrored) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) { exitStatus.errorRecoveryDisabledLanes |= renderWasConcurrent; workInProgressRootInterleavedUpdatedLanes |= renderWasConcurrent; exitStatus = RootSuspendedWithDelay; break a; } exitStatus = workInProgressRootRecoverableErrors; workInProgressRootRecoverableErrors = errorRetryLanes; null !== exitStatus && queueRecoverableErrors(exitStatus); } exitStatus = errorRetryLanes$jscomp$0; } renderWasConcurrent = !1; if (exitStatus !== RootErrored) continue; } } if (exitStatus === RootFatalErrored) { prepareFreshStack(root, 0); markRootSuspended(root, lanes, 0, !0); break; } a: { shouldTimeSlice = root; switch (exitStatus) { case RootInProgress: case RootFatalErrored: throw Error("Root did not complete. This is a bug in React."); case RootSuspendedWithDelay: if ((lanes & 4194176) === lanes) { markRootSuspended(shouldTimeSlice, lanes, workInProgressDeferredLane, !workInProgressRootDidSkipSuspendedSiblings); break a; } break; case RootErrored: workInProgressRootRecoverableErrors = null; break; case RootSuspended: case RootCompleted: break; default: throw Error("Unknown root exit status."); } shouldTimeSlice.finishedWork = forceSync; shouldTimeSlice.finishedLanes = lanes; if (null !== ReactSharedInternals.actQueue) commitRoot(shouldTimeSlice, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, IMMEDIATE_COMMIT, renderStartTime, 0);else { if ((lanes & 62914560) === lanes && (exitStatus = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(), 10 < exitStatus)) { markRootSuspended(shouldTimeSlice, lanes, workInProgressDeferredLane, !workInProgressRootDidSkipSuspendedSiblings); if (0 !== getNextLanes(shouldTimeSlice, 0)) break a; shouldTimeSlice.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, shouldTimeSlice, forceSync, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, lanes, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, workInProgressRootDidSkipSuspendedSiblings, THROTTLED_COMMIT, renderStartTime, 0), exitStatus); break a; } commitRootWhenReady(shouldTimeSlice, forceSync, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, lanes, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, workInProgressRootDidSkipSuspendedSiblings, IMMEDIATE_COMMIT, renderStartTime, 0); } } } break; } while (1); ensureRootIsScheduled(root); } function queueRecoverableErrors(errors) { null === workInProgressRootRecoverableErrors ? workInProgressRootRecoverableErrors = errors : workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, errors); } function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane, updatedLanes, suspendedRetryLanes, didSkipSuspendedSiblings, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) { var subtreeFlags = finishedWork.subtreeFlags; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) if (suspendedState = { stylesheets: null, count: 0, unsuspend: noop }, accumulateSuspenseyCommitOnFiber(finishedWork), finishedWork = waitForCommitToBeReady(), null !== finishedWork) { root.cancelPendingCommit = finishedWork(commitRoot.bind(null, root, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, SUSPENDED_COMMIT, completedRenderStartTime, completedRenderEndTime)); markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); return; } commitRoot(root, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime); } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork;;) { var tag = node.tag; if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) { var check = tag[i], getSnapshot = check.getSnapshot; check = check.value; try { if (!objectIs(getSnapshot(), check)) return !1; } catch (error) { return !1; } } tag = node.child; if (node.subtreeFlags & 16384 && null !== tag) tag.return = node, node = tag;else { if (node === finishedWork) break; for (; null === node.sibling;) { if (null === node.return || node.return === finishedWork) return !0; node = node.return; } node.sibling.return = node.return; node = node.sibling; } } return !0; } function markRootSuspended(root, suspendedLanes, spawnedLane, didAttemptEntireTree) { suspendedLanes &= ~workInProgressRootPingedLanes; suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes; root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; didAttemptEntireTree && (root.warmLanes |= suspendedLanes); didAttemptEntireTree = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes;) { var index = 31 - clz32(lanes), lane = 1 << index; didAttemptEntireTree[index] = -1; lanes &= ~lane; } 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); } function flushSyncWork$1() { return (executionContext & (RenderContext | CommitContext)) === NoContext ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; } function resetWorkInProgressStack() { if (null !== workInProgress) { if (workInProgressSuspendedReason === NotSuspended) var interruptedWork = workInProgress.return;else interruptedWork = workInProgress, resetContextDependencies(), resetHooksOnUnwind(interruptedWork), thenableState$1 = null, thenableIndexCounter$1 = 0, interruptedWork = workInProgress; for (; null !== interruptedWork;) unwindInterruptedWork(interruptedWork.alternate, interruptedWork), interruptedWork = interruptedWork.return; workInProgress = null; } } function prepareFreshStack(root, lanes) { root.finishedWork = null; root.finishedLanes = 0; var timeoutHandle = root.timeoutHandle; timeoutHandle !== noTimeout && (root.timeoutHandle = noTimeout, cancelTimeout(timeoutHandle)); timeoutHandle = root.cancelPendingCommit; null !== timeoutHandle && (root.cancelPendingCommit = null, timeoutHandle()); resetWorkInProgressStack(); workInProgressRoot = root; workInProgress = timeoutHandle = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; workInProgressRootDidSkipSuspendedSiblings = !1; workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); workInProgressRootDidAttachPingListener = !1; workInProgressRootExitStatus = RootInProgress; workInProgressSuspendedRetryLanes = workInProgressDeferredLane = workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0; workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); var allEntangledLanes = root.entangledLanes; if (0 !== allEntangledLanes) for (root = root.entanglements, allEntangledLanes &= lanes; 0 < allEntangledLanes;) { var index = 31 - clz32(allEntangledLanes), lane = 1 << index; lanes |= root[index]; allEntangledLanes &= ~lane; } entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); ReactStrictModeWarnings.discardPendingWarnings(); return timeoutHandle; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; ReactSharedInternals.H = ContextOnlyDispatcher; ReactSharedInternals.getCurrentStack = null; isRendering = !1; current = null; thrownValue === SuspenseException ? (thrownValue = getSuspendedThenable(), workInProgressSuspendedReason = SuspendedOnImmediate) : thrownValue === SuspenseyCommitException ? (thrownValue = getSuspendedThenable(), workInProgressSuspendedReason = SuspendedOnInstance) : workInProgressSuspendedReason = thrownValue === SelectiveHydrationException ? SuspendedOnHydration : null !== thrownValue && "object" === typeof thrownValue && "function" === typeof thrownValue.then ? SuspendedOnDeprecatedThrowPromise : SuspendedOnError; workInProgressThrownValue = thrownValue; var erroredWork = workInProgress; if (null === erroredWork) workInProgressRootExitStatus = RootFatalErrored, logUncaughtError(root, createCapturedValueAtFiber(thrownValue, root.current));else switch (erroredWork.mode & ProfileMode && stopProfilerTimerIfRunningAndRecordDuration(erroredWork), markComponentRenderStopped(), workInProgressSuspendedReason) { case SuspendedOnError: null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentErrored && injectedProfilingHooks.markComponentErrored(erroredWork, thrownValue, workInProgressRootRenderLanes); break; case SuspendedOnData: case SuspendedOnImmediate: case SuspendedOnDeprecatedThrowPromise: case SuspendedAndReadyToContinue: null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markComponentSuspended && injectedProfilingHooks.markComponentSuspended(erroredWork, thrownValue, workInProgressRootRenderLanes); } } function pushDispatcher() { var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = ContextOnlyDispatcher; return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher; } function pushAsyncDispatcher() { var prevAsyncDispatcher = ReactSharedInternals.A; ReactSharedInternals.A = DefaultAsyncDispatcher; return prevAsyncDispatcher; } function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = RootSuspendedWithDelay; workInProgressRootDidSkipSuspendedSiblings || (workInProgressRootRenderLanes & 4194176) !== workInProgressRootRenderLanes && null !== suspenseHandlerStackCursor.current || (workInProgressRootIsPrerendering = !0); 0 === (workInProgressRootSkippedLanes & 134217727) && 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727) || null === workInProgressRoot || markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane, !1); } function renderRootSync(root, lanes, shouldYieldForPrerendering) { var prevExecutionContext = executionContext; executionContext |= RenderContext; var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher(); if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) { if (isDevToolsPresent) { var memoizedUpdaters = root.memoizedUpdaters; 0 < memoizedUpdaters.size && (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear()); movePendingFibersToMemoized(root, lanes); } workInProgressTransitions = null; prepareFreshStack(root, lanes); } markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; a: do try { if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) { var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue; switch (workInProgressSuspendedReason) { case SuspendedOnHydration: resetWorkInProgressStack(); memoizedUpdaters = RootDidNotComplete; break a; case SuspendedOnImmediate: case SuspendedOnData: case SuspendedOnDeprecatedThrowPromise: null === suspenseHandlerStackCursor.current && (lanes = !0); var reason = workInProgressSuspendedReason; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); if (shouldYieldForPrerendering && workInProgressRootIsPrerendering) { memoizedUpdaters = RootInProgress; break a; } break; default: reason = workInProgressSuspendedReason, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); } } workLoopSync(); memoizedUpdaters = workInProgressRootExitStatus; break; } catch (thrownValue$8) { handleThrow(root, thrownValue$8); } while (1); lanes && root.shellSuspendCounter++; resetContextDependencies(); executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; markRenderStopped(); null === workInProgress && (workInProgressRoot = null, workInProgressRootRenderLanes = 0, finishQueueingConcurrentUpdates()); return memoizedUpdaters; } function workLoopSync() { for (; null !== workInProgress;) performUnitOfWork(workInProgress); } function renderRootConcurrent(root, lanes) { var prevExecutionContext = executionContext; executionContext |= RenderContext; var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher(); if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) { if (isDevToolsPresent) { var memoizedUpdaters = root.memoizedUpdaters; 0 < memoizedUpdaters.size && (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear()); movePendingFibersToMemoized(root, lanes); } workInProgressTransitions = null; workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS; prepareFreshStack(root, lanes); } else workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); markRenderStarted(lanes); a: do try { if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) b: switch (lanes = workInProgress, memoizedUpdaters = workInProgressThrownValue, workInProgressSuspendedReason) { case SuspendedOnError: workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedOnError); break; case SuspendedOnData: if (isThenableResolved(memoizedUpdaters)) { workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; replaySuspendedUnitOfWork(lanes); break; } lanes = function () { workInProgressSuspendedReason === SuspendedOnData && workInProgressRoot === root && (workInProgressSuspendedReason = SuspendedAndReadyToContinue); ensureRootIsScheduled(root); }; memoizedUpdaters.then(lanes, lanes); break a; case SuspendedOnImmediate: workInProgressSuspendedReason = SuspendedAndReadyToContinue; break a; case SuspendedOnInstance: workInProgressSuspendedReason = SuspendedOnInstanceAndReadyToContinue; break a; case SuspendedAndReadyToContinue: isThenableResolved(memoizedUpdaters) ? (workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, replaySuspendedUnitOfWork(lanes)) : (workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedAndReadyToContinue)); break; case SuspendedOnInstanceAndReadyToContinue: var resource = null; switch (workInProgress.tag) { case 26: resource = workInProgress.memoizedState; case 5: case 27: var hostFiber = workInProgress; if (resource ? preloadResource(resource) : 1) { workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; var sibling = hostFiber.sibling; if (null !== sibling) workInProgress = sibling;else { var returnFiber = hostFiber.return; null !== returnFiber ? (workInProgress = returnFiber, completeUnitOfWork(returnFiber)) : workInProgress = null; } break b; } break; default: console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React."); } workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedOnInstanceAndReadyToContinue); break; case SuspendedOnDeprecatedThrowPromise: workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedOnDeprecatedThrowPromise); break; case SuspendedOnHydration: resetWorkInProgressStack(); workInProgressRootExitStatus = RootDidNotComplete; break a; default: throw Error("Unexpected SuspendedReason. This is a bug in React."); } null !== ReactSharedInternals.actQueue ? workLoopSync() : workLoopConcurrent(); break; } catch (thrownValue$9) { handleThrow(root, thrownValue$9); } while (1); resetContextDependencies(); ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; if (null !== workInProgress) return null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markRenderYielded && injectedProfilingHooks.markRenderYielded(), RootInProgress; markRenderStopped(); workInProgressRoot = null; workInProgressRootRenderLanes = 0; finishQueueingConcurrentUpdates(); return workInProgressRootExitStatus; } function workLoopConcurrent() { for (; null !== workInProgress && !shouldYield();) performUnitOfWork(workInProgress); } function performUnitOfWork(unitOfWork) { var current = unitOfWork.alternate; (unitOfWork.mode & ProfileMode) !== NoMode ? (startProfilerTimer(unitOfWork), current = runWithFiberInDEV(unitOfWork, beginWork, current, unitOfWork, entangledRenderLanes), stopProfilerTimerIfRunningAndRecordDuration(unitOfWork)) : current = runWithFiberInDEV(unitOfWork, beginWork, current, unitOfWork, entangledRenderLanes); unitOfWork.memoizedProps = unitOfWork.pendingProps; null === current ? completeUnitOfWork(unitOfWork) : workInProgress = current; } function replaySuspendedUnitOfWork(unitOfWork) { var next = runWithFiberInDEV(unitOfWork, replayBeginWork, unitOfWork); unitOfWork.memoizedProps = unitOfWork.pendingProps; null === next ? completeUnitOfWork(unitOfWork) : workInProgress = next; } function replayBeginWork(unitOfWork) { var current = unitOfWork.alternate, isProfilingMode = (unitOfWork.mode & ProfileMode) !== NoMode; isProfilingMode && startProfilerTimer(unitOfWork); switch (unitOfWork.tag) { case 15: case 0: current = replayFunctionComponent(current, unitOfWork, unitOfWork.pendingProps, unitOfWork.type, void 0, workInProgressRootRenderLanes); break; case 11: current = replayFunctionComponent(current, unitOfWork, unitOfWork.pendingProps, unitOfWork.type.render, unitOfWork.ref, workInProgressRootRenderLanes); break; case 5: resetHooksOnUnwind(unitOfWork); default: unwindInterruptedWork(current, unitOfWork), unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes), current = beginWork(current, unitOfWork, entangledRenderLanes); } isProfilingMode && stopProfilerTimerIfRunningAndRecordDuration(unitOfWork); return current; } function throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, suspendedReason) { resetContextDependencies(); resetHooksOnUnwind(unitOfWork); thenableState$1 = null; thenableIndexCounter$1 = 0; var returnFiber = unitOfWork.return; try { if (throwException(root, returnFiber, unitOfWork, thrownValue, workInProgressRootRenderLanes)) { workInProgressRootExitStatus = RootFatalErrored; logUncaughtError(root, createCapturedValueAtFiber(thrownValue, root.current)); workInProgress = null; return; } } catch (error) { if (null !== returnFiber) throw workInProgress = returnFiber, error; workInProgressRootExitStatus = RootFatalErrored; logUncaughtError(root, createCapturedValueAtFiber(thrownValue, root.current)); workInProgress = null; return; } if (unitOfWork.flags & 32768) { if (isHydrating || suspendedReason === SuspendedOnError) root = !0;else if (workInProgressRootIsPrerendering || 0 !== (workInProgressRootRenderLanes & 536870912)) root = !1;else if (workInProgressRootDidSkipSuspendedSiblings = root = !0, suspendedReason === SuspendedOnData || suspendedReason === SuspendedOnImmediate || suspendedReason === SuspendedOnDeprecatedThrowPromise) suspendedReason = suspenseHandlerStackCursor.current, null !== suspendedReason && 13 === suspendedReason.tag && (suspendedReason.flags |= 16384); unwindUnitOfWork(unitOfWork, root); } else completeUnitOfWork(unitOfWork); } function completeUnitOfWork(unitOfWork) { var completedWork = unitOfWork; do { if (0 !== (completedWork.flags & 32768)) { unwindUnitOfWork(completedWork, workInProgressRootDidSkipSuspendedSiblings); return; } var current = completedWork.alternate; unitOfWork = completedWork.return; startProfilerTimer(completedWork); current = runWithFiberInDEV(completedWork, completeWork, current, completedWork, entangledRenderLanes); (completedWork.mode & ProfileMode) !== NoMode && stopProfilerTimerIfRunningAndRecordIncompleteDuration(completedWork); if (null !== current) { workInProgress = current; return; } completedWork = completedWork.sibling; if (null !== completedWork) { workInProgress = completedWork; return; } workInProgress = completedWork = unitOfWork; } while (null !== completedWork); workInProgressRootExitStatus === RootInProgress && (workInProgressRootExitStatus = RootCompleted); } function unwindUnitOfWork(unitOfWork, skipSiblings) { do { var next = unwindWork(unitOfWork.alternate, unitOfWork); if (null !== next) { next.flags &= 32767; workInProgress = next; return; } if ((unitOfWork.mode & ProfileMode) !== NoMode) { stopProfilerTimerIfRunningAndRecordIncompleteDuration(unitOfWork); next = unitOfWork.actualDuration; for (var child = unitOfWork.child; null !== child;) next += child.actualDuration, child = child.sibling; unitOfWork.actualDuration = next; } next = unitOfWork.return; null !== next && (next.flags |= 32768, next.subtreeFlags = 0, next.deletions = null); if (!skipSiblings && (unitOfWork = unitOfWork.sibling, null !== unitOfWork)) { workInProgress = unitOfWork; return; } workInProgress = unitOfWork = next; } while (null !== unitOfWork); workInProgressRootExitStatus = RootDidNotComplete; workInProgress = null; } function commitRoot(root, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) { var prevTransition = ReactSharedInternals.T, previousUpdateLanePriority = ReactDOMSharedInternals.p; try { ReactDOMSharedInternals.p = DiscreteEventPriority, ReactSharedInternals.T = null, commitRootImpl(root, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, previousUpdateLanePriority, spawnedLane, updatedLanes, suspendedRetryLanes, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime); } finally { ReactSharedInternals.T = prevTransition, ReactDOMSharedInternals.p = previousUpdateLanePriority; } } function commitRootImpl(root, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, renderPriorityLevel, spawnedLane, updatedLanes, suspendedRetryLanes) { do flushPassiveEffects(); while (null !== rootWithPendingPassiveEffects); ReactStrictModeWarnings.flushLegacyContextWarning(); ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings(); if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working."); var finishedWork = root.finishedWork; didIncludeRenderPhaseUpdate = root.finishedLanes; null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(didIncludeRenderPhaseUpdate); if (null === finishedWork) return markCommitStopped(), null; 0 === didIncludeRenderPhaseUpdate && console.error("root.finishedLanes should not be empty during a commit. This is a bug in React."); root.finishedWork = null; root.finishedLanes = 0; if (finishedWork === root.current) throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue."); root.callbackNode = null; root.callbackPriority = 0; root.cancelPendingCommit = null; var remainingLanes = finishedWork.lanes | finishedWork.childLanes; remainingLanes |= concurrentlyUpdatedLanes; markRootFinished(root, didIncludeRenderPhaseUpdate, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes); root === workInProgressRoot && (workInProgress = workInProgressRoot = null, workInProgressRootRenderLanes = 0); 0 === (finishedWork.subtreeFlags & 10256) && 0 === (finishedWork.flags & 10256) || rootDoesHavePassiveEffects || (rootDoesHavePassiveEffects = !0, pendingPassiveEffectsRemainingLanes = remainingLanes, pendingPassiveTransitions = transitions, scheduleCallback$1(NormalPriority$1, function () { flushPassiveEffects(!0); return null; })); commitStartTime = now(); transitions = 0 !== (finishedWork.flags & 15990); 0 !== (finishedWork.subtreeFlags & 15990) || transitions ? (transitions = ReactSharedInternals.T, ReactSharedInternals.T = null, spawnedLane = ReactDOMSharedInternals.p, ReactDOMSharedInternals.p = DiscreteEventPriority, updatedLanes = executionContext, executionContext |= CommitContext, commitBeforeMutationEffects(root, finishedWork), commitMutationEffects(root, finishedWork, didIncludeRenderPhaseUpdate), restoreSelection(selectionInformation, root.containerInfo), _enabled = !!eventsEnabled, selectionInformation = eventsEnabled = null, root.current = finishedWork, null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(didIncludeRenderPhaseUpdate), commitLayoutEffects(finishedWork, root, didIncludeRenderPhaseUpdate), null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markLayoutEffectsStopped && injectedProfilingHooks.markLayoutEffectsStopped(), requestPaint(), executionContext = updatedLanes, ReactDOMSharedInternals.p = spawnedLane, ReactSharedInternals.T = transitions) : root.current = finishedWork; (transitions = rootDoesHavePassiveEffects) ? (rootDoesHavePassiveEffects = !1, rootWithPendingPassiveEffects = root, pendingPassiveEffectsLanes = didIncludeRenderPhaseUpdate) : (releaseRootPooledCache(root, remainingLanes), nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null); remainingLanes = root.pendingLanes; 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); transitions || commitDoubleInvokeEffectsInDEV(root); onCommitRoot$1(finishedWork.stateNode, renderPriorityLevel); isDevToolsPresent && root.memoizedUpdaters.clear(); onCommitRoot(); ensureRootIsScheduled(root); if (null !== recoverableErrors) for (renderPriorityLevel = root.onRecoverableError, finishedWork = 0; finishedWork < recoverableErrors.length; finishedWork++) remainingLanes = recoverableErrors[finishedWork], transitions = makeErrorInfo(remainingLanes.stack), runWithFiberInDEV(remainingLanes.source, renderPriorityLevel, remainingLanes.value, transitions); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); remainingLanes = root.pendingLanes; 0 !== (didIncludeRenderPhaseUpdate & 4194218) && 0 !== (remainingLanes & 42) ? (nestedUpdateScheduled = !0, root === rootWithNestedUpdates ? nestedUpdateCount++ : (nestedUpdateCount = 0, rootWithNestedUpdates = root)) : nestedUpdateCount = 0; flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } function makeErrorInfo(componentStack) { componentStack = { componentStack: componentStack }; Object.defineProperty(componentStack, "digest", { get: function () { console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.'); } }); return componentStack; } function releaseRootPooledCache(root, remainingLanes) { 0 === (root.pooledCacheLanes &= remainingLanes) && (remainingLanes = root.pooledCache, null != remainingLanes && (root.pooledCache = null, releaseCache(remainingLanes))); } function flushPassiveEffects() { if (null !== rootWithPendingPassiveEffects) { var root = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; pendingPassiveEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes), priority = 0 === DefaultEventPriority || DefaultEventPriority > renderPriority ? DefaultEventPriority : renderPriority; renderPriority = ReactSharedInternals.T; var previousPriority = ReactDOMSharedInternals.p; try { ReactDOMSharedInternals.p = priority; ReactSharedInternals.T = null; if (null === rootWithPendingPassiveEffects) var JSCompiler_inline_result = !1;else { priority = pendingPassiveTransitions; pendingPassiveTransitions = null; var root$jscomp$0 = rootWithPendingPassiveEffects, lanes = pendingPassiveEffectsLanes; rootWithPendingPassiveEffects = null; pendingPassiveEffectsLanes = 0; if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markPassiveEffectsStarted && injectedProfilingHooks.markPassiveEffectsStarted(lanes); var prevExecutionContext = executionContext; executionContext |= CommitContext; commitPassiveUnmountOnFiber(root$jscomp$0.current); commitPassiveMountOnFiber(root$jscomp$0, root$jscomp$0.current, lanes, priority); null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markPassiveEffectsStopped && injectedProfilingHooks.markPassiveEffectsStopped(); commitDoubleInvokeEffectsInDEV(root$jscomp$0); executionContext = prevExecutionContext; flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? root$jscomp$0 === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ : (nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = root$jscomp$0) : nestedPassiveUpdateCount = 0; didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1; if (injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot) try { injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0); } catch (err) { hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %s", err)); } var stateNode = root$jscomp$0.current.stateNode; stateNode.effectDuration = 0; stateNode.passiveEffectDuration = 0; JSCompiler_inline_result = !0; } return JSCompiler_inline_result; } finally { ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = renderPriority, releaseRootPooledCache(root, remainingLanes); } } return !1; } function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) { sourceFiber = createCapturedValueAtFiber(error, sourceFiber); sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2); rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2); null !== rootFiber && (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber)); } function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) { isRunningInsertionEffect = !1; if (3 === sourceFiber.tag) captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);else { for (; null !== nearestMountedAncestor;) { if (3 === nearestMountedAncestor.tag) { captureCommitPhaseErrorOnRoot(nearestMountedAncestor, sourceFiber, error); return; } if (1 === nearestMountedAncestor.tag) { var instance = nearestMountedAncestor.stateNode; if ("function" === typeof nearestMountedAncestor.type.getDerivedStateFromError || "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance))) { sourceFiber = createCapturedValueAtFiber(error, sourceFiber); error = createClassErrorUpdate(2); instance = enqueueUpdate(nearestMountedAncestor, error, 2); null !== instance && (initializeClassErrorUpdate(error, instance, nearestMountedAncestor, sourceFiber), markRootUpdated$1(instance, 2), ensureRootIsScheduled(instance)); return; } } nearestMountedAncestor = nearestMountedAncestor.return; } console.error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s", error); } } function attachPingListener(root, wakeable, lanes) { var pingCache = root.pingCache; if (null === pingCache) { pingCache = root.pingCache = new PossiblyWeakMap(); var threadIDs = new Set(); pingCache.set(wakeable, threadIDs); } else threadIDs = pingCache.get(wakeable), void 0 === threadIDs && (threadIDs = new Set(), pingCache.set(wakeable, threadIDs)); threadIDs.has(lanes) || (workInProgressRootDidAttachPingListener = !0, threadIDs.add(lanes), pingCache = pingSuspendedRoot.bind(null, root, wakeable, lanes), isDevToolsPresent && restorePendingUpdaters(root, lanes), wakeable.then(pingCache, pingCache)); } function pingSuspendedRoot(root, wakeable, pingedLanes) { var pingCache = root.pingCache; null !== pingCache && pingCache.delete(wakeable); root.pingedLanes |= root.suspendedLanes & pingedLanes; root.warmLanes &= ~pingedLanes; isConcurrentActEnvironment() && null === ReactSharedInternals.actQueue && console.error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act"); workInProgressRoot === root && (workInProgressRootRenderLanes & pingedLanes) === pingedLanes && (workInProgressRootExitStatus === RootSuspendedWithDelay || workInProgressRootExitStatus === RootSuspended && (workInProgressRootRenderLanes & 62914560) === workInProgressRootRenderLanes && now$1() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS ? (executionContext & RenderContext) === NoContext && prepareFreshStack(root, 0) : workInProgressRootPingedLanes |= pingedLanes, workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes && (workInProgressSuspendedRetryLanes = 0)); ensureRootIsScheduled(root); } function retryTimedOutBoundary(boundaryFiber, retryLane) { 0 === retryLane && (retryLane = claimNextRetryLane()); boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane); null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber)); } function retryDehydratedSuspenseBoundary(boundaryFiber) { var suspenseState = boundaryFiber.memoizedState, retryLane = 0; null !== suspenseState && (retryLane = suspenseState.retryLane); retryTimedOutBoundary(boundaryFiber, retryLane); } function resolveRetryWakeable(boundaryFiber, wakeable) { var retryLane = 0; switch (boundaryFiber.tag) { case 13: var retryCache = boundaryFiber.stateNode; var suspenseState = boundaryFiber.memoizedState; null !== suspenseState && (retryLane = suspenseState.retryLane); break; case 19: retryCache = boundaryFiber.stateNode; break; case 22: retryCache = boundaryFiber.stateNode._retryCache; break; default: throw Error("Pinged unknown suspense boundary type. This is probably a bug in React."); } null !== retryCache && retryCache.delete(wakeable); retryTimedOutBoundary(boundaryFiber, retryLane); } function recursivelyTraverseAndDoubleInvokeEffectsInDEV(root$jscomp$0, parentFiber, isInStrictMode) { if (0 !== (parentFiber.subtreeFlags & 33562624)) for (parentFiber = parentFiber.child; null !== parentFiber;) { var root = root$jscomp$0, fiber = parentFiber, isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE; isStrictModeFiber = isInStrictMode || isStrictModeFiber; 22 !== fiber.tag ? fiber.flags & 33554432 ? isStrictModeFiber && runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber, (fiber.mode & NoStrictPassiveEffectsMode) === NoMode) : recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, fiber, isStrictModeFiber) : null === fiber.memoizedState && (isStrictModeFiber && fiber.flags & 8192 ? runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : fiber.subtreeFlags & 33554432 && runWithFiberInDEV(fiber, recursivelyTraverseAndDoubleInvokeEffectsInDEV, root, fiber, isStrictModeFiber)); parentFiber = parentFiber.sibling; } } function doubleInvokeEffectsOnFiber(root, fiber) { var shouldDoubleInvokePassiveEffects = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !0; setIsStrictModeForDevtools(!0); try { disappearLayoutEffects(fiber), shouldDoubleInvokePassiveEffects && disconnectPassiveEffect(fiber), reappearLayoutEffects(root, fiber.alternate, fiber, !1), shouldDoubleInvokePassiveEffects && reconnectPassiveEffects(root, fiber, 0, null, !1); } finally { setIsStrictModeForDevtools(!1); } } function commitDoubleInvokeEffectsInDEV(root) { var doubleInvokeEffects = !0; root.current.mode & (StrictLegacyMode | StrictEffectsMode) || (doubleInvokeEffects = !1); recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, root.current, doubleInvokeEffects); } function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) { if ((executionContext & RenderContext) === NoContext) { var tag = fiber.tag; if (3 === tag || 1 === tag || 0 === tag || 11 === tag || 14 === tag || 15 === tag) { tag = getComponentNameFromFiber(fiber) || "ReactComponent"; if (null !== didWarnStateUpdateForNotYetMountedComponent) { if (didWarnStateUpdateForNotYetMountedComponent.has(tag)) return; didWarnStateUpdateForNotYetMountedComponent.add(tag); } else didWarnStateUpdateForNotYetMountedComponent = new Set([tag]); runWithFiberInDEV(fiber, function () { console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead."); }); } } } function restorePendingUpdaters(root, lanes) { isDevToolsPresent && root.memoizedUpdaters.forEach(function (schedulingFiber) { addFiberToLanesMap(root, schedulingFiber, lanes); }); } function scheduleCallback$1(priorityLevel, callback) { var actQueue = ReactSharedInternals.actQueue; return null !== actQueue ? (actQueue.push(callback), fakeActCallbackNode$1) : scheduleCallback$3(priorityLevel, callback); } function warnIfUpdatesNotWrappedWithActDEV(fiber) { isConcurrentActEnvironment() && null === ReactSharedInternals.actQueue && runWithFiberInDEV(fiber, function () { console.error("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act", getComponentNameFromFiber(fiber)); }); } function ensureRootIsScheduled(root) { root !== lastScheduledRoot && null === root.next && (null === lastScheduledRoot ? firstScheduledRoot = lastScheduledRoot = root : lastScheduledRoot = lastScheduledRoot.next = root); mightHavePendingSyncWork = !0; null !== ReactSharedInternals.actQueue ? didScheduleMicrotask_act || (didScheduleMicrotask_act = !0, scheduleImmediateTask(processRootScheduleInMicrotask)) : didScheduleMicrotask || (didScheduleMicrotask = !0, scheduleImmediateTask(processRootScheduleInMicrotask)); } function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root = firstScheduledRoot; null !== root;) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { var pendingLanes = root.pendingLanes; if (0 === pendingLanes) var nextLanes = 0;else { var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes; nextLanes = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1; nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); nextLanes = nextLanes & 201326677 ? nextLanes & 201326677 | 1 : nextLanes ? nextLanes | 2 : 0; } 0 !== nextLanes && (didPerformSomeWork = !0, performSyncWorkOnRoot(root, nextLanes)); } else nextLanes = workInProgressRootRenderLanes, nextLanes = getNextLanes(root, root === workInProgressRoot ? nextLanes : 0), 0 === (nextLanes & 3) || checkIfRootIsPrerendering(root, nextLanes) || (didPerformSomeWork = !0, performSyncWorkOnRoot(root, nextLanes)); root = root.next; } } while (didPerformSomeWork); isFlushingWork = !1; } } function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask_act = didScheduleMicrotask = !1; var syncTransitionLanes = 0; 0 !== currentEventTransitionLane && (shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane), currentEventTransitionLane = 0); for (var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root;) { var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0; root = next; } flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) { var index = 31 - clz32(lanes), lane = 1 << index, expirationTime = expirationTimes[index]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } currentTime = workInProgressRoot; suspendedLanes = workInProgressRootRenderLanes; suspendedLanes = getNextLanes(root, root === currentTime ? suspendedLanes : 0); pingedLanes = root.callbackNode; if (0 === suspendedLanes || root === currentTime && workInProgressSuspendedReason === SuspendedOnData || null !== root.cancelPendingCommit) return null !== pingedLanes && cancelCallback(pingedLanes), root.callbackNode = null, root.callbackPriority = 0; if (0 === (suspendedLanes & 3) || checkIfRootIsPrerendering(root, suspendedLanes)) { currentTime = suspendedLanes & -suspendedLanes; if (currentTime !== root.callbackPriority || null !== ReactSharedInternals.actQueue && pingedLanes !== fakeActCallbackNode) cancelCallback(pingedLanes);else return currentTime; switch (lanesToEventPriority(suspendedLanes)) { case DiscreteEventPriority: case ContinuousEventPriority: suspendedLanes = UserBlockingPriority; break; case DefaultEventPriority: suspendedLanes = NormalPriority$1; break; case IdleEventPriority: suspendedLanes = IdlePriority; break; default: suspendedLanes = NormalPriority$1; } pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root); null !== ReactSharedInternals.actQueue ? (ReactSharedInternals.actQueue.push(pingedLanes), suspendedLanes = fakeActCallbackNode) : suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes); root.callbackPriority = currentTime; root.callbackNode = suspendedLanes; return currentTime; } null !== pingedLanes && cancelCallback(pingedLanes); root.callbackPriority = 2; root.callbackNode = null; return 2; } function performWorkOnRootViaSchedulerTask(root, didTimeout) { nestedUpdateScheduled = currentUpdateIsNested = !1; var originalCallbackNode = root.callbackNode; if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode) return null; var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes; workInProgressRootRenderLanes$jscomp$0 = getNextLanes(root, root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0); if (0 === workInProgressRootRenderLanes$jscomp$0) return null; performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout); scheduleTaskForRootDuringMicrotask(root, now$1()); return null != root.callbackNode && root.callbackNode === originalCallbackNode ? performWorkOnRootViaSchedulerTask.bind(null, root) : null; } function performSyncWorkOnRoot(root, lanes) { if (flushPassiveEffects()) return null; currentUpdateIsNested = nestedUpdateScheduled; nestedUpdateScheduled = !1; performWorkOnRoot(root, lanes, !0); } function cancelCallback(callbackNode) { callbackNode !== fakeActCallbackNode && null !== callbackNode && cancelCallback$1(callbackNode); } function scheduleImmediateTask(cb) { null !== ReactSharedInternals.actQueue && ReactSharedInternals.actQueue.push(function () { cb(); return null; }); scheduleMicrotask(function () { (executionContext & (RenderContext | CommitContext)) !== NoContext ? scheduleCallback$3(ImmediatePriority, cb) : cb(); }); } function requestTransitionLane() { 0 === currentEventTransitionLane && (currentEventTransitionLane = claimNextTransitionLane()); return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { if (null == actionProp || "symbol" === typeof actionProp || "boolean" === typeof actionProp) return null; if ("function" === typeof actionProp) return actionProp; checkAttributeStringCoercion(actionProp, "action"); return sanitizeURL("" + actionProp); } function createFormDataWithSubmitter(form, submitter) { var temp = submitter.ownerDocument.createElement("input"); temp.name = submitter.name; temp.value = submitter.value; form.id && temp.setAttribute("form", form.id); submitter.parentNode.insertBefore(temp, submitter); form = new FormData(form); temp.parentNode.removeChild(temp); return form; } function extractEvents$1(dispatchQueue, domEventName, maybeTargetInst, nativeEvent, nativeEventTarget) { if ("submit" === domEventName && maybeTargetInst && maybeTargetInst.stateNode === nativeEventTarget) { var action = coerceFormActionProp((nativeEventTarget[internalPropsKey] || null).action), submitter = nativeEvent.submitter; submitter && (domEventName = (domEventName = submitter[internalPropsKey] || null) ? coerceFormActionProp(domEventName.formAction) : submitter.getAttribute("formAction"), null !== domEventName && (action = domEventName, submitter = null)); var event = new SyntheticEvent("action", "action", null, nativeEvent, nativeEventTarget); dispatchQueue.push({ event: event, listeners: [{ instance: null, listener: function () { if (nativeEvent.defaultPrevented) { if (0 !== currentEventTransitionLane) { var formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget), pendingState = { pending: !0, data: formData, method: nativeEventTarget.method, action: action }; Object.freeze(pendingState); startHostTransition(maybeTargetInst, pendingState, null, formData); } } else "function" === typeof action && (event.preventDefault(), formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget), pendingState = { pending: !0, data: formData, method: nativeEventTarget.method, action: action }, Object.freeze(pendingState), startHostTransition(maybeTargetInst, pendingState, action, formData)); }, currentTarget: nativeEventTarget }] }); } } function processDispatchQueue(dispatchQueue, eventSystemFlags) { eventSystemFlags = 0 !== (eventSystemFlags & 4); for (var i = 0; i < dispatchQueue.length; i++) { var _dispatchQueue$i = dispatchQueue[i]; a: { var previousInstance = void 0, event = _dispatchQueue$i.event; _dispatchQueue$i = _dispatchQueue$i.listeners; if (eventSystemFlags) for (var i$jscomp$0 = _dispatchQueue$i.length - 1; 0 <= i$jscomp$0; i$jscomp$0--) { var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0], instance = _dispatchListeners$i.instance, currentTarget = _dispatchListeners$i.currentTarget; _dispatchListeners$i = _dispatchListeners$i.listener; if (instance !== previousInstance && event.isPropagationStopped()) break a; previousInstance = event; previousInstance.currentTarget = currentTarget; try { _dispatchListeners$i(previousInstance); } catch (error) { reportGlobalError(error); } previousInstance.currentTarget = null; previousInstance = instance; } else for (i$jscomp$0 = 0; i$jscomp$0 < _dispatchQueue$i.length; i$jscomp$0++) { _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0]; instance = _dispatchListeners$i.instance; currentTarget = _dispatchListeners$i.currentTarget; _dispatchListeners$i = _dispatchListeners$i.listener; if (instance !== previousInstance && event.isPropagationStopped()) break a; previousInstance = event; previousInstance.currentTarget = currentTarget; try { _dispatchListeners$i(previousInstance); } catch (error) { reportGlobalError(error); } previousInstance.currentTarget = null; previousInstance = instance; } } } } function listenToNonDelegatedEvent(domEventName, targetElement) { nonDelegatedEvents.has(domEventName) || console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.', domEventName); var listenerSet = targetElement[internalEventHandlersKey]; void 0 === listenerSet && (listenerSet = targetElement[internalEventHandlersKey] = new Set()); var listenerSetKey = domEventName + "__bubble"; listenerSet.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2, !1), listenerSet.add(listenerSetKey)); } function listenToNativeEvent(domEventName, isCapturePhaseListener, target) { nonDelegatedEvents.has(domEventName) && !isCapturePhaseListener && console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.', domEventName); var eventSystemFlags = 0; isCapturePhaseListener && (eventSystemFlags |= 4); addTrappedEventListener(target, domEventName, eventSystemFlags, isCapturePhaseListener); } function listenToAllSupportedEvents(rootContainerElement) { if (!rootContainerElement[listeningMarker]) { rootContainerElement[listeningMarker] = !0; allNativeEvents.forEach(function (domEventName) { "selectionchange" !== domEventName && (nonDelegatedEvents.has(domEventName) || listenToNativeEvent(domEventName, !1, rootContainerElement), listenToNativeEvent(domEventName, !0, rootContainerElement)); }); var ownerDocument = 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument; null === ownerDocument || ownerDocument[listeningMarker] || (ownerDocument[listeningMarker] = !0, listenToNativeEvent("selectionchange", !1, ownerDocument)); } } function addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener) { switch (getEventPriority(domEventName)) { case DiscreteEventPriority: var listenerWrapper = dispatchDiscreteEvent; break; case ContinuousEventPriority: listenerWrapper = dispatchContinuousEvent; break; default: listenerWrapper = dispatchEvent; } eventSystemFlags = listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer); listenerWrapper = void 0; !passiveBrowserEventsSupported || "touchstart" !== domEventName && "touchmove" !== domEventName && "wheel" !== domEventName || (listenerWrapper = !0); isCapturePhaseListener ? void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, { capture: !0, passive: listenerWrapper }) : targetContainer.addEventListener(domEventName, eventSystemFlags, !0) : void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, { passive: listenerWrapper }) : targetContainer.addEventListener(domEventName, eventSystemFlags, !1); } function dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst$jscomp$0, targetContainer) { var ancestorInst = targetInst$jscomp$0; if (0 === (eventSystemFlags & 1) && 0 === (eventSystemFlags & 2) && null !== targetInst$jscomp$0) a: for (;;) { if (null === targetInst$jscomp$0) return; var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; if (container === targetContainer || 8 === container.nodeType && container.parentNode === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag;) { var grandTag = nodeTag.tag; if (3 === grandTag || 4 === grandTag) if (grandTag = nodeTag.stateNode.containerInfo, grandTag === targetContainer || 8 === grandTag.nodeType && grandTag.parentNode === targetContainer) return; nodeTag = nodeTag.return; } for (; null !== container;) { nodeTag = getClosestInstanceFromNode(container); if (null === nodeTag) return; grandTag = nodeTag.tag; if (5 === grandTag || 6 === grandTag || 26 === grandTag || 27 === grandTag) { targetInst$jscomp$0 = ancestorInst = nodeTag; continue a; } container = container.parentNode; } } targetInst$jscomp$0 = targetInst$jscomp$0.return; } batchedUpdates$1(function () { var targetInst = ancestorInst, nativeEventTarget = getEventTarget(nativeEvent), dispatchQueue = []; a: { var reactName = topLevelEventsToReactNames.get(domEventName); if (void 0 !== reactName) { var SyntheticEventCtor = SyntheticEvent, reactEventType = domEventName; switch (domEventName) { case "keypress": if (0 === getEventCharCode(nativeEvent)) break a; case "keydown": case "keyup": SyntheticEventCtor = SyntheticKeyboardEvent; break; case "focusin": reactEventType = "focus"; SyntheticEventCtor = SyntheticFocusEvent; break; case "focusout": reactEventType = "blur"; SyntheticEventCtor = SyntheticFocusEvent; break; case "beforeblur": case "afterblur": SyntheticEventCtor = SyntheticFocusEvent; break; case "click": if (2 === nativeEvent.button) break a; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": SyntheticEventCtor = SyntheticMouseEvent; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": SyntheticEventCtor = SyntheticDragEvent; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": SyntheticEventCtor = SyntheticTouchEvent; break; case ANIMATION_END: case ANIMATION_ITERATION: case ANIMATION_START: SyntheticEventCtor = SyntheticAnimationEvent; break; case TRANSITION_END: SyntheticEventCtor = SyntheticTransitionEvent; break; case "scroll": case "scrollend": SyntheticEventCtor = SyntheticUIEvent; break; case "wheel": SyntheticEventCtor = SyntheticWheelEvent; break; case "copy": case "cut": case "paste": SyntheticEventCtor = SyntheticClipboardEvent; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": SyntheticEventCtor = SyntheticPointerEvent; break; case "toggle": case "beforetoggle": SyntheticEventCtor = SyntheticToggleEvent; } var inCapturePhase = 0 !== (eventSystemFlags & 4), accumulateTargetOnly = !inCapturePhase && ("scroll" === domEventName || "scrollend" === domEventName), reactEventName = inCapturePhase ? null !== reactName ? reactName + "Capture" : null : reactName; inCapturePhase = []; for (var instance = targetInst, lastHostComponent; null !== instance;) { var _instance2 = instance; lastHostComponent = _instance2.stateNode; _instance2 = _instance2.tag; 5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2 || null === lastHostComponent || null === reactEventName || (_instance2 = getListener(instance, reactEventName), null != _instance2 && inCapturePhase.push(createDispatchListener(instance, _instance2, lastHostComponent))); if (accumulateTargetOnly) break; instance = instance.return; } 0 < inCapturePhase.length && (reactName = new SyntheticEventCtor(reactName, reactEventType, null, nativeEvent, nativeEventTarget), dispatchQueue.push({ event: reactName, listeners: inCapturePhase })); } } if (0 === (eventSystemFlags & 7)) { a: { reactName = "mouseover" === domEventName || "pointerover" === domEventName; SyntheticEventCtor = "mouseout" === domEventName || "pointerout" === domEventName; if (reactName && nativeEvent !== currentReplayingEvent && (reactEventType = nativeEvent.relatedTarget || nativeEvent.fromElement) && (getClosestInstanceFromNode(reactEventType) || reactEventType[internalContainerInstanceKey])) break a; if (SyntheticEventCtor || reactName) { reactName = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget : (reactName = nativeEventTarget.ownerDocument) ? reactName.defaultView || reactName.parentWindow : window; if (SyntheticEventCtor) { if (reactEventType = nativeEvent.relatedTarget || nativeEvent.toElement, SyntheticEventCtor = targetInst, reactEventType = reactEventType ? getClosestInstanceFromNode(reactEventType) : null, null !== reactEventType && (accumulateTargetOnly = getNearestMountedFiber(reactEventType), inCapturePhase = reactEventType.tag, reactEventType !== accumulateTargetOnly || 5 !== inCapturePhase && 27 !== inCapturePhase && 6 !== inCapturePhase)) reactEventType = null; } else SyntheticEventCtor = null, reactEventType = targetInst; if (SyntheticEventCtor !== reactEventType) { inCapturePhase = SyntheticMouseEvent; _instance2 = "onMouseLeave"; reactEventName = "onMouseEnter"; instance = "mouse"; if ("pointerout" === domEventName || "pointerover" === domEventName) inCapturePhase = SyntheticPointerEvent, _instance2 = "onPointerLeave", reactEventName = "onPointerEnter", instance = "pointer"; accumulateTargetOnly = null == SyntheticEventCtor ? reactName : getNodeFromInstance(SyntheticEventCtor); lastHostComponent = null == reactEventType ? reactName : getNodeFromInstance(reactEventType); reactName = new inCapturePhase(_instance2, instance + "leave", SyntheticEventCtor, nativeEvent, nativeEventTarget); reactName.target = accumulateTargetOnly; reactName.relatedTarget = lastHostComponent; _instance2 = null; getClosestInstanceFromNode(nativeEventTarget) === targetInst && (inCapturePhase = new inCapturePhase(reactEventName, instance + "enter", reactEventType, nativeEvent, nativeEventTarget), inCapturePhase.target = lastHostComponent, inCapturePhase.relatedTarget = accumulateTargetOnly, _instance2 = inCapturePhase); accumulateTargetOnly = _instance2; if (SyntheticEventCtor && reactEventType) b: { inCapturePhase = SyntheticEventCtor; reactEventName = reactEventType; instance = 0; for (lastHostComponent = inCapturePhase; lastHostComponent; lastHostComponent = getParent(lastHostComponent)) instance++; lastHostComponent = 0; for (_instance2 = reactEventName; _instance2; _instance2 = getParent(_instance2)) lastHostComponent++; for (; 0 < instance - lastHostComponent;) inCapturePhase = getParent(inCapturePhase), instance--; for (; 0 < lastHostComponent - instance;) reactEventName = getParent(reactEventName), lastHostComponent--; for (; instance--;) { if (inCapturePhase === reactEventName || null !== reactEventName && inCapturePhase === reactEventName.alternate) break b; inCapturePhase = getParent(inCapturePhase); reactEventName = getParent(reactEventName); } inCapturePhase = null; } else inCapturePhase = null; null !== SyntheticEventCtor && accumulateEnterLeaveListenersForEvent(dispatchQueue, reactName, SyntheticEventCtor, inCapturePhase, !1); null !== reactEventType && null !== accumulateTargetOnly && accumulateEnterLeaveListenersForEvent(dispatchQueue, accumulateTargetOnly, reactEventType, inCapturePhase, !0); } } } a: { reactName = targetInst ? getNodeFromInstance(targetInst) : window; SyntheticEventCtor = reactName.nodeName && reactName.nodeName.toLowerCase(); if ("select" === SyntheticEventCtor || "input" === SyntheticEventCtor && "file" === reactName.type) var getTargetInstFunc = getTargetInstForChangeEvent;else if (isTextInputElement(reactName)) { if (isInputEventSupported) getTargetInstFunc = getTargetInstForInputOrChangeEvent;else { getTargetInstFunc = getTargetInstForInputEventPolyfill; var handleEventFunc = handleEventsForInputEventPolyfill; } } else SyntheticEventCtor = reactName.nodeName, !SyntheticEventCtor || "input" !== SyntheticEventCtor.toLowerCase() || "checkbox" !== reactName.type && "radio" !== reactName.type ? targetInst && isCustomElement(targetInst.elementType) && (getTargetInstFunc = getTargetInstForChangeEvent) : getTargetInstFunc = getTargetInstForClickEvent; if (getTargetInstFunc && (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst))) { createAndAccumulateChangeEvent(dispatchQueue, getTargetInstFunc, nativeEvent, nativeEventTarget); break a; } handleEventFunc && handleEventFunc(domEventName, reactName, targetInst); "focusout" === domEventName && targetInst && "number" === reactName.type && null != targetInst.memoizedProps.value && setDefaultValue(reactName, "number", reactName.value); } handleEventFunc = targetInst ? getNodeFromInstance(targetInst) : window; switch (domEventName) { case "focusin": if (isTextInputElement(handleEventFunc) || "true" === handleEventFunc.contentEditable) activeElement = handleEventFunc, activeElementInst = targetInst, lastSelection = null; break; case "focusout": lastSelection = activeElementInst = activeElement = null; break; case "mousedown": mouseDown = !0; break; case "contextmenu": case "mouseup": case "dragend": mouseDown = !1; constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); break; case "selectionchange": if (skipSelectionChangeEvent) break; case "keydown": case "keyup": constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); } var fallbackData; if (canUseCompositionEvent) b: { switch (domEventName) { case "compositionstart": var eventType = "onCompositionStart"; break b; case "compositionend": eventType = "onCompositionEnd"; break b; case "compositionupdate": eventType = "onCompositionUpdate"; break b; } eventType = void 0; } else isComposing ? isFallbackCompositionEnd(domEventName, nativeEvent) && (eventType = "onCompositionEnd") : "keydown" === domEventName && nativeEvent.keyCode === START_KEYCODE && (eventType = "onCompositionStart"); eventType && (useFallbackCompositionData && "ko" !== nativeEvent.locale && (isComposing || "onCompositionStart" !== eventType ? "onCompositionEnd" === eventType && isComposing && (fallbackData = getData()) : (root = nativeEventTarget, startText = "value" in root ? root.value : root.textContent, isComposing = !0)), handleEventFunc = accumulateTwoPhaseListeners(targetInst, eventType), 0 < handleEventFunc.length && (eventType = new SyntheticCompositionEvent(eventType, domEventName, null, nativeEvent, nativeEventTarget), dispatchQueue.push({ event: eventType, listeners: handleEventFunc }), fallbackData ? eventType.data = fallbackData : (fallbackData = getDataFromCustomEvent(nativeEvent), null !== fallbackData && (eventType.data = fallbackData)))); if (fallbackData = canUseTextInputEvent ? getNativeBeforeInputChars(domEventName, nativeEvent) : getFallbackBeforeInputChars(domEventName, nativeEvent)) eventType = accumulateTwoPhaseListeners(targetInst, "onBeforeInput"), 0 < eventType.length && (handleEventFunc = new SyntheticInputEvent("onBeforeInput", "beforeinput", null, nativeEvent, nativeEventTarget), dispatchQueue.push({ event: handleEventFunc, listeners: eventType }), handleEventFunc.data = fallbackData); extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget); } processDispatchQueue(dispatchQueue, eventSystemFlags); }); } function createDispatchListener(instance, listener, currentTarget) { return { instance: instance, listener: listener, currentTarget: currentTarget }; } function accumulateTwoPhaseListeners(targetFiber, reactName) { for (var captureName = reactName + "Capture", listeners = []; null !== targetFiber;) { var _instance3 = targetFiber, stateNode = _instance3.stateNode; _instance3 = _instance3.tag; 5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3 || null === stateNode || (_instance3 = getListener(targetFiber, captureName), null != _instance3 && listeners.unshift(createDispatchListener(targetFiber, _instance3, stateNode)), _instance3 = getListener(targetFiber, reactName), null != _instance3 && listeners.push(createDispatchListener(targetFiber, _instance3, stateNode))); targetFiber = targetFiber.return; } return listeners; } function getParent(inst) { if (null === inst) return null; do inst = inst.return; while (inst && 5 !== inst.tag && 27 !== inst.tag); return inst ? inst : null; } function accumulateEnterLeaveListenersForEvent(dispatchQueue, event, target, common, inCapturePhase) { for (var registrationName = event._reactName, listeners = []; null !== target && target !== common;) { var _instance4 = target, alternate = _instance4.alternate, stateNode = _instance4.stateNode; _instance4 = _instance4.tag; if (null !== alternate && alternate === common) break; 5 !== _instance4 && 26 !== _instance4 && 27 !== _instance4 || null === stateNode || (alternate = stateNode, inCapturePhase ? (stateNode = getListener(target, registrationName), null != stateNode && listeners.unshift(createDispatchListener(target, stateNode, alternate))) : inCapturePhase || (stateNode = getListener(target, registrationName), null != stateNode && listeners.push(createDispatchListener(target, stateNode, alternate)))); target = target.return; } 0 !== listeners.length && dispatchQueue.push({ event: event, listeners: listeners }); } function validatePropertiesInDevelopment(type, props) { validateProperties$2(type, props); "input" !== type && "textarea" !== type && "select" !== type || null == props || null !== props.value || didWarnValueNull || (didWarnValueNull = !0, "select" === type && props.multiple ? console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", type) : console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", type)); var eventRegistry = { registrationNameDependencies: registrationNameDependencies, possibleRegistrationNames: possibleRegistrationNames }; isCustomElement(type) || "string" === typeof props.is || warnUnknownProperties(type, props, eventRegistry); props.contentEditable && !props.suppressContentEditableWarning && null != props.children && console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."); } function warnForPropDifference(propName, serverValue, clientValue, serverDifferences) { serverValue !== clientValue && (clientValue = normalizeMarkupForTextOrAttribute(clientValue), normalizeMarkupForTextOrAttribute(serverValue) !== clientValue && (serverDifferences[propName] = serverValue)); } function warnForExtraAttributes(domElement, attributeNames, serverDifferences) { attributeNames.forEach(function (attributeName) { serverDifferences[getPropNameFromAttributeName(attributeName)] = "style" === attributeName ? getStylesObjectFromElement(domElement) : domElement.getAttribute(attributeName); }); } function warnForInvalidEventListener(registrationName, listener) { !1 === listener ? console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.", registrationName, registrationName, registrationName) : console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.", registrationName, typeof listener); } function normalizeHTML(parent, html) { parent = parent.namespaceURI === MATH_NAMESPACE || parent.namespaceURI === SVG_NAMESPACE ? parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName) : parent.ownerDocument.createElement(parent.tagName); parent.innerHTML = html; return parent.innerHTML; } function normalizeMarkupForTextOrAttribute(markup) { willCoercionThrow(markup) && (console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.", typeName(markup)), testStringCoercion(markup)); return ("string" === typeof markup ? markup : "" + markup).replace(NORMALIZE_NEWLINES_REGEX, "\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, ""); } function checkForUnmatchedText(serverText, clientText) { clientText = normalizeMarkupForTextOrAttribute(clientText); return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1; } function noop$1() {} function setProp(domElement, tag, key, value, props, prevValue) { switch (key) { case "children": if ("string" === typeof value) validateTextNesting(value, tag), "body" === tag || "textarea" === tag && "" === value || setTextContent(domElement, value);else if ("number" === typeof value || "bigint" === typeof value) validateTextNesting("" + value, tag), "body" !== tag && setTextContent(domElement, "" + value); break; case "className": setValueForKnownAttribute(domElement, "class", value); break; case "tabIndex": setValueForKnownAttribute(domElement, "tabindex", value); break; case "dir": case "role": case "viewBox": case "width": case "height": setValueForKnownAttribute(domElement, key, value); break; case "style": setValueForStyles(domElement, value, prevValue); break; case "data": if ("object" !== tag) { setValueForKnownAttribute(domElement, "data", value); break; } case "src": case "href": if ("" === value && ("a" !== tag || "href" !== key)) { "src" === key ? console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', key, key) : console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', key, key); domElement.removeAttribute(key); break; } if (null == value || "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value) { domElement.removeAttribute(key); break; } checkAttributeStringCoercion(value, key); value = sanitizeURL("" + value); domElement.setAttribute(key, value); break; case "action": case "formAction": null != value && ("form" === tag ? "formAction" === key ? console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.") : "function" === typeof value && (null == props.encType && null == props.method || didWarnFormActionMethod || (didWarnFormActionMethod = !0, console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")), null == props.target || didWarnFormActionTarget || (didWarnFormActionTarget = !0, console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))) : "input" === tag || "button" === tag ? "action" === key ? console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.") : "input" !== tag || "submit" === props.type || "image" === props.type || didWarnFormActionType ? "button" !== tag || null == props.type || "submit" === props.type || didWarnFormActionType ? "function" === typeof value && (null == props.name || didWarnFormActionName || (didWarnFormActionName = !0, console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')), null == props.formEncType && null == props.formMethod || didWarnFormActionMethod || (didWarnFormActionMethod = !0, console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")), null == props.formTarget || didWarnFormActionTarget || (didWarnFormActionTarget = !0, console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))) : (didWarnFormActionType = !0, console.error('A button can only specify a formAction along with type="submit" or no type.')) : (didWarnFormActionType = !0, console.error('An input can only specify a formAction along with type="submit" or type="image".')) : "action" === key ? console.error("You can only pass the action prop to <form>.") : console.error("You can only pass the formAction prop to <input> or <button>.")); if ("function" === typeof value) { domElement.setAttribute(key, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"); break; } else "function" === typeof prevValue && ("formAction" === key ? ("input" !== tag && setProp(domElement, tag, "name", props.name, props, null), setProp(domElement, tag, "formEncType", props.formEncType, props, null), setProp(domElement, tag, "formMethod", props.formMethod, props, null), setProp(domElement, tag, "formTarget", props.formTarget, props, null)) : (setProp(domElement, tag, "encType", props.encType, props, null), setProp(domElement, tag, "method", props.method, props, null), setProp(domElement, tag, "target", props.target, props, null))); if (null == value || "symbol" === typeof value || "boolean" === typeof value) { domElement.removeAttribute(key); break; } checkAttributeStringCoercion(value, key); value = sanitizeURL("" + value); domElement.setAttribute(key, value); break; case "onClick": null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), domElement.onclick = noop$1); break; case "onScroll": null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scroll", domElement)); break; case "onScrollEnd": null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scrollend", domElement)); break; case "dangerouslySetInnerHTML": if (null != value) { if ("object" !== typeof value || !("__html" in value)) throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."); key = value.__html; if (null != key) { if (null != props.children) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); domElement.innerHTML = key; } } break; case "multiple": domElement.multiple = value && "function" !== typeof value && "symbol" !== typeof value; break; case "muted": domElement.muted = value && "function" !== typeof value && "symbol" !== typeof value; break; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "defaultValue": case "defaultChecked": case "innerHTML": case "ref": break; case "autoFocus": break; case "xlinkHref": if (null == value || "function" === typeof value || "boolean" === typeof value || "symbol" === typeof value) { domElement.removeAttribute("xlink:href"); break; } checkAttributeStringCoercion(value, key); key = sanitizeURL("" + value); domElement.setAttributeNS(xlinkNamespace, "xlink:href", key); break; case "contentEditable": case "spellCheck": case "draggable": case "value": case "autoReverse": case "externalResourcesRequired": case "focusable": case "preserveAlpha": null != value && "function" !== typeof value && "symbol" !== typeof value ? (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, "" + value)) : domElement.removeAttribute(key); break; case "inert": "" !== value || didWarnForNewBooleanPropsWithEmptyValue[key] || (didWarnForNewBooleanPropsWithEmptyValue[key] = !0, console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.", key)); case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": value && "function" !== typeof value && "symbol" !== typeof value ? domElement.setAttribute(key, "") : domElement.removeAttribute(key); break; case "capture": case "download": !0 === value ? domElement.setAttribute(key, "") : !1 !== value && null != value && "function" !== typeof value && "symbol" !== typeof value ? (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, value)) : domElement.removeAttribute(key); break; case "cols": case "rows": case "size": case "span": null != value && "function" !== typeof value && "symbol" !== typeof value && !isNaN(value) && 1 <= value ? (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, value)) : domElement.removeAttribute(key); break; case "rowSpan": case "start": null == value || "function" === typeof value || "symbol" === typeof value || isNaN(value) ? domElement.removeAttribute(key) : (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, value)); break; case "popover": listenToNonDelegatedEvent("beforetoggle", domElement); listenToNonDelegatedEvent("toggle", domElement); setValueForAttribute(domElement, "popover", value); break; case "xlinkActuate": setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:actuate", value); break; case "xlinkArcrole": setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:arcrole", value); break; case "xlinkRole": setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:role", value); break; case "xlinkShow": setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:show", value); break; case "xlinkTitle": setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:title", value); break; case "xlinkType": setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:type", value); break; case "xmlBase": setValueForNamespacedAttribute(domElement, xmlNamespace, "xml:base", value); break; case "xmlLang": setValueForNamespacedAttribute(domElement, xmlNamespace, "xml:lang", value); break; case "xmlSpace": setValueForNamespacedAttribute(domElement, xmlNamespace, "xml:space", value); break; case "is": null != prevValue && console.error('Cannot update the "is" prop after it has been initialized.'); setValueForAttribute(domElement, "is", value); break; case "innerText": case "textContent": break; case "popoverTarget": didWarnPopoverTargetObject || null == value || "object" !== typeof value || (didWarnPopoverTargetObject = !0, console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.", value)); default: !(2 < key.length) || "o" !== key[0] && "O" !== key[0] || "n" !== key[1] && "N" !== key[1] ? (key = getAttributeAlias(key), setValueForAttribute(domElement, key, value)) : registrationNameDependencies.hasOwnProperty(key) && null != value && "function" !== typeof value && warnForInvalidEventListener(key, value); } } function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { switch (key) { case "style": setValueForStyles(domElement, value, prevValue); break; case "dangerouslySetInnerHTML": if (null != value) { if ("object" !== typeof value || !("__html" in value)) throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."); key = value.__html; if (null != key) { if (null != props.children) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); domElement.innerHTML = key; } } break; case "children": "string" === typeof value ? setTextContent(domElement, value) : ("number" === typeof value || "bigint" === typeof value) && setTextContent(domElement, "" + value); break; case "onScroll": null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scroll", domElement)); break; case "onScrollEnd": null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scrollend", domElement)); break; case "onClick": null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), domElement.onclick = noop$1); break; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "innerHTML": case "ref": break; case "innerText": case "textContent": break; default: if (registrationNameDependencies.hasOwnProperty(key)) null != value && "function" !== typeof value && warnForInvalidEventListener(key, value);else a: { if ("o" === key[0] && "n" === key[1] && (props = key.endsWith("Capture"), tag = key.slice(2, props ? key.length - 7 : void 0), prevValue = domElement[internalPropsKey] || null, prevValue = null != prevValue ? prevValue[key] : null, "function" === typeof prevValue && domElement.removeEventListener(tag, prevValue, props), "function" === typeof value)) { "function" !== typeof prevValue && null !== prevValue && (key in domElement ? domElement[key] = null : domElement.hasAttribute(key) && domElement.removeAttribute(key)); domElement.addEventListener(tag, value, props); break a; } key in domElement ? domElement[key] = value : !0 === value ? domElement.setAttribute(key, "") : setValueForAttribute(domElement, key, value); } } } function setInitialProperties(domElement, tag, props) { validatePropertiesInDevelopment(tag, props); switch (tag) { case "div": case "span": case "svg": case "path": case "a": case "g": case "p": case "li": break; case "img": listenToNonDelegatedEvent("error", domElement); listenToNonDelegatedEvent("load", domElement); var hasSrc = !1, hasSrcSet = !1, propKey; for (propKey in props) if (props.hasOwnProperty(propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "src": hasSrc = !0; break; case "srcSet": hasSrcSet = !0; break; case "children": case "dangerouslySetInnerHTML": throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); default: setProp(domElement, tag, propKey, propValue, props, null); } } hasSrcSet && setProp(domElement, tag, "srcSet", props.srcSet, props, null); hasSrc && setProp(domElement, tag, "src", props.src, props, null); return; case "input": checkControlledValueProps("input", props); listenToNonDelegatedEvent("invalid", domElement); var defaultValue = propKey = propValue = hasSrcSet = null, checked = null, defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { var _propValue = props[hasSrc]; if (null != _propValue) switch (hasSrc) { case "name": hasSrcSet = _propValue; break; case "type": propValue = _propValue; break; case "checked": checked = _propValue; break; case "defaultChecked": defaultChecked = _propValue; break; case "value": propKey = _propValue; break; case "defaultValue": defaultValue = _propValue; break; case "children": case "dangerouslySetInnerHTML": if (null != _propValue) throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); break; default: setProp(domElement, tag, hasSrc, _propValue, props, null); } } validateInputProps(domElement, props); initInput(domElement, propKey, defaultValue, checked, defaultChecked, propValue, hasSrcSet, !1); track(domElement); return; case "select": checkControlledValueProps("select", props); listenToNonDelegatedEvent("invalid", domElement); hasSrc = propValue = propKey = null; for (hasSrcSet in props) if (props.hasOwnProperty(hasSrcSet) && (defaultValue = props[hasSrcSet], null != defaultValue)) switch (hasSrcSet) { case "value": propKey = defaultValue; break; case "defaultValue": propValue = defaultValue; break; case "multiple": hasSrc = defaultValue; default: setProp(domElement, tag, hasSrcSet, defaultValue, props, null); } validateSelectProps(domElement, props); tag = propKey; props = propValue; domElement.multiple = !!hasSrc; null != tag ? updateOptions(domElement, !!hasSrc, tag, !1) : null != props && updateOptions(domElement, !!hasSrc, props, !0); return; case "textarea": checkControlledValueProps("textarea", props); listenToNonDelegatedEvent("invalid", domElement); propKey = hasSrcSet = hasSrc = null; for (propValue in props) if (props.hasOwnProperty(propValue) && (defaultValue = props[propValue], null != defaultValue)) switch (propValue) { case "value": hasSrc = defaultValue; break; case "defaultValue": hasSrcSet = defaultValue; break; case "children": propKey = defaultValue; break; case "dangerouslySetInnerHTML": if (null != defaultValue) throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); break; default: setProp(domElement, tag, propValue, defaultValue, props, null); } validateTextareaProps(domElement, props); initTextarea(domElement, hasSrc, hasSrcSet, propKey); track(domElement); return; case "option": validateOptionProps(domElement, props); for (checked in props) if (props.hasOwnProperty(checked) && (hasSrc = props[checked], null != hasSrc)) switch (checked) { case "selected": domElement.selected = hasSrc && "function" !== typeof hasSrc && "symbol" !== typeof hasSrc; break; default: setProp(domElement, tag, checked, hasSrc, props, null); } return; case "dialog": listenToNonDelegatedEvent("cancel", domElement); listenToNonDelegatedEvent("close", domElement); break; case "iframe": case "object": listenToNonDelegatedEvent("load", domElement); break; case "video": case "audio": for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++) listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement); break; case "image": listenToNonDelegatedEvent("error", domElement); listenToNonDelegatedEvent("load", domElement); break; case "details": listenToNonDelegatedEvent("toggle", domElement); break; case "embed": case "source": case "link": listenToNonDelegatedEvent("error", domElement), listenToNonDelegatedEvent("load", domElement); case "area": case "base": case "br": case "col": case "hr": case "keygen": case "meta": case "param": case "track": case "wbr": case "menuitem": for (defaultChecked in props) if (props.hasOwnProperty(defaultChecked) && (hasSrc = props[defaultChecked], null != hasSrc)) switch (defaultChecked) { case "children": case "dangerouslySetInnerHTML": throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); default: setProp(domElement, tag, defaultChecked, hasSrc, props, null); } return; default: if (isCustomElement(tag)) { for (_propValue in props) props.hasOwnProperty(_propValue) && (hasSrc = props[_propValue], void 0 !== hasSrc && setPropOnCustomElement(domElement, tag, _propValue, hasSrc, props, void 0)); return; } } for (defaultValue in props) props.hasOwnProperty(defaultValue) && (hasSrc = props[defaultValue], null != hasSrc && setProp(domElement, tag, defaultValue, hasSrc, props, null)); } function updateProperties(domElement, tag, lastProps, nextProps) { validatePropertiesInDevelopment(tag, nextProps); switch (tag) { case "div": case "span": case "svg": case "path": case "a": case "g": case "p": case "li": break; case "input": var name = null, type = null, value = null, defaultValue = null, lastDefaultValue = null, checked = null, defaultChecked = null; for (propKey in lastProps) { var lastProp = lastProps[propKey]; if (lastProps.hasOwnProperty(propKey) && null != lastProp) switch (propKey) { case "checked": break; case "value": break; case "defaultValue": lastDefaultValue = lastProp; default: nextProps.hasOwnProperty(propKey) || setProp(domElement, tag, propKey, null, nextProps, lastProp); } } for (var _propKey8 in nextProps) { var propKey = nextProps[_propKey8]; lastProp = lastProps[_propKey8]; if (nextProps.hasOwnProperty(_propKey8) && (null != propKey || null != lastProp)) switch (_propKey8) { case "type": type = propKey; break; case "name": name = propKey; break; case "checked": checked = propKey; break; case "defaultChecked": defaultChecked = propKey; break; case "value": value = propKey; break; case "defaultValue": defaultValue = propKey; break; case "children": case "dangerouslySetInnerHTML": if (null != propKey) throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); break; default: propKey !== lastProp && setProp(domElement, tag, _propKey8, propKey, nextProps, lastProp); } } tag = "checkbox" === lastProps.type || "radio" === lastProps.type ? null != lastProps.checked : null != lastProps.value; nextProps = "checkbox" === nextProps.type || "radio" === nextProps.type ? null != nextProps.checked : null != nextProps.value; tag || !nextProps || didWarnUncontrolledToControlled || (console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"), didWarnUncontrolledToControlled = !0); !tag || nextProps || didWarnControlledToUncontrolled || (console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"), didWarnControlledToUncontrolled = !0); updateInput(domElement, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name); return; case "select": propKey = value = defaultValue = _propKey8 = null; for (type in lastProps) if (lastDefaultValue = lastProps[type], lastProps.hasOwnProperty(type) && null != lastDefaultValue) switch (type) { case "value": break; case "multiple": propKey = lastDefaultValue; default: nextProps.hasOwnProperty(type) || setProp(domElement, tag, type, null, nextProps, lastDefaultValue); } for (name in nextProps) if (type = nextProps[name], lastDefaultValue = lastProps[name], nextProps.hasOwnProperty(name) && (null != type || null != lastDefaultValue)) switch (name) { case "value": _propKey8 = type; break; case "defaultValue": defaultValue = type; break; case "multiple": value = type; default: type !== lastDefaultValue && setProp(domElement, tag, name, type, nextProps, lastDefaultValue); } nextProps = defaultValue; tag = value; lastProps = propKey; null != _propKey8 ? updateOptions(domElement, !!tag, _propKey8, !1) : !!lastProps !== !!tag && (null != nextProps ? updateOptions(domElement, !!tag, nextProps, !0) : updateOptions(domElement, !!tag, tag ? [] : "", !1)); return; case "textarea": propKey = _propKey8 = null; for (defaultValue in lastProps) if (name = lastProps[defaultValue], lastProps.hasOwnProperty(defaultValue) && null != name && !nextProps.hasOwnProperty(defaultValue)) switch (defaultValue) { case "value": break; case "children": break; default: setProp(domElement, tag, defaultValue, null, nextProps, name); } for (value in nextProps) if (name = nextProps[value], type = lastProps[value], nextProps.hasOwnProperty(value) && (null != name || null != type)) switch (value) { case "value": _propKey8 = name; break; case "defaultValue": propKey = name; break; case "children": break; case "dangerouslySetInnerHTML": if (null != name) throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); break; default: name !== type && setProp(domElement, tag, value, name, nextProps, type); } updateTextarea(domElement, _propKey8, propKey); return; case "option": for (var _propKey13 in lastProps) if (_propKey8 = lastProps[_propKey13], lastProps.hasOwnProperty(_propKey13) && null != _propKey8 && !nextProps.hasOwnProperty(_propKey13)) switch (_propKey13) { case "selected": domElement.selected = !1; break; default: setProp(domElement, tag, _propKey13, null, nextProps, _propKey8); } for (lastDefaultValue in nextProps) if (_propKey8 = nextProps[lastDefaultValue], propKey = lastProps[lastDefaultValue], nextProps.hasOwnProperty(lastDefaultValue) && _propKey8 !== propKey && (null != _propKey8 || null != propKey)) switch (lastDefaultValue) { case "selected": domElement.selected = _propKey8 && "function" !== typeof _propKey8 && "symbol" !== typeof _propKey8; break; default: setProp(domElement, tag, lastDefaultValue, _propKey8, nextProps, propKey); } return; case "img": case "link": case "area": case "base": case "br": case "col": case "embed": case "hr": case "keygen": case "meta": case "param": case "source": case "track": case "wbr": case "menuitem": for (var _propKey15 in lastProps) _propKey8 = lastProps[_propKey15], lastProps.hasOwnProperty(_propKey15) && null != _propKey8 && !nextProps.hasOwnProperty(_propKey15) && setProp(domElement, tag, _propKey15, null, nextProps, _propKey8); for (checked in nextProps) if (_propKey8 = nextProps[checked], propKey = lastProps[checked], nextProps.hasOwnProperty(checked) && _propKey8 !== propKey && (null != _propKey8 || null != propKey)) switch (checked) { case "children": case "dangerouslySetInnerHTML": if (null != _propKey8) throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); break; default: setProp(domElement, tag, checked, _propKey8, nextProps, propKey); } return; default: if (isCustomElement(tag)) { for (var _propKey17 in lastProps) _propKey8 = lastProps[_propKey17], lastProps.hasOwnProperty(_propKey17) && void 0 !== _propKey8 && !nextProps.hasOwnProperty(_propKey17) && setPropOnCustomElement(domElement, tag, _propKey17, void 0, nextProps, _propKey8); for (defaultChecked in nextProps) _propKey8 = nextProps[defaultChecked], propKey = lastProps[defaultChecked], !nextProps.hasOwnProperty(defaultChecked) || _propKey8 === propKey || void 0 === _propKey8 && void 0 === propKey || setPropOnCustomElement(domElement, tag, defaultChecked, _propKey8, nextProps, propKey); return; } } for (var _propKey19 in lastProps) _propKey8 = lastProps[_propKey19], lastProps.hasOwnProperty(_propKey19) && null != _propKey8 && !nextProps.hasOwnProperty(_propKey19) && setProp(domElement, tag, _propKey19, null, nextProps, _propKey8); for (lastProp in nextProps) _propKey8 = nextProps[lastProp], propKey = lastProps[lastProp], !nextProps.hasOwnProperty(lastProp) || _propKey8 === propKey || null == _propKey8 && null == propKey || setProp(domElement, tag, lastProp, _propKey8, nextProps, propKey); } function getPropNameFromAttributeName(attrName) { switch (attrName) { case "class": return "className"; case "for": return "htmlFor"; default: return attrName; } } function getStylesObjectFromElement(domElement) { var serverValueInObjectForm = {}; domElement = domElement.style; for (var i = 0; i < domElement.length; i++) { var styleName = domElement[i]; serverValueInObjectForm[styleName] = domElement.getPropertyValue(styleName); } return serverValueInObjectForm; } function diffHydratedStyles(domElement, value$jscomp$0, serverDifferences) { if (null != value$jscomp$0 && "object" !== typeof value$jscomp$0) console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else if (canDiffStyleForHydrationWarning) { var clientValue; var delimiter = clientValue = "", styleName; for (styleName in value$jscomp$0) if (value$jscomp$0.hasOwnProperty(styleName)) { var value = value$jscomp$0[styleName]; null != value && "boolean" !== typeof value && "" !== value && (0 === styleName.indexOf("--") ? (checkCSSPropertyStringCoercion(value, styleName), clientValue += delimiter + styleName + ":" + ("" + value).trim()) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? (checkCSSPropertyStringCoercion(value, styleName), clientValue += delimiter + styleName.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern$1, "-ms-") + ":" + ("" + value).trim()) : clientValue += delimiter + styleName.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern$1, "-ms-") + ":" + value + "px", delimiter = ";"); } clientValue = clientValue || null; value$jscomp$0 = domElement.getAttribute("style"); value$jscomp$0 !== clientValue && (clientValue = normalizeMarkupForTextOrAttribute(clientValue), normalizeMarkupForTextOrAttribute(value$jscomp$0) !== clientValue && (serverDifferences.style = getStylesObjectFromElement(domElement))); } } function hydrateAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { extraAttributes.delete(attributeName); domElement = domElement.getAttribute(attributeName); if (null === domElement) switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": return; } else if (null != value) switch (typeof value) { case "function": case "symbol": case "boolean": break; default: if (checkAttributeStringCoercion(value, propKey), domElement === "" + value) return; } warnForPropDifference(propKey, domElement, value, serverDifferences); } function hydrateBooleanAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { extraAttributes.delete(attributeName); domElement = domElement.getAttribute(attributeName); if (null === domElement) { switch (typeof value) { case "function": case "symbol": return; } if (!value) return; } else switch (typeof value) { case "function": case "symbol": break; default: if (value) return; } warnForPropDifference(propKey, domElement, value, serverDifferences); } function hydrateBooleanishAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { extraAttributes.delete(attributeName); domElement = domElement.getAttribute(attributeName); if (null === domElement) switch (typeof value) { case "undefined": case "function": case "symbol": return; } else if (null != value) switch (typeof value) { case "function": case "symbol": break; default: if (checkAttributeStringCoercion(value, attributeName), domElement === "" + value) return; } warnForPropDifference(propKey, domElement, value, serverDifferences); } function hydrateNumericAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { extraAttributes.delete(attributeName); domElement = domElement.getAttribute(attributeName); if (null === domElement) switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": return; default: if (isNaN(value)) return; } else if (null != value) switch (typeof value) { case "function": case "symbol": case "boolean": break; default: if (!isNaN(value) && (checkAttributeStringCoercion(value, propKey), domElement === "" + value)) return; } warnForPropDifference(propKey, domElement, value, serverDifferences); } function hydrateSanitizedAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { extraAttributes.delete(attributeName); domElement = domElement.getAttribute(attributeName); if (null === domElement) switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": return; } else if (null != value) switch (typeof value) { case "function": case "symbol": case "boolean": break; default: if (checkAttributeStringCoercion(value, propKey), attributeName = sanitizeURL("" + value), domElement === attributeName) return; } warnForPropDifference(propKey, domElement, value, serverDifferences); } function diffHydratedProperties(domElement, tag, props, hostContext) { for (var serverDifferences = {}, extraAttributes = new Set(), attributes = domElement.attributes, i = 0; i < attributes.length; i++) switch (attributes[i].name.toLowerCase()) { case "value": break; case "checked": break; case "selected": break; default: extraAttributes.add(attributes[i].name); } if (isCustomElement(tag)) for (var propKey in props) { if (props.hasOwnProperty(propKey)) { var value = props[propKey]; if (null != value) if (registrationNameDependencies.hasOwnProperty(propKey)) "function" !== typeof value && warnForInvalidEventListener(propKey, value);else if (!0 !== props.suppressHydrationWarning) switch (propKey) { case "children": "string" !== typeof value && "number" !== typeof value || warnForPropDifference("children", domElement.textContent, value, serverDifferences); continue; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "defaultValue": case "defaultChecked": case "innerHTML": case "ref": continue; case "dangerouslySetInnerHTML": attributes = domElement.innerHTML; value = value ? value.__html : void 0; null != value && (value = normalizeHTML(domElement, value), warnForPropDifference(propKey, attributes, value, serverDifferences)); continue; case "style": extraAttributes.delete(propKey); diffHydratedStyles(domElement, value, serverDifferences); continue; case "offsetParent": case "offsetTop": case "offsetLeft": case "offsetWidth": case "offsetHeight": case "isContentEditable": case "outerText": case "outerHTML": extraAttributes.delete(propKey.toLowerCase()); console.error("Assignment to read-only property will result in a no-op: `%s`", propKey); continue; case "className": extraAttributes.delete("class"); attributes = getValueForAttributeOnCustomComponent(domElement, "class", value); warnForPropDifference("className", attributes, value, serverDifferences); continue; default: hostContext.context === HostContextNamespaceNone && "svg" !== tag && "math" !== tag ? extraAttributes.delete(propKey.toLowerCase()) : extraAttributes.delete(propKey), attributes = getValueForAttributeOnCustomComponent(domElement, propKey, value), warnForPropDifference(propKey, attributes, value, serverDifferences); } } } else for (value in props) if (props.hasOwnProperty(value) && (propKey = props[value], null != propKey)) if (registrationNameDependencies.hasOwnProperty(value)) "function" !== typeof propKey && warnForInvalidEventListener(value, propKey);else if (!0 !== props.suppressHydrationWarning) switch (value) { case "children": "string" !== typeof propKey && "number" !== typeof propKey || warnForPropDifference("children", domElement.textContent, propKey, serverDifferences); continue; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "value": case "checked": case "selected": case "defaultValue": case "defaultChecked": case "innerHTML": case "ref": continue; case "dangerouslySetInnerHTML": attributes = domElement.innerHTML; propKey = propKey ? propKey.__html : void 0; null != propKey && (propKey = normalizeHTML(domElement, propKey), attributes !== propKey && (serverDifferences[value] = { __html: attributes })); continue; case "className": hydrateAttribute(domElement, value, "class", propKey, extraAttributes, serverDifferences); continue; case "tabIndex": hydrateAttribute(domElement, value, "tabindex", propKey, extraAttributes, serverDifferences); continue; case "style": extraAttributes.delete(value); diffHydratedStyles(domElement, propKey, serverDifferences); continue; case "multiple": extraAttributes.delete(value); warnForPropDifference(value, domElement.multiple, propKey, serverDifferences); continue; case "muted": extraAttributes.delete(value); warnForPropDifference(value, domElement.muted, propKey, serverDifferences); continue; case "autoFocus": extraAttributes.delete("autofocus"); warnForPropDifference(value, domElement.autofocus, propKey, serverDifferences); continue; case "data": if ("object" !== tag) { extraAttributes.delete(value); attributes = domElement.getAttribute("data"); warnForPropDifference(value, attributes, propKey, serverDifferences); continue; } case "src": case "href": if (!("" !== propKey || "a" === tag && "href" === value || "object" === tag && "data" === value)) { "src" === value ? console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', value, value) : console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', value, value); hydrateSanitizedAttribute(domElement, value, value, null, extraAttributes, serverDifferences); continue; } hydrateSanitizedAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); continue; case "action": case "formAction": attributes = domElement.getAttribute(value); if ("function" === typeof propKey) { extraAttributes.delete(value.toLowerCase()); "formAction" === value ? (extraAttributes.delete("name"), extraAttributes.delete("formenctype"), extraAttributes.delete("formmethod"), extraAttributes.delete("formtarget")) : (extraAttributes.delete("enctype"), extraAttributes.delete("method"), extraAttributes.delete("target")); continue; } else if (attributes === EXPECTED_FORM_ACTION_URL) { extraAttributes.delete(value.toLowerCase()); warnForPropDifference(value, "function", propKey, serverDifferences); continue; } hydrateSanitizedAttribute(domElement, value, value.toLowerCase(), propKey, extraAttributes, serverDifferences); continue; case "xlinkHref": hydrateSanitizedAttribute(domElement, value, "xlink:href", propKey, extraAttributes, serverDifferences); continue; case "contentEditable": hydrateBooleanishAttribute(domElement, value, "contenteditable", propKey, extraAttributes, serverDifferences); continue; case "spellCheck": hydrateBooleanishAttribute(domElement, value, "spellcheck", propKey, extraAttributes, serverDifferences); continue; case "draggable": case "autoReverse": case "externalResourcesRequired": case "focusable": case "preserveAlpha": hydrateBooleanishAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); continue; case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": hydrateBooleanAttribute(domElement, value, value.toLowerCase(), propKey, extraAttributes, serverDifferences); continue; case "capture": case "download": a: { i = domElement; var attributeName = attributes = value, serverDifferences$jscomp$0 = serverDifferences; extraAttributes.delete(attributeName); i = i.getAttribute(attributeName); if (null === i) switch (typeof propKey) { case "undefined": case "function": case "symbol": break a; default: if (!1 === propKey) break a; } else if (null != propKey) switch (typeof propKey) { case "function": case "symbol": break; case "boolean": if (!0 === propKey && "" === i) break a; break; default: if (checkAttributeStringCoercion(propKey, attributes), i === "" + propKey) break a; } warnForPropDifference(attributes, i, propKey, serverDifferences$jscomp$0); } continue; case "cols": case "rows": case "size": case "span": a: { i = domElement; attributeName = attributes = value; serverDifferences$jscomp$0 = serverDifferences; extraAttributes.delete(attributeName); i = i.getAttribute(attributeName); if (null === i) switch (typeof propKey) { case "undefined": case "function": case "symbol": case "boolean": break a; default: if (isNaN(propKey) || 1 > propKey) break a; } else if (null != propKey) switch (typeof propKey) { case "function": case "symbol": case "boolean": break; default: if (!(isNaN(propKey) || 1 > propKey) && (checkAttributeStringCoercion(propKey, attributes), i === "" + propKey)) break a; } warnForPropDifference(attributes, i, propKey, serverDifferences$jscomp$0); } continue; case "rowSpan": hydrateNumericAttribute(domElement, value, "rowspan", propKey, extraAttributes, serverDifferences); continue; case "start": hydrateNumericAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); continue; case "xHeight": hydrateAttribute(domElement, value, "x-height", propKey, extraAttributes, serverDifferences); continue; case "xlinkActuate": hydrateAttribute(domElement, value, "xlink:actuate", propKey, extraAttributes, serverDifferences); continue; case "xlinkArcrole": hydrateAttribute(domElement, value, "xlink:arcrole", propKey, extraAttributes, serverDifferences); continue; case "xlinkRole": hydrateAttribute(domElement, value, "xlink:role", propKey, extraAttributes, serverDifferences); continue; case "xlinkShow": hydrateAttribute(domElement, value, "xlink:show", propKey, extraAttributes, serverDifferences); continue; case "xlinkTitle": hydrateAttribute(domElement, value, "xlink:title", propKey, extraAttributes, serverDifferences); continue; case "xlinkType": hydrateAttribute(domElement, value, "xlink:type", propKey, extraAttributes, serverDifferences); continue; case "xmlBase": hydrateAttribute(domElement, value, "xml:base", propKey, extraAttributes, serverDifferences); continue; case "xmlLang": hydrateAttribute(domElement, value, "xml:lang", propKey, extraAttributes, serverDifferences); continue; case "xmlSpace": hydrateAttribute(domElement, value, "xml:space", propKey, extraAttributes, serverDifferences); continue; case "inert": "" !== propKey || didWarnForNewBooleanPropsWithEmptyValue[value] || (didWarnForNewBooleanPropsWithEmptyValue[value] = !0, console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.", value)); hydrateBooleanAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); continue; default: if (!(2 < value.length) || "o" !== value[0] && "O" !== value[0] || "n" !== value[1] && "N" !== value[1]) { i = getAttributeAlias(value); attributes = !1; hostContext.context === HostContextNamespaceNone && "svg" !== tag && "math" !== tag ? extraAttributes.delete(i.toLowerCase()) : (attributeName = value.toLowerCase(), attributeName = possibleStandardNames.hasOwnProperty(attributeName) ? possibleStandardNames[attributeName] || null : null, null !== attributeName && attributeName !== value && (attributes = !0, extraAttributes.delete(attributeName)), extraAttributes.delete(i)); a: if (attributeName = domElement, serverDifferences$jscomp$0 = i, i = propKey, isAttributeNameSafe(serverDifferences$jscomp$0)) { if (attributeName.hasAttribute(serverDifferences$jscomp$0)) attributeName = attributeName.getAttribute(serverDifferences$jscomp$0), checkAttributeStringCoercion(i, serverDifferences$jscomp$0), i = attributeName === "" + i ? i : attributeName;else { switch (typeof i) { case "function": case "symbol": break a; case "boolean": if (attributeName = serverDifferences$jscomp$0.toLowerCase().slice(0, 5), "data-" !== attributeName && "aria-" !== attributeName) break a; } i = void 0 === i ? void 0 : null; } } else i = void 0; attributes || warnForPropDifference(value, i, propKey, serverDifferences); } } 0 < extraAttributes.size && !0 !== props.suppressHydrationWarning && warnForExtraAttributes(domElement, extraAttributes, serverDifferences); return 0 === Object.keys(serverDifferences).length ? null : serverDifferences; } function propNamesListJoin(list, combinator) { switch (list.length) { case 0: return ""; case 1: return list[0]; case 2: return list[0] + " " + combinator + " " + list[1]; default: return list.slice(0, -1).join(", ") + ", " + combinator + " " + list[list.length - 1]; } } function getOwnerDocumentFromRootContainer(rootContainerElement) { return 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument; } function getOwnHostContext(namespaceURI) { switch (namespaceURI) { case SVG_NAMESPACE: return HostContextNamespaceSvg; case MATH_NAMESPACE: return HostContextNamespaceMath; default: return HostContextNamespaceNone; } } function getChildHostContextProd(parentNamespace, type) { if (parentNamespace === HostContextNamespaceNone) switch (type) { case "svg": return HostContextNamespaceSvg; case "math": return HostContextNamespaceMath; default: return HostContextNamespaceNone; } return parentNamespace === HostContextNamespaceSvg && "foreignObject" === type ? HostContextNamespaceNone : parentNamespace; } function shouldSetTextContent(type, props) { return "textarea" === type || "noscript" === type || "string" === typeof props.children || "number" === typeof props.children || "bigint" === typeof props.children || "object" === typeof props.dangerouslySetInnerHTML && null !== props.dangerouslySetInnerHTML && null != props.dangerouslySetInnerHTML.__html; } function shouldAttemptEagerTransition() { var event = window.event; if (event && "popstate" === event.type) { if (event === currentPopstateTransitionEvent) return !1; currentPopstateTransitionEvent = event; return !0; } currentPopstateTransitionEvent = null; return !1; } function handleErrorInNextTick(error) { setTimeout(function () { throw error; }); } function commitMount(domElement, type, newProps) { switch (type) { case "button": case "input": case "select": case "textarea": newProps.autoFocus && domElement.focus(); break; case "img": newProps.src ? domElement.src = newProps.src : newProps.srcSet && (domElement.srcset = newProps.srcSet); } } function commitUpdate(domElement, type, oldProps, newProps) { updateProperties(domElement, type, oldProps, newProps); domElement[internalPropsKey] = newProps; } function resetTextContent(domElement) { setTextContent(domElement, ""); } function commitTextUpdate(textInstance, oldText, newText) { textInstance.nodeValue = newText; } function removeChild(parentInstance, child) { parentInstance.removeChild(child); } function removeChildFromContainer(container, child) { 8 === container.nodeType ? container.parentNode.removeChild(child) : container.removeChild(child); } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (node = nextNode.data, node === SUSPENSE_END_DATA) { if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; } else node !== SUSPENSE_START_DATA && node !== SUSPENSE_PENDING_START_DATA && node !== SUSPENSE_FALLBACK_START_DATA || depth++; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); } function hideInstance(instance) { instance = instance.style; "function" === typeof instance.setProperty ? instance.setProperty("display", "none", "important") : instance.display = "none"; } function hideTextInstance(textInstance) { textInstance.nodeValue = ""; } function unhideInstance(instance, props) { props = props[STYLE]; props = void 0 !== props && null !== props && props.hasOwnProperty("display") ? props.display : null; instance.style.display = null == props || "boolean" === typeof props ? "" : ("" + props).trim(); } function unhideTextInstance(textInstance, text) { textInstance.nodeValue = text; } function clearContainerSparingly(container) { var nextNode = container.firstChild; nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling); for (; nextNode;) { var node = nextNode; nextNode = nextNode.nextSibling; switch (node.nodeName) { case "HTML": case "HEAD": case "BODY": clearContainerSparingly(node); detachDeletedInstance(node); continue; case "SCRIPT": case "STYLE": continue; case "LINK": if ("stylesheet" === node.rel.toLowerCase()) continue; } container.removeChild(node); } } function canHydrateInstance(instance, type, props, inRootOrSingleton) { for (; 1 === instance.nodeType;) { var anyProps = props; if (instance.nodeName.toLowerCase() !== type.toLowerCase()) { if (!inRootOrSingleton && ("INPUT" !== instance.nodeName || "hidden" !== instance.type)) break; } else if (!inRootOrSingleton) { if ("input" === type && "hidden" === instance.type) { checkAttributeStringCoercion(anyProps.name, "name"); var name = null == anyProps.name ? null : "" + anyProps.name; if ("hidden" === anyProps.type && instance.getAttribute("name") === name) return instance; } else return instance; } else if (!instance[internalHoistableMarker]) switch (type) { case "meta": if (!instance.hasAttribute("itemprop")) break; return instance; case "link": name = instance.getAttribute("rel"); if ("stylesheet" === name && instance.hasAttribute("data-precedence")) break;else if (name !== anyProps.rel || instance.getAttribute("href") !== (null == anyProps.href ? null : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== (null == anyProps.title ? null : anyProps.title)) break; return instance; case "style": if (instance.hasAttribute("data-precedence")) break; return instance; case "script": name = instance.getAttribute("src"); if ((name !== (null == anyProps.src ? null : anyProps.src) || instance.getAttribute("type") !== (null == anyProps.type ? null : anyProps.type) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin)) && name && instance.hasAttribute("async") && !instance.hasAttribute("itemprop")) break; return instance; default: return instance; } instance = getNextHydratable(instance.nextSibling); if (null === instance) break; } return null; } function canHydrateTextInstance(instance, text, inRootOrSingleton) { if ("" === text) return null; for (; 3 !== instance.nodeType;) { if ((1 !== instance.nodeType || "INPUT" !== instance.nodeName || "hidden" !== instance.type) && !inRootOrSingleton) return null; instance = getNextHydratable(instance.nextSibling); if (null === instance) return null; } return instance; } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { var nodeType = node.nodeType; if (1 === nodeType || 3 === nodeType) break; if (8 === nodeType) { nodeType = node.data; if (nodeType === SUSPENSE_START_DATA || nodeType === SUSPENSE_FALLBACK_START_DATA || nodeType === SUSPENSE_PENDING_START_DATA || nodeType === FORM_STATE_IS_MATCHING || nodeType === FORM_STATE_IS_NOT_MATCHING) break; if (nodeType === SUSPENSE_END_DATA) return null; } } return node; } function describeHydratableInstanceForDevWarnings(instance) { if (1 === instance.nodeType) { for (var JSCompiler_temp_const = instance.nodeName.toLowerCase(), serverDifferences = {}, attributes = instance.attributes, i = 0; i < attributes.length; i++) { var attr = attributes[i]; serverDifferences[getPropNameFromAttributeName(attr.name)] = "style" === attr.name.toLowerCase() ? getStylesObjectFromElement(instance) : attr.value; } return { type: JSCompiler_temp_const, props: serverDifferences }; } return 8 === instance.nodeType ? { type: "Suspense", props: {} } : instance.nodeValue; } function diffHydratedTextForDevWarnings(textInstance, text, parentProps) { return null === parentProps || !0 !== parentProps[SUPPRESS_HYDRATION_WARNING] ? (textInstance.nodeValue === text ? textInstance = null : (text = normalizeMarkupForTextOrAttribute(text), textInstance = normalizeMarkupForTextOrAttribute(textInstance.nodeValue) === text ? null : textInstance.nodeValue), textInstance) : null; } function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) { suspenseInstance = suspenseInstance.nextSibling; for (var depth = 0; suspenseInstance;) { if (8 === suspenseInstance.nodeType) { var data = suspenseInstance.data; if (data === SUSPENSE_END_DATA) { if (0 === depth) return getNextHydratable(suspenseInstance.nextSibling); depth--; } else data !== SUSPENSE_START_DATA && data !== SUSPENSE_FALLBACK_START_DATA && data !== SUSPENSE_PENDING_START_DATA || depth++; } suspenseInstance = suspenseInstance.nextSibling; } return null; } function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance;) { if (8 === targetInstance.nodeType) { var data = targetInstance.data; if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) { if (0 === depth) return targetInstance; depth--; } else data === SUSPENSE_END_DATA && depth++; } targetInstance = targetInstance.previousSibling; } return null; } function commitHydratedContainer(container) { retryIfBlockedOn(container); } function commitHydratedSuspenseInstance(suspenseInstance) { retryIfBlockedOn(suspenseInstance); } function resolveSingletonInstance(type, props, rootContainerInstance, hostContext, validateDOMNestingDev) { validateDOMNestingDev && validateDOMNesting(type, hostContext.ancestorInfo); props = getOwnerDocumentFromRootContainer(rootContainerInstance); switch (type) { case "html": type = props.documentElement; if (!type) throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page."); return type; case "head": type = props.head; if (!type) throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page."); return type; case "body": type = props.body; if (!type) throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page."); return type; default: throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React."); } } function acquireSingletonInstance(type, props, instance, internalInstanceHandle) { if (getInstanceFromNode(instance)) { var tagName = instance.tagName.toLowerCase(); console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.", tagName, tagName, tagName); } switch (type) { case "html": case "head": case "body": break; default: console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React."); } for (tagName = instance.attributes; tagName.length;) instance.removeAttributeNode(tagName[0]); setInitialProperties(instance, type, props); instance[internalInstanceKey] = internalInstanceHandle; instance[internalPropsKey] = props; } function getHoistableRoot(container) { return "function" === typeof container.getRootNode ? container.getRootNode() : container.ownerDocument; } function preconnectAs(rel, href, crossOrigin) { var ownerDocument = globalDocument; if (ownerDocument && "string" === typeof href && href) { var limitedEscapedHref = escapeSelectorAttributeValueInsideDoubleQuotes(href); limitedEscapedHref = 'link[rel="' + rel + '"][href="' + limitedEscapedHref + '"]'; "string" === typeof crossOrigin && (limitedEscapedHref += '[crossorigin="' + crossOrigin + '"]'); preconnectsSet.has(limitedEscapedHref) || (preconnectsSet.add(limitedEscapedHref), rel = { rel: rel, crossOrigin: crossOrigin, href: href }, null === ownerDocument.querySelector(limitedEscapedHref) && (href = ownerDocument.createElement("link"), setInitialProperties(href, "link", rel), markNodeAsHoistable(href), ownerDocument.head.appendChild(href))); } } function getResource(type, currentProps, pendingProps, currentResource) { var resourceRoot = (resourceRoot = rootInstanceStackCursor.current) ? getHoistableRoot(resourceRoot) : null; if (!resourceRoot) throw Error('"resourceRoot" was expected to exist. This is a bug in React.'); switch (type) { case "meta": case "title": return null; case "style": return "string" === typeof pendingProps.precedence && "string" === typeof pendingProps.href ? (pendingProps = getStyleKey(pendingProps.href), currentProps = getResourcesFromRoot(resourceRoot).hoistableStyles, currentResource = currentProps.get(pendingProps), currentResource || (currentResource = { type: "style", instance: null, count: 0, state: null }, currentProps.set(pendingProps, currentResource)), currentResource) : { type: "void", instance: null, count: 0, state: null }; case "link": if ("stylesheet" === pendingProps.rel && "string" === typeof pendingProps.href && "string" === typeof pendingProps.precedence) { type = getStyleKey(pendingProps.href); var _styles = getResourcesFromRoot(resourceRoot).hoistableStyles, _resource = _styles.get(type); if (!_resource && (resourceRoot = resourceRoot.ownerDocument || resourceRoot, _resource = { type: "stylesheet", instance: null, count: 0, state: { loading: NotLoaded, preload: null } }, _styles.set(type, _resource), (_styles = resourceRoot.querySelector(getStylesheetSelectorFromKey(type))) && !_styles._p && (_resource.instance = _styles, _resource.state.loading = Loaded | Inserted), !preloadPropsMap.has(type))) { var preloadProps = { rel: "preload", as: "style", href: pendingProps.href, crossOrigin: pendingProps.crossOrigin, integrity: pendingProps.integrity, media: pendingProps.media, hrefLang: pendingProps.hrefLang, referrerPolicy: pendingProps.referrerPolicy }; preloadPropsMap.set(type, preloadProps); _styles || preloadStylesheet(resourceRoot, type, preloadProps, _resource.state); } if (currentProps && null === currentResource) throw pendingProps = "\n\n - " + describeLinkForResourceErrorDEV(currentProps) + "\n + " + describeLinkForResourceErrorDEV(pendingProps), Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." + pendingProps); return _resource; } if (currentProps && null !== currentResource) throw pendingProps = "\n\n - " + describeLinkForResourceErrorDEV(currentProps) + "\n + " + describeLinkForResourceErrorDEV(pendingProps), Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." + pendingProps); return null; case "script": return currentProps = pendingProps.async, pendingProps = pendingProps.src, "string" === typeof pendingProps && currentProps && "function" !== typeof currentProps && "symbol" !== typeof currentProps ? (pendingProps = getScriptKey(pendingProps), currentProps = getResourcesFromRoot(resourceRoot).hoistableScripts, currentResource = currentProps.get(pendingProps), currentResource || (currentResource = { type: "script", instance: null, count: 0, state: null }, currentProps.set(pendingProps, currentResource)), currentResource) : { type: "void", instance: null, count: 0, state: null }; default: throw Error('getResource encountered a type it did not expect: "' + type + '". this is a bug in React.'); } } function describeLinkForResourceErrorDEV(props) { var describedProps = 0, description = "<link"; "string" === typeof props.rel ? (describedProps++, description += ' rel="' + props.rel + '"') : hasOwnProperty.call(props, "rel") && (describedProps++, description += ' rel="' + (null === props.rel ? "null" : "invalid type " + typeof props.rel) + '"'); "string" === typeof props.href ? (describedProps++, description += ' href="' + props.href + '"') : hasOwnProperty.call(props, "href") && (describedProps++, description += ' href="' + (null === props.href ? "null" : "invalid type " + typeof props.href) + '"'); "string" === typeof props.precedence ? (describedProps++, description += ' precedence="' + props.precedence + '"') : hasOwnProperty.call(props, "precedence") && (describedProps++, description += " precedence={" + (null === props.precedence ? "null" : "invalid type " + typeof props.precedence) + "}"); Object.getOwnPropertyNames(props).length > describedProps && (description += " ..."); return description + " />"; } function getStyleKey(href) { return 'href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"'; } function getStylesheetSelectorFromKey(key) { return 'link[rel="stylesheet"][' + key + "]"; } function stylesheetPropsFromRawProps(rawProps) { return assign({}, rawProps, { "data-precedence": rawProps.precedence, precedence: null }); } function preloadStylesheet(ownerDocument, key, preloadProps, state) { ownerDocument.querySelector('link[rel="preload"][as="style"][' + key + "]") ? state.loading = Loaded : (key = ownerDocument.createElement("link"), state.preload = key, key.addEventListener("load", function () { return state.loading |= Loaded; }), key.addEventListener("error", function () { return state.loading |= Errored; }), setInitialProperties(key, "link", preloadProps), markNodeAsHoistable(key), ownerDocument.head.appendChild(key)); } function getScriptKey(src) { return '[src="' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '"]'; } function getScriptSelectorFromKey(key) { return "script[async]" + key; } function acquireResource(hoistableRoot, resource, props) { resource.count++; if (null === resource.instance) switch (resource.type) { case "style": var instance = hoistableRoot.querySelector('style[data-href~="' + escapeSelectorAttributeValueInsideDoubleQuotes(props.href) + '"]'); if (instance) return resource.instance = instance, markNodeAsHoistable(instance), instance; var styleProps = assign({}, props, { "data-href": props.href, "data-precedence": props.precedence, href: null, precedence: null }); instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement("style"); markNodeAsHoistable(instance); setInitialProperties(instance, "style", styleProps); insertStylesheet(instance, props.precedence, hoistableRoot); return resource.instance = instance; case "stylesheet": styleProps = getStyleKey(props.href); var _instance = hoistableRoot.querySelector(getStylesheetSelectorFromKey(styleProps)); if (_instance) return resource.state.loading |= Inserted, resource.instance = _instance, markNodeAsHoistable(_instance), _instance; instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); _instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement("link"); markNodeAsHoistable(_instance); var linkInstance = _instance; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); setInitialProperties(_instance, "link", instance); resource.state.loading |= Inserted; insertStylesheet(_instance, props.precedence, hoistableRoot); return resource.instance = _instance; case "script": _instance = getScriptKey(props.src); if (styleProps = hoistableRoot.querySelector(getScriptSelectorFromKey(_instance))) return resource.instance = styleProps, markNodeAsHoistable(styleProps), styleProps; instance = props; if (styleProps = preloadPropsMap.get(_instance)) instance = assign({}, props), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; styleProps = hoistableRoot.createElement("script"); markNodeAsHoistable(styleProps); setInitialProperties(styleProps, "link", instance); hoistableRoot.head.appendChild(styleProps); return resource.instance = styleProps; case "void": return null; default: throw Error('acquireResource encountered a resource type it did not expect: "' + resource.type + '". this is a bug in React.'); } else "stylesheet" === resource.type && (resource.state.loading & Inserted) === NotLoaded && (instance = resource.instance, resource.state.loading |= Inserted, insertStylesheet(instance, props.precedence, hoistableRoot)); return resource.instance; } function insertStylesheet(instance, precedence, root) { for (var nodes = root.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'), last = nodes.length ? nodes[nodes.length - 1] : null, prior = last, i = 0; i < nodes.length; i++) { var node = nodes[i]; if (node.dataset.precedence === precedence) prior = node;else if (prior !== last) break; } prior ? prior.parentNode.insertBefore(instance, prior.nextSibling) : (precedence = 9 === root.nodeType ? root.head : root, precedence.insertBefore(instance, precedence.firstChild)); } function adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) { null == stylesheetProps.crossOrigin && (stylesheetProps.crossOrigin = preloadProps.crossOrigin); null == stylesheetProps.referrerPolicy && (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy); null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title); } function adoptPreloadPropsForScript(scriptProps, preloadProps) { null == scriptProps.crossOrigin && (scriptProps.crossOrigin = preloadProps.crossOrigin); null == scriptProps.referrerPolicy && (scriptProps.referrerPolicy = preloadProps.referrerPolicy); null == scriptProps.integrity && (scriptProps.integrity = preloadProps.integrity); } function getHydratableHoistableCache(type, keyAttribute, ownerDocument) { if (null === tagCaches) { var cache = new Map(); var caches = tagCaches = new Map(); caches.set(ownerDocument, cache); } else caches = tagCaches, cache = caches.get(ownerDocument), cache || (cache = new Map(), caches.set(ownerDocument, cache)); if (cache.has(type)) return cache; cache.set(type, null); ownerDocument = ownerDocument.getElementsByTagName(type); for (caches = 0; caches < ownerDocument.length; caches++) { var node = ownerDocument[caches]; if (!(node[internalHoistableMarker] || node[internalInstanceKey] || "link" === type && "stylesheet" === node.getAttribute("rel")) && node.namespaceURI !== SVG_NAMESPACE) { var nodeKey = node.getAttribute(keyAttribute) || ""; nodeKey = type + nodeKey; var existing = cache.get(nodeKey); existing ? existing.push(node) : cache.set(nodeKey, [node]); } } return cache; } function mountHoistable(hoistableRoot, type, instance) { hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; hoistableRoot.head.insertBefore(instance, "title" === type ? hoistableRoot.querySelector("head > title") : null); } function isHostHoistableType(type, props, hostContext) { var outsideHostContainerContext = !hostContext.ancestorInfo.containerTagInScope; if (hostContext.context === HostContextNamespaceSvg || null != props.itemProp) return !outsideHostContainerContext || null == props.itemProp || "meta" !== type && "title" !== type && "style" !== type && "link" !== type && "script" !== type || console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.", type, type), !1; switch (type) { case "meta": case "title": return !0; case "style": if ("string" !== typeof props.precedence || "string" !== typeof props.href || "" === props.href) { outsideHostContainerContext && console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflic with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`, or move the <style> to the <style> tag.'); break; } return !0; case "link": if ("string" !== typeof props.rel || "string" !== typeof props.href || "" === props.href || props.onLoad || props.onError) { if ("stylesheet" === props.rel && "string" === typeof props.precedence) { type = props.href; var onError = props.onError, disabled = props.disabled; hostContext = []; props.onLoad && hostContext.push("`onLoad`"); onError && hostContext.push("`onError`"); null != disabled && hostContext.push("`disabled`"); onError = propNamesListJoin(hostContext, "and"); onError += 1 === hostContext.length ? " prop" : " props"; disabled = 1 === hostContext.length ? "an " + onError : "the " + onError; hostContext.length && console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.', type, disabled, onError); } outsideHostContainerContext && ("string" !== typeof props.rel || "string" !== typeof props.href || "" === props.href ? console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag") : (props.onError || props.onLoad) && console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.")); break; } switch (props.rel) { case "stylesheet": return type = props.precedence, props = props.disabled, "string" !== typeof type && outsideHostContainerContext && console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'), "string" === typeof type && null == props; default: return !0; } case "script": type = props.async && "function" !== typeof props.async && "symbol" !== typeof props.async; if (!type || props.onLoad || props.onError || !props.src || "string" !== typeof props.src) { outsideHostContainerContext && (type ? props.onLoad || props.onError ? console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.") : console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>.") : console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.')); break; } return !0; case "noscript": case "template": outsideHostContainerContext && console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.", type); } return !1; } function preloadResource(resource) { return "stylesheet" === resource.type && (resource.state.loading & Settled) === NotLoaded ? !1 : !0; } function noop() {} function suspendResource(hoistableRoot, resource, props) { if (null === suspendedState) throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."); var state = suspendedState; if ("stylesheet" === resource.type && ("string" !== typeof props.media || !1 !== matchMedia(props.media).matches) && (resource.state.loading & Inserted) === NotLoaded) { if (null === resource.instance) { var key = getStyleKey(props.href), instance = hoistableRoot.querySelector(getStylesheetSelectorFromKey(key)); if (instance) { hoistableRoot = instance._p; null !== hoistableRoot && "object" === typeof hoistableRoot && "function" === typeof hoistableRoot.then && (state.count++, state = onUnsuspend.bind(state), hoistableRoot.then(state, state)); resource.state.loading |= Inserted; resource.instance = instance; markNodeAsHoistable(instance); return; } instance = hoistableRoot.ownerDocument || hoistableRoot; props = stylesheetPropsFromRawProps(props); (key = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(props, key); instance = instance.createElement("link"); markNodeAsHoistable(instance); var linkInstance = instance; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); setInitialProperties(instance, "link", props); resource.instance = instance; } null === state.stylesheets && (state.stylesheets = new Map()); state.stylesheets.set(resource, hoistableRoot); (hoistableRoot = resource.state.preload) && (resource.state.loading & Settled) === NotLoaded && (state.count++, resource = onUnsuspend.bind(state), hoistableRoot.addEventListener("load", resource), hoistableRoot.addEventListener("error", resource)); } } function waitForCommitToBeReady() { if (null === suspendedState) throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."); var state = suspendedState; state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); return 0 < state.count ? function (commit) { var stylesheetTimer = setTimeout(function () { state.stylesheets && insertSuspendedStylesheets(state, state.stylesheets); if (state.unsuspend) { var unsuspend = state.unsuspend; state.unsuspend = null; unsuspend(); } }, 6e4); state.unsuspend = commit; return function () { state.unsuspend = null; clearTimeout(stylesheetTimer); }; } : null; } function onUnsuspend() { this.count--; if (0 === this.count) if (this.stylesheets) insertSuspendedStylesheets(this, this.stylesheets);else if (this.unsuspend) { var unsuspend = this.unsuspend; this.unsuspend = null; unsuspend(); } } function insertSuspendedStylesheets(state, resources) { state.stylesheets = null; null !== state.unsuspend && (state.count++, precedencesByRoot = new Map(), resources.forEach(insertStylesheetIntoRoot, state), precedencesByRoot = null, onUnsuspend.call(state)); } function insertStylesheetIntoRoot(root, resource) { if (!(resource.state.loading & Inserted)) { var precedences = precedencesByRoot.get(root); if (precedences) var last = precedences.get(LAST_PRECEDENCE);else { precedences = new Map(); precedencesByRoot.set(root, precedences); for (var nodes = root.querySelectorAll("link[data-precedence],style[data-precedence]"), i = 0; i < nodes.length; i++) { var node = nodes[i]; if ("LINK" === node.nodeName || "not all" !== node.getAttribute("media")) precedences.set(node.dataset.precedence, node), last = node; } last && precedences.set(LAST_PRECEDENCE, last); } nodes = resource.instance; node = nodes.getAttribute("data-precedence"); i = precedences.get(node) || last; i === last && precedences.set(LAST_PRECEDENCE, nodes); precedences.set(node, nodes); this.count++; last = onUnsuspend.bind(this); nodes.addEventListener("load", last); nodes.addEventListener("error", last); i ? i.parentNode.insertBefore(nodes, i.nextSibling) : (root = 9 === root.nodeType ? root.head : root, root.insertBefore(nodes, root.firstChild)); resource.state.loading |= Inserted; } } function bindToConsole(methodName, args, badgeName) { var offset = 0; switch (methodName) { case "dir": case "dirxml": case "groupEnd": case "table": return bind.apply(console[methodName], [console].concat(args)); case "assert": offset = 1; } args = args.slice(0); "string" === typeof args[offset] ? args.splice(offset, 1, badgeFormat + args[offset], badgeStyle, pad + badgeName + pad, resetStyle) : args.splice(offset, 0, badgeFormat, badgeStyle, pad + badgeName + pad, resetStyle); args.unshift(console); return bind.apply(console[methodName], args); } function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, formState) { this.tag = 1; this.containerInfo = containerInfo; this.finishedWork = this.pingCache = this.current = this.pendingChildren = null; this.timeoutHandle = noTimeout; this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null; this.callbackPriority = 0; this.expirationTimes = createLaneMap(-1); this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.finishedLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0; this.entanglements = createLaneMap(0); this.hiddenUpdates = createLaneMap(null); this.identifierPrefix = identifierPrefix; this.onUncaughtError = onUncaughtError; this.onCaughtError = onCaughtError; this.onRecoverableError = onRecoverableError; this.pooledCache = null; this.pooledCacheLanes = 0; this.formState = formState; this.incompleteTransitions = new Map(); this.passiveEffectDuration = this.effectDuration = -0; this.memoizedUpdaters = new Set(); containerInfo = this.pendingUpdatersLaneMap = []; for (tag = 0; 31 > tag; tag++) containerInfo.push(new Set()); this._debugRootType = hydrate ? "hydrateRoot()" : "createRoot()"; } function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, formState) { containerInfo = new FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, formState); tag = ConcurrentMode; !0 === isStrictMode && (tag |= StrictLegacyMode | StrictEffectsMode); isDevToolsPresent && (tag |= ProfileMode); isStrictMode = createFiber(3, null, null, tag); containerInfo.current = isStrictMode; isStrictMode.stateNode = containerInfo; tag = createCache(); retainCache(tag); containerInfo.pooledCache = tag; retainCache(tag); isStrictMode.memoizedState = { element: initialChildren, isDehydrated: hydrate, cache: tag }; initializeUpdateQueue(isStrictMode); return containerInfo; } function getContextForSubtree(parentComponent) { if (!parentComponent) return emptyContextObject; parentComponent = emptyContextObject; return parentComponent; } function updateContainerSync(element, container, parentComponent, callback) { 0 === container.tag && flushPassiveEffects(); updateContainerImpl(container.current, 2, element, container, parentComponent, callback); return 2; } function updateContainerImpl(rootFiber, lane, element, container, parentComponent, callback) { if (injectedHook && "function" === typeof injectedHook.onScheduleFiberRoot) try { injectedHook.onScheduleFiberRoot(rendererID, container, element); } catch (err) { hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %s", err)); } null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markRenderScheduled && injectedProfilingHooks.markRenderScheduled(lane); parentComponent = getContextForSubtree(parentComponent); null === container.context ? container.context = parentComponent : container.pendingContext = parentComponent; isRendering && null !== current && !didWarnAboutNestedUpdates && (didWarnAboutNestedUpdates = !0, console.error("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.", getComponentNameFromFiber(current) || "Unknown")); container = createUpdate(lane); container.payload = { element: element }; callback = void 0 === callback ? null : callback; null !== callback && ("function" !== typeof callback && console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.", callback), container.callback = callback); element = enqueueUpdate(rootFiber, container, lane); null !== element && (scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { fiber = fiber.memoizedState; if (null !== fiber && null !== fiber.dehydrated) { var a = fiber.retryLane; fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane; } } function markRetryLaneIfNotHydrated(fiber, retryLane) { markRetryLaneImpl(fiber, retryLane); (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane); } function attemptContinuousHydration(fiber) { if (13 === fiber.tag) { var root = enqueueConcurrentRenderForLane(fiber, 67108864); null !== root && scheduleUpdateOnFiber(root, fiber, 67108864); markRetryLaneIfNotHydrated(fiber, 67108864); } } function getCurrentFiberForDevTools() { return current; } function getLaneLabelMap() { for (var map = new Map(), lane = 1, index = 0; 31 > index; index++) { var label = getLabelForLane(lane); map.set(lane, label); lane *= 2; } return map; } function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) { var prevTransition = ReactSharedInternals.T; ReactSharedInternals.T = null; var previousPriority = ReactDOMSharedInternals.p; try { ReactDOMSharedInternals.p = DiscreteEventPriority, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); } finally { ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition; } } function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) { var prevTransition = ReactSharedInternals.T; ReactSharedInternals.T = null; var previousPriority = ReactDOMSharedInternals.p; try { ReactDOMSharedInternals.p = ContinuousEventPriority, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); } finally { ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition; } } function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) { if (_enabled) { var blockedOn = findInstanceBlockingEvent(nativeEvent); if (null === blockedOn) dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer), clearIfContinuousEvent(domEventName, nativeEvent);else if (queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)) nativeEvent.stopPropagation();else if (clearIfContinuousEvent(domEventName, nativeEvent), eventSystemFlags & 4 && -1 < discreteReplayableEvents.indexOf(domEventName)) { for (; null !== blockedOn;) { var fiber = getInstanceFromNode(blockedOn); if (null !== fiber) switch (fiber.tag) { case 3: fiber = fiber.stateNode; if (fiber.current.memoizedState.isDehydrated) { var lanes = getHighestPriorityLanes(fiber.pendingLanes); if (0 !== lanes) { var root = fiber; root.pendingLanes |= 2; for (root.entangledLanes |= 2; lanes;) { var lane = 1 << 31 - clz32(lanes); root.entanglements[1] |= lane; lanes &= ~lane; } ensureRootIsScheduled(fiber); (executionContext & (RenderContext | CommitContext)) === NoContext && (workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS, flushSyncWorkAcrossRoots_impl(0, !1)); } } break; case 13: root = enqueueConcurrentRenderForLane(fiber, 2), null !== root && scheduleUpdateOnFiber(root, fiber, 2), flushSyncWork$1(), markRetryLaneIfNotHydrated(fiber, 2); } fiber = findInstanceBlockingEvent(nativeEvent); null === fiber && dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer); if (fiber === blockedOn) break; blockedOn = fiber; } null !== blockedOn && nativeEvent.stopPropagation(); } else dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer); } } function findInstanceBlockingEvent(nativeEvent) { nativeEvent = getEventTarget(nativeEvent); return findInstanceBlockingTarget(nativeEvent); } function findInstanceBlockingTarget(targetNode) { return_targetInst = null; targetNode = getClosestInstanceFromNode(targetNode); if (null !== targetNode) { var nearestMounted = getNearestMountedFiber(targetNode); if (null === nearestMounted) targetNode = null;else { var tag = nearestMounted.tag; if (13 === tag) { targetNode = getSuspenseInstanceFromFiber(nearestMounted); if (null !== targetNode) return targetNode; targetNode = null; } else if (3 === tag) { if (nearestMounted.stateNode.current.memoizedState.isDehydrated) return 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null; targetNode = null; } else nearestMounted !== targetNode && (targetNode = null); } } return_targetInst = targetNode; return null; } function getEventPriority(domEventName) { switch (domEventName) { case "beforetoggle": case "cancel": case "click": case "close": case "contextmenu": case "copy": case "cut": case "auxclick": case "dblclick": case "dragend": case "dragstart": case "drop": case "focusin": case "focusout": case "input": case "invalid": case "keydown": case "keypress": case "keyup": case "mousedown": case "mouseup": case "paste": case "pause": case "play": case "pointercancel": case "pointerdown": case "pointerup": case "ratechange": case "reset": case "resize": case "seeked": case "submit": case "toggle": case "touchcancel": case "touchend": case "touchstart": case "volumechange": case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": case "compositionupdate": case "beforeblur": case "afterblur": case "beforeinput": case "blur": case "fullscreenchange": case "focus": case "hashchange": case "popstate": case "select": case "selectstart": return DiscreteEventPriority; case "drag": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "mousemove": case "mouseout": case "mouseover": case "pointermove": case "pointerout": case "pointerover": case "scroll": case "touchmove": case "wheel": case "mouseenter": case "mouseleave": case "pointerenter": case "pointerleave": return ContinuousEventPriority; case "message": switch (getCurrentPriorityLevel()) { case ImmediatePriority: return DiscreteEventPriority; case UserBlockingPriority: return ContinuousEventPriority; case NormalPriority$1: case LowPriority: return DefaultEventPriority; case IdlePriority: return IdleEventPriority; default: return DefaultEventPriority; } default: return DefaultEventPriority; } } function clearIfContinuousEvent(domEventName, nativeEvent) { switch (domEventName) { case "focusin": case "focusout": queuedFocus = null; break; case "dragenter": case "dragleave": queuedDrag = null; break; case "mouseover": case "mouseout": queuedMouse = null; break; case "pointerover": case "pointerout": queuedPointers.delete(nativeEvent.pointerId); break; case "gotpointercapture": case "lostpointercapture": queuedPointerCaptures.delete(nativeEvent.pointerId); } } function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { if (null === existingQueuedEvent || existingQueuedEvent.nativeEvent !== nativeEvent) return existingQueuedEvent = { blockedOn: blockedOn, domEventName: domEventName, eventSystemFlags: eventSystemFlags, nativeEvent: nativeEvent, targetContainers: [targetContainer] }, null !== blockedOn && (blockedOn = getInstanceFromNode(blockedOn), null !== blockedOn && attemptContinuousHydration(blockedOn)), existingQueuedEvent; existingQueuedEvent.eventSystemFlags |= eventSystemFlags; blockedOn = existingQueuedEvent.targetContainers; null !== targetContainer && -1 === blockedOn.indexOf(targetContainer) && blockedOn.push(targetContainer); return existingQueuedEvent; } function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { switch (domEventName) { case "focusin": return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; case "dragenter": return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; case "mouseover": return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; case "pointerover": var pointerId = nativeEvent.pointerId; queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)); return !0; case "gotpointercapture": return pointerId = nativeEvent.pointerId, queuedPointerCaptures.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)), !0; } return !1; } function attemptExplicitHydrationTarget(queuedTarget) { var targetInst = getClosestInstanceFromNode(queuedTarget.target); if (null !== targetInst) { var nearestMounted = getNearestMountedFiber(targetInst); if (null !== nearestMounted) if (targetInst = nearestMounted.tag, 13 === targetInst) { if (targetInst = getSuspenseInstanceFromFiber(nearestMounted), null !== targetInst) { queuedTarget.blockedOn = targetInst; runWithPriority(queuedTarget.priority, function () { if (13 === nearestMounted.tag) { var lane = requestUpdateLane(nearestMounted), root = enqueueConcurrentRenderForLane(nearestMounted, lane); null !== root && scheduleUpdateOnFiber(root, nearestMounted, lane); markRetryLaneIfNotHydrated(nearestMounted, lane); } }); return; } } else if (3 === targetInst && nearestMounted.stateNode.current.memoizedState.isDehydrated) { queuedTarget.blockedOn = 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null; return; } } queuedTarget.blockedOn = null; } function attemptReplayContinuousQueuedEvent(queuedEvent) { if (null !== queuedEvent.blockedOn) return !1; for (var targetContainers = queuedEvent.targetContainers; 0 < targetContainers.length;) { var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent); if (null === nextBlockedOn) { nextBlockedOn = queuedEvent.nativeEvent; var nativeEventClone = new nextBlockedOn.constructor(nextBlockedOn.type, nextBlockedOn), event = nativeEventClone; null !== currentReplayingEvent && console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."); currentReplayingEvent = event; nextBlockedOn.target.dispatchEvent(nativeEventClone); null === currentReplayingEvent && console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."); currentReplayingEvent = null; } else return targetContainers = getInstanceFromNode(nextBlockedOn), null !== targetContainers && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn, !1; targetContainers.shift(); } return !0; } function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) { attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key); } function replayUnblockedEvents() { hasScheduledReplayAttempt = !1; null !== queuedFocus && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null); null !== queuedDrag && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null); null !== queuedMouse && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null); queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap); queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap); } function scheduleCallbackIfUnblocked(queuedEvent, unblocked) { queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt = !0, Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents))); } function scheduleReplayQueueIfNeeded(formReplayingQueue) { lastScheduledReplayQueue !== formReplayingQueue && (lastScheduledReplayQueue = formReplayingQueue, Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, function () { lastScheduledReplayQueue === formReplayingQueue && (lastScheduledReplayQueue = null); for (var i = 0; i < formReplayingQueue.length; i += 3) { var form = formReplayingQueue[i], submitterOrAction = formReplayingQueue[i + 1], formData = formReplayingQueue[i + 2]; if ("function" !== typeof submitterOrAction) if (null === findInstanceBlockingTarget(submitterOrAction || form)) continue;else break; var formInst = getInstanceFromNode(form); null !== formInst && (formReplayingQueue.splice(i, 3), i -= 3, form = { pending: !0, data: formData, method: form.method, action: submitterOrAction }, Object.freeze(form), startHostTransition(formInst, form, submitterOrAction, formData)); } })); } function retryIfBlockedOn(unblocked) { function unblock(queuedEvent) { return scheduleCallbackIfUnblocked(queuedEvent, unblocked); } null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked); null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked); null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked); queuedPointers.forEach(unblock); queuedPointerCaptures.forEach(unblock); for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) { var queuedTarget = queuedExplicitHydrationTargets[i]; queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null); } for (; 0 < queuedExplicitHydrationTargets.length && (i = queuedExplicitHydrationTargets[0], null === i.blockedOn);) attemptExplicitHydrationTarget(i), null === i.blockedOn && queuedExplicitHydrationTargets.shift(); i = (unblocked.ownerDocument || unblocked).$$reactFormReplay; if (null != i) for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) { var form = i[queuedTarget], submitterOrAction = i[queuedTarget + 1], formProps = form[internalPropsKey] || null; if ("function" === typeof submitterOrAction) formProps || scheduleReplayQueueIfNeeded(i);else if (formProps) { var action = null; if (submitterOrAction && submitterOrAction.hasAttribute("formAction")) { if (form = submitterOrAction, formProps = submitterOrAction[internalPropsKey] || null) action = formProps.formAction;else { if (null !== findInstanceBlockingTarget(form)) continue; } } else action = formProps.action; "function" === typeof action ? i[queuedTarget + 1] = action : (i.splice(queuedTarget, 3), queuedTarget -= 3); scheduleReplayQueueIfNeeded(i); } } } function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; } function ReactDOMHydrationRoot(internalRoot) { this._internalRoot = internalRoot; } function warnIfReactDOMContainerInDEV(container) { container[internalContainerInstanceKey] && (container._reactRootContainer ? console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.") : console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.")); } "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); var Scheduler = __webpack_require__(/*! scheduler */ "./node_modules/scheduler/index.js"), React = __webpack_require__(/*! react */ "./node_modules/react/index.js"), ReactDOM = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js"), REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"); Symbol.for("react.scope"); Symbol.for("react.debug_trace_mode"); var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); Symbol.for("react.legacy_hidden"); Symbol.for("react.tracing_marker"); var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, assign = Object.assign, disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd; disabledLog.__reactDisabledLog = !0; var prefix, suffix, reentry = !1; var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)(); var current = null, isRendering = !1, isArrayImpl = Array.isArray, ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, NotPending = Object.freeze({ pending: !1, data: null, method: null, action: null }), valueStack = []; var fiberStack = []; var index$jscomp$0 = -1, contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null), hasOwnProperty = Object.prototype.hasOwnProperty, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now$1 = Scheduler.unstable_now, getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, injectedProfilingHooks = null, hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, DefaultEventPriority = 32, IdleEventPriority = 268435456, randomKey = Math.random().toString(36).slice(2), internalInstanceKey = "__reactFiber$" + randomKey, internalPropsKey = "__reactProps$" + randomKey, internalContainerInstanceKey = "__reactContainer$" + randomKey, internalEventHandlersKey = "__reactEvents$" + randomKey, internalEventHandlerListenersKey = "__reactListeners$" + randomKey, internalEventHandlesSetKey = "__reactHandles$" + randomKey, internalRootNodeResourcesKey = "__reactResources$" + randomKey, internalHoistableMarker = "__reactMarker$" + randomKey, allNativeEvents = new Set(), registrationNameDependencies = {}, possibleRegistrationNames = {}, canUseDOM = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), hasReadOnlyValue = { button: !0, checkbox: !0, image: !0, hidden: !0, radio: !0, reset: !0, submit: !0 }, VALID_ATTRIBUTE_NAME_REGEX = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), illegalAttributeNameCache = {}, validatedAttributeNameCache = {}, escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g, didWarnValueDefaultValue$1 = !1, didWarnCheckedDefaultChecked = !1, didWarnSelectedSetOnOption = !1, didWarnInvalidChild = !1, didWarnInvalidInnerHTML = !1; var didWarnValueDefaultValue = !1; var valuePropNames = ["value", "defaultValue"], didWarnValDefaultVal = !1, needsEscaping = /["'&<>\n\t]|^\s|\s$/, specialTags = "address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "), inScopeTags = "applet caption html table td th marquee object template foreignObject desc title".split(" "), buttonScopeTags = inScopeTags.concat(["button"]), impliedEndTags = "dd dt li option optgroup p rp rt".split(" "), emptyAncestorInfoDev = { current: null, formTag: null, aTagInScope: null, buttonTagInScope: null, nobrTagInScope: null, pTagInButtonScope: null, listItemTagAutoclosing: null, dlItemTagAutoclosing: null, containerTagInScope: null }, didWarn = {}, MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML", SVG_NAMESPACE = "http://www.w3.org/2000/svg", shorthandToLonghand = { animation: "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "), background: "backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "), backgroundPosition: ["backgroundPositionX", "backgroundPositionY"], border: "borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "), borderBlockEnd: ["borderBlockEndColor", "borderBlockEndStyle", "borderBlockEndWidth"], borderBlockStart: ["borderBlockStartColor", "borderBlockStartStyle", "borderBlockStartWidth"], borderBottom: ["borderBottomColor", "borderBottomStyle", "borderBottomWidth"], borderColor: ["borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor"], borderImage: ["borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth"], borderInlineEnd: ["borderInlineEndColor", "borderInlineEndStyle", "borderInlineEndWidth"], borderInlineStart: ["borderInlineStartColor", "borderInlineStartStyle", "borderInlineStartWidth"], borderLeft: ["borderLeftColor", "borderLeftStyle", "borderLeftWidth"], borderRadius: ["borderBottomLeftRadius", "borderBottomRightRadius", "borderTopLeftRadius", "borderTopRightRadius"], borderRight: ["borderRightColor", "borderRightStyle", "borderRightWidth"], borderStyle: ["borderBottomStyle", "borderLeftStyle", "borderRightStyle", "borderTopStyle"], borderTop: ["borderTopColor", "borderTopStyle", "borderTopWidth"], borderWidth: ["borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderTopWidth"], columnRule: ["columnRuleColor", "columnRuleStyle", "columnRuleWidth"], columns: ["columnCount", "columnWidth"], flex: ["flexBasis", "flexGrow", "flexShrink"], flexFlow: ["flexDirection", "flexWrap"], font: "fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "), fontVariant: "fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "), gap: ["columnGap", "rowGap"], grid: "gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "), gridArea: ["gridColumnEnd", "gridColumnStart", "gridRowEnd", "gridRowStart"], gridColumn: ["gridColumnEnd", "gridColumnStart"], gridColumnGap: ["columnGap"], gridGap: ["columnGap", "rowGap"], gridRow: ["gridRowEnd", "gridRowStart"], gridRowGap: ["rowGap"], gridTemplate: ["gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows"], listStyle: ["listStyleImage", "listStylePosition", "listStyleType"], margin: ["marginBottom", "marginLeft", "marginRight", "marginTop"], marker: ["markerEnd", "markerMid", "markerStart"], mask: "maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "), maskPosition: ["maskPositionX", "maskPositionY"], outline: ["outlineColor", "outlineStyle", "outlineWidth"], overflow: ["overflowX", "overflowY"], padding: ["paddingBottom", "paddingLeft", "paddingRight", "paddingTop"], placeContent: ["alignContent", "justifyContent"], placeItems: ["alignItems", "justifyItems"], placeSelf: ["alignSelf", "justifySelf"], textDecoration: ["textDecorationColor", "textDecorationLine", "textDecorationStyle"], textEmphasis: ["textEmphasisColor", "textEmphasisStyle"], transition: ["transitionDelay", "transitionDuration", "transitionProperty", "transitionTimingFunction"], wordWrap: ["overflowWrap"] }, uppercasePattern = /([A-Z])/g, msPattern$1 = /^ms-/, badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/, msPattern = /^-ms-/, hyphenPattern = /-(.)/g, badStyleValueWithSemicolonPattern = /;\s*$/, warnedStyleNames = {}, warnedStyleValues = {}, warnedForNaNValue = !1, warnedForInfinityValue = !1, unitlessNumbers = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")), aliases = new Map([["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"], ["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift", "baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"], ["dominantBaseline", "dominant-baseline"], ["enableBackground", "enable-background"], ["fillOpacity", "fill-opacity"], ["fillRule", "fill-rule"], ["floodColor", "flood-color"], ["floodOpacity", "flood-opacity"], ["fontFamily", "font-family"], ["fontSize", "font-size"], ["fontSizeAdjust", "font-size-adjust"], ["fontStretch", "font-stretch"], ["fontStyle", "font-style"], ["fontVariant", "font-variant"], ["fontWeight", "font-weight"], ["glyphName", "glyph-name"], ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], ["glyphOrientationVertical", "glyph-orientation-vertical"], ["horizAdvX", "horiz-adv-x"], ["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing", "letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"], ["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"], ["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["renderingIntent", "rendering-intent"], ["shapeRendering", "shape-rendering"], ["stopColor", "stop-color"], ["stopOpacity", "stop-opacity"], ["strikethroughPosition", "strikethrough-position"], ["strikethroughThickness", "strikethrough-thickness"], ["strokeDasharray", "stroke-dasharray"], ["strokeDashoffset", "stroke-dashoffset"], ["strokeLinecap", "stroke-linecap"], ["strokeLinejoin", "stroke-linejoin"], ["strokeMiterlimit", "stroke-miterlimit"], ["strokeOpacity", "stroke-opacity"], ["strokeWidth", "stroke-width"], ["textAnchor", "text-anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"], ["transformOrigin", "transform-origin"], ["underlinePosition", "underline-position"], ["underlineThickness", "underline-thickness"], ["unicodeBidi", "unicode-bidi"], ["unicodeRange", "unicode-range"], ["unitsPerEm", "units-per-em"], ["vAlphabetic", "v-alphabetic"], ["vHanging", "v-hanging"], ["vIdeographic", "v-ideographic"], ["vMathematical", "v-mathematical"], ["vectorEffect", "vector-effect"], ["vertAdvY", "vert-adv-y"], ["vertOriginX", "vert-origin-x"], ["vertOriginY", "vert-origin-y"], ["wordSpacing", "word-spacing"], ["writingMode", "writing-mode"], ["xmlnsXlink", "xmlns:xlink"], ["xHeight", "x-height"]]), possibleStandardNames = { accept: "accept", acceptcharset: "acceptCharset", "accept-charset": "acceptCharset", accesskey: "accessKey", action: "action", allowfullscreen: "allowFullScreen", alt: "alt", as: "as", async: "async", autocapitalize: "autoCapitalize", autocomplete: "autoComplete", autocorrect: "autoCorrect", autofocus: "autoFocus", autoplay: "autoPlay", autosave: "autoSave", capture: "capture", cellpadding: "cellPadding", cellspacing: "cellSpacing", challenge: "challenge", charset: "charSet", checked: "checked", children: "children", cite: "cite", class: "className", classid: "classID", classname: "className", cols: "cols", colspan: "colSpan", content: "content", contenteditable: "contentEditable", contextmenu: "contextMenu", controls: "controls", controlslist: "controlsList", coords: "coords", crossorigin: "crossOrigin", dangerouslysetinnerhtml: "dangerouslySetInnerHTML", data: "data", datetime: "dateTime", default: "default", defaultchecked: "defaultChecked", defaultvalue: "defaultValue", defer: "defer", dir: "dir", disabled: "disabled", disablepictureinpicture: "disablePictureInPicture", disableremoteplayback: "disableRemotePlayback", download: "download", draggable: "draggable", enctype: "encType", enterkeyhint: "enterKeyHint", fetchpriority: "fetchPriority", for: "htmlFor", form: "form", formmethod: "formMethod", formaction: "formAction", formenctype: "formEncType", formnovalidate: "formNoValidate", formtarget: "formTarget", frameborder: "frameBorder", headers: "headers", height: "height", hidden: "hidden", high: "high", href: "href", hreflang: "hrefLang", htmlfor: "htmlFor", httpequiv: "httpEquiv", "http-equiv": "httpEquiv", icon: "icon", id: "id", imagesizes: "imageSizes", imagesrcset: "imageSrcSet", inert: "inert", innerhtml: "innerHTML", inputmode: "inputMode", integrity: "integrity", is: "is", itemid: "itemID", itemprop: "itemProp", itemref: "itemRef", itemscope: "itemScope", itemtype: "itemType", keyparams: "keyParams", keytype: "keyType", kind: "kind", label: "label", lang: "lang", list: "list", loop: "loop", low: "low", manifest: "manifest", marginwidth: "marginWidth", marginheight: "marginHeight", max: "max", maxlength: "maxLength", media: "media", mediagroup: "mediaGroup", method: "method", min: "min", minlength: "minLength", multiple: "multiple", muted: "muted", name: "name", nomodule: "noModule", nonce: "nonce", novalidate: "noValidate", open: "open", optimum: "optimum", pattern: "pattern", placeholder: "placeholder", playsinline: "playsInline", poster: "poster", preload: "preload", profile: "profile", radiogroup: "radioGroup", readonly: "readOnly", referrerpolicy: "referrerPolicy", rel: "rel", required: "required", reversed: "reversed", role: "role", rows: "rows", rowspan: "rowSpan", sandbox: "sandbox", scope: "scope", scoped: "scoped", scrolling: "scrolling", seamless: "seamless", selected: "selected", shape: "shape", size: "size", sizes: "sizes", span: "span", spellcheck: "spellCheck", src: "src", srcdoc: "srcDoc", srclang: "srcLang", srcset: "srcSet", start: "start", step: "step", style: "style", summary: "summary", tabindex: "tabIndex", target: "target", title: "title", type: "type", usemap: "useMap", value: "value", width: "width", wmode: "wmode", wrap: "wrap", about: "about", accentheight: "accentHeight", "accent-height": "accentHeight", accumulate: "accumulate", additive: "additive", alignmentbaseline: "alignmentBaseline", "alignment-baseline": "alignmentBaseline", allowreorder: "allowReorder", alphabetic: "alphabetic", amplitude: "amplitude", arabicform: "arabicForm", "arabic-form": "arabicForm", ascent: "ascent", attributename: "attributeName", attributetype: "attributeType", autoreverse: "autoReverse", azimuth: "azimuth", basefrequency: "baseFrequency", baselineshift: "baselineShift", "baseline-shift": "baselineShift", baseprofile: "baseProfile", bbox: "bbox", begin: "begin", bias: "bias", by: "by", calcmode: "calcMode", capheight: "capHeight", "cap-height": "capHeight", clip: "clip", clippath: "clipPath", "clip-path": "clipPath", clippathunits: "clipPathUnits", cliprule: "clipRule", "clip-rule": "clipRule", color: "color", colorinterpolation: "colorInterpolation", "color-interpolation": "colorInterpolation", colorinterpolationfilters: "colorInterpolationFilters", "color-interpolation-filters": "colorInterpolationFilters", colorprofile: "colorProfile", "color-profile": "colorProfile", colorrendering: "colorRendering", "color-rendering": "colorRendering", contentscripttype: "contentScriptType", contentstyletype: "contentStyleType", cursor: "cursor", cx: "cx", cy: "cy", d: "d", datatype: "datatype", decelerate: "decelerate", descent: "descent", diffuseconstant: "diffuseConstant", direction: "direction", display: "display", divisor: "divisor", dominantbaseline: "dominantBaseline", "dominant-baseline": "dominantBaseline", dur: "dur", dx: "dx", dy: "dy", edgemode: "edgeMode", elevation: "elevation", enablebackground: "enableBackground", "enable-background": "enableBackground", end: "end", exponent: "exponent", externalresourcesrequired: "externalResourcesRequired", fill: "fill", fillopacity: "fillOpacity", "fill-opacity": "fillOpacity", fillrule: "fillRule", "fill-rule": "fillRule", filter: "filter", filterres: "filterRes", filterunits: "filterUnits", floodopacity: "floodOpacity", "flood-opacity": "floodOpacity", floodcolor: "floodColor", "flood-color": "floodColor", focusable: "focusable", fontfamily: "fontFamily", "font-family": "fontFamily", fontsize: "fontSize", "font-size": "fontSize", fontsizeadjust: "fontSizeAdjust", "font-size-adjust": "fontSizeAdjust", fontstretch: "fontStretch", "font-stretch": "fontStretch", fontstyle: "fontStyle", "font-style": "fontStyle", fontvariant: "fontVariant", "font-variant": "fontVariant", fontweight: "fontWeight", "font-weight": "fontWeight", format: "format", from: "from", fx: "fx", fy: "fy", g1: "g1", g2: "g2", glyphname: "glyphName", "glyph-name": "glyphName", glyphorientationhorizontal: "glyphOrientationHorizontal", "glyph-orientation-horizontal": "glyphOrientationHorizontal", glyphorientationvertical: "glyphOrientationVertical", "glyph-orientation-vertical": "glyphOrientationVertical", glyphref: "glyphRef", gradienttransform: "gradientTransform", gradientunits: "gradientUnits", hanging: "hanging", horizadvx: "horizAdvX", "horiz-adv-x": "horizAdvX", horizoriginx: "horizOriginX", "horiz-origin-x": "horizOriginX", ideographic: "ideographic", imagerendering: "imageRendering", "image-rendering": "imageRendering", in2: "in2", in: "in", inlist: "inlist", intercept: "intercept", k1: "k1", k2: "k2", k3: "k3", k4: "k4", k: "k", kernelmatrix: "kernelMatrix", kernelunitlength: "kernelUnitLength", kerning: "kerning", keypoints: "keyPoints", keysplines: "keySplines", keytimes: "keyTimes", lengthadjust: "lengthAdjust", letterspacing: "letterSpacing", "letter-spacing": "letterSpacing", lightingcolor: "lightingColor", "lighting-color": "lightingColor", limitingconeangle: "limitingConeAngle", local: "local", markerend: "markerEnd", "marker-end": "markerEnd", markerheight: "markerHeight", markermid: "markerMid", "marker-mid": "markerMid", markerstart: "markerStart", "marker-start": "markerStart", markerunits: "markerUnits", markerwidth: "markerWidth", mask: "mask", maskcontentunits: "maskContentUnits", maskunits: "maskUnits", mathematical: "mathematical", mode: "mode", numoctaves: "numOctaves", offset: "offset", opacity: "opacity", operator: "operator", order: "order", orient: "orient", orientation: "orientation", origin: "origin", overflow: "overflow", overlineposition: "overlinePosition", "overline-position": "overlinePosition", overlinethickness: "overlineThickness", "overline-thickness": "overlineThickness", paintorder: "paintOrder", "paint-order": "paintOrder", panose1: "panose1", "panose-1": "panose1", pathlength: "pathLength", patterncontentunits: "patternContentUnits", patterntransform: "patternTransform", patternunits: "patternUnits", pointerevents: "pointerEvents", "pointer-events": "pointerEvents", points: "points", pointsatx: "pointsAtX", pointsaty: "pointsAtY", pointsatz: "pointsAtZ", popover: "popover", popovertarget: "popoverTarget", popovertargetaction: "popoverTargetAction", prefix: "prefix", preservealpha: "preserveAlpha", preserveaspectratio: "preserveAspectRatio", primitiveunits: "primitiveUnits", property: "property", r: "r", radius: "radius", refx: "refX", refy: "refY", renderingintent: "renderingIntent", "rendering-intent": "renderingIntent", repeatcount: "repeatCount", repeatdur: "repeatDur", requiredextensions: "requiredExtensions", requiredfeatures: "requiredFeatures", resource: "resource", restart: "restart", result: "result", results: "results", rotate: "rotate", rx: "rx", ry: "ry", scale: "scale", security: "security", seed: "seed", shaperendering: "shapeRendering", "shape-rendering": "shapeRendering", slope: "slope", spacing: "spacing", specularconstant: "specularConstant", specularexponent: "specularExponent", speed: "speed", spreadmethod: "spreadMethod", startoffset: "startOffset", stddeviation: "stdDeviation", stemh: "stemh", stemv: "stemv", stitchtiles: "stitchTiles", stopcolor: "stopColor", "stop-color": "stopColor", stopopacity: "stopOpacity", "stop-opacity": "stopOpacity", strikethroughposition: "strikethroughPosition", "strikethrough-position": "strikethroughPosition", strikethroughthickness: "strikethroughThickness", "strikethrough-thickness": "strikethroughThickness", string: "string", stroke: "stroke", strokedasharray: "strokeDasharray", "stroke-dasharray": "strokeDasharray", strokedashoffset: "strokeDashoffset", "stroke-dashoffset": "strokeDashoffset", strokelinecap: "strokeLinecap", "stroke-linecap": "strokeLinecap", strokelinejoin: "strokeLinejoin", "stroke-linejoin": "strokeLinejoin", strokemiterlimit: "strokeMiterlimit", "stroke-miterlimit": "strokeMiterlimit", strokewidth: "strokeWidth", "stroke-width": "strokeWidth", strokeopacity: "strokeOpacity", "stroke-opacity": "strokeOpacity", suppresscontenteditablewarning: "suppressContentEditableWarning", suppresshydrationwarning: "suppressHydrationWarning", surfacescale: "surfaceScale", systemlanguage: "systemLanguage", tablevalues: "tableValues", targetx: "targetX", targety: "targetY", textanchor: "textAnchor", "text-anchor": "textAnchor", textdecoration: "textDecoration", "text-decoration": "textDecoration", textlength: "textLength", textrendering: "textRendering", "text-rendering": "textRendering", to: "to", transform: "transform", transformorigin: "transformOrigin", "transform-origin": "transformOrigin", typeof: "typeof", u1: "u1", u2: "u2", underlineposition: "underlinePosition", "underline-position": "underlinePosition", underlinethickness: "underlineThickness", "underline-thickness": "underlineThickness", unicode: "unicode", unicodebidi: "unicodeBidi", "unicode-bidi": "unicodeBidi", unicoderange: "unicodeRange", "unicode-range": "unicodeRange", unitsperem: "unitsPerEm", "units-per-em": "unitsPerEm", unselectable: "unselectable", valphabetic: "vAlphabetic", "v-alphabetic": "vAlphabetic", values: "values", vectoreffect: "vectorEffect", "vector-effect": "vectorEffect", version: "version", vertadvy: "vertAdvY", "vert-adv-y": "vertAdvY", vertoriginx: "vertOriginX", "vert-origin-x": "vertOriginX", vertoriginy: "vertOriginY", "vert-origin-y": "vertOriginY", vhanging: "vHanging", "v-hanging": "vHanging", videographic: "vIdeographic", "v-ideographic": "vIdeographic", viewbox: "viewBox", viewtarget: "viewTarget", visibility: "visibility", vmathematical: "vMathematical", "v-mathematical": "vMathematical", vocab: "vocab", widths: "widths", wordspacing: "wordSpacing", "word-spacing": "wordSpacing", writingmode: "writingMode", "writing-mode": "writingMode", x1: "x1", x2: "x2", x: "x", xchannelselector: "xChannelSelector", xheight: "xHeight", "x-height": "xHeight", xlinkactuate: "xlinkActuate", "xlink:actuate": "xlinkActuate", xlinkarcrole: "xlinkArcrole", "xlink:arcrole": "xlinkArcrole", xlinkhref: "xlinkHref", "xlink:href": "xlinkHref", xlinkrole: "xlinkRole", "xlink:role": "xlinkRole", xlinkshow: "xlinkShow", "xlink:show": "xlinkShow", xlinktitle: "xlinkTitle", "xlink:title": "xlinkTitle", xlinktype: "xlinkType", "xlink:type": "xlinkType", xmlbase: "xmlBase", "xml:base": "xmlBase", xmllang: "xmlLang", "xml:lang": "xmlLang", xmlns: "xmlns", "xml:space": "xmlSpace", xmlnsxlink: "xmlnsXlink", "xmlns:xlink": "xmlnsXlink", xmlspace: "xmlSpace", y1: "y1", y2: "y2", y: "y", ychannelselector: "yChannelSelector", z: "z", zoomandpan: "zoomAndPan" }, ariaProperties = { "aria-current": 0, "aria-description": 0, "aria-details": 0, "aria-disabled": 0, "aria-hidden": 0, "aria-invalid": 0, "aria-keyshortcuts": 0, "aria-label": 0, "aria-roledescription": 0, "aria-autocomplete": 0, "aria-checked": 0, "aria-expanded": 0, "aria-haspopup": 0, "aria-level": 0, "aria-modal": 0, "aria-multiline": 0, "aria-multiselectable": 0, "aria-orientation": 0, "aria-placeholder": 0, "aria-pressed": 0, "aria-readonly": 0, "aria-required": 0, "aria-selected": 0, "aria-sort": 0, "aria-valuemax": 0, "aria-valuemin": 0, "aria-valuenow": 0, "aria-valuetext": 0, "aria-atomic": 0, "aria-busy": 0, "aria-live": 0, "aria-relevant": 0, "aria-dropeffect": 0, "aria-grabbed": 0, "aria-activedescendant": 0, "aria-colcount": 0, "aria-colindex": 0, "aria-colspan": 0, "aria-controls": 0, "aria-describedby": 0, "aria-errormessage": 0, "aria-flowto": 0, "aria-labelledby": 0, "aria-owns": 0, "aria-posinset": 0, "aria-rowcount": 0, "aria-rowindex": 0, "aria-rowspan": 0, "aria-setsize": 0 }, warnedProperties$1 = {}, rARIA$1 = RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), rARIACamel$1 = RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), didWarnValueNull = !1, warnedProperties = {}, EVENT_NAME_REGEX = /^on./, INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/, rARIA = RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), rARIACamel = RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i, currentReplayingEvent = null, restoreTarget = null, restoreQueue = null, isInsideEventHandler = !1, passiveBrowserEventsSupported = !1; if (canUseDOM) try { var options$jscomp$0 = {}; Object.defineProperty(options$jscomp$0, "passive", { get: function () { passiveBrowserEventsSupported = !0; } }); window.addEventListener("test", options$jscomp$0, options$jscomp$0); window.removeEventListener("test", options$jscomp$0, options$jscomp$0); } catch (e) { passiveBrowserEventsSupported = !1; } var root = null, startText = null, fallbackText = null, EventInterface = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function (event) { return event.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0 }, SyntheticEvent = createSyntheticEvent(EventInterface), UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }), SyntheticUIEvent = createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface = assign({}, UIEventInterface, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: getEventModifierState, button: 0, buttons: 0, relatedTarget: function (event) { return void 0 === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget; }, movementX: function (event) { if ("movementX" in event) return event.movementX; event !== lastMouseEvent && (lastMouseEvent && "mousemove" === event.type ? (lastMovementX = event.screenX - lastMouseEvent.screenX, lastMovementY = event.screenY - lastMouseEvent.screenY) : lastMovementY = lastMovementX = 0, lastMouseEvent = event); return lastMovementX; }, movementY: function (event) { return "movementY" in event ? event.movementY : lastMovementY; } }), SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }), SyntheticDragEvent = createSyntheticEvent(DragEventInterface), FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }), SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), AnimationEventInterface = assign({}, EventInterface, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), ClipboardEventInterface = assign({}, EventInterface, { clipboardData: function (event) { return "clipboardData" in event ? event.clipboardData : window.clipboardData; } }), SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface = assign({}, EventInterface, { data: 0 }), SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), SyntheticInputEvent = SyntheticCompositionEvent, normalizeKey = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, translateToKey = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, modifierKeyToProp = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }, KeyboardEventInterface = assign({}, UIEventInterface, { key: function (nativeEvent) { if (nativeEvent.key) { var key = normalizeKey[nativeEvent.key] || nativeEvent.key; if ("Unidentified" !== key) return key; } return "keypress" === nativeEvent.type ? (nativeEvent = getEventCharCode(nativeEvent), 13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent)) : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type ? translateToKey[nativeEvent.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: getEventModifierState, charCode: function (event) { return "keypress" === event.type ? getEventCharCode(event) : 0; }, keyCode: function (event) { return "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; }, which: function (event) { return "keypress" === event.type ? getEventCharCode(event) : "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; } }), SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), PointerEventInterface = assign({}, MouseEventInterface, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), TouchEventInterface = assign({}, UIEventInterface, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: getEventModifierState }), SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), TransitionEventInterface = assign({}, EventInterface, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), WheelEventInterface = assign({}, MouseEventInterface, { deltaX: function (event) { return "deltaX" in event ? event.deltaX : "wheelDeltaX" in event ? -event.wheelDeltaX : 0; }, deltaY: function (event) { return "deltaY" in event ? event.deltaY : "wheelDeltaY" in event ? -event.wheelDeltaY : "wheelDelta" in event ? -event.wheelDelta : 0; }, deltaZ: 0, deltaMode: 0 }), SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), ToggleEventInterface = assign({}, EventInterface, { newState: 0, oldState: 0 }), SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), END_KEYCODES = [9, 13, 27, 32], START_KEYCODE = 229, canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, documentMode = null; canUseDOM && "documentMode" in document && (documentMode = document.documentMode); var canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode), SPACEBAR_CODE = 32, SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE), hasSpaceKeypress = !1, isComposing = !1, supportedInputTypes = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }, activeElement$1 = null, activeElementInst$1 = null, isInputEventSupported = !1; canUseDOM && (isInputEventSupported = isEventSupported("input") && (!document.documentMode || 9 < document.documentMode)); var objectIs = "function" === typeof Object.is ? Object.is : is, skipSelectionChangeEvent = canUseDOM && "documentMode" in document && 11 >= document.documentMode, activeElement = null, activeElementInst = null, lastSelection = null, mouseDown = !1, vendorPrefixes = { animationend: makePrefixMap("Animation", "AnimationEnd"), animationiteration: makePrefixMap("Animation", "AnimationIteration"), animationstart: makePrefixMap("Animation", "AnimationStart"), transitionrun: makePrefixMap("Transition", "TransitionRun"), transitionstart: makePrefixMap("Transition", "TransitionStart"), transitioncancel: makePrefixMap("Transition", "TransitionCancel"), transitionend: makePrefixMap("Transition", "TransitionEnd") }, prefixedEventNames = {}, style = {}; canUseDOM && (style = document.createElement("div").style, "AnimationEvent" in window || (delete vendorPrefixes.animationend.animation, delete vendorPrefixes.animationiteration.animation, delete vendorPrefixes.animationstart.animation), "TransitionEvent" in window || delete vendorPrefixes.transitionend.transition); var ANIMATION_END = getVendorPrefixedEventName("animationend"), ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"), ANIMATION_START = getVendorPrefixedEventName("animationstart"), TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"), TRANSITION_START = getVendorPrefixedEventName("transitionstart"), TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"), TRANSITION_END = getVendorPrefixedEventName("transitionend"), topLevelEventsToReactNames = new Map(), simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" "), OffscreenVisible = 1, OffscreenDetached = 2, OffscreenPassiveEffectsConnected = 4, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, emptyContextObject = {}; Object.freeze(emptyContextObject); var resolveFamily = null, failedBoundaries = null, NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, StrictLegacyMode = 8, StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, renderStartTime = -0, commitStartTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, recordLegacyContextWarning: function () {}, flushLegacyContextWarning: function () {}, discardPendingWarnings: function () {} }, pendingComponentWillMountWarnings = [], pendingUNSAFE_ComponentWillMountWarnings = [], pendingComponentWillReceivePropsWarnings = [], pendingUNSAFE_ComponentWillReceivePropsWarnings = [], pendingComponentWillUpdateWarnings = [], pendingUNSAFE_ComponentWillUpdateWarnings = [], didWarnAboutUnsafeLifecycles = new Set(); ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function (fiber, instance) { didWarnAboutUnsafeLifecycles.has(fiber.type) || ("function" === typeof instance.componentWillMount && !0 !== instance.componentWillMount.__suppressDeprecationWarning && pendingComponentWillMountWarnings.push(fiber), fiber.mode & StrictLegacyMode && "function" === typeof instance.UNSAFE_componentWillMount && pendingUNSAFE_ComponentWillMountWarnings.push(fiber), "function" === typeof instance.componentWillReceiveProps && !0 !== instance.componentWillReceiveProps.__suppressDeprecationWarning && pendingComponentWillReceivePropsWarnings.push(fiber), fiber.mode & StrictLegacyMode && "function" === typeof instance.UNSAFE_componentWillReceiveProps && pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), "function" === typeof instance.componentWillUpdate && !0 !== instance.componentWillUpdate.__suppressDeprecationWarning && pendingComponentWillUpdateWarnings.push(fiber), fiber.mode & StrictLegacyMode && "function" === typeof instance.UNSAFE_componentWillUpdate && pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber)); }; ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function () { var componentWillMountUniqueNames = new Set(); 0 < pendingComponentWillMountWarnings.length && (pendingComponentWillMountWarnings.forEach(function (fiber) { componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutUnsafeLifecycles.add(fiber.type); }), pendingComponentWillMountWarnings = []); var UNSAFE_componentWillMountUniqueNames = new Set(); 0 < pendingUNSAFE_ComponentWillMountWarnings.length && (pendingUNSAFE_ComponentWillMountWarnings.forEach(function (fiber) { UNSAFE_componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutUnsafeLifecycles.add(fiber.type); }), pendingUNSAFE_ComponentWillMountWarnings = []); var componentWillReceivePropsUniqueNames = new Set(); 0 < pendingComponentWillReceivePropsWarnings.length && (pendingComponentWillReceivePropsWarnings.forEach(function (fiber) { componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutUnsafeLifecycles.add(fiber.type); }), pendingComponentWillReceivePropsWarnings = []); var UNSAFE_componentWillReceivePropsUniqueNames = new Set(); 0 < pendingUNSAFE_ComponentWillReceivePropsWarnings.length && (pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function (fiber) { UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutUnsafeLifecycles.add(fiber.type); }), pendingUNSAFE_ComponentWillReceivePropsWarnings = []); var componentWillUpdateUniqueNames = new Set(); 0 < pendingComponentWillUpdateWarnings.length && (pendingComponentWillUpdateWarnings.forEach(function (fiber) { componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutUnsafeLifecycles.add(fiber.type); }), pendingComponentWillUpdateWarnings = []); var UNSAFE_componentWillUpdateUniqueNames = new Set(); 0 < pendingUNSAFE_ComponentWillUpdateWarnings.length && (pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function (fiber) { UNSAFE_componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutUnsafeLifecycles.add(fiber.type); }), pendingUNSAFE_ComponentWillUpdateWarnings = []); if (0 < UNSAFE_componentWillMountUniqueNames.size) { var sortedNames = setToSortedString(UNSAFE_componentWillMountUniqueNames); console.error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s", sortedNames); } 0 < UNSAFE_componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames), console.error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n\nPlease update the following components: %s", sortedNames)); 0 < UNSAFE_componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(UNSAFE_componentWillUpdateUniqueNames), console.error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s", sortedNames)); 0 < componentWillMountUniqueNames.size && (sortedNames = setToSortedString(componentWillMountUniqueNames), console.warn("componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames)); 0 < componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(componentWillReceivePropsUniqueNames), console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames)); 0 < componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(componentWillUpdateUniqueNames), console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames)); }; var pendingLegacyContextWarning = new Map(), didWarnAboutLegacyContext = new Set(); ReactStrictModeWarnings.recordLegacyContextWarning = function (fiber, instance) { var strictRoot = null; for (var node = fiber; null !== node;) node.mode & StrictLegacyMode && (strictRoot = node), node = node.return; null === strictRoot ? console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.") : !didWarnAboutLegacyContext.has(fiber.type) && (node = pendingLegacyContextWarning.get(strictRoot), null != fiber.type.contextTypes || null != fiber.type.childContextTypes || null !== instance && "function" === typeof instance.getChildContext) && (void 0 === node && (node = [], pendingLegacyContextWarning.set(strictRoot, node)), node.push(fiber)); }; ReactStrictModeWarnings.flushLegacyContextWarning = function () { pendingLegacyContextWarning.forEach(function (fiberArray) { if (0 !== fiberArray.length) { var firstFiber = fiberArray[0], uniqueNames = new Set(); fiberArray.forEach(function (fiber) { uniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); didWarnAboutLegacyContext.add(fiber.type); }); var sortedNames = setToSortedString(uniqueNames); runWithFiberInDEV(firstFiber, function () { console.error("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://react.dev/link/legacy-context", sortedNames); }); } }); }; ReactStrictModeWarnings.discardPendingWarnings = function () { pendingComponentWillMountWarnings = []; pendingUNSAFE_ComponentWillMountWarnings = []; pendingComponentWillReceivePropsWarnings = []; pendingUNSAFE_ComponentWillReceivePropsWarnings = []; pendingComponentWillUpdateWarnings = []; pendingUNSAFE_ComponentWillUpdateWarnings = []; pendingLegacyContextWarning = new Map(); }; var CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "", hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"), SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), noopSuspenseyCommitThenable = { then: function () { console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'); } }, suspendedThenable = null, needsToResetSuspendedThenableDEV = !1, callComponent = { "react-stack-bottom-frame": function (Component, props, secondArg) { var wasRendering = isRendering; isRendering = !0; try { return Component(props, secondArg); } finally { isRendering = wasRendering; } } }, callComponentInDEV = callComponent["react-stack-bottom-frame"].bind(callComponent), callRender = { "react-stack-bottom-frame": function (instance) { var wasRendering = isRendering; isRendering = !0; try { return instance.render(); } finally { isRendering = wasRendering; } } }, callRenderInDEV = callRender["react-stack-bottom-frame"].bind(callRender), callComponentDidMount = { "react-stack-bottom-frame": function (finishedWork, instance) { try { instance.componentDidMount(); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } }, callComponentDidMountInDEV = callComponentDidMount["react-stack-bottom-frame"].bind(callComponentDidMount), callComponentDidUpdate = { "react-stack-bottom-frame": function (finishedWork, instance, prevProps, prevState, snapshot) { try { instance.componentDidUpdate(prevProps, prevState, snapshot); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } }, callComponentDidUpdateInDEV = callComponentDidUpdate["react-stack-bottom-frame"].bind(callComponentDidUpdate), callComponentDidCatch = { "react-stack-bottom-frame": function (instance, errorInfo) { var stack = errorInfo.stack; instance.componentDidCatch(errorInfo.value, { componentStack: null !== stack ? stack : "" }); } }, callComponentDidCatchInDEV = callComponentDidCatch["react-stack-bottom-frame"].bind(callComponentDidCatch), callComponentWillUnmount = { "react-stack-bottom-frame": function (current, nearestMountedAncestor, instance) { try { instance.componentWillUnmount(); } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); } } }, callComponentWillUnmountInDEV = callComponentWillUnmount["react-stack-bottom-frame"].bind(callComponentWillUnmount), callCreate = { "react-stack-bottom-frame": function (effect) { var create = effect.create; effect = effect.inst; create = create(); return effect.destroy = create; } }, callCreateInDEV = callCreate["react-stack-bottom-frame"].bind(callCreate), callDestroy = { "react-stack-bottom-frame": function (current, nearestMountedAncestor, destroy) { try { destroy(); } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); } } }, callDestroyInDEV = callDestroy["react-stack-bottom-frame"].bind(callDestroy), callLazyInit = { "react-stack-bottom-frame": function (lazy) { var init = lazy._init; return init(lazy._payload); } }, callLazyInitInDEV = callLazyInit["react-stack-bottom-frame"].bind(callLazyInit), thenableState$1 = null, thenableIndexCounter$1 = 0, currentDebugInfo = null, didWarnAboutMaps; var didWarnAboutGenerators = didWarnAboutMaps = !1; var ownerHasKeyUseWarning = {}; var ownerHasFunctionTypeWarning = {}; var ownerHasSymbolTypeWarning = {}; warnForMissingKey = function (returnFiber, workInProgress, child) { if (null !== child && "object" === typeof child && child._store && (!child._store.validated && null == child.key || 2 === child._store.validated)) { if ("object" !== typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."); child._store.validated = 1; var componentName = getComponentNameFromFiber(returnFiber), componentKey = componentName || "null"; if (!ownerHasKeyUseWarning[componentKey]) { ownerHasKeyUseWarning[componentKey] = !0; child = child._owner; returnFiber = returnFiber._debugOwner; var currentComponentErrorInfo = ""; returnFiber && "number" === typeof returnFiber.tag && (componentKey = getComponentNameFromFiber(returnFiber)) && (currentComponentErrorInfo = "\n\nCheck the render method of `" + componentKey + "`."); currentComponentErrorInfo || componentName && (currentComponentErrorInfo = "\n\nCheck the top-level render call using <" + componentName + ">."); var childOwnerAppendix = ""; null != child && returnFiber !== child && (componentName = null, "number" === typeof child.tag ? componentName = getComponentNameFromFiber(child) : "string" === typeof child.name && (componentName = child.name), componentName && (childOwnerAppendix = " It was passed a child from " + componentName + ".")); runWithFiberInDEV(workInProgress, function () { console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', currentComponentErrorInfo, childOwnerAppendix); }); } } }; var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null, SubtreeSuspenseContextMask = 1, ForceSuspenseFallback = 2, suspenseStackCursor = createCursor(0), NoFlags = 0, HasEffect = 1, Insertion = 2, Layout = 4, Passive = 8, AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function () { var listeners = [], signal = this.signal = { aborted: !1, addEventListener: function (type, listener) { listeners.push(listener); } }; this.abort = function () { signal.aborted = !0; listeners.forEach(function (listener) { return listener(); }); }; }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = { $$typeof: REACT_CONTEXT_TYPE, Consumer: null, Provider: null, _currentValue: null, _currentValue2: null, _threadCount: 0, _currentRenderer: null, _currentRenderer2: null }, currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null, prevOnStartTransitionFinish = ReactSharedInternals.S; ReactSharedInternals.S = function (transition, returnValue) { "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && entangleAsyncAction(transition, returnValue); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; var resumedCache = createCursor(null), didWarnUncachedGetSnapshot; var didWarnAboutMismatchedHooksForComponent = new Set(); var didWarnAboutUseWrappedInTryCatch = new Set(); var didWarnAboutAsyncClientComponent = new Set(); var didWarnAboutUseFormState = new Set(); var renderLanes = 0, currentlyRenderingFiber$1 = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0, RE_RENDER_LIMIT = 25, currentHookNameInDev = null, hookTypesDev = null, hookTypesUpdateIndexDev = -1, ignorePreviousDependencies = !1; var createFunctionComponentUpdateQueue = function () { return { lastEffect: null, events: null, stores: null, memoCache: null }; }; var ContextOnlyDispatcher = { readContext: readContext, use: use, useCallback: throwInvalidHookError, useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, useState: throwInvalidHookError, useDebugValue: throwInvalidHookError, useDeferredValue: throwInvalidHookError, useTransition: throwInvalidHookError, useSyncExternalStore: throwInvalidHookError, useId: throwInvalidHookError }; ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError; ContextOnlyDispatcher.useMemoCache = throwInvalidHookError; ContextOnlyDispatcher.useHostTransitionStatus = throwInvalidHookError; ContextOnlyDispatcher.useFormState = throwInvalidHookError; ContextOnlyDispatcher.useActionState = throwInvalidHookError; ContextOnlyDispatcher.useOptimistic = throwInvalidHookError; var HooksDispatcherOnMountInDEV = null, HooksDispatcherOnMountWithHookTypesInDEV = null, HooksDispatcherOnUpdateInDEV = null, HooksDispatcherOnRerenderInDEV = null, InvalidNestedHooksDispatcherOnMountInDEV = null, InvalidNestedHooksDispatcherOnUpdateInDEV = null, InvalidNestedHooksDispatcherOnRerenderInDEV = null; HooksDispatcherOnMountInDEV = { readContext: function (context) { return readContext(context); }, use: use, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; mountHookTypesDev(); checkDepsAreArrayDev(deps); return mountCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; mountHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; mountHookTypesDev(); checkDepsAreArrayDev(deps); return mountEffect(create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; mountHookTypesDev(); checkDepsAreArrayDev(deps); return mountImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; mountHookTypesDev(); checkDepsAreArrayDev(deps); mountEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; mountHookTypesDev(); checkDepsAreArrayDev(deps); return mountLayoutEffect(create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; mountHookTypesDev(); checkDepsAreArrayDev(deps); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; mountHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function (initialValue) { currentHookNameInDev = "useRef"; mountHookTypesDev(); return mountRef(initialValue); }, useState: function (initialState) { currentHookNameInDev = "useState"; mountHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountState(initialState); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; mountHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; mountHookTypesDev(); return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; mountHookTypesDev(); return mountTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; mountHookTypesDev(); return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; mountHookTypesDev(); return mountId(); }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; mountHookTypesDev(); return mountRefresh(); } }; HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache; HooksDispatcherOnMountInDEV.useHostTransitionStatus = useHostTransitionStatus; HooksDispatcherOnMountInDEV.useFormState = function (action, initialState) { currentHookNameInDev = "useFormState"; mountHookTypesDev(); warnOnUseFormStateInDev(); return mountActionState(action, initialState); }; HooksDispatcherOnMountInDEV.useActionState = function (action, initialState) { currentHookNameInDev = "useActionState"; mountHookTypesDev(); return mountActionState(action, initialState); }; HooksDispatcherOnMountInDEV.useOptimistic = function (passthrough) { currentHookNameInDev = "useOptimistic"; mountHookTypesDev(); return mountOptimistic(passthrough); }; HooksDispatcherOnMountWithHookTypesInDEV = { readContext: function (context) { return readContext(context); }, use: use, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; updateHookTypesDev(); return mountCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; updateHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; updateHookTypesDev(); return mountEffect(create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; updateHookTypesDev(); return mountImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; updateHookTypesDev(); mountEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; updateHookTypesDev(); return mountLayoutEffect(create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function (initialValue) { currentHookNameInDev = "useRef"; updateHookTypesDev(); return mountRef(initialValue); }, useState: function (initialState) { currentHookNameInDev = "useState"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountState(initialState); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; updateHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; updateHookTypesDev(); return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; updateHookTypesDev(); return mountTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; updateHookTypesDev(); return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; updateHookTypesDev(); return mountId(); }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; updateHookTypesDev(); return mountRefresh(); } }; HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache; HooksDispatcherOnMountWithHookTypesInDEV.useHostTransitionStatus = useHostTransitionStatus; HooksDispatcherOnMountWithHookTypesInDEV.useFormState = function (action, initialState) { currentHookNameInDev = "useFormState"; updateHookTypesDev(); warnOnUseFormStateInDev(); return mountActionState(action, initialState); }; HooksDispatcherOnMountWithHookTypesInDEV.useActionState = function (action, initialState) { currentHookNameInDev = "useActionState"; updateHookTypesDev(); return mountActionState(action, initialState); }; HooksDispatcherOnMountWithHookTypesInDEV.useOptimistic = function (passthrough) { currentHookNameInDev = "useOptimistic"; updateHookTypesDev(); return mountOptimistic(passthrough); }; HooksDispatcherOnUpdateInDEV = { readContext: function (context) { return readContext(context); }, use: use, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; updateHookTypesDev(); return updateCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; updateHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; updateHookTypesDev(); updateEffectImpl(2048, Passive, create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; updateHookTypesDev(); return updateImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; updateHookTypesDev(); return updateEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; updateHookTypesDev(); return updateEffectImpl(4, Layout, create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function () { currentHookNameInDev = "useRef"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useState: function () { currentHookNameInDev = "useState"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateReducer(basicStateReducer); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; updateHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; updateHookTypesDev(); return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; updateHookTypesDev(); return updateTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; updateHookTypesDev(); return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; } }; HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache; HooksDispatcherOnUpdateInDEV.useHostTransitionStatus = useHostTransitionStatus; HooksDispatcherOnUpdateInDEV.useFormState = function (action) { currentHookNameInDev = "useFormState"; updateHookTypesDev(); warnOnUseFormStateInDev(); return updateActionState(action); }; HooksDispatcherOnUpdateInDEV.useActionState = function (action) { currentHookNameInDev = "useActionState"; updateHookTypesDev(); return updateActionState(action); }; HooksDispatcherOnUpdateInDEV.useOptimistic = function (passthrough, reducer) { currentHookNameInDev = "useOptimistic"; updateHookTypesDev(); return updateOptimistic(passthrough, reducer); }; HooksDispatcherOnRerenderInDEV = { readContext: function (context) { return readContext(context); }, use: use, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; updateHookTypesDev(); return updateCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; updateHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; updateHookTypesDev(); updateEffectImpl(2048, Passive, create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; updateHookTypesDev(); return updateImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; updateHookTypesDev(); return updateEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; updateHookTypesDev(); return updateEffectImpl(4, Layout, create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV; try { return updateMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV; try { return rerenderReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function () { currentHookNameInDev = "useRef"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useState: function () { currentHookNameInDev = "useState"; updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV; try { return rerenderReducer(basicStateReducer); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; updateHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; updateHookTypesDev(); return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; updateHookTypesDev(); return rerenderTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; updateHookTypesDev(); return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; } }; HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache; HooksDispatcherOnRerenderInDEV.useHostTransitionStatus = useHostTransitionStatus; HooksDispatcherOnRerenderInDEV.useFormState = function (action) { currentHookNameInDev = "useFormState"; updateHookTypesDev(); warnOnUseFormStateInDev(); return rerenderActionState(action); }; HooksDispatcherOnRerenderInDEV.useActionState = function (action) { currentHookNameInDev = "useActionState"; updateHookTypesDev(); return rerenderActionState(action); }; HooksDispatcherOnRerenderInDEV.useOptimistic = function (passthrough, reducer) { currentHookNameInDev = "useOptimistic"; updateHookTypesDev(); return rerenderOptimistic(passthrough, reducer); }; InvalidNestedHooksDispatcherOnMountInDEV = { readContext: function (context) { warnInvalidContextAccess(); return readContext(context); }, use: function (usable) { warnInvalidHookAccess(); return use(usable); }, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; warnInvalidHookAccess(); mountHookTypesDev(); return mountCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; warnInvalidHookAccess(); mountHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; warnInvalidHookAccess(); mountHookTypesDev(); return mountEffect(create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; warnInvalidHookAccess(); mountHookTypesDev(); return mountImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; warnInvalidHookAccess(); mountHookTypesDev(); mountEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; warnInvalidHookAccess(); mountHookTypesDev(); return mountLayoutEffect(create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; warnInvalidHookAccess(); mountHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; warnInvalidHookAccess(); mountHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function (initialValue) { currentHookNameInDev = "useRef"; warnInvalidHookAccess(); mountHookTypesDev(); return mountRef(initialValue); }, useState: function (initialState) { currentHookNameInDev = "useState"; warnInvalidHookAccess(); mountHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; try { return mountState(initialState); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; warnInvalidHookAccess(); mountHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; warnInvalidHookAccess(); mountHookTypesDev(); return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; warnInvalidHookAccess(); mountHookTypesDev(); return mountTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; warnInvalidHookAccess(); mountHookTypesDev(); return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; warnInvalidHookAccess(); mountHookTypesDev(); return mountId(); }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; mountHookTypesDev(); return mountRefresh(); }, useMemoCache: function (size) { warnInvalidHookAccess(); return useMemoCache(size); } }; InvalidNestedHooksDispatcherOnMountInDEV.useHostTransitionStatus = useHostTransitionStatus; InvalidNestedHooksDispatcherOnMountInDEV.useFormState = function (action, initialState) { currentHookNameInDev = "useFormState"; warnInvalidHookAccess(); mountHookTypesDev(); return mountActionState(action, initialState); }; InvalidNestedHooksDispatcherOnMountInDEV.useActionState = function (action, initialState) { currentHookNameInDev = "useActionState"; warnInvalidHookAccess(); mountHookTypesDev(); return mountActionState(action, initialState); }; InvalidNestedHooksDispatcherOnMountInDEV.useOptimistic = function (passthrough) { currentHookNameInDev = "useOptimistic"; warnInvalidHookAccess(); mountHookTypesDev(); return mountOptimistic(passthrough); }; InvalidNestedHooksDispatcherOnUpdateInDEV = { readContext: function (context) { warnInvalidContextAccess(); return readContext(context); }, use: function (usable) { warnInvalidHookAccess(); return use(usable); }, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; warnInvalidHookAccess(); updateHookTypesDev(); return updateCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; warnInvalidHookAccess(); updateHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; warnInvalidHookAccess(); updateHookTypesDev(); updateEffectImpl(2048, Passive, create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; warnInvalidHookAccess(); updateHookTypesDev(); return updateImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; warnInvalidHookAccess(); updateHookTypesDev(); return updateEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; warnInvalidHookAccess(); updateHookTypesDev(); return updateEffectImpl(4, Layout, create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; warnInvalidHookAccess(); updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; warnInvalidHookAccess(); updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function () { currentHookNameInDev = "useRef"; warnInvalidHookAccess(); updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useState: function () { currentHookNameInDev = "useState"; warnInvalidHookAccess(); updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateReducer(basicStateReducer); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; warnInvalidHookAccess(); updateHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; warnInvalidHookAccess(); updateHookTypesDev(); return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; warnInvalidHookAccess(); updateHookTypesDev(); return updateTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; warnInvalidHookAccess(); updateHookTypesDev(); return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; warnInvalidHookAccess(); updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useMemoCache: function (size) { warnInvalidHookAccess(); return useMemoCache(size); } }; InvalidNestedHooksDispatcherOnUpdateInDEV.useHostTransitionStatus = useHostTransitionStatus; InvalidNestedHooksDispatcherOnUpdateInDEV.useFormState = function (action) { currentHookNameInDev = "useFormState"; warnInvalidHookAccess(); updateHookTypesDev(); return updateActionState(action); }; InvalidNestedHooksDispatcherOnUpdateInDEV.useActionState = function (action) { currentHookNameInDev = "useActionState"; warnInvalidHookAccess(); updateHookTypesDev(); return updateActionState(action); }; InvalidNestedHooksDispatcherOnUpdateInDEV.useOptimistic = function (passthrough, reducer) { currentHookNameInDev = "useOptimistic"; warnInvalidHookAccess(); updateHookTypesDev(); return updateOptimistic(passthrough, reducer); }; InvalidNestedHooksDispatcherOnRerenderInDEV = { readContext: function (context) { warnInvalidContextAccess(); return readContext(context); }, use: function (usable) { warnInvalidHookAccess(); return use(usable); }, useCallback: function (callback, deps) { currentHookNameInDev = "useCallback"; warnInvalidHookAccess(); updateHookTypesDev(); return updateCallback(callback, deps); }, useContext: function (context) { currentHookNameInDev = "useContext"; warnInvalidHookAccess(); updateHookTypesDev(); return readContext(context); }, useEffect: function (create, deps) { currentHookNameInDev = "useEffect"; warnInvalidHookAccess(); updateHookTypesDev(); updateEffectImpl(2048, Passive, create, deps); }, useImperativeHandle: function (ref, create, deps) { currentHookNameInDev = "useImperativeHandle"; warnInvalidHookAccess(); updateHookTypesDev(); return updateImperativeHandle(ref, create, deps); }, useInsertionEffect: function (create, deps) { currentHookNameInDev = "useInsertionEffect"; warnInvalidHookAccess(); updateHookTypesDev(); return updateEffectImpl(4, Insertion, create, deps); }, useLayoutEffect: function (create, deps) { currentHookNameInDev = "useLayoutEffect"; warnInvalidHookAccess(); updateHookTypesDev(); return updateEffectImpl(4, Layout, create, deps); }, useMemo: function (create, deps) { currentHookNameInDev = "useMemo"; warnInvalidHookAccess(); updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return updateMemo(create, deps); } finally { ReactSharedInternals.H = prevDispatcher; } }, useReducer: function (reducer, initialArg, init) { currentHookNameInDev = "useReducer"; warnInvalidHookAccess(); updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return rerenderReducer(reducer, initialArg, init); } finally { ReactSharedInternals.H = prevDispatcher; } }, useRef: function () { currentHookNameInDev = "useRef"; warnInvalidHookAccess(); updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useState: function () { currentHookNameInDev = "useState"; warnInvalidHookAccess(); updateHookTypesDev(); var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; try { return rerenderReducer(basicStateReducer); } finally { ReactSharedInternals.H = prevDispatcher; } }, useDebugValue: function () { currentHookNameInDev = "useDebugValue"; warnInvalidHookAccess(); updateHookTypesDev(); }, useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; warnInvalidHookAccess(); updateHookTypesDev(); return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; warnInvalidHookAccess(); updateHookTypesDev(); return rerenderTransition(); }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { currentHookNameInDev = "useSyncExternalStore"; warnInvalidHookAccess(); updateHookTypesDev(); return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }, useId: function () { currentHookNameInDev = "useId"; warnInvalidHookAccess(); updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useCacheRefresh: function () { currentHookNameInDev = "useCacheRefresh"; updateHookTypesDev(); return updateWorkInProgressHook().memoizedState; }, useMemoCache: function (size) { warnInvalidHookAccess(); return useMemoCache(size); } }; InvalidNestedHooksDispatcherOnRerenderInDEV.useHostTransitionStatus = useHostTransitionStatus; InvalidNestedHooksDispatcherOnRerenderInDEV.useFormState = function (action) { currentHookNameInDev = "useFormState"; warnInvalidHookAccess(); updateHookTypesDev(); return rerenderActionState(action); }; InvalidNestedHooksDispatcherOnRerenderInDEV.useActionState = function (action) { currentHookNameInDev = "useActionState"; warnInvalidHookAccess(); updateHookTypesDev(); return rerenderActionState(action); }; InvalidNestedHooksDispatcherOnRerenderInDEV.useOptimistic = function (passthrough, reducer) { currentHookNameInDev = "useOptimistic"; warnInvalidHookAccess(); updateHookTypesDev(); return rerenderOptimistic(passthrough, reducer); }; var fakeInternalInstance = {}; var didWarnAboutStateAssignmentForComponent = new Set(); var didWarnAboutUninitializedState = new Set(); var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set(); var didWarnAboutLegacyLifecyclesAndDerivedState = new Set(); var didWarnAboutDirectlyAssigningPropsToState = new Set(); var didWarnAboutUndefinedDerivedState = new Set(); var didWarnAboutContextTypes$1 = new Set(); var didWarnAboutChildContextTypes = new Set(); var didWarnAboutInvalidateContextType = new Set(); var didWarnOnInvalidCallback = new Set(); Object.freeze(fakeInternalInstance); var classComponentUpdater = { isMounted: function (component) { var owner = current; if (null !== owner && isRendering && 1 === owner.tag) { var instance = owner.stateNode; instance._warnedAboutRefsInRender || console.error("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", getComponentNameFromFiber(owner) || "A component"); instance._warnedAboutRefsInRender = !0; } return (component = component._reactInternals) ? getNearestMountedFiber(component) === component : !1; }, enqueueSetState: function (inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(inst), update = createUpdate(lane); update.payload = payload; void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(inst), update = createUpdate(lane); update.tag = ReplaceState; update.payload = payload; void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(inst), update = createUpdate(lane); update.tag = ForceUpdate; void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); callback = enqueueUpdate(inst, update, lane); null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markForceUpdateScheduled && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, reportGlobalError = "function" === typeof reportError ? reportError : function (error) { if ("object" === typeof window && "function" === typeof window.ErrorEvent) { var event = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error: error }); if (!window.dispatchEvent(event)) return; } else if ("object" === typeof process && "function" === typeof process.emit) { process.emit("uncaughtException", error); return; } console.error(error); }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."), didReceiveUpdate = !1; var didWarnAboutBadClass = {}; var didWarnAboutContextTypeOnFunctionComponent = {}; var didWarnAboutContextTypes = {}; var didWarnAboutGetDerivedStateOnFunctionComponent = {}; var didWarnAboutReassigningProps = !1; var didWarnAboutRevealOrder = {}; var didWarnAboutTailOptions = {}; var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0 }, hasWarnedAboutUsingNoValuePropOnContextProvider = !1, valueCursor = createCursor(null); var rendererCursorDEV = createCursor(null); var rendererSigil = {}; var currentlyRenderingFiber = null, lastContextDependency = null, isDisallowedContextReadInDEV = !1, UpdateState = 0, ReplaceState = 1, ForceUpdate = 2, CaptureUpdate = 3, hasForceUpdate = !1; var didWarnUpdateInsideUpdate = !1; var currentlyProcessingQueue = null; var didReadFromEntangledAsyncAction = !1, didWarnAboutUndefinedSnapshotBeforeUpdate = null; didWarnAboutUndefinedSnapshotBeforeUpdate = new Set(); var offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, inProgressRoot = null, shouldFireAfterActiveInstanceBlur = !1, hostParent = null, hostParentIsContainer = !1, currentHoistableRoot = null, suspenseyCommitFlag = 8192; var hasBadMapPolyfill = !1; try { var nonExtensibleObject = Object.preventExtensions({}); new Map([[nonExtensibleObject, null]]); new Set([nonExtensibleObject]); } catch (e$7) { hasBadMapPolyfill = !0; } var DefaultAsyncDispatcher = { getCacheForType: function (resourceType) { var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType); void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType)); return cacheForType; }, getOwner: function () { return current; } }; if ("function" === typeof Symbol && Symbol.for) { var symbolFor = Symbol.for; symbolFor("selector.component"); symbolFor("selector.has_pseudo_class"); symbolFor("selector.role"); symbolFor("selector.test_id"); symbolFor("selector.text"); } var commitHooks = [], PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, NoContext = 0, RenderContext = 2, CommitContext = 4, RootInProgress = 0, RootFatalErrored = 1, RootErrored = 2, RootSuspended = 3, RootSuspendedWithDelay = 4, RootCompleted = 5, RootDidNotComplete = 6, executionContext = NoContext, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, NotSuspended = 0, SuspendedOnError = 1, SuspendedOnData = 2, SuspendedOnImmediate = 3, SuspendedOnInstance = 4, SuspendedOnInstanceAndReadyToContinue = 5, SuspendedOnDeprecatedThrowPromise = 6, SuspendedAndReadyToContinue = 7, SuspendedOnHydration = 8, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = RootInProgress, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, FALLBACK_THROTTLE_MS = 300, workInProgressRootRenderTargetTime = Infinity, RENDER_TIMEOUT_MS = 500, workInProgressTransitions = null, legacyErrorBoundariesThatAlreadyFailed = null, rootDoesHavePassiveEffects = !1, rootWithPendingPassiveEffects = null, pendingPassiveEffectsLanes = 0, pendingPassiveEffectsRemainingLanes = 0, pendingPassiveTransitions = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, rootWithNestedUpdates = null, isFlushingPassiveEffects = !1, didScheduleUpdateDuringPassiveEffects = !1, NESTED_PASSIVE_UPDATE_LIMIT = 50, nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, IMMEDIATE_COMMIT = 0, SUSPENDED_COMMIT = 1, THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); var fakeActCallbackNode$1 = {}, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, didScheduleMicrotask_act = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0, fakeActCallbackNode = {}; (function () { for (var i = 0; i < simpleEventPluginEvents.length; i++) { var eventName = simpleEventPluginEvents[i], domEventName = eventName.toLowerCase(); eventName = eventName[0].toUpperCase() + eventName.slice(1); registerSimpleEvent(domEventName, "on" + eventName); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration"); registerSimpleEvent(ANIMATION_START, "onAnimationStart"); registerSimpleEvent("dblclick", "onDoubleClick"); registerSimpleEvent("focusin", "onFocus"); registerSimpleEvent("focusout", "onBlur"); registerSimpleEvent(TRANSITION_RUN, "onTransitionRun"); registerSimpleEvent(TRANSITION_START, "onTransitionStart"); registerSimpleEvent(TRANSITION_CANCEL, "onTransitionCancel"); registerSimpleEvent(TRANSITION_END, "onTransitionEnd"); })(); registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]); registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]); registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]); registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]); registerTwoPhaseEvent("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); registerTwoPhaseEvent("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); registerTwoPhaseEvent("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); registerTwoPhaseEvent("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); registerTwoPhaseEvent("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); registerTwoPhaseEvent("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); var mediaEventTypes = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), nonDelegatedEvents = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mediaEventTypes)), listeningMarker = "_reactListening" + Math.random().toString(36).slice(2), didWarnControlledToUncontrolled = !1, didWarnUncontrolledToControlled = !1, didWarnFormActionType = !1, didWarnFormActionName = !1, didWarnFormActionTarget = !1, didWarnFormActionMethod = !1, didWarnPopoverTargetObject = !1; var didWarnForNewBooleanPropsWithEmptyValue = {}; var canDiffStyleForHydrationWarning = !0; var NORMALIZE_NEWLINES_REGEX = /\r\n?/g, NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g, xlinkNamespace = "http://www.w3.org/1999/xlink", xmlNamespace = "http://www.w3.org/XML/1998/namespace", EXPECTED_FORM_ACTION_URL = "javascript:throw new Error('React form unexpectedly submitted.')", SUPPRESS_HYDRATION_WARNING = "suppressHydrationWarning", SUSPENSE_START_DATA = "$", SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_FALLBACK_START_DATA = "$!", FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", STYLE = "style", HostContextNamespaceNone = 0, HostContextNamespaceSvg = 1, HostContextNamespaceMath = 2, eventsEnabled = null, selectionInformation = null, warnedUnknownTags = { dialog: !0, webview: !0 }, currentPopstateTransitionEvent = null, scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, noTimeout = -1, localPromise = "function" === typeof Promise ? Promise : void 0, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof localPromise ? function (callback) { return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick); } : scheduleTimeout, NotLoaded = 0, Loaded = 1, Errored = 2, Settled = 3, Inserted = 4, preloadPropsMap = new Map(), preconnectsSet = new Set(), previousDispatcher = ReactDOMSharedInternals.d; ReactDOMSharedInternals.d = { f: function () { var previousWasRendering = previousDispatcher.f(), wasRendering = flushSyncWork$1(); return previousWasRendering || wasRendering; }, r: function (form) { var formInst = getInstanceFromNode(form); null !== formInst && 5 === formInst.tag && "form" === formInst.type ? requestFormReset$1(formInst) : previousDispatcher.r(form); }, D: function (href) { previousDispatcher.D(href); preconnectAs("dns-prefetch", href, null); }, C: function (href, crossOrigin) { previousDispatcher.C(href, crossOrigin); preconnectAs("preconnect", href, crossOrigin); }, L: function (href, as, options) { previousDispatcher.L(href, as, options); var ownerDocument = globalDocument; if (ownerDocument && href && as) { var preloadSelector = 'link[rel="preload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"]'; "image" === as ? options && options.imageSrcSet ? (preloadSelector += '[imagesrcset="' + escapeSelectorAttributeValueInsideDoubleQuotes(options.imageSrcSet) + '"]', "string" === typeof options.imageSizes && (preloadSelector += '[imagesizes="' + escapeSelectorAttributeValueInsideDoubleQuotes(options.imageSizes) + '"]')) : preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]' : preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]'; var key = preloadSelector; switch (as) { case "style": key = getStyleKey(href); break; case "script": key = getScriptKey(href); } preloadPropsMap.has(key) || (href = assign({ rel: "preload", href: "image" === as && options && options.imageSrcSet ? void 0 : href, as: as }, options), preloadPropsMap.set(key, href), null !== ownerDocument.querySelector(preloadSelector) || "style" === as && ownerDocument.querySelector(getStylesheetSelectorFromKey(key)) || "script" === as && ownerDocument.querySelector(getScriptSelectorFromKey(key)) || (as = ownerDocument.createElement("link"), setInitialProperties(as, "link", href), markNodeAsHoistable(as), ownerDocument.head.appendChild(as))); } }, m: function (href, options) { previousDispatcher.m(href, options); var ownerDocument = globalDocument; if (ownerDocument && href) { var as = options && "string" === typeof options.as ? options.as : "script", preloadSelector = 'link[rel="modulepreload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"][href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]', key = preloadSelector; switch (as) { case "audioworklet": case "paintworklet": case "serviceworker": case "sharedworker": case "worker": case "script": key = getScriptKey(href); } if (!preloadPropsMap.has(key) && (href = assign({ rel: "modulepreload", href: href }, options), preloadPropsMap.set(key, href), null === ownerDocument.querySelector(preloadSelector))) { switch (as) { case "audioworklet": case "paintworklet": case "serviceworker": case "sharedworker": case "worker": case "script": if (ownerDocument.querySelector(getScriptSelectorFromKey(key))) return; } as = ownerDocument.createElement("link"); setInitialProperties(as, "link", href); markNodeAsHoistable(as); ownerDocument.head.appendChild(as); } } }, X: function (src, options) { previousDispatcher.X(src, options); var ownerDocument = globalDocument; if (ownerDocument && src) { var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); resource || (resource = ownerDocument.querySelector(getScriptSelectorFromKey(key)), resource || (src = assign({ src: src, async: !0 }, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = { type: "script", instance: resource, count: 1, state: null }, scripts.set(key, resource)); } }, S: function (href, precedence, options) { previousDispatcher.S(href, precedence, options); var ownerDocument = globalDocument; if (ownerDocument && href) { var styles = getResourcesFromRoot(ownerDocument).hoistableStyles, key = getStyleKey(href); precedence = precedence || "default"; var resource = styles.get(key); if (!resource) { var state = { loading: NotLoaded, preload: null }; if (resource = ownerDocument.querySelector(getStylesheetSelectorFromKey(key))) state.loading = Loaded | Inserted;else { href = assign({ rel: "stylesheet", href: href, "data-precedence": precedence }, options); (options = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(href, options); var link = resource = ownerDocument.createElement("link"); markNodeAsHoistable(link); setInitialProperties(link, "link", href); link._p = new Promise(function (resolve, reject) { link.onload = resolve; link.onerror = reject; }); link.addEventListener("load", function () { state.loading |= Loaded; }); link.addEventListener("error", function () { state.loading |= Errored; }); state.loading |= Inserted; insertStylesheet(resource, precedence, ownerDocument); } resource = { type: "stylesheet", instance: resource, count: 1, state: state }; styles.set(key, resource); } } }, M: function (src, options) { previousDispatcher.M(src, options); var ownerDocument = globalDocument; if (ownerDocument && src) { var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); resource || (resource = ownerDocument.querySelector(getScriptSelectorFromKey(key)), resource || (src = assign({ src: src, async: !0, type: "module" }, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = { type: "script", instance: resource, count: 1, state: null }, scripts.set(key, resource)); } } }; var globalDocument = "undefined" === typeof document ? null : document, tagCaches = null, suspendedState = null, LAST_PRECEDENCE = null, precedencesByRoot = null, NotPendingTransition = NotPending, HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, Provider: null, Consumer: null, _currentValue: NotPendingTransition, _currentValue2: NotPendingTransition, _threadCount: 0 }, badgeFormat = "%c%s%c ", badgeStyle = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", resetStyle = "", pad = " ", bind = Function.prototype.bind; var didWarnAboutNestedUpdates = !1; var overrideHookState = null, overrideHookStateDeletePath = null, overrideHookStateRenamePath = null, overrideProps = null, overridePropsDeletePath = null, overridePropsRenamePath = null, scheduleUpdate = null, setErrorHandler = null, setSuspenseHandler = null; overrideHookState = function (fiber, id, path, value) { id = findHook(fiber, id); null !== id && (path = copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2)); }; overrideHookStateDeletePath = function (fiber, id, path) { id = findHook(fiber, id); null !== id && (path = copyWithDeleteImpl(id.memoizedState, path, 0), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2)); }; overrideHookStateRenamePath = function (fiber, id, oldPath, newPath) { id = findHook(fiber, id); null !== id && (oldPath = copyWithRename(id.memoizedState, oldPath, newPath), id.memoizedState = oldPath, id.baseState = oldPath, fiber.memoizedProps = assign({}, fiber.memoizedProps), oldPath = enqueueConcurrentRenderForLane(fiber, 2), null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2)); }; overrideProps = function (fiber, path, value) { fiber.pendingProps = copyWithSetImpl(fiber.memoizedProps, path, 0, value); fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); path = enqueueConcurrentRenderForLane(fiber, 2); null !== path && scheduleUpdateOnFiber(path, fiber, 2); }; overridePropsDeletePath = function (fiber, path) { fiber.pendingProps = copyWithDeleteImpl(fiber.memoizedProps, path, 0); fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); path = enqueueConcurrentRenderForLane(fiber, 2); null !== path && scheduleUpdateOnFiber(path, fiber, 2); }; overridePropsRenamePath = function (fiber, oldPath, newPath) { fiber.pendingProps = copyWithRename(fiber.memoizedProps, oldPath, newPath); fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); oldPath = enqueueConcurrentRenderForLane(fiber, 2); null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2); }; scheduleUpdate = function (fiber) { var root = enqueueConcurrentRenderForLane(fiber, 2); null !== root && scheduleUpdateOnFiber(root, fiber, 2); }; setErrorHandler = function (newShouldErrorImpl) { shouldErrorImpl = newShouldErrorImpl; }; setSuspenseHandler = function (newShouldSuspendImpl) { shouldSuspendImpl = newShouldSuspendImpl; }; var _enabled = !0, return_targetInst = null, hasScheduledReplayAttempt = !1, queuedFocus = null, queuedDrag = null, queuedMouse = null, queuedPointers = new Map(), queuedPointerCaptures = new Map(), queuedExplicitHydrationTargets = [], discreteReplayableEvents = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "), lastScheduledReplayQueue = null; ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function (children, JSCompiler_OptimizeArgumentsArray_p2) { var root = this._internalRoot; if (null === root) throw Error("Cannot update an unmounted root."); "function" === typeof JSCompiler_OptimizeArgumentsArray_p2 ? console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().") : isValidContainer(JSCompiler_OptimizeArgumentsArray_p2) ? console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.") : "undefined" !== typeof JSCompiler_OptimizeArgumentsArray_p2 && console.error("You passed a second argument to root.render(...) but it only accepts one argument."); JSCompiler_OptimizeArgumentsArray_p2 = root.current; var lane = requestUpdateLane(JSCompiler_OptimizeArgumentsArray_p2); updateContainerImpl(JSCompiler_OptimizeArgumentsArray_p2, lane, children, root, null, null); }; ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function (JSCompiler_OptimizeArgumentsArray_p3) { "function" === typeof JSCompiler_OptimizeArgumentsArray_p3 && console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."); JSCompiler_OptimizeArgumentsArray_p3 = this._internalRoot; if (null !== JSCompiler_OptimizeArgumentsArray_p3) { this._internalRoot = null; var container = JSCompiler_OptimizeArgumentsArray_p3.containerInfo; (executionContext & (RenderContext | CommitContext)) !== NoContext && console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."); updateContainerSync(null, JSCompiler_OptimizeArgumentsArray_p3, null, null); flushSyncWork$1(); container[internalContainerInstanceKey] = null; } }; ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { if (target) { var updatePriority = resolveUpdatePriority(); target = { blockedOn: null, target: target, priority: updatePriority }; for (var i = 0; i < queuedExplicitHydrationTargets.length && 0 !== updatePriority && updatePriority < queuedExplicitHydrationTargets[i].priority; i++); queuedExplicitHydrationTargets.splice(i, 0, target); 0 === i && attemptExplicitHydrationTarget(target); } }; (function () { var isomorphicReactPackageVersion = React.version; if ("19.0.0" !== isomorphicReactPackageVersion) throw Error('Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.0.0\nLearn more: https://react.dev/warnings/version-mismatch")); })(); "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { var fiber = componentOrElement._reactInternals; if (void 0 === fiber) { if ("function" === typeof componentOrElement.render) throw Error("Unable to find node on an unmounted component."); componentOrElement = Object.keys(componentOrElement).join(","); throw Error("Argument appears to not be a ReactComponent. Keys: " + componentOrElement); } componentOrElement = findCurrentFiberUsingSlowPath(fiber); componentOrElement = null !== componentOrElement ? findCurrentHostFiberImpl(componentOrElement) : null; componentOrElement = null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; if (!function () { var internals = { bundleType: 1, version: "19.0.0", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, reconcilerVersion: "19.0.0" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; internals.overrideHookStateRenamePath = overrideHookStateRenamePath; internals.overrideProps = overrideProps; internals.overridePropsDeletePath = overridePropsDeletePath; internals.overridePropsRenamePath = overridePropsRenamePath; internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; internals.getCurrentFiber = getCurrentFiberForDevTools; internals.getLaneLabelMap = getLaneLabelMap; internals.injectProfilingHooks = injectProfilingHooks; return injectInternals(internals); }() && canUseDOM && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && -1 === navigator.userAgent.indexOf("Edge") || -1 < navigator.userAgent.indexOf("Firefox"))) { var protocol = window.location.protocol; /^(https?|file):$/.test(protocol) && console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools" + ("file:" === protocol ? "\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq" : ""), "font-weight:bold"); } exports.createRoot = function (container, options) { if (!isValidContainer(container)) throw Error("Target container is not a DOM element."); warnIfReactDOMContainerInDEV(container); var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, transitionCallbacks = null; null !== options && void 0 !== options && (options.hydrate ? console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.") : "object" === typeof options && null !== options && options.$$typeof === REACT_ELEMENT_TYPE && console.error("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"), !0 === options.unstable_strictMode && (isStrictMode = !0), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks)); options = createFiberRoot(container, 1, !1, null, null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, null); container[internalContainerInstanceKey] = options.current; listenToAllSupportedEvents(8 === container.nodeType ? container.parentNode : container); return new ReactDOMRoot(options); }; exports.hydrateRoot = function (container, initialChildren, options) { if (!isValidContainer(container)) throw Error("Target container is not a DOM element."); warnIfReactDOMContainerInDEV(container); void 0 === initialChildren && console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)"); var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, transitionCallbacks = null, formState = null; null !== options && void 0 !== options && (!0 === options.unstable_strictMode && (isStrictMode = !0), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks), void 0 !== options.formState && (formState = options.formState)); initialChildren = createFiberRoot(container, 1, !0, initialChildren, null != options ? options : null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, formState); initialChildren.context = getContextForSubtree(null); options = initialChildren.current; isStrictMode = requestUpdateLane(options); identifierPrefix = createUpdate(isStrictMode); identifierPrefix.callback = null; enqueueUpdate(options, identifierPrefix, isStrictMode); initialChildren.current.lanes = isStrictMode; markRootUpdated$1(initialChildren, isStrictMode); ensureRootIsScheduled(initialChildren); container[internalContainerInstanceKey] = initialChildren.current; listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; exports.version = "19.0.0"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }(); /***/ }), /***/ "./node_modules/react-dom/cjs/react-dom.development.js": /*!*************************************************************!*\ !*** ./node_modules/react-dom/cjs/react-dom.development.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * @license React * react-dom.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ true && function () { function noop() {} function testStringCoercion(value) { return "" + value; } function createPortal$1(children, containerInfo, implementation) { var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; try { testStringCoercion(key); var JSCompiler_inline_result = !1; } catch (e) { JSCompiler_inline_result = !0; } JSCompiler_inline_result && (console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", "function" === typeof Symbol && Symbol.toStringTag && key[Symbol.toStringTag] || key.constructor.name || "Object"), testStringCoercion(key)); return { $$typeof: REACT_PORTAL_TYPE, key: null == key ? null : "" + key, children: children, containerInfo: containerInfo, implementation: implementation }; } function getCrossOriginStringAs(as, input) { if ("font" === as) return ""; if ("string" === typeof input) return "use-credentials" === input ? input : ""; } function getValueDescriptorExpectingObjectForWarning(thing) { return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : 'something with type "' + typeof thing + '"'; } function getValueDescriptorExpectingEnumForWarning(thing) { return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : "string" === typeof thing ? JSON.stringify(thing) : "number" === typeof thing ? "`" + thing + "`" : 'something with type "' + typeof thing + '"'; } function resolveDispatcher() { var dispatcher = ReactSharedInternals.H; null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."); return dispatcher; } "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"), Internals = { d: { f: noop, r: function () { throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React."); }, D: noop, C: noop, L: noop, m: noop, X: noop, S: noop, M: noop }, p: 0, findDOMNode: null }, REACT_PORTAL_TYPE = Symbol.for("react.portal"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"); exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals; exports.createPortal = function (children, container) { var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error("Target container is not a DOM element."); return createPortal$1(children, container, null, key); }; exports.flushSync = function (fn) { var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p; try { if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn(); } finally { ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f() && console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."); } }; exports.preconnect = function (href, options) { "string" === typeof href && href ? null != options && "object" !== typeof options ? console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.", getValueDescriptorExpectingEnumForWarning(options)) : null != options && "string" !== typeof options.crossOrigin && console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.", getValueDescriptorExpectingObjectForWarning(options.crossOrigin)) : console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href)); "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options)); }; exports.prefetchDNS = function (href) { if ("string" !== typeof href || !href) console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));else if (1 < arguments.length) { var options = arguments[1]; "object" === typeof options && options.hasOwnProperty("crossOrigin") ? console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options)) : console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options)); } "string" === typeof href && Internals.d.D(href); }; exports.preinit = function (href, options) { "string" === typeof href && href ? null == options || "object" !== typeof options ? console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.", getValueDescriptorExpectingEnumForWarning(options)) : "style" !== options.as && "script" !== options.as && console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".', getValueDescriptorExpectingEnumForWarning(options.as)) : console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href)); if ("string" === typeof href && options && "string" === typeof options.as) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0; "style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, { crossOrigin: crossOrigin, integrity: integrity, fetchPriority: fetchPriority }) : "script" === as && Internals.d.X(href, { crossOrigin: crossOrigin, integrity: integrity, fetchPriority: fetchPriority, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } }; exports.preinitModule = function (href, options) { var encountered = ""; "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + "."); void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "script" !== options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingEnumForWarning(options.as) + "."); if (encountered) console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", encountered);else switch (encountered = options && "string" === typeof options.as ? options.as : "script", encountered) { case "script": break; default: encountered = getValueDescriptorExpectingEnumForWarning(encountered), console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)', encountered, href); } if ("string" === typeof href) if ("object" === typeof options && null !== options) { if (null == options.as || "script" === options.as) encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.M(href, { crossOrigin: encountered, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } else null == options && Internals.d.M(href); }; exports.preload = function (href, options) { var encountered = ""; "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + "."); null == options || "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : "string" === typeof options.as && options.as || (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + "."); encountered && console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s', encountered); if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) { encountered = options.as; var crossOrigin = getCrossOriginStringAs(encountered, options.crossOrigin); Internals.d.L(href, encountered, { crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0, type: "string" === typeof options.type ? options.type : void 0, fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0, referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0, imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0, imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0, media: "string" === typeof options.media ? options.media : void 0 }); } }; exports.preloadModule = function (href, options) { var encountered = ""; "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + "."); void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "string" !== typeof options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + "."); encountered && console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s', encountered); "string" === typeof href && (options ? (encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.m(href, { as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0, crossOrigin: encountered, integrity: "string" === typeof options.integrity ? options.integrity : void 0 })) : Internals.d.m(href)); }; exports.requestFormReset = function (form) { Internals.d.r(form); }; exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; exports.useFormState = function (action, initialState, permalink) { return resolveDispatcher().useFormState(action, initialState, permalink); }; exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; exports.version = "19.0.0"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }(); /***/ }), /***/ "./node_modules/react-dom/client.js": /*!******************************************!*\ !*** ./node_modules/react-dom/client.js ***! \******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; function checkDCE() { /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') { return; } if (true) { // This branch is unreachable because this function is only called // in production, but the condition is true only in development. // Therefore if the branch is still here, dead code elimination wasn't // properly applied. // Don't change the message. React DevTools relies on it. Also make sure // this message doesn't occur elsewhere in this function, or it will cause // a false positive. throw new Error('^_^'); } try { // Verify that the code above has been dead code eliminated (DCE'd). __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); } catch (err) { // DevTools shouldn't crash React, no matter what. // We should still report in case we break this code. console.error(err); } } if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/react-dom-client.development.js */ "./node_modules/react-dom/cjs/react-dom-client.development.js"); } /***/ }), /***/ "./node_modules/react-dom/index.js": /*!*****************************************!*\ !*** ./node_modules/react-dom/index.js ***! \*****************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; function checkDCE() { /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') { return; } if (true) { // This branch is unreachable because this function is only called // in production, but the condition is true only in development. // Therefore if the branch is still here, dead code elimination wasn't // properly applied. // Don't change the message. React DevTools relies on it. Also make sure // this message doesn't occur elsewhere in this function, or it will cause // a false positive. throw new Error('^_^'); } try { // Verify that the code above has been dead code eliminated (DCE'd). __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); } catch (err) { // DevTools shouldn't crash React, no matter what. // We should still report in case we break this code. console.error(err); } } if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/react-dom/cjs/react-dom.development.js"); } /***/ }), /***/ "./node_modules/react-refresh/cjs/react-refresh-runtime.development.js": /*!*****************************************************************************!*\ !*** ./node_modules/react-refresh/cjs/react-refresh-runtime.development.js ***! \*****************************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; /** @license React vundefined * react-refresh-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ if (true) { (function () { 'use strict'; // ATTENTION // When adding new symbols to this file, // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' // The Symbol used to tag the ReactElement-like types. If there is no native Symbol // nor polyfill, then a plain number is used for performance. var REACT_ELEMENT_TYPE = 0xeac7; var REACT_PORTAL_TYPE = 0xeaca; var REACT_FRAGMENT_TYPE = 0xeacb; var REACT_STRICT_MODE_TYPE = 0xeacc; var REACT_PROFILER_TYPE = 0xead2; var REACT_PROVIDER_TYPE = 0xeacd; var REACT_CONTEXT_TYPE = 0xeace; var REACT_FORWARD_REF_TYPE = 0xead0; var REACT_SUSPENSE_TYPE = 0xead1; var REACT_SUSPENSE_LIST_TYPE = 0xead8; var REACT_MEMO_TYPE = 0xead3; var REACT_LAZY_TYPE = 0xead4; var REACT_SCOPE_TYPE = 0xead7; var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; var REACT_OFFSCREEN_TYPE = 0xeae2; var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; var REACT_CACHE_TYPE = 0xeae4; if (typeof Symbol === 'function' && Symbol.for) { var symbolFor = Symbol.for; REACT_ELEMENT_TYPE = symbolFor('react.element'); REACT_PORTAL_TYPE = symbolFor('react.portal'); REACT_FRAGMENT_TYPE = symbolFor('react.fragment'); REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); REACT_PROFILER_TYPE = symbolFor('react.profiler'); REACT_PROVIDER_TYPE = symbolFor('react.provider'); REACT_CONTEXT_TYPE = symbolFor('react.context'); REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); REACT_MEMO_TYPE = symbolFor('react.memo'); REACT_LAZY_TYPE = symbolFor('react.lazy'); REACT_SCOPE_TYPE = symbolFor('react.scope'); REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); REACT_CACHE_TYPE = symbolFor('react.cache'); } var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map; // We never remove these associations. // It's OK to reference families, but use WeakMap/Set for types. var allFamiliesByID = new Map(); var allFamiliesByType = new PossiblyWeakMap(); var allSignaturesByType = new PossiblyWeakMap(); // This WeakMap is read by React, so we only put families // that have actually been edited here. This keeps checks fast. // $FlowIssue var updatedFamiliesByType = new PossiblyWeakMap(); // This is cleared on every performReactRefresh() call. // It is an array of [Family, NextType] tuples. var pendingUpdates = []; // This is injected by the renderer via DevTools global hook. var helpersByRendererID = new Map(); var helpersByRoot = new Map(); // We keep track of mounted roots so we can schedule updates. var mountedRoots = new Set(); // If a root captures an error, we remember it so we can retry on edit. var failedRoots = new Set(); // In environments that support WeakMap, we also remember the last element for every root. // It needs to be weak because we do this even for roots that failed to mount. // If there is no WeakMap, we won't attempt to do retrying. // $FlowIssue var rootElements = // $FlowIssue typeof WeakMap === 'function' ? new WeakMap() : null; var isPerformingRefresh = false; function computeFullKey(signature) { if (signature.fullKey !== null) { return signature.fullKey; } var fullKey = signature.ownKey; var hooks; try { hooks = signature.getCustomHooks(); } catch (err) { // This can happen in an edge case, e.g. if expression like Foo.useSomething // depends on Foo which is lazily initialized during rendering. // In that case just assume we'll have to remount. signature.forceReset = true; signature.fullKey = fullKey; return fullKey; } for (var i = 0; i < hooks.length; i++) { var hook = hooks[i]; if (typeof hook !== 'function') { // Something's wrong. Assume we need to remount. signature.forceReset = true; signature.fullKey = fullKey; return fullKey; } var nestedHookSignature = allSignaturesByType.get(hook); if (nestedHookSignature === undefined) { // No signature means Hook wasn't in the source code, e.g. in a library. // We'll skip it because we can assume it won't change during this session. continue; } var nestedHookKey = computeFullKey(nestedHookSignature); if (nestedHookSignature.forceReset) { signature.forceReset = true; } fullKey += '\n---\n' + nestedHookKey; } signature.fullKey = fullKey; return fullKey; } function haveEqualSignatures(prevType, nextType) { var prevSignature = allSignaturesByType.get(prevType); var nextSignature = allSignaturesByType.get(nextType); if (prevSignature === undefined && nextSignature === undefined) { return true; } if (prevSignature === undefined || nextSignature === undefined) { return false; } if (computeFullKey(prevSignature) !== computeFullKey(nextSignature)) { return false; } if (nextSignature.forceReset) { return false; } return true; } function isReactClass(type) { return type.prototype && type.prototype.isReactComponent; } function canPreserveStateBetween(prevType, nextType) { if (isReactClass(prevType) || isReactClass(nextType)) { return false; } if (haveEqualSignatures(prevType, nextType)) { return true; } return false; } function resolveFamily(type) { // Only check updated types to keep lookups fast. return updatedFamiliesByType.get(type); } // If we didn't care about IE11, we could use new Map/Set(iterable). function cloneMap(map) { var clone = new Map(); map.forEach(function (value, key) { clone.set(key, value); }); return clone; } function cloneSet(set) { var clone = new Set(); set.forEach(function (value) { clone.add(value); }); return clone; } // This is a safety mechanism to protect against rogue getters and Proxies. function getProperty(object, property) { try { return object[property]; } catch (err) { // Intentionally ignore. return undefined; } } function performReactRefresh() { if (pendingUpdates.length === 0) { return null; } if (isPerformingRefresh) { return null; } isPerformingRefresh = true; try { var staleFamilies = new Set(); var updatedFamilies = new Set(); var updates = pendingUpdates; pendingUpdates = []; updates.forEach(function (_ref) { var family = _ref[0], nextType = _ref[1]; // Now that we got a real edit, we can create associations // that will be read by the React reconciler. var prevType = family.current; updatedFamiliesByType.set(prevType, family); updatedFamiliesByType.set(nextType, family); family.current = nextType; // Determine whether this should be a re-render or a re-mount. if (canPreserveStateBetween(prevType, nextType)) { updatedFamilies.add(family); } else { staleFamilies.add(family); } }); // TODO: rename these fields to something more meaningful. var update = { updatedFamilies: updatedFamilies, // Families that will re-render preserving state staleFamilies: staleFamilies // Families that will be remounted }; helpersByRendererID.forEach(function (helpers) { // Even if there are no roots, set the handler on first update. // This ensures that if *new* roots are mounted, they'll use the resolve handler. helpers.setRefreshHandler(resolveFamily); }); var didError = false; var firstError = null; // We snapshot maps and sets that are mutated during commits. // If we don't do this, there is a risk they will be mutated while // we iterate over them. For example, trying to recover a failed root // may cause another root to be added to the failed list -- an infinite loop. var failedRootsSnapshot = cloneSet(failedRoots); var mountedRootsSnapshot = cloneSet(mountedRoots); var helpersByRootSnapshot = cloneMap(helpersByRoot); failedRootsSnapshot.forEach(function (root) { var helpers = helpersByRootSnapshot.get(root); if (helpers === undefined) { throw new Error('Could not find helpers for a root. This is a bug in React Refresh.'); } if (!failedRoots.has(root)) {// No longer failed. } if (rootElements === null) { return; } if (!rootElements.has(root)) { return; } var element = rootElements.get(root); try { helpers.scheduleRoot(root, element); } catch (err) { if (!didError) { didError = true; firstError = err; } // Keep trying other roots. } }); mountedRootsSnapshot.forEach(function (root) { var helpers = helpersByRootSnapshot.get(root); if (helpers === undefined) { throw new Error('Could not find helpers for a root. This is a bug in React Refresh.'); } if (!mountedRoots.has(root)) {// No longer mounted. } try { helpers.scheduleRefresh(root, update); } catch (err) { if (!didError) { didError = true; firstError = err; } // Keep trying other roots. } }); if (didError) { throw firstError; } return update; } finally { isPerformingRefresh = false; } } function register(type, id) { { if (type === null) { return; } if (typeof type !== 'function' && typeof type !== 'object') { return; } // This can happen in an edge case, e.g. if we register // return value of a HOC but it returns a cached component. // Ignore anything but the first registration for each type. if (allFamiliesByType.has(type)) { return; } // Create family or remember to update it. // None of this bookkeeping affects reconciliation // until the first performReactRefresh() call above. var family = allFamiliesByID.get(id); if (family === undefined) { family = { current: type }; allFamiliesByID.set(id, family); } else { pendingUpdates.push([family, type]); } allFamiliesByType.set(type, family); // Visit inner types because we might not have registered them. if (typeof type === 'object' && type !== null) { switch (getProperty(type, '$$typeof')) { case REACT_FORWARD_REF_TYPE: register(type.render, id + '$render'); break; case REACT_MEMO_TYPE: register(type.type, id + '$type'); break; } } } } function setSignature(type, key) { var forceReset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var getCustomHooks = arguments.length > 3 ? arguments[3] : undefined; { if (!allSignaturesByType.has(type)) { allSignaturesByType.set(type, { forceReset: forceReset, ownKey: key, fullKey: null, getCustomHooks: getCustomHooks || function () { return []; } }); } // Visit inner types because we might not have signed them. if (typeof type === 'object' && type !== null) { switch (getProperty(type, '$$typeof')) { case REACT_FORWARD_REF_TYPE: setSignature(type.render, key, forceReset, getCustomHooks); break; case REACT_MEMO_TYPE: setSignature(type.type, key, forceReset, getCustomHooks); break; } } } } // This is lazily called during first render for a type. // It captures Hook list at that time so inline requires don't break comparisons. function collectCustomHooksForSignature(type) { { var signature = allSignaturesByType.get(type); if (signature !== undefined) { computeFullKey(signature); } } } function getFamilyByID(id) { { return allFamiliesByID.get(id); } } function getFamilyByType(type) { { return allFamiliesByType.get(type); } } function findAffectedHostInstances(families) { { var affectedInstances = new Set(); mountedRoots.forEach(function (root) { var helpers = helpersByRoot.get(root); if (helpers === undefined) { throw new Error('Could not find helpers for a root. This is a bug in React Refresh.'); } var instancesForRoot = helpers.findHostInstancesForRefresh(root, families); instancesForRoot.forEach(function (inst) { affectedInstances.add(inst); }); }); return affectedInstances; } } function injectIntoGlobalHook(globalObject) { { // For React Native, the global hook will be set up by require('react-devtools-core'). // That code will run before us. So we need to monkeypatch functions on existing hook. // For React Web, the global hook will be set up by the extension. // This will also run before us. var hook = globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__; if (hook === undefined) { // However, if there is no DevTools extension, we'll need to set up the global hook ourselves. // Note that in this case it's important that renderer code runs *after* this method call. // Otherwise, the renderer will think that there is no global hook, and won't do the injection. var nextID = 0; globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__ = hook = { renderers: new Map(), supportsFiber: true, inject: function (injected) { return nextID++; }, onScheduleFiberRoot: function (id, root, children) {}, onCommitFiberRoot: function (id, root, maybePriorityLevel, didError) {}, onCommitFiberUnmount: function () {} }; } if (hook.isDisabled) { // This isn't a real property on the hook, but it can be set to opt out // of DevTools integration and associated warnings and logs. // Using console['warn'] to evade Babel and ESLint console['warn']('Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). ' + 'Fast Refresh is not compatible with this shim and will be disabled.'); return; } // Here, we just want to get a reference to scheduleRefresh. var oldInject = hook.inject; hook.inject = function (injected) { var id = oldInject.apply(this, arguments); if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') { // This version supports React Refresh. helpersByRendererID.set(id, injected); } return id; }; // Do the same for any already injected roots. // This is useful if ReactDOM has already been initialized. // https://github.com/facebook/react/issues/17626 hook.renderers.forEach(function (injected, id) { if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') { // This version supports React Refresh. helpersByRendererID.set(id, injected); } }); // We also want to track currently mounted roots. var oldOnCommitFiberRoot = hook.onCommitFiberRoot; var oldOnScheduleFiberRoot = hook.onScheduleFiberRoot || function () {}; hook.onScheduleFiberRoot = function (id, root, children) { if (!isPerformingRefresh) { // If it was intentionally scheduled, don't attempt to restore. // This includes intentionally scheduled unmounts. failedRoots.delete(root); if (rootElements !== null) { rootElements.set(root, children); } } return oldOnScheduleFiberRoot.apply(this, arguments); }; hook.onCommitFiberRoot = function (id, root, maybePriorityLevel, didError) { var helpers = helpersByRendererID.get(id); if (helpers !== undefined) { helpersByRoot.set(root, helpers); var current = root.current; var alternate = current.alternate; // We need to determine whether this root has just (un)mounted. // This logic is copy-pasted from similar logic in the DevTools backend. // If this breaks with some refactoring, you'll want to update DevTools too. if (alternate !== null) { var wasMounted = alternate.memoizedState != null && alternate.memoizedState.element != null; var isMounted = current.memoizedState != null && current.memoizedState.element != null; if (!wasMounted && isMounted) { // Mount a new root. mountedRoots.add(root); failedRoots.delete(root); } else if (wasMounted && isMounted) ;else if (wasMounted && !isMounted) { // Unmount an existing root. mountedRoots.delete(root); if (didError) { // We'll remount it on future edits. failedRoots.add(root); } else { helpersByRoot.delete(root); } } else if (!wasMounted && !isMounted) { if (didError) { // We'll remount it on future edits. failedRoots.add(root); } } } else { // Mount a new root. mountedRoots.add(root); } } // Always call the decorated DevTools hook. return oldOnCommitFiberRoot.apply(this, arguments); }; } } function hasUnrecoverableErrors() { // TODO: delete this after removing dependency in RN. return false; } // Exposed for testing. function _getMountedRootCount() { { return mountedRoots.size; } } // This is a wrapper over more primitive functions for setting signature. // Signatures let us decide whether the Hook order has changed on refresh. // // This function is intended to be used as a transform target, e.g.: // var _s = createSignatureFunctionForTransform() // // function Hello() { // const [foo, setFoo] = useState(0); // const value = useCustomHook(); // _s(); /* Call without arguments triggers collecting the custom Hook list. // * This doesn't happen during the module evaluation because we // * don't want to change the module order with inline requires. // * Next calls are noops. */ // return <h1>Hi</h1>; // } // // /* Call with arguments attaches the signature to the type: */ // _s( // Hello, // 'useState{[foo, setFoo]}(0)', // () => [useCustomHook], /* Lazy to avoid triggering inline requires */ // ); function createSignatureFunctionForTransform() { { var savedType; var hasCustomHooks; var didCollectHooks = false; return function (type, key, forceReset, getCustomHooks) { if (typeof key === 'string') { // We're in the initial phase that associates signatures // with the functions. Note this may be called multiple times // in HOC chains like _s(hoc1(_s(hoc2(_s(actualFunction))))). if (!savedType) { // We're in the innermost call, so this is the actual type. savedType = type; hasCustomHooks = typeof getCustomHooks === 'function'; } // Set the signature for all types (even wrappers!) in case // they have no signatures of their own. This is to prevent // problems like https://github.com/facebook/react/issues/20417. if (type != null && (typeof type === 'function' || typeof type === 'object')) { setSignature(type, key, forceReset, getCustomHooks); } return type; } else { // We're in the _s() call without arguments, which means // this is the time to collect custom Hook signatures. // Only do this once. This path is hot and runs *inside* every render! if (!didCollectHooks && hasCustomHooks) { didCollectHooks = true; collectCustomHooksForSignature(savedType); } } }; } } function isLikelyComponentType(type) { { switch (typeof type) { case 'function': { // First, deal with classes. if (type.prototype != null) { if (type.prototype.isReactComponent) { // React class. return true; } var ownNames = Object.getOwnPropertyNames(type.prototype); if (ownNames.length > 1 || ownNames[0] !== 'constructor') { // This looks like a class. return false; } // eslint-disable-next-line no-proto if (type.prototype.__proto__ !== Object.prototype) { // It has a superclass. return false; } // Pass through. // This looks like a regular function with empty prototype. } // For plain functions and arrows, use name as a heuristic. var name = type.name || type.displayName; return typeof name === 'string' && /^[A-Z]/.test(name); } case 'object': { if (type != null) { switch (getProperty(type, '$$typeof')) { case REACT_FORWARD_REF_TYPE: case REACT_MEMO_TYPE: // Definitely React components. return true; default: return false; } } return false; } default: { return false; } } } } exports._getMountedRootCount = _getMountedRootCount; exports.collectCustomHooksForSignature = collectCustomHooksForSignature; exports.createSignatureFunctionForTransform = createSignatureFunctionForTransform; exports.findAffectedHostInstances = findAffectedHostInstances; exports.getFamilyByID = getFamilyByID; exports.getFamilyByType = getFamilyByType; exports.hasUnrecoverableErrors = hasUnrecoverableErrors; exports.injectIntoGlobalHook = injectIntoGlobalHook; exports.isLikelyComponentType = isLikelyComponentType; exports.performReactRefresh = performReactRefresh; exports.register = register; exports.setSignature = setSignature; })(); } /***/ }), /***/ "./node_modules/react-refresh/runtime.js": /*!***********************************************!*\ !*** ./node_modules/react-refresh/runtime.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/react-refresh-runtime.development.js */ "./node_modules/react-refresh/cjs/react-refresh-runtime.development.js"); } /***/ }), /***/ "./node_modules/react-router-dom/dist/index.js": /*!*****************************************************!*\ !*** ./node_modules/react-router-dom/dist/index.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; var react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AbortedDeferredError: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.AbortedDeferredError), /* harmony export */ Await: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Await), /* harmony export */ BrowserRouter: () => (/* binding */ BrowserRouter), /* harmony export */ Form: () => (/* binding */ Form), /* harmony export */ HashRouter: () => (/* binding */ HashRouter), /* harmony export */ Link: () => (/* binding */ Link), /* harmony export */ MemoryRouter: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.MemoryRouter), /* harmony export */ NavLink: () => (/* binding */ NavLink), /* harmony export */ Navigate: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Navigate), /* harmony export */ NavigationType: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Action), /* harmony export */ Outlet: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Outlet), /* harmony export */ Route: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Route), /* harmony export */ Router: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Router), /* harmony export */ RouterProvider: () => (/* binding */ RouterProvider), /* harmony export */ Routes: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Routes), /* harmony export */ ScrollRestoration: () => (/* binding */ ScrollRestoration), /* harmony export */ UNSAFE_DataRouterContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterContext), /* harmony export */ UNSAFE_DataRouterStateContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterStateContext), /* harmony export */ UNSAFE_ErrorResponseImpl: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_ErrorResponseImpl), /* harmony export */ UNSAFE_FetchersContext: () => (/* binding */ FetchersContext), /* harmony export */ UNSAFE_LocationContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_LocationContext), /* harmony export */ UNSAFE_NavigationContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_NavigationContext), /* harmony export */ UNSAFE_RouteContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_RouteContext), /* harmony export */ UNSAFE_ViewTransitionContext: () => (/* binding */ ViewTransitionContext), /* harmony export */ UNSAFE_useRouteId: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_useRouteId), /* harmony export */ UNSAFE_useScrollRestoration: () => (/* binding */ useScrollRestoration), /* harmony export */ createBrowserRouter: () => (/* binding */ createBrowserRouter), /* harmony export */ createHashRouter: () => (/* binding */ createHashRouter), /* harmony export */ createMemoryRouter: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.createMemoryRouter), /* harmony export */ createPath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.createPath), /* harmony export */ createRoutesFromChildren: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.createRoutesFromChildren), /* harmony export */ createRoutesFromElements: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.createRoutesFromElements), /* harmony export */ createSearchParams: () => (/* binding */ createSearchParams), /* harmony export */ defer: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.defer), /* harmony export */ generatePath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.generatePath), /* harmony export */ isRouteErrorResponse: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.isRouteErrorResponse), /* harmony export */ json: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.json), /* harmony export */ matchPath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.matchPath), /* harmony export */ matchRoutes: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.matchRoutes), /* harmony export */ parsePath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.parsePath), /* harmony export */ redirect: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.redirect), /* harmony export */ redirectDocument: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.redirectDocument), /* harmony export */ renderMatches: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.renderMatches), /* harmony export */ replace: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.replace), /* harmony export */ resolvePath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.resolvePath), /* harmony export */ unstable_HistoryRouter: () => (/* binding */ HistoryRouter), /* harmony export */ unstable_usePrompt: () => (/* binding */ usePrompt), /* harmony export */ useActionData: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useActionData), /* harmony export */ useAsyncError: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useAsyncError), /* harmony export */ useAsyncValue: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useAsyncValue), /* harmony export */ useBeforeUnload: () => (/* binding */ useBeforeUnload), /* harmony export */ useBlocker: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useBlocker), /* harmony export */ useFetcher: () => (/* binding */ useFetcher), /* harmony export */ useFetchers: () => (/* binding */ useFetchers), /* harmony export */ useFormAction: () => (/* binding */ useFormAction), /* harmony export */ useHref: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useHref), /* harmony export */ useInRouterContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useInRouterContext), /* harmony export */ useLinkClickHandler: () => (/* binding */ useLinkClickHandler), /* harmony export */ useLoaderData: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useLoaderData), /* harmony export */ useLocation: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useLocation), /* harmony export */ useMatch: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useMatch), /* harmony export */ useMatches: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useMatches), /* harmony export */ useNavigate: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useNavigate), /* harmony export */ useNavigation: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useNavigation), /* harmony export */ useNavigationType: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useNavigationType), /* harmony export */ useOutlet: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useOutlet), /* harmony export */ useOutletContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useOutletContext), /* harmony export */ useParams: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useParams), /* harmony export */ useResolvedPath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useResolvedPath), /* harmony export */ useRevalidator: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useRevalidator), /* harmony export */ useRouteError: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useRouteError), /* harmony export */ useRouteLoaderData: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useRouteLoaderData), /* harmony export */ useRoutes: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.useRoutes), /* harmony export */ useSearchParams: () => (/* binding */ useSearchParams), /* harmony export */ useSubmit: () => (/* binding */ useSubmit), /* harmony export */ useViewTransitionState: () => (/* binding */ useViewTransitionState) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js"); /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router */ "./node_modules/react-router/dist/index.js"); /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @remix-run/router */ "./node_modules/@remix-run/router/dist/router.js"); /** * React Router DOM v6.28.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } const defaultMethod = "get"; const defaultEncType = "application/x-www-form-urlencoded"; function isHtmlElement(object) { return object != null && typeof object.tagName === "string"; } function isButtonElement(object) { return isHtmlElement(object) && object.tagName.toLowerCase() === "button"; } function isFormElement(object) { return isHtmlElement(object) && object.tagName.toLowerCase() === "form"; } function isInputElement(object) { return isHtmlElement(object) && object.tagName.toLowerCase() === "input"; } function isModifiedEvent(event) { return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); } function shouldProcessLinkClick(event, target) { return event.button === 0 && ( // Ignore everything but left clicks !target || target === "_self") && // Let browser handle "target=_blank" etc. !isModifiedEvent(event) // Ignore clicks with modifier keys ; } /** * Creates a URLSearchParams object using the given initializer. * * This is identical to `new URLSearchParams(init)` except it also * supports arrays as values in the object form of the initializer * instead of just strings. This is convenient when you need multiple * values for a given key, but don't want to use an array initializer. * * For example, instead of: * * let searchParams = new URLSearchParams([ * ['sort', 'name'], * ['sort', 'price'] * ]); * * you can do: * * let searchParams = createSearchParams({ * sort: ['name', 'price'] * }); */ function createSearchParams(init) { if (init === void 0) { init = ""; } return new URLSearchParams(typeof init === "string" || Array.isArray(init) || init instanceof URLSearchParams ? init : Object.keys(init).reduce((memo, key) => { let value = init[key]; return memo.concat(Array.isArray(value) ? value.map(v => [key, v]) : [[key, value]]); }, [])); } function getSearchParamsForLocation(locationSearch, defaultSearchParams) { let searchParams = createSearchParams(locationSearch); if (defaultSearchParams) { // Use `defaultSearchParams.forEach(...)` here instead of iterating of // `defaultSearchParams.keys()` to work-around a bug in Firefox related to // web extensions. Relevant Bugzilla tickets: // https://bugzilla.mozilla.org/show_bug.cgi?id=1414602 // https://bugzilla.mozilla.org/show_bug.cgi?id=1023984 defaultSearchParams.forEach((_, key) => { if (!searchParams.has(key)) { defaultSearchParams.getAll(key).forEach(value => { searchParams.append(key, value); }); } }); } return searchParams; } // One-time check for submitter support let _formDataSupportsSubmitter = null; function isFormDataSubmitterSupported() { if (_formDataSupportsSubmitter === null) { try { new FormData(document.createElement("form"), // @ts-expect-error if FormData supports the submitter parameter, this will throw 0); _formDataSupportsSubmitter = false; } catch (e) { _formDataSupportsSubmitter = true; } } return _formDataSupportsSubmitter; } const supportedFormEncTypes = new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]); function getFormEncType(encType) { if (encType != null && !supportedFormEncTypes.has(encType)) { true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_warning)(false, "\"" + encType + "\" is not a valid `encType` for `<Form>`/`<fetcher.Form>` " + ("and will default to \"" + defaultEncType + "\"")) : 0; return null; } return encType; } function getFormSubmissionInfo(target, basename) { let method; let action; let encType; let formData; let body; if (isFormElement(target)) { // When grabbing the action from the element, it will have had the basename // prefixed to ensure non-JS scenarios work, so strip it since we'll // re-prefix in the router let attr = target.getAttribute("action"); action = attr ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(attr, basename) : null; method = target.getAttribute("method") || defaultMethod; encType = getFormEncType(target.getAttribute("enctype")) || defaultEncType; formData = new FormData(target); } else if (isButtonElement(target) || isInputElement(target) && (target.type === "submit" || target.type === "image")) { let form = target.form; if (form == null) { throw new Error("Cannot submit a <button> or <input type=\"submit\"> without a <form>"); } // <button>/<input type="submit"> may override attributes of <form> // When grabbing the action from the element, it will have had the basename // prefixed to ensure non-JS scenarios work, so strip it since we'll // re-prefix in the router let attr = target.getAttribute("formaction") || form.getAttribute("action"); action = attr ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(attr, basename) : null; method = target.getAttribute("formmethod") || form.getAttribute("method") || defaultMethod; encType = getFormEncType(target.getAttribute("formenctype")) || getFormEncType(form.getAttribute("enctype")) || defaultEncType; // Build a FormData object populated from a form and submitter formData = new FormData(form, target); // If this browser doesn't support the `FormData(el, submitter)` format, // then tack on the submitter value at the end. This is a lightweight // solution that is not 100% spec compliant. For complete support in older // browsers, consider using the `formdata-submitter-polyfill` package if (!isFormDataSubmitterSupported()) { let { name, type, value } = target; if (type === "image") { let prefix = name ? name + "." : ""; formData.append(prefix + "x", "0"); formData.append(prefix + "y", "0"); } else if (name) { formData.append(name, value); } } } else if (isHtmlElement(target)) { throw new Error("Cannot submit element that is not <form>, <button>, or " + "<input type=\"submit|image\">"); } else { method = defaultMethod; action = null; encType = defaultEncType; body = target; } // Send body for <Form encType="text/plain" so we encode it into text if (formData && encType === "text/plain") { body = formData; formData = undefined; } return { action, method: method.toLowerCase(), encType, formData, body }; } const _excluded = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "viewTransition"], _excluded2 = ["aria-current", "caseSensitive", "className", "end", "style", "to", "viewTransition", "children"], _excluded3 = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "viewTransition"]; // HEY YOU! DON'T TOUCH THIS VARIABLE! // // It is replaced with the proper version at build time via a babel plugin in // the rollup config. // // Export a global property onto the window for React Router detection by the // Core Web Vitals Technology Report. This way they can configure the `wappalyzer` // to detect and properly classify live websites as being built with React Router: // https://github.com/HTTPArchive/wappalyzer/blob/main/src/technologies/r.json const REACT_ROUTER_VERSION = "6"; try { window.__reactRouterVersion = REACT_ROUTER_VERSION; } catch (e) { // no-op } function createBrowserRouter(routes, opts) { return (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createRouter)({ basename: opts == null ? void 0 : opts.basename, future: _extends({}, opts == null ? void 0 : opts.future, { v7_prependBasename: true }), history: (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createBrowserHistory)({ window: opts == null ? void 0 : opts.window }), hydrationData: (opts == null ? void 0 : opts.hydrationData) || parseHydrationData(), routes, mapRouteProperties: react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_mapRouteProperties, dataStrategy: opts == null ? void 0 : opts.dataStrategy, patchRoutesOnNavigation: opts == null ? void 0 : opts.patchRoutesOnNavigation, window: opts == null ? void 0 : opts.window }).initialize(); } function createHashRouter(routes, opts) { return (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createRouter)({ basename: opts == null ? void 0 : opts.basename, future: _extends({}, opts == null ? void 0 : opts.future, { v7_prependBasename: true }), history: (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createHashHistory)({ window: opts == null ? void 0 : opts.window }), hydrationData: (opts == null ? void 0 : opts.hydrationData) || parseHydrationData(), routes, mapRouteProperties: react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_mapRouteProperties, dataStrategy: opts == null ? void 0 : opts.dataStrategy, patchRoutesOnNavigation: opts == null ? void 0 : opts.patchRoutesOnNavigation, window: opts == null ? void 0 : opts.window }).initialize(); } function parseHydrationData() { var _window; let state = (_window = window) == null ? void 0 : _window.__staticRouterHydrationData; if (state && state.errors) { state = _extends({}, state, { errors: deserializeErrors(state.errors) }); } return state; } function deserializeErrors(errors) { if (!errors) return null; let entries = Object.entries(errors); let serialized = {}; for (let [key, val] of entries) { // Hey you! If you change this, please change the corresponding logic in // serializeErrors in react-router-dom/server.tsx :) if (val && val.__type === "RouteErrorResponse") { serialized[key] = new react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_ErrorResponseImpl(val.status, val.statusText, val.data, val.internal === true); } else if (val && val.__type === "Error") { // Attempt to reconstruct the right type of Error (i.e., ReferenceError) if (val.__subType) { let ErrorConstructor = window[val.__subType]; if (typeof ErrorConstructor === "function") { try { // @ts-expect-error let error = new ErrorConstructor(val.message); // Wipe away the client-side stack trace. Nothing to fill it in with // because we don't serialize SSR stack traces for security reasons error.stack = ""; serialized[key] = error; } catch (e) { // no-op - fall through and create a normal Error } } } if (serialized[key] == null) { let error = new Error(val.message); // Wipe away the client-side stack trace. Nothing to fill it in with // because we don't serialize SSR stack traces for security reasons error.stack = ""; serialized[key] = error; } } else { serialized[key] = val; } } return serialized; } const ViewTransitionContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({ isTransitioning: false }); if (true) { ViewTransitionContext.displayName = "ViewTransition"; } const FetchersContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(new Map()); if (true) { FetchersContext.displayName = "Fetchers"; } //#endregion //////////////////////////////////////////////////////////////////////////////// //#region Components //////////////////////////////////////////////////////////////////////////////// /** Webpack + React 17 fails to compile on any of the following because webpack complains that `startTransition` doesn't exist in `React`: * import { startTransition } from "react" * import * as React from from "react"; "startTransition" in React ? React.startTransition(() => setState()) : setState() * import * as React from from "react"; "startTransition" in React ? React["startTransition"](() => setState()) : setState() Moving it to a constant such as the following solves the Webpack/React 17 issue: * import * as React from from "react"; const START_TRANSITION = "startTransition"; START_TRANSITION in React ? React[START_TRANSITION](() => setState()) : setState() However, that introduces webpack/terser minification issues in production builds in React 18 where minification/obfuscation ends up removing the call of React.startTransition entirely from the first half of the ternary. Grabbing this exported reference once up front resolves that issue. See https://github.com/remix-run/react-router/issues/10579 */ const START_TRANSITION = "startTransition"; const startTransitionImpl = react__WEBPACK_IMPORTED_MODULE_0__[START_TRANSITION]; const FLUSH_SYNC = "flushSync"; const flushSyncImpl = /*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)))[FLUSH_SYNC]; const USE_ID = "useId"; const useIdImpl = react__WEBPACK_IMPORTED_MODULE_0__[USE_ID]; function startTransitionSafe(cb) { if (startTransitionImpl) { startTransitionImpl(cb); } else { cb(); } } function flushSyncSafe(cb) { if (flushSyncImpl) { flushSyncImpl(cb); } else { cb(); } } class Deferred { constructor() { this.status = "pending"; this.promise = new Promise((resolve, reject) => { this.resolve = value => { if (this.status === "pending") { this.status = "resolved"; resolve(value); } }; this.reject = reason => { if (this.status === "pending") { this.status = "rejected"; reject(reason); } }; }); } } /** * Given a Remix Router instance, render the appropriate UI */ function RouterProvider(_ref) { let { fallbackElement, router, future } = _ref; let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState(router.state); let [pendingState, setPendingState] = react__WEBPACK_IMPORTED_MODULE_0__.useState(); let [vtContext, setVtContext] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ isTransitioning: false }); let [renderDfd, setRenderDfd] = react__WEBPACK_IMPORTED_MODULE_0__.useState(); let [transition, setTransition] = react__WEBPACK_IMPORTED_MODULE_0__.useState(); let [interruption, setInterruption] = react__WEBPACK_IMPORTED_MODULE_0__.useState(); let fetcherData = react__WEBPACK_IMPORTED_MODULE_0__.useRef(new Map()); let { v7_startTransition } = future || {}; let optInStartTransition = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(cb => { if (v7_startTransition) { startTransitionSafe(cb); } else { cb(); } }, [v7_startTransition]); let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((newState, _ref2) => { let { deletedFetchers, flushSync: flushSync, viewTransitionOpts: viewTransitionOpts } = _ref2; deletedFetchers.forEach(key => fetcherData.current.delete(key)); newState.fetchers.forEach((fetcher, key) => { if (fetcher.data !== undefined) { fetcherData.current.set(key, fetcher.data); } }); let isViewTransitionUnavailable = router.window == null || router.window.document == null || typeof router.window.document.startViewTransition !== "function"; // If this isn't a view transition or it's not available in this browser, // just update and be done with it if (!viewTransitionOpts || isViewTransitionUnavailable) { if (flushSync) { flushSyncSafe(() => setStateImpl(newState)); } else { optInStartTransition(() => setStateImpl(newState)); } return; } // flushSync + startViewTransition if (flushSync) { // Flush through the context to mark DOM elements as transition=ing flushSyncSafe(() => { // Cancel any pending transitions if (transition) { renderDfd && renderDfd.resolve(); transition.skipTransition(); } setVtContext({ isTransitioning: true, flushSync: true, currentLocation: viewTransitionOpts.currentLocation, nextLocation: viewTransitionOpts.nextLocation }); }); // Update the DOM let t = router.window.document.startViewTransition(() => { flushSyncSafe(() => setStateImpl(newState)); }); // Clean up after the animation completes t.finished.finally(() => { flushSyncSafe(() => { setRenderDfd(undefined); setTransition(undefined); setPendingState(undefined); setVtContext({ isTransitioning: false }); }); }); flushSyncSafe(() => setTransition(t)); return; } // startTransition + startViewTransition if (transition) { // Interrupting an in-progress transition, cancel and let everything flush // out, and then kick off a new transition from the interruption state renderDfd && renderDfd.resolve(); transition.skipTransition(); setInterruption({ state: newState, currentLocation: viewTransitionOpts.currentLocation, nextLocation: viewTransitionOpts.nextLocation }); } else { // Completed navigation update with opted-in view transitions, let 'er rip setPendingState(newState); setVtContext({ isTransitioning: true, flushSync: false, currentLocation: viewTransitionOpts.currentLocation, nextLocation: viewTransitionOpts.nextLocation }); } }, [router.window, transition, renderDfd, fetcherData, optInStartTransition]); // Need to use a layout effect here so we are subscribed early enough to // pick up on any render-driven redirects/navigations (useEffect/<Navigate>) react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => router.subscribe(setState), [router, setState]); // When we start a view transition, create a Deferred we can use for the // eventual "completed" render react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (vtContext.isTransitioning && !vtContext.flushSync) { setRenderDfd(new Deferred()); } }, [vtContext]); // Once the deferred is created, kick off startViewTransition() to update the // DOM and then wait on the Deferred to resolve (indicating the DOM update has // happened) react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (renderDfd && pendingState && router.window) { let newState = pendingState; let renderPromise = renderDfd.promise; let transition = router.window.document.startViewTransition(async () => { optInStartTransition(() => setStateImpl(newState)); await renderPromise; }); transition.finished.finally(() => { setRenderDfd(undefined); setTransition(undefined); setPendingState(undefined); setVtContext({ isTransitioning: false }); }); setTransition(transition); } }, [optInStartTransition, pendingState, renderDfd, router.window]); // When the new location finally renders and is committed to the DOM, this // effect will run to resolve the transition react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (renderDfd && pendingState && state.location.key === pendingState.location.key) { renderDfd.resolve(); } }, [renderDfd, transition, state.location, pendingState]); // If we get interrupted with a new navigation during a transition, we skip // the active transition, let it cleanup, then kick it off again here react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (!vtContext.isTransitioning && interruption) { setPendingState(interruption.state); setVtContext({ isTransitioning: true, flushSync: false, currentLocation: interruption.currentLocation, nextLocation: interruption.nextLocation }); setInterruption(undefined); } }, [vtContext.isTransitioning, interruption]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_warning)(fallbackElement == null || !router.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using " + "`v7_partialHydration`, use a `HydrateFallback` component instead") : 0; // Only log this once on initial mount // eslint-disable-next-line react-hooks/exhaustive-deps }, []); let navigator = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { return { createHref: router.createHref, encodeLocation: router.encodeLocation, go: n => router.navigate(n), push: (to, state, opts) => router.navigate(to, { state, preventScrollReset: opts == null ? void 0 : opts.preventScrollReset }), replace: (to, state, opts) => router.navigate(to, { replace: true, state, preventScrollReset: opts == null ? void 0 : opts.preventScrollReset }) }; }, [router]); let basename = router.basename || "/"; let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({ router, navigator, static: false, basename }), [router, navigator, basename]); let routerFuture = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({ v7_relativeSplatPath: router.future.v7_relativeSplatPath }), [router.future.v7_relativeSplatPath]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_logV6DeprecationWarnings)(future, router.future), [future, router.future]); // The fragment and {null} here are important! We need them to keep React 18's // useId happy when we are server-rendering since we may have a <script> here // containing the hydrated server-side staticContext (from StaticRouterProvider). // useId relies on the component tree structure to generate deterministic id's // so we need to ensure it remains the same on the client even though // we don't need the <script> tag return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterContext.Provider, { value: dataRouterContext }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterStateContext.Provider, { value: state }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(FetchersContext.Provider, { value: fetcherData.current }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ViewTransitionContext.Provider, { value: vtContext }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.Router, { basename: basename, location: state.location, navigationType: state.historyAction, navigator: navigator, future: routerFuture }, state.initialized || router.future.v7_partialHydration ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(MemoizedDataRoutes, { routes: router.routes, future: router.future, state: state }) : fallbackElement))))), null); } // Memoize to avoid re-renders when updating `ViewTransitionContext` const MemoizedDataRoutes = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(DataRoutes); function DataRoutes(_ref3) { let { routes, future, state } = _ref3; return (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_useRoutesImpl)(routes, undefined, state, future); } /** * A `<Router>` for use in web browsers. Provides the cleanest URLs. */ function BrowserRouter(_ref4) { let { basename, children, future, window } = _ref4; let historyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(); if (historyRef.current == null) { historyRef.current = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createBrowserHistory)({ window, v5Compat: true }); } let history = historyRef.current; let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ action: history.action, location: history.location }); let { v7_startTransition } = future || {}; let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => { v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState); }, [setStateImpl, v7_startTransition]); react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_logV6DeprecationWarnings)(future), [future]); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.Router, { basename: basename, children: children, location: state.location, navigationType: state.action, navigator: history, future: future }); } /** * A `<Router>` for use in web browsers. Stores the location in the hash * portion of the URL so it is not sent to the server. */ function HashRouter(_ref5) { let { basename, children, future, window } = _ref5; let historyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(); if (historyRef.current == null) { historyRef.current = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createHashHistory)({ window, v5Compat: true }); } let history = historyRef.current; let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ action: history.action, location: history.location }); let { v7_startTransition } = future || {}; let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => { v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState); }, [setStateImpl, v7_startTransition]); react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_logV6DeprecationWarnings)(future), [future]); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.Router, { basename: basename, children: children, location: state.location, navigationType: state.action, navigator: history, future: future }); } /** * A `<Router>` that accepts a pre-instantiated history object. It's important * to note that using your own history object is highly discouraged and may add * two versions of the history library to your bundles unless you use the same * version of the history library that React Router uses internally. */ function HistoryRouter(_ref6) { let { basename, children, future, history } = _ref6; let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ action: history.action, location: history.location }); let { v7_startTransition } = future || {}; let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => { v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState); }, [setStateImpl, v7_startTransition]); react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_logV6DeprecationWarnings)(future), [future]); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.Router, { basename: basename, children: children, location: state.location, navigationType: state.action, navigator: history, future: future }); } if (true) { HistoryRouter.displayName = "unstable_HistoryRouter"; } const isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined"; const ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i; /** * The public API for rendering a history-aware `<a>`. */ const Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function LinkWithRef(_ref7, ref) { let { onClick, relative, reloadDocument, replace, state, target, to, preventScrollReset, viewTransition } = _ref7, rest = _objectWithoutPropertiesLoose(_ref7, _excluded); let { basename } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_NavigationContext); // Rendered into <a href> for absolute URLs let absoluteHref; let isExternal = false; if (typeof to === "string" && ABSOLUTE_URL_REGEX.test(to)) { // Render the absolute href server- and client-side absoluteHref = to; // Only check for external origins client-side if (isBrowser) { try { let currentUrl = new URL(window.location.href); let targetUrl = to.startsWith("//") ? new URL(currentUrl.protocol + to) : new URL(to); let path = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(targetUrl.pathname, basename); if (targetUrl.origin === currentUrl.origin && path != null) { // Strip the protocol/origin/basename for same-origin absolute URLs to = path + targetUrl.search + targetUrl.hash; } else { isExternal = true; } } catch (e) { // We can't do external URL detection without a valid URL true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_warning)(false, "<Link to=\"" + to + "\"> contains an invalid URL which will probably break " + "when clicked - please update to a valid URL path.") : 0; } } } // Rendered into <a href> for relative URLs let href = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useHref)(to, { relative }); let internalOnClick = useLinkClickHandler(to, { replace, state, target, preventScrollReset, relative, viewTransition }); function handleClick(event) { if (onClick) onClick(event); if (!event.defaultPrevented) { internalOnClick(event); } } return (/*#__PURE__*/ // eslint-disable-next-line jsx-a11y/anchor-has-content react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", _extends({}, rest, { href: absoluteHref || href, onClick: isExternal || reloadDocument ? onClick : handleClick, ref: ref, target: target })) ); }); if (true) { Link.displayName = "Link"; } /** * A `<Link>` wrapper that knows if it's "active" or not. */ const NavLink = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function NavLinkWithRef(_ref8, ref) { let { "aria-current": ariaCurrentProp = "page", caseSensitive = false, className: classNameProp = "", end = false, style: styleProp, to, viewTransition, children } = _ref8, rest = _objectWithoutPropertiesLoose(_ref8, _excluded2); let path = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useResolvedPath)(to, { relative: rest.relative }); let location = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useLocation)(); let routerState = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterStateContext); let { navigator, basename } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_NavigationContext); let isTransitioning = routerState != null && // Conditional usage is OK here because the usage of a data router is static // eslint-disable-next-line react-hooks/rules-of-hooks useViewTransitionState(path) && viewTransition === true; let toPathname = navigator.encodeLocation ? navigator.encodeLocation(path).pathname : path.pathname; let locationPathname = location.pathname; let nextLocationPathname = routerState && routerState.navigation && routerState.navigation.location ? routerState.navigation.location.pathname : null; if (!caseSensitive) { locationPathname = locationPathname.toLowerCase(); nextLocationPathname = nextLocationPathname ? nextLocationPathname.toLowerCase() : null; toPathname = toPathname.toLowerCase(); } if (nextLocationPathname && basename) { nextLocationPathname = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(nextLocationPathname, basename) || nextLocationPathname; } // If the `to` has a trailing slash, look at that exact spot. Otherwise, // we're looking for a slash _after_ what's in `to`. For example: // // <NavLink to="/users"> and <NavLink to="/users/"> // both want to look for a / at index 6 to match URL `/users/matt` const endSlashPosition = toPathname !== "/" && toPathname.endsWith("/") ? toPathname.length - 1 : toPathname.length; let isActive = locationPathname === toPathname || !end && locationPathname.startsWith(toPathname) && locationPathname.charAt(endSlashPosition) === "/"; let isPending = nextLocationPathname != null && (nextLocationPathname === toPathname || !end && nextLocationPathname.startsWith(toPathname) && nextLocationPathname.charAt(toPathname.length) === "/"); let renderProps = { isActive, isPending, isTransitioning }; let ariaCurrent = isActive ? ariaCurrentProp : undefined; let className; if (typeof classNameProp === "function") { className = classNameProp(renderProps); } else { // If the className prop is not a function, we use a default `active` // class for <NavLink />s that are active. In v5 `active` was the default // value for `activeClassName`, but we are removing that API and can still // use the old default behavior for a cleaner upgrade path and keep the // simple styling rules working as they currently do. className = [classNameProp, isActive ? "active" : null, isPending ? "pending" : null, isTransitioning ? "transitioning" : null].filter(Boolean).join(" "); } let style = typeof styleProp === "function" ? styleProp(renderProps) : styleProp; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Link, _extends({}, rest, { "aria-current": ariaCurrent, className: className, ref: ref, style: style, to: to, viewTransition: viewTransition }), typeof children === "function" ? children(renderProps) : children); }); if (true) { NavLink.displayName = "NavLink"; } /** * A `@remix-run/router`-aware `<form>`. It behaves like a normal form except * that the interaction with the server is with `fetch` instead of new document * requests, allowing components to add nicer UX to the page as the form is * submitted and returns with data. */ const Form = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((_ref9, forwardedRef) => { let { fetcherKey, navigate, reloadDocument, replace, state, method = defaultMethod, action, onSubmit, relative, preventScrollReset, viewTransition } = _ref9, props = _objectWithoutPropertiesLoose(_ref9, _excluded3); let submit = useSubmit(); let formAction = useFormAction(action, { relative }); let formMethod = method.toLowerCase() === "get" ? "get" : "post"; let submitHandler = event => { onSubmit && onSubmit(event); if (event.defaultPrevented) return; event.preventDefault(); let submitter = event.nativeEvent.submitter; let submitMethod = (submitter == null ? void 0 : submitter.getAttribute("formmethod")) || method; submit(submitter || event.currentTarget, { fetcherKey, method: submitMethod, navigate, replace, state, relative, preventScrollReset, viewTransition }); }; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("form", _extends({ ref: forwardedRef, method: formMethod, action: formAction, onSubmit: reloadDocument ? onSubmit : submitHandler }, props)); }); if (true) { Form.displayName = "Form"; } /** * This component will emulate the browser's scroll restoration on location * changes. */ function ScrollRestoration(_ref10) { let { getKey, storageKey } = _ref10; useScrollRestoration({ getKey, storageKey }); return null; } if (true) { ScrollRestoration.displayName = "ScrollRestoration"; } //#endregion //////////////////////////////////////////////////////////////////////////////// //#region Hooks //////////////////////////////////////////////////////////////////////////////// var DataRouterHook; (function (DataRouterHook) { DataRouterHook["UseScrollRestoration"] = "useScrollRestoration"; DataRouterHook["UseSubmit"] = "useSubmit"; DataRouterHook["UseSubmitFetcher"] = "useSubmitFetcher"; DataRouterHook["UseFetcher"] = "useFetcher"; DataRouterHook["useViewTransitionState"] = "useViewTransitionState"; })(DataRouterHook || (DataRouterHook = {})); var DataRouterStateHook; (function (DataRouterStateHook) { DataRouterStateHook["UseFetcher"] = "useFetcher"; DataRouterStateHook["UseFetchers"] = "useFetchers"; DataRouterStateHook["UseScrollRestoration"] = "useScrollRestoration"; })(DataRouterStateHook || (DataRouterStateHook = {})); // Internal hooks function getDataRouterConsoleError(hookName) { return hookName + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."; } function useDataRouterContext(hookName) { let ctx = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterContext); !ctx ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0; return ctx; } function useDataRouterState(hookName) { let state = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_DataRouterStateContext); !state ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0; return state; } // External hooks /** * Handles the click behavior for router `<Link>` components. This is useful if * you need to create custom `<Link>` components with the same click behavior we * use in our exported `<Link>`. */ function useLinkClickHandler(to, _temp) { let { target, replace: replaceProp, state, preventScrollReset, relative, viewTransition } = _temp === void 0 ? {} : _temp; let navigate = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useNavigate)(); let location = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useLocation)(); let path = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useResolvedPath)(to, { relative }); return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => { if (shouldProcessLinkClick(event, target)) { event.preventDefault(); // If the URL hasn't changed, a regular <a> will do a replace instead of // a push, so do the same here unless the replace prop is explicitly set let replace = replaceProp !== undefined ? replaceProp : (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createPath)(location) === (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createPath)(path); navigate(to, { replace, state, preventScrollReset, relative, viewTransition }); } }, [location, navigate, path, replaceProp, state, target, to, preventScrollReset, relative, viewTransition]); } /** * A convenient wrapper for reading and writing search parameters via the * URLSearchParams interface. */ function useSearchParams(defaultInit) { true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_warning)(typeof URLSearchParams !== "undefined", "You cannot use the `useSearchParams` hook in a browser that does not " + "support the URLSearchParams API. If you need to support Internet " + "Explorer 11, we recommend you load a polyfill such as " + "https://github.com/ungap/url-search-params.") : 0; let defaultSearchParamsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(createSearchParams(defaultInit)); let hasSetSearchParamsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); let location = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useLocation)(); let searchParams = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => // Only merge in the defaults if we haven't yet called setSearchParams. // Once we call that we want those to take precedence, otherwise you can't // remove a param with setSearchParams({}) if it has an initial value getSearchParamsForLocation(location.search, hasSetSearchParamsRef.current ? null : defaultSearchParamsRef.current), [location.search]); let navigate = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useNavigate)(); let setSearchParams = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((nextInit, navigateOptions) => { const newSearchParams = createSearchParams(typeof nextInit === "function" ? nextInit(searchParams) : nextInit); hasSetSearchParamsRef.current = true; navigate("?" + newSearchParams, navigateOptions); }, [navigate, searchParams]); return [searchParams, setSearchParams]; } function validateClientSideSubmission() { if (typeof document === "undefined") { throw new Error("You are calling submit during the server render. " + "Try calling submit within a `useEffect` or callback instead."); } } let fetcherId = 0; let getUniqueFetcherId = () => "__" + String(++fetcherId) + "__"; /** * Returns a function that may be used to programmatically submit a form (or * some arbitrary data) to the server. */ function useSubmit() { let { router } = useDataRouterContext(DataRouterHook.UseSubmit); let { basename } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_NavigationContext); let currentRouteId = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_useRouteId)(); return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (target, options) { if (options === void 0) { options = {}; } validateClientSideSubmission(); let { action, method, encType, formData, body } = getFormSubmissionInfo(target, basename); if (options.navigate === false) { let key = options.fetcherKey || getUniqueFetcherId(); router.fetch(key, currentRouteId, options.action || action, { preventScrollReset: options.preventScrollReset, formData, body, formMethod: options.method || method, formEncType: options.encType || encType, flushSync: options.flushSync }); } else { router.navigate(options.action || action, { preventScrollReset: options.preventScrollReset, formData, body, formMethod: options.method || method, formEncType: options.encType || encType, replace: options.replace, state: options.state, fromRouteId: currentRouteId, flushSync: options.flushSync, viewTransition: options.viewTransition }); } }, [router, basename, currentRouteId]); } // v7: Eventually we should deprecate this entirely in favor of using the // router method directly? function useFormAction(action, _temp2) { let { relative } = _temp2 === void 0 ? {} : _temp2; let { basename } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_NavigationContext); let routeContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_RouteContext); !routeContext ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, "useFormAction must be used inside a RouteContext") : 0 : void 0; let [match] = routeContext.matches.slice(-1); // Shallow clone path so we can modify it below, otherwise we modify the // object referenced by useMemo inside useResolvedPath let path = _extends({}, (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useResolvedPath)(action ? action : ".", { relative })); // If no action was specified, browsers will persist current search params // when determining the path, so match that behavior // https://github.com/remix-run/remix/issues/927 let location = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useLocation)(); if (action == null) { // Safe to write to this directly here since if action was undefined, we // would have called useResolvedPath(".") which will never include a search path.search = location.search; // When grabbing search params from the URL, remove any included ?index param // since it might not apply to our contextual route. We add it back based // on match.route.index below let params = new URLSearchParams(path.search); let indexValues = params.getAll("index"); let hasNakedIndexParam = indexValues.some(v => v === ""); if (hasNakedIndexParam) { params.delete("index"); indexValues.filter(v => v).forEach(v => params.append("index", v)); let qs = params.toString(); path.search = qs ? "?" + qs : ""; } } if ((!action || action === ".") && match.route.index) { path.search = path.search ? path.search.replace(/^\?/, "?index&") : "?index"; } // If we're operating within a basename, prepend it to the pathname prior // to creating the form action. If this is a root navigation, then just use // the raw basename which allows the basename to have full control over the // presence of a trailing slash on root actions if (basename !== "/") { path.pathname = path.pathname === "/" ? basename : (0,react_router__WEBPACK_IMPORTED_MODULE_2__.joinPaths)([basename, path.pathname]); } return (0,react_router__WEBPACK_IMPORTED_MODULE_2__.createPath)(path); } // TODO: (v7) Change the useFetcher generic default from `any` to `unknown` /** * Interacts with route loaders and actions without causing a navigation. Great * for any interaction that stays on the same page. */ function useFetcher(_temp3) { var _route$matches; let { key } = _temp3 === void 0 ? {} : _temp3; let { router } = useDataRouterContext(DataRouterHook.UseFetcher); let state = useDataRouterState(DataRouterStateHook.UseFetcher); let fetcherData = react__WEBPACK_IMPORTED_MODULE_0__.useContext(FetchersContext); let route = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_RouteContext); let routeId = (_route$matches = route.matches[route.matches.length - 1]) == null ? void 0 : _route$matches.route.id; !fetcherData ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, "useFetcher must be used inside a FetchersContext") : 0 : void 0; !route ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, "useFetcher must be used inside a RouteContext") : 0 : void 0; !(routeId != null) ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, "useFetcher can only be used on routes that contain a unique \"id\"") : 0 : void 0; // Fetcher key handling // OK to call conditionally to feature detect `useId` // eslint-disable-next-line react-hooks/rules-of-hooks let defaultKey = useIdImpl ? useIdImpl() : ""; let [fetcherKey, setFetcherKey] = react__WEBPACK_IMPORTED_MODULE_0__.useState(key || defaultKey); if (key && key !== fetcherKey) { setFetcherKey(key); } else if (!fetcherKey) { // We will only fall through here when `useId` is not available setFetcherKey(getUniqueFetcherId()); } // Registration/cleanup react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { router.getFetcher(fetcherKey); return () => { // Tell the router we've unmounted - if v7_fetcherPersist is enabled this // will not delete immediately but instead queue up a delete after the // fetcher returns to an `idle` state router.deleteFetcher(fetcherKey); }; }, [router, fetcherKey]); // Fetcher additions let load = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((href, opts) => { !routeId ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, "No routeId available for fetcher.load()") : 0 : void 0; router.fetch(fetcherKey, routeId, href, opts); }, [fetcherKey, routeId, router]); let submitImpl = useSubmit(); let submit = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((target, opts) => { submitImpl(target, _extends({}, opts, { navigate: false, fetcherKey })); }, [fetcherKey, submitImpl]); let FetcherForm = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { let FetcherForm = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((props, ref) => { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Form, _extends({}, props, { navigate: false, fetcherKey: fetcherKey, ref: ref })); }); if (true) { FetcherForm.displayName = "fetcher.Form"; } return FetcherForm; }, [fetcherKey]); // Exposed FetcherWithComponents let fetcher = state.fetchers.get(fetcherKey) || react_router__WEBPACK_IMPORTED_MODULE_2__.IDLE_FETCHER; let data = fetcherData.get(fetcherKey); let fetcherWithComponents = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => _extends({ Form: FetcherForm, submit, load }, fetcher, { data }), [FetcherForm, submit, load, fetcher, data]); return fetcherWithComponents; } /** * Provides all fetchers currently on the page. Useful for layouts and parent * routes that need to provide pending/optimistic UI regarding the fetch. */ function useFetchers() { let state = useDataRouterState(DataRouterStateHook.UseFetchers); return Array.from(state.fetchers.entries()).map(_ref11 => { let [key, fetcher] = _ref11; return _extends({}, fetcher, { key }); }); } const SCROLL_RESTORATION_STORAGE_KEY = "react-router-scroll-positions"; let savedScrollPositions = {}; /** * When rendered inside a RouterProvider, will restore scroll positions on navigations */ function useScrollRestoration(_temp4) { let { getKey, storageKey } = _temp4 === void 0 ? {} : _temp4; let { router } = useDataRouterContext(DataRouterHook.UseScrollRestoration); let { restoreScrollPosition, preventScrollReset } = useDataRouterState(DataRouterStateHook.UseScrollRestoration); let { basename } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_NavigationContext); let location = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useLocation)(); let matches = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useMatches)(); let navigation = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useNavigation)(); // Trigger manual scroll restoration while we're active react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { window.history.scrollRestoration = "manual"; return () => { window.history.scrollRestoration = "auto"; }; }, []); // Save positions on pagehide usePageHide(react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => { if (navigation.state === "idle") { let key = (getKey ? getKey(location, matches) : null) || location.key; savedScrollPositions[key] = window.scrollY; } try { sessionStorage.setItem(storageKey || SCROLL_RESTORATION_STORAGE_KEY, JSON.stringify(savedScrollPositions)); } catch (error) { true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_warning)(false, "Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (" + error + ").") : 0; } window.history.scrollRestoration = "auto"; }, [storageKey, getKey, navigation.state, location, matches])); // Read in any saved scroll locations if (typeof document !== "undefined") { // eslint-disable-next-line react-hooks/rules-of-hooks react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => { try { let sessionPositions = sessionStorage.getItem(storageKey || SCROLL_RESTORATION_STORAGE_KEY); if (sessionPositions) { savedScrollPositions = JSON.parse(sessionPositions); } } catch (e) { // no-op, use default empty object } }, [storageKey]); // Enable scroll restoration in the router // eslint-disable-next-line react-hooks/rules-of-hooks react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => { let getKeyWithoutBasename = getKey && basename !== "/" ? (location, matches) => getKey( // Strip the basename to match useLocation() _extends({}, location, { pathname: (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(location.pathname, basename) || location.pathname }), matches) : getKey; let disableScrollRestoration = router == null ? void 0 : router.enableScrollRestoration(savedScrollPositions, () => window.scrollY, getKeyWithoutBasename); return () => disableScrollRestoration && disableScrollRestoration(); }, [router, basename, getKey]); // Restore scrolling when state.restoreScrollPosition changes // eslint-disable-next-line react-hooks/rules-of-hooks react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => { // Explicit false means don't do anything (used for submissions) if (restoreScrollPosition === false) { return; } // been here before, scroll to it if (typeof restoreScrollPosition === "number") { window.scrollTo(0, restoreScrollPosition); return; } // try to scroll to the hash if (location.hash) { let el = document.getElementById(decodeURIComponent(location.hash.slice(1))); if (el) { el.scrollIntoView(); return; } } // Don't reset if this navigation opted out if (preventScrollReset === true) { return; } // otherwise go to the top on new locations window.scrollTo(0, 0); }, [location, restoreScrollPosition, preventScrollReset]); } } /** * Setup a callback to be fired on the window's `beforeunload` event. This is * useful for saving some data to `window.localStorage` just before the page * refreshes. * * Note: The `callback` argument should be a function created with * `React.useCallback()`. */ function useBeforeUnload(callback, options) { let { capture } = options || {}; react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { let opts = capture != null ? { capture } : undefined; window.addEventListener("beforeunload", callback, opts); return () => { window.removeEventListener("beforeunload", callback, opts); }; }, [callback, capture]); } /** * Setup a callback to be fired on the window's `pagehide` event. This is * useful for saving some data to `window.localStorage` just before the page * refreshes. This event is better supported than beforeunload across browsers. * * Note: The `callback` argument should be a function created with * `React.useCallback()`. */ function usePageHide(callback, options) { let { capture } = options || {}; react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { let opts = capture != null ? { capture } : undefined; window.addEventListener("pagehide", callback, opts); return () => { window.removeEventListener("pagehide", callback, opts); }; }, [callback, capture]); } /** * Wrapper around useBlocker to show a window.confirm prompt to users instead * of building a custom UI with useBlocker. * * Warning: This has *a lot of rough edges* and behaves very differently (and * very incorrectly in some cases) across browsers if user click addition * back/forward navigations while the confirm is open. Use at your own risk. */ function usePrompt(_ref12) { let { when, message } = _ref12; let blocker = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useBlocker)(when); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (blocker.state === "blocked") { let proceed = window.confirm(message); if (proceed) { // This timeout is needed to avoid a weird "race" on POP navigations // between the `window.history` revert navigation and the result of // `window.confirm` setTimeout(blocker.proceed, 0); } else { blocker.reset(); } } }, [blocker, message]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (blocker.state === "blocked" && !when) { blocker.reset(); } }, [blocker, when]); } /** * Return a boolean indicating if there is an active view transition to the * given href. You can use this value to render CSS classes or viewTransitionName * styles onto your elements * * @param href The destination href * @param [opts.relative] Relative routing type ("route" | "path") */ function useViewTransitionState(to, opts) { if (opts === void 0) { opts = {}; } let vtContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ViewTransitionContext); !(vtContext != null) ? true ? (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_invariant)(false, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. " + "Did you accidentally import `RouterProvider` from `react-router`?") : 0 : void 0; let { basename } = useDataRouterContext(DataRouterHook.useViewTransitionState); let path = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.useResolvedPath)(to, { relative: opts.relative }); if (!vtContext.isTransitioning) { return false; } let currentPath = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(vtContext.currentLocation.pathname, basename) || vtContext.currentLocation.pathname; let nextPath = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.stripBasename)(vtContext.nextLocation.pathname, basename) || vtContext.nextLocation.pathname; // Transition is active if we're going to or coming from the indicated // destination. This ensures that other PUSH navigations that reverse // an indicated transition apply. I.e., on the list view you have: // // <NavLink to="/details/1" viewTransition> // // If you click the breadcrumb back to the list view: // // <NavLink to="/list" viewTransition> // // We should apply the transition because it's indicated as active going // from /list -> /details/1 and therefore should be active on the reverse // (even though this isn't strictly a POP reverse) return (0,react_router__WEBPACK_IMPORTED_MODULE_2__.matchPath)(path.pathname, nextPath) != null || (0,react_router__WEBPACK_IMPORTED_MODULE_2__.matchPath)(path.pathname, currentPath) != null; } //#endregion /***/ }), /***/ "./node_modules/react-router/dist/index.js": /*!*************************************************!*\ !*** ./node_modules/react-router/dist/index.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AbortedDeferredError: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.AbortedDeferredError), /* harmony export */ Await: () => (/* binding */ Await), /* harmony export */ MemoryRouter: () => (/* binding */ MemoryRouter), /* harmony export */ Navigate: () => (/* binding */ Navigate), /* harmony export */ NavigationType: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.Action), /* harmony export */ Outlet: () => (/* binding */ Outlet), /* harmony export */ Route: () => (/* binding */ Route), /* harmony export */ Router: () => (/* binding */ Router), /* harmony export */ RouterProvider: () => (/* binding */ RouterProvider), /* harmony export */ Routes: () => (/* binding */ Routes), /* harmony export */ UNSAFE_DataRouterContext: () => (/* binding */ DataRouterContext), /* harmony export */ UNSAFE_DataRouterStateContext: () => (/* binding */ DataRouterStateContext), /* harmony export */ UNSAFE_LocationContext: () => (/* binding */ LocationContext), /* harmony export */ UNSAFE_NavigationContext: () => (/* binding */ NavigationContext), /* harmony export */ UNSAFE_RouteContext: () => (/* binding */ RouteContext), /* harmony export */ UNSAFE_logV6DeprecationWarnings: () => (/* binding */ logV6DeprecationWarnings), /* harmony export */ UNSAFE_mapRouteProperties: () => (/* binding */ mapRouteProperties), /* harmony export */ UNSAFE_useRouteId: () => (/* binding */ useRouteId), /* harmony export */ UNSAFE_useRoutesImpl: () => (/* binding */ useRoutesImpl), /* harmony export */ createMemoryRouter: () => (/* binding */ createMemoryRouter), /* harmony export */ createPath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createPath), /* harmony export */ createRoutesFromChildren: () => (/* binding */ createRoutesFromChildren), /* harmony export */ createRoutesFromElements: () => (/* binding */ createRoutesFromChildren), /* harmony export */ defer: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.defer), /* harmony export */ generatePath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.generatePath), /* harmony export */ isRouteErrorResponse: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.isRouteErrorResponse), /* harmony export */ json: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.json), /* harmony export */ matchPath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchPath), /* harmony export */ matchRoutes: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchRoutes), /* harmony export */ parsePath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.parsePath), /* harmony export */ redirect: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.redirect), /* harmony export */ redirectDocument: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.redirectDocument), /* harmony export */ renderMatches: () => (/* binding */ renderMatches), /* harmony export */ replace: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.replace), /* harmony export */ resolvePath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolvePath), /* harmony export */ useActionData: () => (/* binding */ useActionData), /* harmony export */ useAsyncError: () => (/* binding */ useAsyncError), /* harmony export */ useAsyncValue: () => (/* binding */ useAsyncValue), /* harmony export */ useBlocker: () => (/* binding */ useBlocker), /* harmony export */ useHref: () => (/* binding */ useHref), /* harmony export */ useInRouterContext: () => (/* binding */ useInRouterContext), /* harmony export */ useLoaderData: () => (/* binding */ useLoaderData), /* harmony export */ useLocation: () => (/* binding */ useLocation), /* harmony export */ useMatch: () => (/* binding */ useMatch), /* harmony export */ useMatches: () => (/* binding */ useMatches), /* harmony export */ useNavigate: () => (/* binding */ useNavigate), /* harmony export */ useNavigation: () => (/* binding */ useNavigation), /* harmony export */ useNavigationType: () => (/* binding */ useNavigationType), /* harmony export */ useOutlet: () => (/* binding */ useOutlet), /* harmony export */ useOutletContext: () => (/* binding */ useOutletContext), /* harmony export */ useParams: () => (/* binding */ useParams), /* harmony export */ useResolvedPath: () => (/* binding */ useResolvedPath), /* harmony export */ useRevalidator: () => (/* binding */ useRevalidator), /* harmony export */ useRouteError: () => (/* binding */ useRouteError), /* harmony export */ useRouteLoaderData: () => (/* binding */ useRouteLoaderData), /* harmony export */ useRoutes: () => (/* binding */ useRoutes) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _remix_run_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @remix-run/router */ "./node_modules/@remix-run/router/dist/router.js"); /** * React Router v6.28.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } // Create react-specific types from the agnostic types in @remix-run/router to // export from react-router const DataRouterContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); if (true) { DataRouterContext.displayName = "DataRouter"; } const DataRouterStateContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); if (true) { DataRouterStateContext.displayName = "DataRouterState"; } const AwaitContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); if (true) { AwaitContext.displayName = "Await"; } /** * A Navigator is a "location changer"; it's how you get to different locations. * * Every history instance conforms to the Navigator interface, but the * distinction is useful primarily when it comes to the low-level `<Router>` API * where both the location and a navigator must be provided separately in order * to avoid "tearing" that may occur in a suspense-enabled app if the action * and/or location were to be read directly from the history instance. */ const NavigationContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); if (true) { NavigationContext.displayName = "Navigation"; } const LocationContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); if (true) { LocationContext.displayName = "Location"; } const RouteContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({ outlet: null, matches: [], isDataRoute: false }); if (true) { RouteContext.displayName = "Route"; } const RouteErrorContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); if (true) { RouteErrorContext.displayName = "RouteError"; } /** * Returns the full href for the given "to" value. This is useful for building * custom links that are also accessible and preserve right-click behavior. * * @see https://reactrouter.com/v6/hooks/use-href */ function useHref(to, _temp) { let { relative } = _temp === void 0 ? {} : _temp; !useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the // router loaded. We can help them understand how to avoid that. "useHref() may be used only in the context of a <Router> component.") : 0 : void 0; let { basename, navigator } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext); let { hash, pathname, search } = useResolvedPath(to, { relative }); let joinedPathname = pathname; // If we're operating within a basename, prepend it to the pathname prior // to creating the href. If this is a root navigation, then just use the raw // basename which allows the basename to have full control over the presence // of a trailing slash on root links if (basename !== "/") { joinedPathname = pathname === "/" ? basename : (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([basename, pathname]); } return navigator.createHref({ pathname: joinedPathname, search, hash }); } /** * Returns true if this component is a descendant of a `<Router>`. * * @see https://reactrouter.com/v6/hooks/use-in-router-context */ function useInRouterContext() { return react__WEBPACK_IMPORTED_MODULE_0__.useContext(LocationContext) != null; } /** * Returns the current location object, which represents the current URL in web * browsers. * * Note: If you're using this it may mean you're doing some of your own * "routing" in your app, and we'd like to know what your use case is. We may * be able to provide something higher-level to better suit your needs. * * @see https://reactrouter.com/v6/hooks/use-location */ function useLocation() { !useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the // router loaded. We can help them understand how to avoid that. "useLocation() may be used only in the context of a <Router> component.") : 0 : void 0; return react__WEBPACK_IMPORTED_MODULE_0__.useContext(LocationContext).location; } /** * Returns the current navigation action which describes how the router came to * the current location, either by a pop, push, or replace on the history stack. * * @see https://reactrouter.com/v6/hooks/use-navigation-type */ function useNavigationType() { return react__WEBPACK_IMPORTED_MODULE_0__.useContext(LocationContext).navigationType; } /** * Returns a PathMatch object if the given pattern matches the current URL. * This is useful for components that need to know "active" state, e.g. * `<NavLink>`. * * @see https://reactrouter.com/v6/hooks/use-match */ function useMatch(pattern) { !useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the // router loaded. We can help them understand how to avoid that. "useMatch() may be used only in the context of a <Router> component.") : 0 : void 0; let { pathname } = useLocation(); return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchPath)(pattern, (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_decodePath)(pathname)), [pathname, pattern]); } /** * The interface for the navigate() function returned from useNavigate(). */ const navigateEffectWarning = "You should call navigate() in a React.useEffect(), not when " + "your component is first rendered."; // Mute warnings for calls to useNavigate in SSR environments function useIsomorphicLayoutEffect(cb) { let isStatic = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext).static; if (!isStatic) { // We should be able to get rid of this once react 18.3 is released // See: https://github.com/facebook/react/pull/26395 // eslint-disable-next-line react-hooks/rules-of-hooks react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(cb); } } /** * Returns an imperative method for changing the location. Used by `<Link>`s, but * may also be used by other elements to change the location. * * @see https://reactrouter.com/v6/hooks/use-navigate */ function useNavigate() { let { isDataRoute } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); // Conditional usage is OK here because the usage of a data router is static // eslint-disable-next-line react-hooks/rules-of-hooks return isDataRoute ? useNavigateStable() : useNavigateUnstable(); } function useNavigateUnstable() { !useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the // router loaded. We can help them understand how to avoid that. "useNavigate() may be used only in the context of a <Router> component.") : 0 : void 0; let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterContext); let { basename, future, navigator } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext); let { matches } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); let { pathname: locationPathname } = useLocation(); let routePathnamesJson = JSON.stringify((0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_getResolveToMatches)(matches, future.v7_relativeSplatPath)); let activeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); useIsomorphicLayoutEffect(() => { activeRef.current = true; }); let navigate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (to, options) { if (options === void 0) { options = {}; } true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(activeRef.current, navigateEffectWarning) : 0; // Short circuit here since if this happens on first render the navigate // is useless because we haven't wired up our history listener yet if (!activeRef.current) return; if (typeof to === "number") { navigator.go(to); return; } let path = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolveTo)(to, JSON.parse(routePathnamesJson), locationPathname, options.relative === "path"); // If we're operating within a basename, prepend it to the pathname prior // to handing off to history (but only if we're not in a data router, // otherwise it'll prepend the basename inside of the router). // If this is a root navigation, then we navigate to the raw basename // which allows the basename to have full control over the presence of a // trailing slash on root links if (dataRouterContext == null && basename !== "/") { path.pathname = path.pathname === "/" ? basename : (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([basename, path.pathname]); } (!!options.replace ? navigator.replace : navigator.push)(path, options.state, options); }, [basename, navigator, routePathnamesJson, locationPathname, dataRouterContext]); return navigate; } const OutletContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); /** * Returns the context (if provided) for the child route at this level of the route * hierarchy. * @see https://reactrouter.com/v6/hooks/use-outlet-context */ function useOutletContext() { return react__WEBPACK_IMPORTED_MODULE_0__.useContext(OutletContext); } /** * Returns the element for the child route at this level of the route * hierarchy. Used internally by `<Outlet>` to render child routes. * * @see https://reactrouter.com/v6/hooks/use-outlet */ function useOutlet(context) { let outlet = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext).outlet; if (outlet) { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(OutletContext.Provider, { value: context }, outlet); } return outlet; } /** * Returns an object of key/value pairs of the dynamic params from the current * URL that were matched by the route path. * * @see https://reactrouter.com/v6/hooks/use-params */ function useParams() { let { matches } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); let routeMatch = matches[matches.length - 1]; return routeMatch ? routeMatch.params : {}; } /** * Resolves the pathname of the given `to` value against the current location. * * @see https://reactrouter.com/v6/hooks/use-resolved-path */ function useResolvedPath(to, _temp2) { let { relative } = _temp2 === void 0 ? {} : _temp2; let { future } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext); let { matches } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); let { pathname: locationPathname } = useLocation(); let routePathnamesJson = JSON.stringify((0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_getResolveToMatches)(matches, future.v7_relativeSplatPath)); return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolveTo)(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [to, routePathnamesJson, locationPathname, relative]); } /** * Returns the element of the route that matched the current location, prepared * with the correct context to render the remainder of the route tree. Route * elements in the tree must render an `<Outlet>` to render their child route's * element. * * @see https://reactrouter.com/v6/hooks/use-routes */ function useRoutes(routes, locationArg) { return useRoutesImpl(routes, locationArg); } // Internal implementation with accept optional param for RouterProvider usage function useRoutesImpl(routes, locationArg, dataRouterState, future) { !useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the // router loaded. We can help them understand how to avoid that. "useRoutes() may be used only in the context of a <Router> component.") : 0 : void 0; let { navigator } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext); let { matches: parentMatches } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); let routeMatch = parentMatches[parentMatches.length - 1]; let parentParams = routeMatch ? routeMatch.params : {}; let parentPathname = routeMatch ? routeMatch.pathname : "/"; let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : "/"; let parentRoute = routeMatch && routeMatch.route; if (true) { // You won't get a warning about 2 different <Routes> under a <Route> // without a trailing *, but this is a best-effort warning anyway since we // cannot even give the warning unless they land at the parent route. // // Example: // // <Routes> // {/* This route path MUST end with /* because otherwise // it will never match /blog/post/123 */} // <Route path="blog" element={<Blog />} /> // <Route path="blog/feed" element={<BlogFeed />} /> // </Routes> // // function Blog() { // return ( // <Routes> // <Route path="post/:id" element={<Post />} /> // </Routes> // ); // } let parentPath = parentRoute && parentRoute.path || ""; warningOnce(parentPathname, !parentRoute || parentPath.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ("\"" + parentPathname + "\" (under <Route path=\"" + parentPath + "\">) but the ") + "parent route path has no trailing \"*\". This means if you navigate " + "deeper, the parent won't match anymore and therefore the child " + "routes will never render.\n\n" + ("Please change the parent <Route path=\"" + parentPath + "\"> to <Route ") + ("path=\"" + (parentPath === "/" ? "*" : parentPath + "/*") + "\">.")); } let locationFromContext = useLocation(); let location; if (locationArg) { var _parsedLocationArg$pa; let parsedLocationArg = typeof locationArg === "string" ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.parsePath)(locationArg) : locationArg; !(parentPathnameBase === "/" || ((_parsedLocationArg$pa = parsedLocationArg.pathname) == null ? void 0 : _parsedLocationArg$pa.startsWith(parentPathnameBase))) ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, " + "the location pathname must begin with the portion of the URL pathname that was " + ("matched by all parent routes. The current pathname base is \"" + parentPathnameBase + "\" ") + ("but pathname \"" + parsedLocationArg.pathname + "\" was given in the `location` prop.")) : 0 : void 0; location = parsedLocationArg; } else { location = locationFromContext; } let pathname = location.pathname || "/"; let remainingPathname = pathname; if (parentPathnameBase !== "/") { // Determine the remaining pathname by removing the # of URL segments the // parentPathnameBase has, instead of removing based on character count. // This is because we can't guarantee that incoming/outgoing encodings/ // decodings will match exactly. // We decode paths before matching on a per-segment basis with // decodeURIComponent(), but we re-encode pathnames via `new URL()` so they // match what `window.location.pathname` would reflect. Those don't 100% // align when it comes to encoded URI characters such as % and &. // // So we may end up with: // pathname: "/descendant/a%25b/match" // parentPathnameBase: "/descendant/a%b" // // And the direct substring removal approach won't work :/ let parentSegments = parentPathnameBase.replace(/^\//, "").split("/"); let segments = pathname.replace(/^\//, "").split("/"); remainingPathname = "/" + segments.slice(parentSegments.length).join("/"); } let matches = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchRoutes)(routes, { pathname: remainingPathname }); if (true) { true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(parentRoute || matches != null, "No routes matched location \"" + location.pathname + location.search + location.hash + "\" ") : 0; true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(matches == null || matches[matches.length - 1].route.element !== undefined || matches[matches.length - 1].route.Component !== undefined || matches[matches.length - 1].route.lazy !== undefined, "Matched leaf route at location \"" + location.pathname + location.search + location.hash + "\" " + "does not have an element or Component. This means it will render an <Outlet /> with a " + "null value by default resulting in an \"empty\" page.") : 0; } let renderedMatches = _renderMatches(matches && matches.map(match => Object.assign({}, match, { params: Object.assign({}, parentParams, match.params), pathname: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([parentPathnameBase, // Re-encode pathnames that were decoded inside matchRoutes navigator.encodeLocation ? navigator.encodeLocation(match.pathname).pathname : match.pathname]), pathnameBase: match.pathnameBase === "/" ? parentPathnameBase : (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([parentPathnameBase, // Re-encode pathnames that were decoded inside matchRoutes navigator.encodeLocation ? navigator.encodeLocation(match.pathnameBase).pathname : match.pathnameBase]) })), parentMatches, dataRouterState, future); // When a user passes in a `locationArg`, the associated routes need to // be wrapped in a new `LocationContext.Provider` in order for `useLocation` // to use the scoped location instead of the global location. if (locationArg && renderedMatches) { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(LocationContext.Provider, { value: { location: _extends({ pathname: "/", search: "", hash: "", state: null, key: "default" }, location), navigationType: _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.Action.Pop } }, renderedMatches); } return renderedMatches; } function DefaultErrorComponent() { let error = useRouteError(); let message = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.isRouteErrorResponse)(error) ? error.status + " " + error.statusText : error instanceof Error ? error.message : JSON.stringify(error); let stack = error instanceof Error ? error.stack : null; let lightgrey = "rgba(200,200,200, 0.5)"; let preStyles = { padding: "0.5rem", backgroundColor: lightgrey }; let codeStyles = { padding: "2px 4px", backgroundColor: lightgrey }; let devInfo = null; if (true) { console.error("Error handled by React Router default ErrorBoundary:", error); devInfo = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", null, "\uD83D\uDCBF Hey developer \uD83D\uDC4B"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("code", { style: codeStyles }, "ErrorBoundary"), " or", " ", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("code", { style: codeStyles }, "errorElement"), " prop on your route.")); } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("h2", null, "Unexpected Application Error!"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("h3", { style: { fontStyle: "italic" } }, message), stack ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("pre", { style: preStyles }, stack) : null, devInfo); } const defaultErrorElement = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DefaultErrorComponent, null); class RenderErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component { constructor(props) { super(props); this.state = { location: props.location, revalidation: props.revalidation, error: props.error }; } static getDerivedStateFromError(error) { return { error: error }; } static getDerivedStateFromProps(props, state) { // When we get into an error state, the user will likely click "back" to the // previous page that didn't have an error. Because this wraps the entire // application, that will have no effect--the error page continues to display. // This gives us a mechanism to recover from the error when the location changes. // // Whether we're in an error state or not, we update the location in state // so that when we are in an error state, it gets reset when a new location // comes in and the user recovers from the error. if (state.location !== props.location || state.revalidation !== "idle" && props.revalidation === "idle") { return { error: props.error, location: props.location, revalidation: props.revalidation }; } // If we're not changing locations, preserve the location but still surface // any new errors that may come through. We retain the existing error, we do // this because the error provided from the app state may be cleared without // the location changing. return { error: props.error !== undefined ? props.error : state.error, location: state.location, revalidation: props.revalidation || state.revalidation }; } componentDidCatch(error, errorInfo) { console.error("React Router caught the following error during render", error, errorInfo); } render() { return this.state.error !== undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteContext.Provider, { value: this.props.routeContext }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteErrorContext.Provider, { value: this.state.error, children: this.props.component })) : this.props.children; } } function RenderedRoute(_ref) { let { routeContext, match, children } = _ref; let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterContext); // Track how deep we got in our render pass to emulate SSR componentDidCatch // in a DataStaticRouter if (dataRouterContext && dataRouterContext.static && dataRouterContext.staticContext && (match.route.errorElement || match.route.ErrorBoundary)) { dataRouterContext.staticContext._deepestRenderedBoundaryId = match.route.id; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteContext.Provider, { value: routeContext }, children); } function _renderMatches(matches, parentMatches, dataRouterState, future) { var _dataRouterState; if (parentMatches === void 0) { parentMatches = []; } if (dataRouterState === void 0) { dataRouterState = null; } if (future === void 0) { future = null; } if (matches == null) { var _future; if (!dataRouterState) { return null; } if (dataRouterState.errors) { // Don't bail if we have data router errors so we can render them in the // boundary. Use the pre-matched (or shimmed) matches matches = dataRouterState.matches; } else if ((_future = future) != null && _future.v7_partialHydration && parentMatches.length === 0 && !dataRouterState.initialized && dataRouterState.matches.length > 0) { // Don't bail if we're initializing with partial hydration and we have // router matches. That means we're actively running `patchRoutesOnNavigation` // so we should render down the partial matches to the appropriate // `HydrateFallback`. We only do this if `parentMatches` is empty so it // only impacts the root matches for `RouterProvider` and no descendant // `<Routes>` matches = dataRouterState.matches; } else { return null; } } let renderedMatches = matches; // If we have data errors, trim matches to the highest error boundary let errors = (_dataRouterState = dataRouterState) == null ? void 0 : _dataRouterState.errors; if (errors != null) { let errorIndex = renderedMatches.findIndex(m => m.route.id && (errors == null ? void 0 : errors[m.route.id]) !== undefined); !(errorIndex >= 0) ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "Could not find a matching route for errors on route IDs: " + Object.keys(errors).join(",")) : 0 : void 0; renderedMatches = renderedMatches.slice(0, Math.min(renderedMatches.length, errorIndex + 1)); } // If we're in a partial hydration mode, detect if we need to render down to // a given HydrateFallback while we load the rest of the hydration data let renderFallback = false; let fallbackIndex = -1; if (dataRouterState && future && future.v7_partialHydration) { for (let i = 0; i < renderedMatches.length; i++) { let match = renderedMatches[i]; // Track the deepest fallback up until the first route without data if (match.route.HydrateFallback || match.route.hydrateFallbackElement) { fallbackIndex = i; } if (match.route.id) { let { loaderData, errors } = dataRouterState; let needsToRunLoader = match.route.loader && loaderData[match.route.id] === undefined && (!errors || errors[match.route.id] === undefined); if (match.route.lazy || needsToRunLoader) { // We found the first route that's not ready to render (waiting on // lazy, or has a loader that hasn't run yet). Flag that we need to // render a fallback and render up until the appropriate fallback renderFallback = true; if (fallbackIndex >= 0) { renderedMatches = renderedMatches.slice(0, fallbackIndex + 1); } else { renderedMatches = [renderedMatches[0]]; } break; } } } } return renderedMatches.reduceRight((outlet, match, index) => { // Only data routers handle errors/fallbacks let error; let shouldRenderHydrateFallback = false; let errorElement = null; let hydrateFallbackElement = null; if (dataRouterState) { error = errors && match.route.id ? errors[match.route.id] : undefined; errorElement = match.route.errorElement || defaultErrorElement; if (renderFallback) { if (fallbackIndex < 0 && index === 0) { warningOnce("route-fallback", false, "No `HydrateFallback` element provided to render during initial hydration"); shouldRenderHydrateFallback = true; hydrateFallbackElement = null; } else if (fallbackIndex === index) { shouldRenderHydrateFallback = true; hydrateFallbackElement = match.route.hydrateFallbackElement || null; } } } let matches = parentMatches.concat(renderedMatches.slice(0, index + 1)); let getChildren = () => { let children; if (error) { children = errorElement; } else if (shouldRenderHydrateFallback) { children = hydrateFallbackElement; } else if (match.route.Component) { // Note: This is a de-optimized path since React won't re-use the // ReactElement since it's identity changes with each new // React.createElement call. We keep this so folks can use // `<Route Component={...}>` in `<Routes>` but generally `Component` // usage is only advised in `RouterProvider` when we can convert it to // `element` ahead of time. children = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(match.route.Component, null); } else if (match.route.element) { children = match.route.element; } else { children = outlet; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RenderedRoute, { match: match, routeContext: { outlet, matches, isDataRoute: dataRouterState != null }, children: children }); }; // Only wrap in an error boundary within data router usages when we have an // ErrorBoundary/errorElement on this route. Otherwise let it bubble up to // an ancestor ErrorBoundary/errorElement return dataRouterState && (match.route.ErrorBoundary || match.route.errorElement || index === 0) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RenderErrorBoundary, { location: dataRouterState.location, revalidation: dataRouterState.revalidation, component: errorElement, error: error, children: getChildren(), routeContext: { outlet: null, matches, isDataRoute: true } }) : getChildren(); }, null); } var DataRouterHook = /*#__PURE__*/function (DataRouterHook) { DataRouterHook["UseBlocker"] = "useBlocker"; DataRouterHook["UseRevalidator"] = "useRevalidator"; DataRouterHook["UseNavigateStable"] = "useNavigate"; return DataRouterHook; }(DataRouterHook || {}); var DataRouterStateHook = /*#__PURE__*/function (DataRouterStateHook) { DataRouterStateHook["UseBlocker"] = "useBlocker"; DataRouterStateHook["UseLoaderData"] = "useLoaderData"; DataRouterStateHook["UseActionData"] = "useActionData"; DataRouterStateHook["UseRouteError"] = "useRouteError"; DataRouterStateHook["UseNavigation"] = "useNavigation"; DataRouterStateHook["UseRouteLoaderData"] = "useRouteLoaderData"; DataRouterStateHook["UseMatches"] = "useMatches"; DataRouterStateHook["UseRevalidator"] = "useRevalidator"; DataRouterStateHook["UseNavigateStable"] = "useNavigate"; DataRouterStateHook["UseRouteId"] = "useRouteId"; return DataRouterStateHook; }(DataRouterStateHook || {}); function getDataRouterConsoleError(hookName) { return hookName + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."; } function useDataRouterContext(hookName) { let ctx = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterContext); !ctx ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0; return ctx; } function useDataRouterState(hookName) { let state = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterStateContext); !state ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0; return state; } function useRouteContext(hookName) { let route = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); !route ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0; return route; } // Internal version with hookName-aware debugging function useCurrentRouteId(hookName) { let route = useRouteContext(hookName); let thisRoute = route.matches[route.matches.length - 1]; !thisRoute.route.id ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, hookName + " can only be used on routes that contain a unique \"id\"") : 0 : void 0; return thisRoute.route.id; } /** * Returns the ID for the nearest contextual route */ function useRouteId() { return useCurrentRouteId(DataRouterStateHook.UseRouteId); } /** * Returns the current navigation, defaulting to an "idle" navigation when * no navigation is in progress */ function useNavigation() { let state = useDataRouterState(DataRouterStateHook.UseNavigation); return state.navigation; } /** * Returns a revalidate function for manually triggering revalidation, as well * as the current state of any manual revalidations */ function useRevalidator() { let dataRouterContext = useDataRouterContext(DataRouterHook.UseRevalidator); let state = useDataRouterState(DataRouterStateHook.UseRevalidator); return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({ revalidate: dataRouterContext.router.revalidate, state: state.revalidation }), [dataRouterContext.router.revalidate, state.revalidation]); } /** * Returns the active route matches, useful for accessing loaderData for * parent/child routes or the route "handle" property */ function useMatches() { let { matches, loaderData } = useDataRouterState(DataRouterStateHook.UseMatches); return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => matches.map(m => (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_convertRouteMatchToUiMatch)(m, loaderData)), [matches, loaderData]); } /** * Returns the loader data for the nearest ancestor Route loader */ function useLoaderData() { let state = useDataRouterState(DataRouterStateHook.UseLoaderData); let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData); if (state.errors && state.errors[routeId] != null) { console.error("You cannot `useLoaderData` in an errorElement (routeId: " + routeId + ")"); return undefined; } return state.loaderData[routeId]; } /** * Returns the loaderData for the given routeId */ function useRouteLoaderData(routeId) { let state = useDataRouterState(DataRouterStateHook.UseRouteLoaderData); return state.loaderData[routeId]; } /** * Returns the action data for the nearest ancestor Route action */ function useActionData() { let state = useDataRouterState(DataRouterStateHook.UseActionData); let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData); return state.actionData ? state.actionData[routeId] : undefined; } /** * Returns the nearest ancestor Route error, which could be a loader/action * error or a render error. This is intended to be called from your * ErrorBoundary/errorElement to display a proper error message. */ function useRouteError() { var _state$errors; let error = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteErrorContext); let state = useDataRouterState(DataRouterStateHook.UseRouteError); let routeId = useCurrentRouteId(DataRouterStateHook.UseRouteError); // If this was a render error, we put it in a RouteError context inside // of RenderErrorBoundary if (error !== undefined) { return error; } // Otherwise look for errors from our data router state return (_state$errors = state.errors) == null ? void 0 : _state$errors[routeId]; } /** * Returns the happy-path data from the nearest ancestor `<Await />` value */ function useAsyncValue() { let value = react__WEBPACK_IMPORTED_MODULE_0__.useContext(AwaitContext); return value == null ? void 0 : value._data; } /** * Returns the error from the nearest ancestor `<Await />` value */ function useAsyncError() { let value = react__WEBPACK_IMPORTED_MODULE_0__.useContext(AwaitContext); return value == null ? void 0 : value._error; } let blockerId = 0; /** * Allow the application to block navigations within the SPA and present the * user a confirmation dialog to confirm the navigation. Mostly used to avoid * using half-filled form data. This does not handle hard-reloads or * cross-origin navigations. */ function useBlocker(shouldBlock) { let { router, basename } = useDataRouterContext(DataRouterHook.UseBlocker); let state = useDataRouterState(DataRouterStateHook.UseBlocker); let [blockerKey, setBlockerKey] = react__WEBPACK_IMPORTED_MODULE_0__.useState(""); let blockerFunction = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(arg => { if (typeof shouldBlock !== "function") { return !!shouldBlock; } if (basename === "/") { return shouldBlock(arg); } // If they provided us a function and we've got an active basename, strip // it from the locations we expose to the user to match the behavior of // useLocation let { currentLocation, nextLocation, historyAction } = arg; return shouldBlock({ currentLocation: _extends({}, currentLocation, { pathname: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.stripBasename)(currentLocation.pathname, basename) || currentLocation.pathname }), nextLocation: _extends({}, nextLocation, { pathname: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.stripBasename)(nextLocation.pathname, basename) || nextLocation.pathname }), historyAction }); }, [basename, shouldBlock]); // This effect is in charge of blocker key assignment and deletion (which is // tightly coupled to the key) react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { let key = String(++blockerId); setBlockerKey(key); return () => router.deleteBlocker(key); }, [router]); // This effect handles assigning the blockerFunction. This is to handle // unstable blocker function identities, and happens only after the prior // effect so we don't get an orphaned blockerFunction in the router with a // key of "". Until then we just have the IDLE_BLOCKER. react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (blockerKey !== "") { router.getBlocker(blockerKey, blockerFunction); } }, [router, blockerKey, blockerFunction]); // Prefer the blocker from `state` not `router.state` since DataRouterContext // is memoized so this ensures we update on blocker state updates return blockerKey && state.blockers.has(blockerKey) ? state.blockers.get(blockerKey) : _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.IDLE_BLOCKER; } /** * Stable version of useNavigate that is used when we are in the context of * a RouterProvider. */ function useNavigateStable() { let { router } = useDataRouterContext(DataRouterHook.UseNavigateStable); let id = useCurrentRouteId(DataRouterStateHook.UseNavigateStable); let activeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false); useIsomorphicLayoutEffect(() => { activeRef.current = true; }); let navigate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (to, options) { if (options === void 0) { options = {}; } true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(activeRef.current, navigateEffectWarning) : 0; // Short circuit here since if this happens on first render the navigate // is useless because we haven't wired up our router subscriber yet if (!activeRef.current) return; if (typeof to === "number") { router.navigate(to); } else { router.navigate(to, _extends({ fromRouteId: id }, options)); } }, [router, id]); return navigate; } const alreadyWarned$1 = {}; function warningOnce(key, cond, message) { if (!cond && !alreadyWarned$1[key]) { alreadyWarned$1[key] = true; true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, message) : 0; } } const alreadyWarned = {}; function warnOnce(key, message) { if (!alreadyWarned[message]) { alreadyWarned[message] = true; console.warn(message); } } const logDeprecation = (flag, msg, link) => warnOnce(flag, "\u26A0\uFE0F React Router Future Flag Warning: " + msg + ". " + ("You can use the `" + flag + "` future flag to opt-in early. ") + ("For more information, see " + link + ".")); function logV6DeprecationWarnings(renderFuture, routerFuture) { if (!(renderFuture != null && renderFuture.v7_startTransition)) { logDeprecation("v7_startTransition", "React Router will begin wrapping state updates in `React.startTransition` in v7", "https://reactrouter.com/v6/upgrading/future#v7_starttransition"); } if (!(renderFuture != null && renderFuture.v7_relativeSplatPath) && (!routerFuture || !routerFuture.v7_relativeSplatPath)) { logDeprecation("v7_relativeSplatPath", "Relative route resolution within Splat routes is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"); } if (routerFuture) { if (!routerFuture.v7_fetcherPersist) { logDeprecation("v7_fetcherPersist", "The persistence behavior of fetchers is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"); } if (!routerFuture.v7_normalizeFormMethod) { logDeprecation("v7_normalizeFormMethod", "Casing of `formMethod` fields is being normalized to uppercase in v7", "https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"); } if (!routerFuture.v7_partialHydration) { logDeprecation("v7_partialHydration", "`RouterProvider` hydration behavior is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_partialhydration"); } if (!routerFuture.v7_skipActionErrorRevalidation) { logDeprecation("v7_skipActionErrorRevalidation", "The revalidation behavior after 4xx/5xx `action` responses is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"); } } } /** Webpack + React 17 fails to compile on any of the following because webpack complains that `startTransition` doesn't exist in `React`: * import { startTransition } from "react" * import * as React from from "react"; "startTransition" in React ? React.startTransition(() => setState()) : setState() * import * as React from from "react"; "startTransition" in React ? React["startTransition"](() => setState()) : setState() Moving it to a constant such as the following solves the Webpack/React 17 issue: * import * as React from from "react"; const START_TRANSITION = "startTransition"; START_TRANSITION in React ? React[START_TRANSITION](() => setState()) : setState() However, that introduces webpack/terser minification issues in production builds in React 18 where minification/obfuscation ends up removing the call of React.startTransition entirely from the first half of the ternary. Grabbing this exported reference once up front resolves that issue. See https://github.com/remix-run/react-router/issues/10579 */ const START_TRANSITION = "startTransition"; const startTransitionImpl = react__WEBPACK_IMPORTED_MODULE_0__[START_TRANSITION]; /** * Given a Remix Router instance, render the appropriate UI */ function RouterProvider(_ref) { let { fallbackElement, router, future } = _ref; let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState(router.state); let { v7_startTransition } = future || {}; let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => { if (v7_startTransition && startTransitionImpl) { startTransitionImpl(() => setStateImpl(newState)); } else { setStateImpl(newState); } }, [setStateImpl, v7_startTransition]); // Need to use a layout effect here so we are subscribed early enough to // pick up on any render-driven redirects/navigations (useEffect/<Navigate>) react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => router.subscribe(setState), [router, setState]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(fallbackElement == null || !router.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using " + "`v7_partialHydration`, use a `HydrateFallback` component instead") : 0; // Only log this once on initial mount // eslint-disable-next-line react-hooks/exhaustive-deps }, []); let navigator = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { return { createHref: router.createHref, encodeLocation: router.encodeLocation, go: n => router.navigate(n), push: (to, state, opts) => router.navigate(to, { state, preventScrollReset: opts == null ? void 0 : opts.preventScrollReset }), replace: (to, state, opts) => router.navigate(to, { replace: true, state, preventScrollReset: opts == null ? void 0 : opts.preventScrollReset }) }; }, [router]); let basename = router.basename || "/"; let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({ router, navigator, static: false, basename }), [router, navigator, basename]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => logV6DeprecationWarnings(future, router.future), [router, future]); // The fragment and {null} here are important! We need them to keep React 18's // useId happy when we are server-rendering since we may have a <script> here // containing the hydrated server-side staticContext (from StaticRouterProvider). // useId relies on the component tree structure to generate deterministic id's // so we need to ensure it remains the same on the client even though // we don't need the <script> tag return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DataRouterContext.Provider, { value: dataRouterContext }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DataRouterStateContext.Provider, { value: state }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, { basename: basename, location: state.location, navigationType: state.historyAction, navigator: navigator, future: { v7_relativeSplatPath: router.future.v7_relativeSplatPath } }, state.initialized || router.future.v7_partialHydration ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DataRoutes, { routes: router.routes, future: router.future, state: state }) : fallbackElement))), null); } function DataRoutes(_ref2) { let { routes, future, state } = _ref2; return useRoutesImpl(routes, undefined, state, future); } /** * A `<Router>` that stores all entries in memory. * * @see https://reactrouter.com/v6/router-components/memory-router */ function MemoryRouter(_ref3) { let { basename, children, initialEntries, initialIndex, future } = _ref3; let historyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(); if (historyRef.current == null) { historyRef.current = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createMemoryHistory)({ initialEntries, initialIndex, v5Compat: true }); } let history = historyRef.current; let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({ action: history.action, location: history.location }); let { v7_startTransition } = future || {}; let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => { v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState); }, [setStateImpl, v7_startTransition]); react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => logV6DeprecationWarnings(future), [future]); return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, { basename: basename, children: children, location: state.location, navigationType: state.action, navigator: history, future: future }); } /** * Changes the current location. * * Note: This API is mostly useful in React.Component subclasses that are not * able to use hooks. In functional components, we recommend you use the * `useNavigate` hook instead. * * @see https://reactrouter.com/v6/components/navigate */ function Navigate(_ref4) { let { to, replace, state, relative } = _ref4; !useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of // the router loaded. We can help them understand how to avoid that. "<Navigate> may be used only in the context of a <Router> component.") : 0 : void 0; let { future, static: isStatic } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext); true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(!isStatic, "<Navigate> must not be used on the initial render in a <StaticRouter>. " + "This is a no-op, but you should modify your code so the <Navigate> is " + "only ever rendered in response to some user interaction or state change.") : 0; let { matches } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext); let { pathname: locationPathname } = useLocation(); let navigate = useNavigate(); // Resolve the path outside of the effect so that when effects run twice in // StrictMode they navigate to the same place let path = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolveTo)(to, (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_getResolveToMatches)(matches, future.v7_relativeSplatPath), locationPathname, relative === "path"); let jsonPath = JSON.stringify(path); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => navigate(JSON.parse(jsonPath), { replace, state, relative }), [navigate, jsonPath, relative, replace, state]); return null; } /** * Renders the child route's element, if there is one. * * @see https://reactrouter.com/v6/components/outlet */ function Outlet(props) { return useOutlet(props.context); } /** * Declares an element that should be rendered at a certain URL path. * * @see https://reactrouter.com/v6/components/route */ function Route(_props) { true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "A <Route> is only ever to be used as the child of <Routes> element, " + "never rendered directly. Please wrap your <Route> in a <Routes>.") : 0; } /** * Provides location context for the rest of the app. * * Note: You usually won't render a `<Router>` directly. Instead, you'll render a * router that is more specific to your environment such as a `<BrowserRouter>` * in web browsers or a `<StaticRouter>` for server rendering. * * @see https://reactrouter.com/v6/router-components/router */ function Router(_ref5) { let { basename: basenameProp = "/", children = null, location: locationProp, navigationType = _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.Action.Pop, navigator, static: staticProp = false, future } = _ref5; !!useInRouterContext() ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "You cannot render a <Router> inside another <Router>." + " You should never have more than one in your app.") : 0 : void 0; // Preserve trailing slashes on basename, so we can let the user control // the enforcement of trailing slashes throughout the app let basename = basenameProp.replace(/^\/*/, "/"); let navigationContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({ basename, navigator, static: staticProp, future: _extends({ v7_relativeSplatPath: false }, future) }), [basename, future, navigator, staticProp]); if (typeof locationProp === "string") { locationProp = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.parsePath)(locationProp); } let { pathname = "/", search = "", hash = "", state = null, key = "default" } = locationProp; let locationContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => { let trailingPathname = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.stripBasename)(pathname, basename); if (trailingPathname == null) { return null; } return { location: { pathname: trailingPathname, search, hash, state, key }, navigationType }; }, [basename, pathname, search, hash, state, key, navigationType]); true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(locationContext != null, "<Router basename=\"" + basename + "\"> is not able to match the URL " + ("\"" + pathname + search + hash + "\" because it does not start with the ") + "basename, so the <Router> won't render anything.") : 0; if (locationContext == null) { return null; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(NavigationContext.Provider, { value: navigationContext }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(LocationContext.Provider, { children: children, value: locationContext })); } /** * A container for a nested tree of `<Route>` elements that renders the branch * that best matches the current location. * * @see https://reactrouter.com/v6/components/routes */ function Routes(_ref6) { let { children, location } = _ref6; return useRoutes(createRoutesFromChildren(children), location); } /** * Component to use for rendering lazily loaded data from returning defer() * in a loader function */ function Await(_ref7) { let { children, errorElement, resolve } = _ref7; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(AwaitErrorBoundary, { resolve: resolve, errorElement: errorElement }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ResolveAwait, null, children)); } var AwaitRenderStatus = /*#__PURE__*/function (AwaitRenderStatus) { AwaitRenderStatus[AwaitRenderStatus["pending"] = 0] = "pending"; AwaitRenderStatus[AwaitRenderStatus["success"] = 1] = "success"; AwaitRenderStatus[AwaitRenderStatus["error"] = 2] = "error"; return AwaitRenderStatus; }(AwaitRenderStatus || {}); const neverSettledPromise = new Promise(() => {}); class AwaitErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component { constructor(props) { super(props); this.state = { error: null }; } static getDerivedStateFromError(error) { return { error }; } componentDidCatch(error, errorInfo) { console.error("<Await> caught the following error during render", error, errorInfo); } render() { let { children, errorElement, resolve } = this.props; let promise = null; let status = AwaitRenderStatus.pending; if (!(resolve instanceof Promise)) { // Didn't get a promise - provide as a resolved promise status = AwaitRenderStatus.success; promise = Promise.resolve(); Object.defineProperty(promise, "_tracked", { get: () => true }); Object.defineProperty(promise, "_data", { get: () => resolve }); } else if (this.state.error) { // Caught a render error, provide it as a rejected promise status = AwaitRenderStatus.error; let renderError = this.state.error; promise = Promise.reject().catch(() => {}); // Avoid unhandled rejection warnings Object.defineProperty(promise, "_tracked", { get: () => true }); Object.defineProperty(promise, "_error", { get: () => renderError }); } else if (resolve._tracked) { // Already tracked promise - check contents promise = resolve; status = "_error" in promise ? AwaitRenderStatus.error : "_data" in promise ? AwaitRenderStatus.success : AwaitRenderStatus.pending; } else { // Raw (untracked) promise - track it status = AwaitRenderStatus.pending; Object.defineProperty(resolve, "_tracked", { get: () => true }); promise = resolve.then(data => Object.defineProperty(resolve, "_data", { get: () => data }), error => Object.defineProperty(resolve, "_error", { get: () => error })); } if (status === AwaitRenderStatus.error && promise._error instanceof _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.AbortedDeferredError) { // Freeze the UI by throwing a never resolved promise throw neverSettledPromise; } if (status === AwaitRenderStatus.error && !errorElement) { // No errorElement, throw to the nearest route-level error boundary throw promise._error; } if (status === AwaitRenderStatus.error) { // Render via our errorElement return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(AwaitContext.Provider, { value: promise, children: errorElement }); } if (status === AwaitRenderStatus.success) { // Render children with resolved value return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(AwaitContext.Provider, { value: promise, children: children }); } // Throw to the suspense boundary throw promise; } } /** * @private * Indirection to leverage useAsyncValue for a render-prop API on `<Await>` */ function ResolveAwait(_ref8) { let { children } = _ref8; let data = useAsyncValue(); let toRender = typeof children === "function" ? children(data) : children; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, toRender); } /////////////////////////////////////////////////////////////////////////////// // UTILS /////////////////////////////////////////////////////////////////////////////// /** * Creates a route config from a React "children" object, which is usually * either a `<Route>` element or an array of them. Used internally by * `<Routes>` to create a route config from its children. * * @see https://reactrouter.com/v6/utils/create-routes-from-children */ function createRoutesFromChildren(children, parentPath) { if (parentPath === void 0) { parentPath = []; } let routes = []; react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children, (element, index) => { if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(element)) { // Ignore non-elements. This allows people to more easily inline // conditionals in their route config. return; } let treePath = [...parentPath, index]; if (element.type === react__WEBPACK_IMPORTED_MODULE_0__.Fragment) { // Transparently support React.Fragment and its children. routes.push.apply(routes, createRoutesFromChildren(element.props.children, treePath)); return; } !(element.type === Route) ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "[" + (typeof element.type === "string" ? element.type : element.type.name) + "] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>") : 0 : void 0; !(!element.props.index || !element.props.children) ? true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "An index route cannot have child routes.") : 0 : void 0; let route = { id: element.props.id || treePath.join("-"), caseSensitive: element.props.caseSensitive, element: element.props.element, Component: element.props.Component, index: element.props.index, path: element.props.path, loader: element.props.loader, action: element.props.action, errorElement: element.props.errorElement, ErrorBoundary: element.props.ErrorBoundary, hasErrorBoundary: element.props.ErrorBoundary != null || element.props.errorElement != null, shouldRevalidate: element.props.shouldRevalidate, handle: element.props.handle, lazy: element.props.lazy }; if (element.props.children) { route.children = createRoutesFromChildren(element.props.children, treePath); } routes.push(route); }); return routes; } /** * Renders the result of `matchRoutes()` into a React element. */ function renderMatches(matches) { return _renderMatches(matches); } function mapRouteProperties(route) { let updates = { // Note: this check also occurs in createRoutesFromChildren so update // there if you change this -- please and thank you! hasErrorBoundary: route.ErrorBoundary != null || route.errorElement != null }; if (route.Component) { if (true) { if (route.element) { true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, "You should not include both `Component` and `element` on your route - " + "`Component` will be used.") : 0; } } Object.assign(updates, { element: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.Component), Component: undefined }); } if (route.HydrateFallback) { if (true) { if (route.hydrateFallbackElement) { true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - " + "`HydrateFallback` will be used.") : 0; } } Object.assign(updates, { hydrateFallbackElement: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.HydrateFallback), HydrateFallback: undefined }); } if (route.ErrorBoundary) { if (true) { if (route.errorElement) { true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, "You should not include both `ErrorBoundary` and `errorElement` on your route - " + "`ErrorBoundary` will be used.") : 0; } } Object.assign(updates, { errorElement: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.ErrorBoundary), ErrorBoundary: undefined }); } return updates; } function createMemoryRouter(routes, opts) { return (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createRouter)({ basename: opts == null ? void 0 : opts.basename, future: _extends({}, opts == null ? void 0 : opts.future, { v7_prependBasename: true }), history: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createMemoryHistory)({ initialEntries: opts == null ? void 0 : opts.initialEntries, initialIndex: opts == null ? void 0 : opts.initialIndex }), hydrationData: opts == null ? void 0 : opts.hydrationData, routes, mapRouteProperties, dataStrategy: opts == null ? void 0 : opts.dataStrategy, patchRoutesOnNavigation: opts == null ? void 0 : opts.patchRoutesOnNavigation }).initialize(); } /***/ }), /***/ "./node_modules/react/cjs/react-jsx-dev-runtime.development.js": /*!*********************************************************************!*\ !*** ./node_modules/react/cjs/react-jsx-dev-runtime.development.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * @license React * react-jsx-dev-runtime.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ true && function () { function getComponentNameFromType(type) { if (null == type) return null; if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE$2 ? null : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PORTAL_TYPE: return "Portal"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; } if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) { case REACT_CONTEXT_TYPE: return (type.displayName || "Context") + ".Provider"; case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type.render; type = type.displayName; type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); return type; case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; case REACT_LAZY_TYPE: innerType = type._payload; type = type._init; try { return getComponentNameFromType(type(innerType)); } catch (x) {} } return null; } function testStringCoercion(value) { return "" + value; } function checkKeyStringCoercion(value) { try { testStringCoercion(value); var JSCompiler_inline_result = !1; } catch (e) { JSCompiler_inline_result = !0; } if (JSCompiler_inline_result) { JSCompiler_inline_result = console; var JSCompiler_temp_const = JSCompiler_inline_result.error; var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0); return testStringCoercion(value); } } function disabledLog() {} function disableLogs() { if (0 === disabledDepth) { prevLog = console.log; prevInfo = console.info; prevWarn = console.warn; prevError = console.error; prevGroup = console.group; prevGroupCollapsed = console.groupCollapsed; prevGroupEnd = console.groupEnd; var props = { configurable: !0, enumerable: !0, value: disabledLog, writable: !0 }; Object.defineProperties(console, { info: props, log: props, warn: props, error: props, group: props, groupCollapsed: props, groupEnd: props }); } disabledDepth++; } function reenableLogs() { disabledDepth--; if (0 === disabledDepth) { var props = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: assign({}, props, { value: prevLog }), info: assign({}, props, { value: prevInfo }), warn: assign({}, props, { value: prevWarn }), error: assign({}, props, { value: prevError }), group: assign({}, props, { value: prevGroup }), groupCollapsed: assign({}, props, { value: prevGroupCollapsed }), groupEnd: assign({}, props, { value: prevGroupEnd }) }); } 0 > disabledDepth && console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = match && match[1] || ""; suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix; } function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; var frame = componentFrameCache.get(fn); if (void 0 !== frame) return frame; reentry = !0; frame = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var previousDispatcher = null; previousDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = null; disableLogs(); try { var RunInRootFrame = { DetermineComponentFrameRoot: function () { try { if (construct) { var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function () { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$0) { control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$1) { control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function () {}); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name"); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" }); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++; for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");) _RunInRootFrame$Deter++; if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];) _RunInRootFrame$Deter--; for (; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--) if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) { do if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { var _frame = "\n" + sampleLines[namePropDescriptor].replace(" at new ", " at "); fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName)); "function" === typeof fn && componentFrameCache.set(fn, _frame); return _frame; } while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter); } break; } } } finally { reentry = !1, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame; } sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : ""; "function" === typeof fn && componentFrameCache.set(fn, sampleLines); return sampleLines; } function describeUnknownElementTypeFrameInDEV(type) { if (null == type) return ""; if ("function" === typeof type) { var prototype = type.prototype; return describeNativeComponentFrame(type, !(!prototype || !prototype.isReactComponent)); } if ("string" === typeof type) return describeBuiltInComponentFrame(type); switch (type) { case REACT_SUSPENSE_TYPE: return describeBuiltInComponentFrame("Suspense"); case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); } if ("object" === typeof type) switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: return type = describeNativeComponentFrame(type.render, !1), type; case REACT_MEMO_TYPE: return describeUnknownElementTypeFrameInDEV(type.type); case REACT_LAZY_TYPE: prototype = type._payload; type = type._init; try { return describeUnknownElementTypeFrameInDEV(type(prototype)); } catch (x) {} } return ""; } function getOwner() { var dispatcher = ReactSharedInternals.A; return null === dispatcher ? null : dispatcher.getOwner(); } function hasValidKey(config) { if (hasOwnProperty.call(config, "key")) { var getter = Object.getOwnPropertyDescriptor(config, "key").get; if (getter && getter.isReactWarning) return !1; } return void 0 !== config.key; } function defineKeyPropWarningGetter(props, displayName) { function warnAboutAccessingKey() { specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName)); } warnAboutAccessingKey.isReactWarning = !0; Object.defineProperty(props, "key", { get: warnAboutAccessingKey, configurable: !0 }); } function elementRefGetterWithDeprecationWarning() { var componentName = getComponentNameFromType(this.type); didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")); componentName = this.props.ref; return void 0 !== componentName ? componentName : null; } function ReactElement(type, key, self, source, owner, props) { self = props.ref; type = { $$typeof: REACT_ELEMENT_TYPE, type: type, key: key, props: props, _owner: owner }; null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", { enumerable: !1, get: elementRefGetterWithDeprecationWarning }) : Object.defineProperty(type, "ref", { enumerable: !1, value: null }); type._store = {}; Object.defineProperty(type._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: 0 }); Object.defineProperty(type, "_debugInfo", { configurable: !1, enumerable: !1, writable: !0, value: null }); Object.freeze && (Object.freeze(type.props), Object.freeze(type)); return type; } function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self) { if ("string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE$1 || void 0 !== type.getModuleId)) { var children = config.children; if (void 0 !== children) if (isStaticChildren) { if (isArrayImpl(children)) { for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren], type); Object.freeze && Object.freeze(children); } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); } else validateChildKeys(children, type); } else { children = ""; if (void 0 === type || "object" === typeof type && null !== type && 0 === Object.keys(type).length) children += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."; null === type ? isStaticChildren = "null" : isArrayImpl(type) ? isStaticChildren = "array" : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE ? (isStaticChildren = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", children = " Did you accidentally export a JSX literal instead of a component?") : isStaticChildren = typeof type; console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", isStaticChildren, children); } if (hasOwnProperty.call(config, "key")) { children = getComponentNameFromType(type); var keys = Object.keys(config).filter(function (k) { return "key" !== k; }); isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}"; didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = !0); } children = null; void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey); hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key); if ("key" in config) { maybeKey = {}; for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]); } else maybeKey = config; children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type); return ReactElement(type, children, self, source, getOwner(), maybeKey); } function validateChildKeys(node, parentType) { if ("object" === typeof node && node && node.$$typeof !== REACT_CLIENT_REFERENCE) if (isArrayImpl(node)) for (var i = 0; i < node.length; i++) { var child = node[i]; isValidElement(child) && validateExplicitKey(child, parentType); } else if (isValidElement(node)) node._store && (node._store.validated = 1);else if (null === node || "object" !== typeof node ? i = null : (i = MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL] || node["@@iterator"], i = "function" === typeof i ? i : null), "function" === typeof i && i !== node.entries && (i = i.call(node), i !== node)) for (; !(node = i.next()).done;) isValidElement(node.value) && validateExplicitKey(node.value, parentType); } function isValidElement(object) { return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE; } function validateExplicitKey(element, parentType) { if (element._store && !element._store.validated && null == element.key && (element._store.validated = 1, parentType = getCurrentComponentErrorInfo(parentType), !ownerHasKeyUseWarning[parentType])) { ownerHasKeyUseWarning[parentType] = !0; var childOwner = ""; element && null != element._owner && element._owner !== getOwner() && (childOwner = null, "number" === typeof element._owner.tag ? childOwner = getComponentNameFromType(element._owner.type) : "string" === typeof element._owner.name && (childOwner = element._owner.name), childOwner = " It was passed a child from " + childOwner + "."); var prevGetCurrentStack = ReactSharedInternals.getCurrentStack; ReactSharedInternals.getCurrentStack = function () { var stack = describeUnknownElementTypeFrameInDEV(element.type); prevGetCurrentStack && (stack += prevGetCurrentStack() || ""); return stack; }; console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', parentType, childOwner); ReactSharedInternals.getCurrentStack = prevGetCurrentStack; } } function getCurrentComponentErrorInfo(parentType) { var info = "", owner = getOwner(); owner && (owner = getComponentNameFromType(owner.type)) && (info = "\n\nCheck the render method of `" + owner + "`."); info || (parentType = getComponentNameFromType(parentType)) && (info = "\n\nCheck the top-level render call using <" + parentType + ">."); return info; } var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"); Symbol.for("react.provider"); var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, assign = Object.assign, REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd; disabledLog.__reactDisabledLog = !0; var prefix, suffix, reentry = !1; var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)(); var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), specialPropKeyWarningShown; var didWarnAboutElementRef = {}; var didWarnAboutKeySpread = {}, ownerHasKeyUseWarning = {}; exports.Fragment = REACT_FRAGMENT_TYPE; exports.jsxDEV = function (type, config, maybeKey, isStaticChildren, source, self) { return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self); }; }(); /***/ }), /***/ "./node_modules/react/cjs/react.development.js": /*!*****************************************************!*\ !*** ./node_modules/react/cjs/react.development.js ***! \*****************************************************/ /***/ ((module, exports, __webpack_require__) => { "use strict"; /* module decorator */ module = __webpack_require__.nmd(module); /** * @license React * react.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ true && function () { function defineDeprecationWarning(methodName, info) { Object.defineProperty(Component.prototype, methodName, { get: function () { console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]); } }); } function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } function warnNoop(publicInstance, callerName) { publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass"; var warningKey = publicInstance + "." + callerName; didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = !0); } function Component(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject; this.updater = updater || ReactNoopUpdateQueue; } function ComponentDummy() {} function PureComponent(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject; this.updater = updater || ReactNoopUpdateQueue; } function testStringCoercion(value) { return "" + value; } function checkKeyStringCoercion(value) { try { testStringCoercion(value); var JSCompiler_inline_result = !1; } catch (e) { JSCompiler_inline_result = !0; } if (JSCompiler_inline_result) { JSCompiler_inline_result = console; var JSCompiler_temp_const = JSCompiler_inline_result.error; var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0); return testStringCoercion(value); } } function getComponentNameFromType(type) { if (null == type) return null; if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE$2 ? null : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PORTAL_TYPE: return "Portal"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; } if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) { case REACT_CONTEXT_TYPE: return (type.displayName || "Context") + ".Provider"; case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type.render; type = type.displayName; type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); return type; case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; case REACT_LAZY_TYPE: innerType = type._payload; type = type._init; try { return getComponentNameFromType(type(innerType)); } catch (x) {} } return null; } function isValidElementType(type) { return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE$1 || void 0 !== type.getModuleId) ? !0 : !1; } function disabledLog() {} function disableLogs() { if (0 === disabledDepth) { prevLog = console.log; prevInfo = console.info; prevWarn = console.warn; prevError = console.error; prevGroup = console.group; prevGroupCollapsed = console.groupCollapsed; prevGroupEnd = console.groupEnd; var props = { configurable: !0, enumerable: !0, value: disabledLog, writable: !0 }; Object.defineProperties(console, { info: props, log: props, warn: props, error: props, group: props, groupCollapsed: props, groupEnd: props }); } disabledDepth++; } function reenableLogs() { disabledDepth--; if (0 === disabledDepth) { var props = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: assign({}, props, { value: prevLog }), info: assign({}, props, { value: prevInfo }), warn: assign({}, props, { value: prevWarn }), error: assign({}, props, { value: prevError }), group: assign({}, props, { value: prevGroup }), groupCollapsed: assign({}, props, { value: prevGroupCollapsed }), groupEnd: assign({}, props, { value: prevGroupEnd }) }); } 0 > disabledDepth && console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = match && match[1] || ""; suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix; } function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; var frame = componentFrameCache.get(fn); if (void 0 !== frame) return frame; reentry = !0; frame = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var previousDispatcher = null; previousDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = null; disableLogs(); try { var RunInRootFrame = { DetermineComponentFrameRoot: function () { try { if (construct) { var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function () { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$0) { control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$1) { control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function () {}); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name"); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" }); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++; for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");) _RunInRootFrame$Deter++; if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];) _RunInRootFrame$Deter--; for (; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--) if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) { do if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { var _frame = "\n" + sampleLines[namePropDescriptor].replace(" at new ", " at "); fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName)); "function" === typeof fn && componentFrameCache.set(fn, _frame); return _frame; } while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter); } break; } } } finally { reentry = !1, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame; } sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : ""; "function" === typeof fn && componentFrameCache.set(fn, sampleLines); return sampleLines; } function describeUnknownElementTypeFrameInDEV(type) { if (null == type) return ""; if ("function" === typeof type) { var prototype = type.prototype; return describeNativeComponentFrame(type, !(!prototype || !prototype.isReactComponent)); } if ("string" === typeof type) return describeBuiltInComponentFrame(type); switch (type) { case REACT_SUSPENSE_TYPE: return describeBuiltInComponentFrame("Suspense"); case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); } if ("object" === typeof type) switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: return type = describeNativeComponentFrame(type.render, !1), type; case REACT_MEMO_TYPE: return describeUnknownElementTypeFrameInDEV(type.type); case REACT_LAZY_TYPE: prototype = type._payload; type = type._init; try { return describeUnknownElementTypeFrameInDEV(type(prototype)); } catch (x) {} } return ""; } function getOwner() { var dispatcher = ReactSharedInternals.A; return null === dispatcher ? null : dispatcher.getOwner(); } function hasValidKey(config) { if (hasOwnProperty.call(config, "key")) { var getter = Object.getOwnPropertyDescriptor(config, "key").get; if (getter && getter.isReactWarning) return !1; } return void 0 !== config.key; } function defineKeyPropWarningGetter(props, displayName) { function warnAboutAccessingKey() { specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName)); } warnAboutAccessingKey.isReactWarning = !0; Object.defineProperty(props, "key", { get: warnAboutAccessingKey, configurable: !0 }); } function elementRefGetterWithDeprecationWarning() { var componentName = getComponentNameFromType(this.type); didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")); componentName = this.props.ref; return void 0 !== componentName ? componentName : null; } function ReactElement(type, key, self, source, owner, props) { self = props.ref; type = { $$typeof: REACT_ELEMENT_TYPE, type: type, key: key, props: props, _owner: owner }; null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", { enumerable: !1, get: elementRefGetterWithDeprecationWarning }) : Object.defineProperty(type, "ref", { enumerable: !1, value: null }); type._store = {}; Object.defineProperty(type._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: 0 }); Object.defineProperty(type, "_debugInfo", { configurable: !1, enumerable: !1, writable: !0, value: null }); Object.freeze && (Object.freeze(type.props), Object.freeze(type)); return type; } function cloneAndReplaceKey(oldElement, newKey) { newKey = ReactElement(oldElement.type, newKey, void 0, void 0, oldElement._owner, oldElement.props); newKey._store.validated = oldElement._store.validated; return newKey; } function validateChildKeys(node, parentType) { if ("object" === typeof node && node && node.$$typeof !== REACT_CLIENT_REFERENCE) if (isArrayImpl(node)) for (var i = 0; i < node.length; i++) { var child = node[i]; isValidElement(child) && validateExplicitKey(child, parentType); } else if (isValidElement(node)) node._store && (node._store.validated = 1);else if (i = getIteratorFn(node), "function" === typeof i && i !== node.entries && (i = i.call(node), i !== node)) for (; !(node = i.next()).done;) isValidElement(node.value) && validateExplicitKey(node.value, parentType); } function isValidElement(object) { return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE; } function validateExplicitKey(element, parentType) { if (element._store && !element._store.validated && null == element.key && (element._store.validated = 1, parentType = getCurrentComponentErrorInfo(parentType), !ownerHasKeyUseWarning[parentType])) { ownerHasKeyUseWarning[parentType] = !0; var childOwner = ""; element && null != element._owner && element._owner !== getOwner() && (childOwner = null, "number" === typeof element._owner.tag ? childOwner = getComponentNameFromType(element._owner.type) : "string" === typeof element._owner.name && (childOwner = element._owner.name), childOwner = " It was passed a child from " + childOwner + "."); var prevGetCurrentStack = ReactSharedInternals.getCurrentStack; ReactSharedInternals.getCurrentStack = function () { var stack = describeUnknownElementTypeFrameInDEV(element.type); prevGetCurrentStack && (stack += prevGetCurrentStack() || ""); return stack; }; console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', parentType, childOwner); ReactSharedInternals.getCurrentStack = prevGetCurrentStack; } } function getCurrentComponentErrorInfo(parentType) { var info = "", owner = getOwner(); owner && (owner = getComponentNameFromType(owner.type)) && (info = "\n\nCheck the render method of `" + owner + "`."); info || (parentType = getComponentNameFromType(parentType)) && (info = "\n\nCheck the top-level render call using <" + parentType + ">."); return info; } function escape(key) { var escaperLookup = { "=": "=0", ":": "=2" }; return "$" + key.replace(/[=:]/g, function (match) { return escaperLookup[match]; }); } function getElementKey(element, index) { return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36); } function noop$1() {} function resolveThenable(thenable) { switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; default: switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(function (fulfilledValue) { "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue); }, function (error) { "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error); })), thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; } } throw thenable; } function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) { var type = typeof children; if ("undefined" === type || "boolean" === type) children = null; var invokeCallback = !1; if (null === children) invokeCallback = !0;else switch (type) { case "bigint": case "string": case "number": invokeCallback = !0; break; case "object": switch (children.$$typeof) { case REACT_ELEMENT_TYPE: case REACT_PORTAL_TYPE: invokeCallback = !0; break; case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback); } } if (invokeCallback) { invokeCallback = children; callback = callback(invokeCallback); var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar; isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function (c) { return c; })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + childKey), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback)); return 1; } invokeCallback = 0; childKey = "" === nameSoFar ? "." : nameSoFar + ":"; if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), "function" === typeof i) for (i === children.entries && (didWarnAboutMaps || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = !0), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if ("object" === type) { if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback); array = String(children); throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."); } return invokeCallback; } function mapChildren(children, func, context) { if (null == children) return children; var result = [], count = 0; mapIntoArray(children, result, "", "", function (child) { return func.call(context, child, count++); }); return result; } function lazyInitializer(payload) { if (-1 === payload._status) { var ctor = payload._result; ctor = ctor(); ctor.then(function (moduleObject) { if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject; }, function (error) { if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error; }); -1 === payload._status && (payload._status = 0, payload._result = ctor); } if (1 === payload._status) return ctor = payload._result, void 0 === ctor && console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", ctor), "default" in ctor || console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", ctor), ctor.default; throw payload._result; } function resolveDispatcher() { var dispatcher = ReactSharedInternals.H; null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."); return dispatcher; } function noop() {} function enqueueTask(task) { if (null === enqueueTaskImpl) try { var requireString = ("require" + Math.random()).slice(0, 7); enqueueTaskImpl = (module && module[requireString]).call(module, "timers").setImmediate; } catch (_err) { enqueueTaskImpl = function (callback) { !1 === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = !0, "undefined" === typeof MessageChannel && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.")); var channel = new MessageChannel(); channel.port1.onmessage = callback; channel.port2.postMessage(void 0); }; } return enqueueTaskImpl(task); } function aggregateErrors(errors) { return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0]; } function popActScope(prevActQueue, prevActScopeDepth) { prevActScopeDepth !== actScopeDepth - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "); actScopeDepth = prevActScopeDepth; } function recursivelyFlushAsyncActWork(returnValue, resolve, reject) { var queue = ReactSharedInternals.actQueue; if (null !== queue) if (0 !== queue.length) try { flushActQueue(queue); enqueueTask(function () { return recursivelyFlushAsyncActWork(returnValue, resolve, reject); }); return; } catch (error) { ReactSharedInternals.thrownErrors.push(error); } else ReactSharedInternals.actQueue = null; 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue); } function flushActQueue(queue) { if (!isFlushing) { isFlushing = !0; var i = 0; try { for (; i < queue.length; i++) { var callback = queue[i]; do { ReactSharedInternals.didUsePromise = !1; var continuation = callback(!1); if (null !== continuation) { if (ReactSharedInternals.didUsePromise) { queue[i] = callback; queue.splice(0, i); return; } callback = continuation; } else break; } while (1); } queue.length = 0; } catch (error) { queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error); } finally { isFlushing = !1; } } } "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"); Symbol.for("react.provider"); var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = { isMounted: function () { return !1; }, enqueueForceUpdate: function (publicInstance) { warnNoop(publicInstance, "forceUpdate"); }, enqueueReplaceState: function (publicInstance) { warnNoop(publicInstance, "replaceState"); }, enqueueSetState: function (publicInstance) { warnNoop(publicInstance, "setState"); } }, assign = Object.assign, emptyObject = {}; Object.freeze(emptyObject); Component.prototype.isReactComponent = {}; Component.prototype.setState = function (partialState, callback) { if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables."); this.updater.enqueueSetState(this, partialState, callback, "setState"); }; Component.prototype.forceUpdate = function (callback) { this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); }; var deprecatedAPIs = { isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."], replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] }, fnName; for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); ComponentDummy.prototype = Component.prototype; deprecatedAPIs = PureComponent.prototype = new ComponentDummy(); deprecatedAPIs.constructor = PureComponent; assign(deprecatedAPIs, Component.prototype); deprecatedAPIs.isPureReactComponent = !0; var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"), ReactSharedInternals = { H: null, A: null, T: null, S: null, actQueue: null, isBatchingLegacy: !1, didScheduleLegacyUpdate: !1, didUsePromise: !1, thrownErrors: [], getCurrentStack: null }, hasOwnProperty = Object.prototype.hasOwnProperty, REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"), disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd; disabledLog.__reactDisabledLog = !0; var prefix, suffix, reentry = !1; var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)(); var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), specialPropKeyWarningShown, didWarnAboutOldJSXRuntime; var didWarnAboutElementRef = {}; var ownerHasKeyUseWarning = {}, didWarnAboutMaps = !1, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function (error) { if ("object" === typeof window && "function" === typeof window.ErrorEvent) { var event = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error: error }); if (!window.dispatchEvent(event)) return; } else if ("object" === typeof process && "function" === typeof process.emit) { process.emit("uncaughtException", error); return; } console.error(error); }, didWarnAboutMessageChannel = !1, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = !1, isFlushing = !1, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function (callback) { queueMicrotask(function () { return queueMicrotask(callback); }); } : enqueueTask; exports.Children = { map: mapChildren, forEach: function (children, forEachFunc, forEachContext) { mapChildren(children, function () { forEachFunc.apply(this, arguments); }, forEachContext); }, count: function (children) { var n = 0; mapChildren(children, function () { n++; }); return n; }, toArray: function (children) { return mapChildren(children, function (child) { return child; }) || []; }, only: function (children) { if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child."); return children; } }; exports.Component = Component; exports.Fragment = REACT_FRAGMENT_TYPE; exports.Profiler = REACT_PROFILER_TYPE; exports.PureComponent = PureComponent; exports.StrictMode = REACT_STRICT_MODE_TYPE; exports.Suspense = REACT_SUSPENSE_TYPE; exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals; exports.act = function (callback) { var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth; actScopeDepth++; var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = !1; try { var result = callback(); } catch (error) { ReactSharedInternals.thrownErrors.push(error); } if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback; if (null !== result && "object" === typeof result && "function" === typeof result.then) { var thenable = result; queueSeveralMicrotasks(function () { didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);")); }); return { then: function (resolve, reject) { didAwaitActCall = !0; thenable.then(function (returnValue) { popActScope(prevActQueue, prevActScopeDepth); if (0 === prevActScopeDepth) { try { flushActQueue(queue), enqueueTask(function () { return recursivelyFlushAsyncActWork(returnValue, resolve, reject); }); } catch (error$2) { ReactSharedInternals.thrownErrors.push(error$2); } if (0 < ReactSharedInternals.thrownErrors.length) { var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors); ReactSharedInternals.thrownErrors.length = 0; reject(_thrownError); } } else resolve(returnValue); }, function (error) { popActScope(prevActQueue, prevActScopeDepth); 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error); }); } }; } var returnValue$jscomp$0 = result; popActScope(prevActQueue, prevActScopeDepth); 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function () { didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)")); }), ReactSharedInternals.actQueue = null); if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback; return { then: function (resolve, reject) { didAwaitActCall = !0; 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function () { return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject); })) : resolve(returnValue$jscomp$0); } }; }; exports.cache = function (fn) { return function () { return fn.apply(null, arguments); }; }; exports.cloneElement = function (element, config, children) { if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + "."); var props = assign({}, element.props), key = element.key, owner = element._owner; if (null != config) { var JSCompiler_inline_result; a: { if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, "ref").get) && JSCompiler_inline_result.isReactWarning) { JSCompiler_inline_result = !1; break a; } JSCompiler_inline_result = void 0 !== config.ref; } JSCompiler_inline_result && (owner = getOwner()); hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key); for (propName in config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]); } var propName = arguments.length - 2; if (1 === propName) props.children = children;else if (1 < propName) { JSCompiler_inline_result = Array(propName); for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2]; props.children = JSCompiler_inline_result; } props = ReactElement(element.type, key, void 0, void 0, owner, props); for (key = 2; key < arguments.length; key++) validateChildKeys(arguments[key], props.type); return props; }; exports.createContext = function (defaultValue) { defaultValue = { $$typeof: REACT_CONTEXT_TYPE, _currentValue: defaultValue, _currentValue2: defaultValue, _threadCount: 0, Provider: null, Consumer: null }; defaultValue.Provider = defaultValue; defaultValue.Consumer = { $$typeof: REACT_CONSUMER_TYPE, _context: defaultValue }; defaultValue._currentRenderer = null; defaultValue._currentRenderer2 = null; return defaultValue; }; exports.createElement = function (type, config, children) { if (isValidElementType(type)) for (var i = 2; i < arguments.length; i++) validateChildKeys(arguments[i], type);else { i = ""; if (void 0 === type || "object" === typeof type && null !== type && 0 === Object.keys(type).length) i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."; if (null === type) var typeString = "null";else isArrayImpl(type) ? typeString = "array" : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE ? (typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : typeString = typeof type; console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, i); } var propName; i = {}; typeString = null; if (null != config) for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = !0, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), hasValidKey(config) && (checkKeyStringCoercion(config.key), typeString = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]); var childrenLength = arguments.length - 2; if (1 === childrenLength) i.children = children;else if (1 < childrenLength) { for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++) childArray[_i] = arguments[_i + 2]; Object.freeze && Object.freeze(childArray); i.children = childArray; } if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]); typeString && defineKeyPropWarningGetter(i, "function" === typeof type ? type.displayName || type.name || "Unknown" : type); return ReactElement(type, typeString, void 0, void 0, getOwner(), i); }; exports.createRef = function () { var refObject = { current: null }; Object.seal(refObject); return refObject; }; exports.forwardRef = function (render) { null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : "function" !== typeof render ? console.error("forwardRef requires a render function but was given %s.", null === render ? "null" : typeof render) : 0 !== render.length && 2 !== render.length && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."); null != render && null != render.defaultProps && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"); var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render }, ownName; Object.defineProperty(elementType, "displayName", { enumerable: !1, configurable: !0, get: function () { return ownName; }, set: function (name) { ownName = name; render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name); } }); return elementType; }; exports.isValidElement = isValidElement; exports.lazy = function (ctor) { return { $$typeof: REACT_LAZY_TYPE, _payload: { _status: -1, _result: ctor }, _init: lazyInitializer }; }; exports.memo = function (type, compare) { isValidElementType(type) || console.error("memo: The first argument must be a component. Instead received: %s", null === type ? "null" : typeof type); compare = { $$typeof: REACT_MEMO_TYPE, type: type, compare: void 0 === compare ? null : compare }; var ownName; Object.defineProperty(compare, "displayName", { enumerable: !1, configurable: !0, get: function () { return ownName; }, set: function (name) { ownName = name; type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name); } }); return compare; }; exports.startTransition = function (scope) { var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; currentTransition._updatedFibers = new Set(); try { var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError); } catch (error) { reportGlobalError(error); } finally { null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), ReactSharedInternals.T = prevTransition; } }; exports.unstable_useCacheRefresh = function () { return resolveDispatcher().useCacheRefresh(); }; exports.use = function (usable) { return resolveDispatcher().use(usable); }; exports.useActionState = function (action, initialState, permalink) { return resolveDispatcher().useActionState(action, initialState, permalink); }; exports.useCallback = function (callback, deps) { return resolveDispatcher().useCallback(callback, deps); }; exports.useContext = function (Context) { var dispatcher = resolveDispatcher(); Context.$$typeof === REACT_CONSUMER_TYPE && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"); return dispatcher.useContext(Context); }; exports.useDebugValue = function (value, formatterFn) { return resolveDispatcher().useDebugValue(value, formatterFn); }; exports.useDeferredValue = function (value, initialValue) { return resolveDispatcher().useDeferredValue(value, initialValue); }; exports.useEffect = function (create, deps) { return resolveDispatcher().useEffect(create, deps); }; exports.useId = function () { return resolveDispatcher().useId(); }; exports.useImperativeHandle = function (ref, create, deps) { return resolveDispatcher().useImperativeHandle(ref, create, deps); }; exports.useInsertionEffect = function (create, deps) { return resolveDispatcher().useInsertionEffect(create, deps); }; exports.useLayoutEffect = function (create, deps) { return resolveDispatcher().useLayoutEffect(create, deps); }; exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; exports.useOptimistic = function (passthrough, reducer) { return resolveDispatcher().useOptimistic(passthrough, reducer); }; exports.useReducer = function (reducer, initialArg, init) { return resolveDispatcher().useReducer(reducer, initialArg, init); }; exports.useRef = function (initialValue) { return resolveDispatcher().useRef(initialValue); }; exports.useState = function (initialState) { return resolveDispatcher().useState(initialState); }; exports.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) { return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); }; exports.useTransition = function () { return resolveDispatcher().useTransition(); }; exports.version = "19.0.0"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }(); /***/ }), /***/ "./node_modules/react/index.js": /*!*************************************!*\ !*** ./node_modules/react/index.js ***! \*************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "./node_modules/react/cjs/react.development.js"); } /***/ }), /***/ "./node_modules/react/jsx-dev-runtime.js": /*!***********************************************!*\ !*** ./node_modules/react/jsx-dev-runtime.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/react-jsx-dev-runtime.development.js */ "./node_modules/react/cjs/react-jsx-dev-runtime.development.js"); } /***/ }), /***/ "./node_modules/scheduler/cjs/scheduler.development.js": /*!*************************************************************!*\ !*** ./node_modules/scheduler/cjs/scheduler.development.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; /** * @license React * scheduler.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ true && function () { function performWorkUntilDeadline() { if (isMessageLoopRunning) { var currentTime = exports.unstable_now(); startTime = currentTime; var hasMoreWork = !0; try { a: { isHostCallbackScheduled = !1; isHostTimeoutScheduled && (isHostTimeoutScheduled = !1, localClearTimeout(taskTimeoutID), taskTimeoutID = -1); isPerformingWork = !0; var previousPriorityLevel = currentPriorityLevel; try { b: { advanceTimers(currentTime); for (currentTask = peek(taskQueue); null !== currentTask && !(currentTask.expirationTime > currentTime && shouldYieldToHost());) { var callback = currentTask.callback; if ("function" === typeof callback) { currentTask.callback = null; currentPriorityLevel = currentTask.priorityLevel; var continuationCallback = callback(currentTask.expirationTime <= currentTime); currentTime = exports.unstable_now(); if ("function" === typeof continuationCallback) { currentTask.callback = continuationCallback; advanceTimers(currentTime); hasMoreWork = !0; break b; } currentTask === peek(taskQueue) && pop(taskQueue); advanceTimers(currentTime); } else pop(taskQueue); currentTask = peek(taskQueue); } if (null !== currentTask) hasMoreWork = !0;else { var firstTimer = peek(timerQueue); null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); hasMoreWork = !1; } } break a; } finally { currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork = !1; } hasMoreWork = void 0; } } finally { hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = !1; } } } function push(heap, node) { var index = heap.length; heap.push(node); a: for (; 0 < index;) { var parentIndex = index - 1 >>> 1, parent = heap[parentIndex]; if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;else break a; } } function peek(heap) { return 0 === heap.length ? null : heap[0]; } function pop(heap) { if (0 === heap.length) return null; var first = heap[0], last = heap.pop(); if (last !== first) { heap[0] = last; a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) { var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex]; if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;else break a; } } return first; } function compare(a, b) { var diff = a.sortIndex - b.sortIndex; return 0 !== diff ? diff : a.id - b.id; } function advanceTimers(currentTime) { for (var timer = peek(timerQueue); null !== timer;) { if (null === timer.callback) pop(timerQueue);else if (timer.startTime <= currentTime) pop(timerQueue), timer.sortIndex = timer.expirationTime, push(taskQueue, timer);else break; timer = peek(timerQueue); } } function handleTimeout(currentTime) { isHostTimeoutScheduled = !1; advanceTimers(currentTime); if (!isHostCallbackScheduled) if (null !== peek(taskQueue)) isHostCallbackScheduled = !0, requestHostCallback();else { var firstTimer = peek(timerQueue); null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); } } function shouldYieldToHost() { return exports.unstable_now() - startTime < frameInterval ? !1 : !0; } function requestHostCallback() { isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline()); } function requestHostTimeout(callback, ms) { taskTimeoutID = localSetTimeout(function () { callback(exports.unstable_now()); }, ms); } "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); exports.unstable_now = void 0; if ("object" === typeof performance && "function" === typeof performance.now) { var localPerformance = performance; exports.unstable_now = function () { return localPerformance.now(); }; } else { var localDate = Date, initialTime = localDate.now(); exports.unstable_now = function () { return localDate.now() - initialTime; }; } var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null, isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1; if ("function" === typeof localSetImmediate) var schedulePerformWorkUntilDeadline = function () { localSetImmediate(performWorkUntilDeadline); };else if ("undefined" !== typeof MessageChannel) { var channel = new MessageChannel(), port = channel.port2; channel.port1.onmessage = performWorkUntilDeadline; schedulePerformWorkUntilDeadline = function () { port.postMessage(null); }; } else schedulePerformWorkUntilDeadline = function () { localSetTimeout(performWorkUntilDeadline, 0); }; exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; exports.unstable_NormalPriority = 3; exports.unstable_Profiling = null; exports.unstable_UserBlockingPriority = 2; exports.unstable_cancelCallback = function (task) { task.callback = null; }; exports.unstable_continueExecution = function () { isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = !0, requestHostCallback()); }; exports.unstable_forceFrameRate = function (fps) { 0 > fps || 125 < fps ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5; }; exports.unstable_getCurrentPriorityLevel = function () { return currentPriorityLevel; }; exports.unstable_getFirstCallbackNode = function () { return peek(taskQueue); }; exports.unstable_next = function (eventHandler) { switch (currentPriorityLevel) { case 1: case 2: case 3: var priorityLevel = 3; break; default: priorityLevel = currentPriorityLevel; } var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = priorityLevel; try { return eventHandler(); } finally { currentPriorityLevel = previousPriorityLevel; } }; exports.unstable_pauseExecution = function () {}; exports.unstable_requestPaint = function () {}; exports.unstable_runWithPriority = function (priorityLevel, eventHandler) { switch (priorityLevel) { case 1: case 2: case 3: case 4: case 5: break; default: priorityLevel = 3; } var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = priorityLevel; try { return eventHandler(); } finally { currentPriorityLevel = previousPriorityLevel; } }; exports.unstable_scheduleCallback = function (priorityLevel, callback, options) { var currentTime = exports.unstable_now(); "object" === typeof options && null !== options ? (options = options.delay, options = "number" === typeof options && 0 < options ? currentTime + options : currentTime) : options = currentTime; switch (priorityLevel) { case 1: var timeout = -1; break; case 2: timeout = 250; break; case 5: timeout = 1073741823; break; case 4: timeout = 1e4; break; default: timeout = 5e3; } timeout = options + timeout; priorityLevel = { id: taskIdCounter++, callback: callback, priorityLevel: priorityLevel, startTime: options, expirationTime: timeout, sortIndex: -1 }; options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = !0, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = !0, requestHostCallback())); return priorityLevel; }; exports.unstable_shouldYield = shouldYieldToHost; exports.unstable_wrapCallback = function (callback) { var parentPriorityLevel = currentPriorityLevel; return function () { var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = parentPriorityLevel; try { return callback.apply(this, arguments); } finally { currentPriorityLevel = previousPriorityLevel; } }; }; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }(); /***/ }), /***/ "./node_modules/scheduler/index.js": /*!*****************************************!*\ !*** ./node_modules/scheduler/index.js ***! \*****************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/scheduler.development.js */ "./node_modules/scheduler/cjs/scheduler.development.js"); } /***/ }), /***/ "./node_modules/webpack-dev-server/client/clients/WebSocketClient.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/clients/WebSocketClient.js ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ WebSocketClient) /* harmony export */ }); /* harmony import */ var _utils_log_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/log.js */ "./node_modules/webpack-dev-server/client/utils/log.js"); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } var WebSocketClient = /*#__PURE__*/function () { /** * @param {string} url */ function WebSocketClient(url) { _classCallCheck(this, WebSocketClient); this.client = new WebSocket(url); this.client.onerror = function (error) { _utils_log_js__WEBPACK_IMPORTED_MODULE_0__.log.error(error); }; } /** * @param {(...args: any[]) => void} f */ _createClass(WebSocketClient, [{ key: "onOpen", value: function onOpen(f) { this.client.onopen = f; } /** * @param {(...args: any[]) => void} f */ }, { key: "onClose", value: function onClose(f) { this.client.onclose = f; } // call f with the message string as the first argument /** * @param {(...args: any[]) => void} f */ }, { key: "onMessage", value: function onMessage(f) { this.client.onmessage = function (e) { f(e.data); }; } }]); return WebSocketClient; }(); /***/ }), /***/ "./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&overlay=%7B%22errors%22%3Atrue%2C%22warnings%22%3Afalse%7D&reconnect=10&hot=true&live-reload=true": /*!*********************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&overlay=%7B%22errors%22%3Atrue%2C%22warnings%22%3Afalse%7D&reconnect=10&hot=true&live-reload=true ***! \*********************************************************************************************************************************************************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; var __resourceQuery = "?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&overlay=%7B%22errors%22%3Atrue%2C%22warnings%22%3Afalse%7D&reconnect=10&hot=true&live-reload=true"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! webpack/hot/log.js */ "./node_modules/webpack/hot/log.js"); /* harmony import */ var webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _utils_stripAnsi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/stripAnsi.js */ "./node_modules/webpack-dev-server/client/utils/stripAnsi.js"); /* harmony import */ var _utils_parseURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/parseURL.js */ "./node_modules/webpack-dev-server/client/utils/parseURL.js"); /* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./socket.js */ "./node_modules/webpack-dev-server/client/socket.js"); /* harmony import */ var _overlay_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./overlay.js */ "./node_modules/webpack-dev-server/client/overlay.js"); /* harmony import */ var _utils_log_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/log.js */ "./node_modules/webpack-dev-server/client/utils/log.js"); /* harmony import */ var _utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/sendMessage.js */ "./node_modules/webpack-dev-server/client/utils/sendMessage.js"); /* harmony import */ var _utils_reloadApp_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/reloadApp.js */ "./node_modules/webpack-dev-server/client/utils/reloadApp.js"); /* harmony import */ var _utils_createSocketURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/createSocketURL.js */ "./node_modules/webpack-dev-server/client/utils/createSocketURL.js"); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /* global __resourceQuery, __webpack_hash__ */ /// <reference types="webpack/module" /> /** * @typedef {Object} OverlayOptions * @property {boolean | (error: Error) => boolean} [warnings] * @property {boolean | (error: Error) => boolean} [errors] * @property {boolean | (error: Error) => boolean} [runtimeErrors] * @property {string} [trustedTypesPolicyName] */ /** * @typedef {Object} Options * @property {boolean} hot * @property {boolean} liveReload * @property {boolean} progress * @property {boolean | OverlayOptions} overlay * @property {string} [logging] * @property {number} [reconnect] */ /** * @typedef {Object} Status * @property {boolean} isUnloading * @property {string} currentHash * @property {string} [previousHash] */ /** * @param {boolean | { warnings?: boolean | string; errors?: boolean | string; runtimeErrors?: boolean | string; }} overlayOptions */ var decodeOverlayOptions = function decodeOverlayOptions(overlayOptions) { if (typeof overlayOptions === "object") { ["warnings", "errors", "runtimeErrors"].forEach(function (property) { if (typeof overlayOptions[property] === "string") { var overlayFilterFunctionString = decodeURIComponent(overlayOptions[property]); // eslint-disable-next-line no-new-func var overlayFilterFunction = new Function("message", "var callback = ".concat(overlayFilterFunctionString, "\n return callback(message)")); overlayOptions[property] = overlayFilterFunction; } }); } }; /** * @type {Status} */ var status = { isUnloading: false, // TODO Workaround for webpack v4, `__webpack_hash__` is not replaced without HotModuleReplacement // eslint-disable-next-line camelcase currentHash: true ? __webpack_require__.h() : 0 }; /** @type {Options} */ var options = { hot: false, liveReload: false, progress: false, overlay: false }; var parsedResourceQuery = (0,_utils_parseURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(__resourceQuery); var enabledFeatures = { "Hot Module Replacement": false, "Live Reloading": false, Progress: false, Overlay: false }; if (parsedResourceQuery.hot === "true") { options.hot = true; enabledFeatures["Hot Module Replacement"] = true; } if (parsedResourceQuery["live-reload"] === "true") { options.liveReload = true; enabledFeatures["Live Reloading"] = true; } if (parsedResourceQuery.progress === "true") { options.progress = true; enabledFeatures.Progress = true; } if (parsedResourceQuery.overlay) { try { options.overlay = JSON.parse(parsedResourceQuery.overlay); } catch (e) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error("Error parsing overlay options from resource query:", e); } // Fill in default "true" params for partially-specified objects. if (typeof options.overlay === "object") { options.overlay = _objectSpread({ errors: true, warnings: true, runtimeErrors: true }, options.overlay); decodeOverlayOptions(options.overlay); } enabledFeatures.Overlay = true; } if (parsedResourceQuery.logging) { options.logging = parsedResourceQuery.logging; } if (typeof parsedResourceQuery.reconnect !== "undefined") { options.reconnect = Number(parsedResourceQuery.reconnect); } /** * @param {string} level */ function setAllLogLevel(level) { // This is needed because the HMR logger operate separately from dev server logger webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0___default().setLogLevel(level === "verbose" || level === "log" ? "info" : level); (0,_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.setLogLevel)(level); } if (options.logging) { setAllLogLevel(options.logging); } (0,_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.logEnabledFeatures)(enabledFeatures); self.addEventListener("beforeunload", function () { status.isUnloading = true; }); var overlay = typeof window !== "undefined" ? (0,_overlay_js__WEBPACK_IMPORTED_MODULE_4__.createOverlay)(typeof options.overlay === "object" ? { trustedTypesPolicyName: options.overlay.trustedTypesPolicyName, catchRuntimeError: options.overlay.runtimeErrors } : { trustedTypesPolicyName: false, catchRuntimeError: options.overlay }) : { send: function send() {} }; var onSocketMessage = { hot: function hot() { if (parsedResourceQuery.hot === "false") { return; } options.hot = true; }, liveReload: function liveReload() { if (parsedResourceQuery["live-reload"] === "false") { return; } options.liveReload = true; }, invalid: function invalid() { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("App updated. Recompiling..."); // Fixes #1042. overlay doesn't clear if errors are fixed but warnings remain. if (options.overlay) { overlay.send({ type: "DISMISS" }); } (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Invalid"); }, /** * @param {string} hash */ hash: function hash(_hash) { status.previousHash = status.currentHash; status.currentHash = _hash; }, logging: setAllLogLevel, /** * @param {boolean} value */ overlay: function overlay(value) { if (typeof document === "undefined") { return; } options.overlay = value; decodeOverlayOptions(options.overlay); }, /** * @param {number} value */ reconnect: function reconnect(value) { if (parsedResourceQuery.reconnect === "false") { return; } options.reconnect = value; }, /** * @param {boolean} value */ progress: function progress(value) { options.progress = value; }, /** * @param {{ pluginName?: string, percent: number, msg: string }} data */ "progress-update": function progressUpdate(data) { if (options.progress) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("".concat(data.pluginName ? "[".concat(data.pluginName, "] ") : "").concat(data.percent, "% - ").concat(data.msg, ".")); } (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Progress", data); }, "still-ok": function stillOk() { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("Nothing changed."); if (options.overlay) { overlay.send({ type: "DISMISS" }); } (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("StillOk"); }, ok: function ok() { (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Ok"); if (options.overlay) { overlay.send({ type: "DISMISS" }); } (0,_utils_reloadApp_js__WEBPACK_IMPORTED_MODULE_7__["default"])(options, status); }, // TODO: remove in v5 in favor of 'static-changed' /** * @param {string} file */ "content-changed": function contentChanged(file) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("".concat(file ? "\"".concat(file, "\"") : "Content", " from static directory was changed. Reloading...")); self.location.reload(); }, /** * @param {string} file */ "static-changed": function staticChanged(file) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("".concat(file ? "\"".concat(file, "\"") : "Content", " from static directory was changed. Reloading...")); self.location.reload(); }, /** * @param {Error[]} warnings * @param {any} params */ warnings: function warnings(_warnings, params) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.warn("Warnings while compiling."); var printableWarnings = _warnings.map(function (error) { var _formatProblem = (0,_overlay_js__WEBPACK_IMPORTED_MODULE_4__.formatProblem)("warning", error), header = _formatProblem.header, body = _formatProblem.body; return "".concat(header, "\n").concat((0,_utils_stripAnsi_js__WEBPACK_IMPORTED_MODULE_1__["default"])(body)); }); (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Warnings", printableWarnings); for (var i = 0; i < printableWarnings.length; i++) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.warn(printableWarnings[i]); } var overlayWarningsSetting = typeof options.overlay === "boolean" ? options.overlay : options.overlay && options.overlay.warnings; if (overlayWarningsSetting) { var warningsToDisplay = typeof overlayWarningsSetting === "function" ? _warnings.filter(overlayWarningsSetting) : _warnings; if (warningsToDisplay.length) { overlay.send({ type: "BUILD_ERROR", level: "warning", messages: _warnings }); } } if (params && params.preventReloading) { return; } (0,_utils_reloadApp_js__WEBPACK_IMPORTED_MODULE_7__["default"])(options, status); }, /** * @param {Error[]} errors */ errors: function errors(_errors) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error("Errors while compiling. Reload prevented."); var printableErrors = _errors.map(function (error) { var _formatProblem2 = (0,_overlay_js__WEBPACK_IMPORTED_MODULE_4__.formatProblem)("error", error), header = _formatProblem2.header, body = _formatProblem2.body; return "".concat(header, "\n").concat((0,_utils_stripAnsi_js__WEBPACK_IMPORTED_MODULE_1__["default"])(body)); }); (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Errors", printableErrors); for (var i = 0; i < printableErrors.length; i++) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error(printableErrors[i]); } var overlayErrorsSettings = typeof options.overlay === "boolean" ? options.overlay : options.overlay && options.overlay.errors; if (overlayErrorsSettings) { var errorsToDisplay = typeof overlayErrorsSettings === "function" ? _errors.filter(overlayErrorsSettings) : _errors; if (errorsToDisplay.length) { overlay.send({ type: "BUILD_ERROR", level: "error", messages: _errors }); } } }, /** * @param {Error} error */ error: function error(_error) { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error(_error); }, close: function close() { _utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("Disconnected!"); if (options.overlay) { overlay.send({ type: "DISMISS" }); } (0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Close"); } }; var socketURL = (0,_utils_createSocketURL_js__WEBPACK_IMPORTED_MODULE_8__["default"])(parsedResourceQuery); (0,_socket_js__WEBPACK_IMPORTED_MODULE_3__["default"])(socketURL, onSocketMessage, options.reconnect); /***/ }), /***/ "./node_modules/webpack-dev-server/client/modules/logger/index.js": /*!************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/modules/logger/index.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, exports) => { /******/(function () { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = { /***/"./client-src/modules/logger/SyncBailHookFake.js": ( /*!*******************************************************!*\ !*** ./client-src/modules/logger/SyncBailHookFake.js ***! \*******************************************************/ /***/ function (module) { /** * Client stub for tapable SyncBailHook */ module.exports = function clientTapableSyncBailHook() { return { call: function call() {} }; }; /***/ }), /***/"./node_modules/webpack/lib/logging/Logger.js": ( /*!****************************************************!*\ !*** ./node_modules/webpack/lib/logging/Logger.js ***! \****************************************************/ /***/ function (__unused_webpack_module, exports) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }) !== "undefined" && iter[(typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }).iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[(typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }).toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } var LogType = Object.freeze({ error: /** @type {"error"} */"error", // message, c style arguments warn: /** @type {"warn"} */"warn", // message, c style arguments info: /** @type {"info"} */"info", // message, c style arguments log: /** @type {"log"} */"log", // message, c style arguments debug: /** @type {"debug"} */"debug", // message, c style arguments trace: /** @type {"trace"} */"trace", // no arguments group: /** @type {"group"} */"group", // [label] groupCollapsed: /** @type {"groupCollapsed"} */"groupCollapsed", // [label] groupEnd: /** @type {"groupEnd"} */"groupEnd", // [label] profile: /** @type {"profile"} */"profile", // [profileName] profileEnd: /** @type {"profileEnd"} */"profileEnd", // [profileName] time: /** @type {"time"} */"time", // name, time as [seconds, nanoseconds] clear: /** @type {"clear"} */"clear", // no arguments status: /** @type {"status"} */"status" // message, arguments }); exports.LogType = LogType; /** @typedef {typeof LogType[keyof typeof LogType]} LogTypeEnum */ var LOG_SYMBOL = (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; })("webpack logger raw log method"); var TIMERS_SYMBOL = (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; })("webpack logger times"); var TIMERS_AGGREGATES_SYMBOL = (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; })("webpack logger aggregated times"); var WebpackLogger = /*#__PURE__*/function () { /** * @param {function(LogTypeEnum, any[]=): void} log log function * @param {function(string | function(): string): WebpackLogger} getChildLogger function to create child logger */ function WebpackLogger(log, getChildLogger) { _classCallCheck(this, WebpackLogger); this[LOG_SYMBOL] = log; this.getChildLogger = getChildLogger; } _createClass(WebpackLogger, [{ key: "error", value: function error() { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } this[LOG_SYMBOL](LogType.error, args); } }, { key: "warn", value: function warn() { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } this[LOG_SYMBOL](LogType.warn, args); } }, { key: "info", value: function info() { for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { args[_key3] = arguments[_key3]; } this[LOG_SYMBOL](LogType.info, args); } }, { key: "log", value: function log() { for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { args[_key4] = arguments[_key4]; } this[LOG_SYMBOL](LogType.log, args); } }, { key: "debug", value: function debug() { for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { args[_key5] = arguments[_key5]; } this[LOG_SYMBOL](LogType.debug, args); } }, { key: "assert", value: function assert(assertion) { if (!assertion) { for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) { args[_key6 - 1] = arguments[_key6]; } this[LOG_SYMBOL](LogType.error, args); } } }, { key: "trace", value: function trace() { this[LOG_SYMBOL](LogType.trace, ["Trace"]); } }, { key: "clear", value: function clear() { this[LOG_SYMBOL](LogType.clear); } }, { key: "status", value: function status() { for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) { args[_key7] = arguments[_key7]; } this[LOG_SYMBOL](LogType.status, args); } }, { key: "group", value: function group() { for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) { args[_key8] = arguments[_key8]; } this[LOG_SYMBOL](LogType.group, args); } }, { key: "groupCollapsed", value: function groupCollapsed() { for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) { args[_key9] = arguments[_key9]; } this[LOG_SYMBOL](LogType.groupCollapsed, args); } }, { key: "groupEnd", value: function groupEnd() { for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) { args[_key10] = arguments[_key10]; } this[LOG_SYMBOL](LogType.groupEnd, args); } }, { key: "profile", value: function profile(label) { this[LOG_SYMBOL](LogType.profile, [label]); } }, { key: "profileEnd", value: function profileEnd(label) { this[LOG_SYMBOL](LogType.profileEnd, [label]); } }, { key: "time", value: function time(label) { this[TIMERS_SYMBOL] = this[TIMERS_SYMBOL] || new Map(); this[TIMERS_SYMBOL].set(label, process.hrtime()); } }, { key: "timeLog", value: function timeLog(label) { var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label); if (!prev) { throw new Error("No such label '".concat(label, "' for WebpackLogger.timeLog()")); } var time = process.hrtime(prev); this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time))); } }, { key: "timeEnd", value: function timeEnd(label) { var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label); if (!prev) { throw new Error("No such label '".concat(label, "' for WebpackLogger.timeEnd()")); } var time = process.hrtime(prev); this[TIMERS_SYMBOL].delete(label); this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time))); } }, { key: "timeAggregate", value: function timeAggregate(label) { var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label); if (!prev) { throw new Error("No such label '".concat(label, "' for WebpackLogger.timeAggregate()")); } var time = process.hrtime(prev); this[TIMERS_SYMBOL].delete(label); this[TIMERS_AGGREGATES_SYMBOL] = this[TIMERS_AGGREGATES_SYMBOL] || new Map(); var current = this[TIMERS_AGGREGATES_SYMBOL].get(label); if (current !== undefined) { if (time[1] + current[1] > 1e9) { time[0] += current[0] + 1; time[1] = time[1] - 1e9 + current[1]; } else { time[0] += current[0]; time[1] += current[1]; } } this[TIMERS_AGGREGATES_SYMBOL].set(label, time); } }, { key: "timeAggregateEnd", value: function timeAggregateEnd(label) { if (this[TIMERS_AGGREGATES_SYMBOL] === undefined) return; var time = this[TIMERS_AGGREGATES_SYMBOL].get(label); if (time === undefined) return; this[TIMERS_AGGREGATES_SYMBOL].delete(label); this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time))); } }]); return WebpackLogger; }(); exports.Logger = WebpackLogger; /***/ }), /***/"./node_modules/webpack/lib/logging/createConsoleLogger.js": ( /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/logging/createConsoleLogger.js ***! \*****************************************************************/ /***/ function (module, __unused_webpack_exports, __nested_webpack_require_13160__) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }) !== "undefined" && iter[(typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }).iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } var _require = __nested_webpack_require_13160__(/*! ./Logger */"./node_modules/webpack/lib/logging/Logger.js"), LogType = _require.LogType; /** @typedef {import("../../declarations/WebpackOptions").FilterItemTypes} FilterItemTypes */ /** @typedef {import("../../declarations/WebpackOptions").FilterTypes} FilterTypes */ /** @typedef {import("./Logger").LogTypeEnum} LogTypeEnum */ /** @typedef {function(string): boolean} FilterFunction */ /** * @typedef {Object} LoggerConsole * @property {function(): void} clear * @property {function(): void} trace * @property {(...args: any[]) => void} info * @property {(...args: any[]) => void} log * @property {(...args: any[]) => void} warn * @property {(...args: any[]) => void} error * @property {(...args: any[]) => void=} debug * @property {(...args: any[]) => void=} group * @property {(...args: any[]) => void=} groupCollapsed * @property {(...args: any[]) => void=} groupEnd * @property {(...args: any[]) => void=} status * @property {(...args: any[]) => void=} profile * @property {(...args: any[]) => void=} profileEnd * @property {(...args: any[]) => void=} logTime */ /** * @typedef {Object} LoggerOptions * @property {false|true|"none"|"error"|"warn"|"info"|"log"|"verbose"} level loglevel * @property {FilterTypes|boolean} debug filter for debug logging * @property {LoggerConsole} console the console to log to */ /** * @param {FilterItemTypes} item an input item * @returns {FilterFunction} filter function */ var filterToFunction = function filterToFunction(item) { if (typeof item === "string") { var regExp = new RegExp("[\\\\/]".concat(item.replace( // eslint-disable-next-line no-useless-escape /[-[\]{}()*+?.\\^$|]/g, "\\$&"), "([\\\\/]|$|!|\\?)")); return function (ident) { return regExp.test(ident); }; } if (item && typeof item === "object" && typeof item.test === "function") { return function (ident) { return item.test(ident); }; } if (typeof item === "function") { return item; } if (typeof item === "boolean") { return function () { return item; }; } }; /** * @enum {number} */ var LogLevel = { none: 6, false: 6, error: 5, warn: 4, info: 3, log: 2, true: 2, verbose: 1 }; /** * @param {LoggerOptions} options options object * @returns {function(string, LogTypeEnum, any[]): void} logging function */ module.exports = function (_ref) { var _ref$level = _ref.level, level = _ref$level === void 0 ? "info" : _ref$level, _ref$debug = _ref.debug, debug = _ref$debug === void 0 ? false : _ref$debug, console = _ref.console; var debugFilters = typeof debug === "boolean" ? [function () { return debug; }] : /** @type {FilterItemTypes[]} */[].concat(debug).map(filterToFunction); /** @type {number} */ var loglevel = LogLevel["".concat(level)] || 0; /** * @param {string} name name of the logger * @param {LogTypeEnum} type type of the log entry * @param {any[]} args arguments of the log entry * @returns {void} */ var logger = function logger(name, type, args) { var labeledArgs = function labeledArgs() { if (Array.isArray(args)) { if (args.length > 0 && typeof args[0] === "string") { return ["[".concat(name, "] ").concat(args[0])].concat(_toConsumableArray(args.slice(1))); } else { return ["[".concat(name, "]")].concat(_toConsumableArray(args)); } } else { return []; } }; var debug = debugFilters.some(function (f) { return f(name); }); switch (type) { case LogType.debug: if (!debug) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.debug === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.debug.apply(console, _toConsumableArray(labeledArgs())); } else { console.log.apply(console, _toConsumableArray(labeledArgs())); } break; case LogType.log: if (!debug && loglevel > LogLevel.log) return; console.log.apply(console, _toConsumableArray(labeledArgs())); break; case LogType.info: if (!debug && loglevel > LogLevel.info) return; console.info.apply(console, _toConsumableArray(labeledArgs())); break; case LogType.warn: if (!debug && loglevel > LogLevel.warn) return; console.warn.apply(console, _toConsumableArray(labeledArgs())); break; case LogType.error: if (!debug && loglevel > LogLevel.error) return; console.error.apply(console, _toConsumableArray(labeledArgs())); break; case LogType.trace: if (!debug) return; console.trace(); break; case LogType.groupCollapsed: if (!debug && loglevel > LogLevel.log) return; if (!debug && loglevel > LogLevel.verbose) { // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.groupCollapsed === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.groupCollapsed.apply(console, _toConsumableArray(labeledArgs())); } else { console.log.apply(console, _toConsumableArray(labeledArgs())); } break; } // falls through case LogType.group: if (!debug && loglevel > LogLevel.log) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.group === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.group.apply(console, _toConsumableArray(labeledArgs())); } else { console.log.apply(console, _toConsumableArray(labeledArgs())); } break; case LogType.groupEnd: if (!debug && loglevel > LogLevel.log) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.groupEnd === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.groupEnd(); } break; case LogType.time: { if (!debug && loglevel > LogLevel.log) return; var ms = args[1] * 1000 + args[2] / 1000000; var msg = "[".concat(name, "] ").concat(args[0], ": ").concat(ms, " ms"); if (typeof console.logTime === "function") { console.logTime(msg); } else { console.log(msg); } break; } case LogType.profile: // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.profile === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.profile.apply(console, _toConsumableArray(labeledArgs())); } break; case LogType.profileEnd: // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.profileEnd === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.profileEnd.apply(console, _toConsumableArray(labeledArgs())); } break; case LogType.clear: if (!debug && loglevel > LogLevel.log) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins if (typeof console.clear === "function") { // eslint-disable-next-line node/no-unsupported-features/node-builtins console.clear(); } break; case LogType.status: if (!debug && loglevel > LogLevel.info) return; if (typeof console.status === "function") { if (args.length === 0) { console.status(); } else { console.status.apply(console, _toConsumableArray(labeledArgs())); } } else { if (args.length !== 0) { console.info.apply(console, _toConsumableArray(labeledArgs())); } } break; default: throw new Error("Unexpected LogType ".concat(type)); } }; return logger; }; /***/ }), /***/"./node_modules/webpack/lib/logging/runtime.js": ( /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/logging/runtime.js ***! \*****************************************************/ /***/ function (__unused_webpack_module, exports, __nested_webpack_require_24775__) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } var SyncBailHook = __nested_webpack_require_24775__(/*! tapable/lib/SyncBailHook */"./client-src/modules/logger/SyncBailHookFake.js"); var _require = __nested_webpack_require_24775__(/*! ./Logger */"./node_modules/webpack/lib/logging/Logger.js"), Logger = _require.Logger; var createConsoleLogger = __nested_webpack_require_24775__(/*! ./createConsoleLogger */"./node_modules/webpack/lib/logging/createConsoleLogger.js"); /** @type {createConsoleLogger.LoggerOptions} */ var currentDefaultLoggerOptions = { level: "info", debug: false, console: console }; var currentDefaultLogger = createConsoleLogger(currentDefaultLoggerOptions); /** * @param {string} name name of the logger * @returns {Logger} a logger */ exports.getLogger = function (name) { return new Logger(function (type, args) { if (exports.hooks.log.call(name, type, args) === undefined) { currentDefaultLogger(name, type, args); } }, function (childName) { return exports.getLogger("".concat(name, "/").concat(childName)); }); }; /** * @param {createConsoleLogger.LoggerOptions} options new options, merge with old options * @returns {void} */ exports.configureDefaultLogger = function (options) { _extends(currentDefaultLoggerOptions, options); currentDefaultLogger = createConsoleLogger(currentDefaultLoggerOptions); }; exports.hooks = { log: new SyncBailHook(["origin", "type", "args"]) }; /***/ }) /******/ }; /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __nested_webpack_require_27238__(moduleId) { /******/ // Check if module is in cache /******/var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_27238__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ !function () { /******/ // define getter functions for harmony exports /******/__nested_webpack_require_27238__.d = function (exports, definition) { /******/for (var key in definition) { /******/if (__nested_webpack_require_27238__.o(definition, key) && !__nested_webpack_require_27238__.o(exports, key)) { /******/Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ }(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ !function () { /******/__nested_webpack_require_27238__.o = function (obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }; /******/ }(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ !function () { /******/ // define __esModule on exports /******/__nested_webpack_require_27238__.r = function (exports) { /******/if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ }(); /******/ /************************************************************************/ var __nested_webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. !function () { /*!********************************************!*\ !*** ./client-src/modules/logger/index.js ***! \********************************************/ __nested_webpack_require_27238__.r(__nested_webpack_exports__); /* harmony export */ __nested_webpack_require_27238__.d(__nested_webpack_exports__, { /* harmony export */"default": function () { return /* reexport default export from named module */webpack_lib_logging_runtime_js__WEBPACK_IMPORTED_MODULE_0__; } /* harmony export */ }); /* harmony import */ var webpack_lib_logging_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_27238__(/*! webpack/lib/logging/runtime.js */"./node_modules/webpack/lib/logging/runtime.js"); }(); var __webpack_export_target__ = exports; for (var i in __nested_webpack_exports__) __webpack_export_target__[i] = __nested_webpack_exports__[i]; if (__nested_webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true }); /******/ })(); /***/ }), /***/ "./node_modules/webpack-dev-server/client/overlay.js": /*!***********************************************************!*\ !*** ./node_modules/webpack-dev-server/client/overlay.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ createOverlay: () => (/* binding */ createOverlay), /* harmony export */ formatProblem: () => (/* binding */ formatProblem) /* harmony export */ }); /* harmony import */ var ansi_html_community__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ansi-html-community */ "./node_modules/ansi-html-community/index.js"); /* harmony import */ var ansi_html_community__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ansi_html_community__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); /* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./overlay/runtime-error.js */ "./node_modules/webpack-dev-server/client/overlay/runtime-error.js"); /* harmony import */ var _overlay_state_machine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./overlay/state-machine.js */ "./node_modules/webpack-dev-server/client/overlay/state-machine.js"); /* harmony import */ var _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./overlay/styles.js */ "./node_modules/webpack-dev-server/client/overlay/styles.js"); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } // The error overlay is inspired (and mostly copied) from Create React App (https://github.com/facebookincubator/create-react-app) // They, in turn, got inspired by webpack-hot-middleware (https://github.com/glenjamin/webpack-hot-middleware). var colors = { reset: ["transparent", "transparent"], black: "181818", red: "E36049", green: "B3CB74", yellow: "FFD080", blue: "7CAFC2", magenta: "7FACCA", cyan: "C3C2EF", lightgrey: "EBE7E3", darkgrey: "6D7891" }; ansi_html_community__WEBPACK_IMPORTED_MODULE_0___default().setColors(colors); /** * @param {string} type * @param {string | { file?: string, moduleName?: string, loc?: string, message?: string; stack?: string[] }} item * @returns {{ header: string, body: string }} */ function formatProblem(type, item) { var header = type === "warning" ? "WARNING" : "ERROR"; var body = ""; if (typeof item === "string") { body += item; } else { var file = item.file || ""; // eslint-disable-next-line no-nested-ternary var moduleName = item.moduleName ? item.moduleName.indexOf("!") !== -1 ? "".concat(item.moduleName.replace(/^(\s|\S)*!/, ""), " (").concat(item.moduleName, ")") : "".concat(item.moduleName) : ""; var loc = item.loc; header += "".concat(moduleName || file ? " in ".concat(moduleName ? "".concat(moduleName).concat(file ? " (".concat(file, ")") : "") : file).concat(loc ? " ".concat(loc) : "") : ""); body += item.message || ""; } if (Array.isArray(item.stack)) { item.stack.forEach(function (stack) { if (typeof stack === "string") { body += "\r\n".concat(stack); } }); } return { header: header, body: body }; } /** * @typedef {Object} CreateOverlayOptions * @property {string | null} trustedTypesPolicyName * @property {boolean | (error: Error) => void} [catchRuntimeError] */ /** * * @param {CreateOverlayOptions} options */ var createOverlay = function createOverlay(options) { /** @type {HTMLIFrameElement | null | undefined} */ var iframeContainerElement; /** @type {HTMLDivElement | null | undefined} */ var containerElement; /** @type {HTMLDivElement | null | undefined} */ var headerElement; /** @type {Array<(element: HTMLDivElement) => void>} */ var onLoadQueue = []; /** @type {TrustedTypePolicy | undefined} */ var overlayTrustedTypesPolicy; /** * * @param {HTMLElement} element * @param {CSSStyleDeclaration} style */ function applyStyle(element, style) { Object.keys(style).forEach(function (prop) { element.style[prop] = style[prop]; }); } /** * @param {string | null} trustedTypesPolicyName */ function createContainer(trustedTypesPolicyName) { // Enable Trusted Types if they are available in the current browser. if (window.trustedTypes) { overlayTrustedTypesPolicy = window.trustedTypes.createPolicy(trustedTypesPolicyName || "webpack-dev-server#overlay", { createHTML: function createHTML(value) { return value; } }); } iframeContainerElement = document.createElement("iframe"); iframeContainerElement.id = "webpack-dev-server-client-overlay"; iframeContainerElement.src = "about:blank"; applyStyle(iframeContainerElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.iframeStyle); iframeContainerElement.onload = function () { var contentElement = /** @type {Document} */ /** @type {HTMLIFrameElement} */ iframeContainerElement.contentDocument.createElement("div"); containerElement = /** @type {Document} */ /** @type {HTMLIFrameElement} */ iframeContainerElement.contentDocument.createElement("div"); contentElement.id = "webpack-dev-server-client-overlay-div"; applyStyle(contentElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.containerStyle); headerElement = document.createElement("div"); headerElement.innerText = "Compiled with problems:"; applyStyle(headerElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.headerStyle); var closeButtonElement = document.createElement("button"); applyStyle(closeButtonElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.dismissButtonStyle); closeButtonElement.innerText = "×"; closeButtonElement.ariaLabel = "Dismiss"; closeButtonElement.addEventListener("click", function () { // eslint-disable-next-line no-use-before-define overlayService.send({ type: "DISMISS" }); }); contentElement.appendChild(headerElement); contentElement.appendChild(closeButtonElement); contentElement.appendChild(containerElement); /** @type {Document} */ /** @type {HTMLIFrameElement} */ iframeContainerElement.contentDocument.body.appendChild(contentElement); onLoadQueue.forEach(function (onLoad) { onLoad(/** @type {HTMLDivElement} */contentElement); }); onLoadQueue = []; /** @type {HTMLIFrameElement} */ iframeContainerElement.onload = null; }; document.body.appendChild(iframeContainerElement); } /** * @param {(element: HTMLDivElement) => void} callback * @param {string | null} trustedTypesPolicyName */ function ensureOverlayExists(callback, trustedTypesPolicyName) { if (containerElement) { containerElement.innerHTML = ""; // Everything is ready, call the callback right away. callback(containerElement); return; } onLoadQueue.push(callback); if (iframeContainerElement) { return; } createContainer(trustedTypesPolicyName); } // Successful compilation. function hide() { if (!iframeContainerElement) { return; } // Clean up and reset internal state. document.body.removeChild(iframeContainerElement); iframeContainerElement = null; containerElement = null; } // Compilation with errors (e.g. syntax error or missing modules). /** * @param {string} type * @param {Array<string | { moduleIdentifier?: string, moduleName?: string, loc?: string, message?: string }>} messages * @param {string | null} trustedTypesPolicyName * @param {'build' | 'runtime'} messageSource */ function show(type, messages, trustedTypesPolicyName, messageSource) { ensureOverlayExists(function () { headerElement.innerText = messageSource === "runtime" ? "Uncaught runtime errors:" : "Compiled with problems:"; messages.forEach(function (message) { var entryElement = document.createElement("div"); var msgStyle = type === "warning" ? _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgStyles.warning : _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgStyles.error; applyStyle(entryElement, _objectSpread(_objectSpread({}, msgStyle), {}, { padding: "1rem 1rem 1.5rem 1rem" })); var typeElement = document.createElement("div"); var _formatProblem = formatProblem(type, message), header = _formatProblem.header, body = _formatProblem.body; typeElement.innerText = header; applyStyle(typeElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgTypeStyle); if (message.moduleIdentifier) { applyStyle(typeElement, { cursor: "pointer" }); // element.dataset not supported in IE typeElement.setAttribute("data-can-open", true); typeElement.addEventListener("click", function () { fetch("/webpack-dev-server/open-editor?fileName=".concat(message.moduleIdentifier)); }); } // Make it look similar to our terminal. var text = ansi_html_community__WEBPACK_IMPORTED_MODULE_0___default()((0,html_entities__WEBPACK_IMPORTED_MODULE_4__.encode)(body)); var messageTextNode = document.createElement("div"); applyStyle(messageTextNode, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgTextStyle); messageTextNode.innerHTML = overlayTrustedTypesPolicy ? overlayTrustedTypesPolicy.createHTML(text) : text; entryElement.appendChild(typeElement); entryElement.appendChild(messageTextNode); /** @type {HTMLDivElement} */ containerElement.appendChild(entryElement); }); }, trustedTypesPolicyName); } var overlayService = (0,_overlay_state_machine_js__WEBPACK_IMPORTED_MODULE_2__["default"])({ showOverlay: function showOverlay(_ref) { var _ref$level = _ref.level, level = _ref$level === void 0 ? "error" : _ref$level, messages = _ref.messages, messageSource = _ref.messageSource; return show(level, messages, options.trustedTypesPolicyName, messageSource); }, hideOverlay: hide }); if (options.catchRuntimeError) { /** * @param {Error | undefined} error * @param {string} fallbackMessage */ var handleError = function handleError(error, fallbackMessage) { var errorObject = error instanceof Error ? error : new Error(error || fallbackMessage); var shouldDisplay = typeof options.catchRuntimeError === "function" ? options.catchRuntimeError(errorObject) : true; if (shouldDisplay) { overlayService.send({ type: "RUNTIME_ERROR", messages: [{ message: errorObject.message, stack: (0,_overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__.parseErrorToStacks)(errorObject) }] }); } }; (0,_overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__.listenToRuntimeError)(function (errorEvent) { // error property may be empty in older browser like IE var error = errorEvent.error, message = errorEvent.message; if (!error && !message) { return; } handleError(error, message); }); (0,_overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__.listenToUnhandledRejection)(function (promiseRejectionEvent) { var reason = promiseRejectionEvent.reason; handleError(reason, "Unknown promise rejection reason"); }); } return overlayService; }; /***/ }), /***/ "./node_modules/webpack-dev-server/client/overlay/fsm.js": /*!***************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/overlay/fsm.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /** * @typedef {Object} StateDefinitions * @property {{[event: string]: { target: string; actions?: Array<string> }}} [on] */ /** * @typedef {Object} Options * @property {{[state: string]: StateDefinitions}} states * @property {object} context; * @property {string} initial */ /** * @typedef {Object} Implementation * @property {{[actionName: string]: (ctx: object, event: any) => object}} actions */ /** * A simplified `createMachine` from `@xstate/fsm` with the following differences: * * - the returned machine is technically a "service". No `interpret(machine).start()` is needed. * - the state definition only support `on` and target must be declared with { target: 'nextState', actions: [] } explicitly. * - event passed to `send` must be an object with `type` property. * - actions implementation will be [assign action](https://xstate.js.org/docs/guides/context.html#assign-action) if you return any value. * Do not return anything if you just want to invoke side effect. * * The goal of this custom function is to avoid installing the entire `'xstate/fsm'` package, while enabling modeling using * state machine. You can copy the first parameter into the editor at https://stately.ai/viz to visualize the state machine. * * @param {Options} options * @param {Implementation} implementation */ function createMachine(_ref, _ref2) { var states = _ref.states, context = _ref.context, initial = _ref.initial; var actions = _ref2.actions; var currentState = initial; var currentContext = context; return { send: function send(event) { var currentStateOn = states[currentState].on; var transitionConfig = currentStateOn && currentStateOn[event.type]; if (transitionConfig) { currentState = transitionConfig.target; if (transitionConfig.actions) { transitionConfig.actions.forEach(function (actName) { var actionImpl = actions[actName]; var nextContextValue = actionImpl && actionImpl(currentContext, event); if (nextContextValue) { currentContext = _objectSpread(_objectSpread({}, currentContext), nextContextValue); } }); } } } }; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createMachine); /***/ }), /***/ "./node_modules/webpack-dev-server/client/overlay/runtime-error.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/overlay/runtime-error.js ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ listenToRuntimeError: () => (/* binding */ listenToRuntimeError), /* harmony export */ listenToUnhandledRejection: () => (/* binding */ listenToUnhandledRejection), /* harmony export */ parseErrorToStacks: () => (/* binding */ parseErrorToStacks) /* harmony export */ }); /** * * @param {Error} error */ function parseErrorToStacks(error) { if (!error || !(error instanceof Error)) { throw new Error("parseErrorToStacks expects Error object"); } if (typeof error.stack === "string") { return error.stack.split("\n").filter(function (stack) { return stack !== "Error: ".concat(error.message); }); } } /** * @callback ErrorCallback * @param {ErrorEvent} error * @returns {void} */ /** * @param {ErrorCallback} callback */ function listenToRuntimeError(callback) { window.addEventListener("error", callback); return function cleanup() { window.removeEventListener("error", callback); }; } /** * @callback UnhandledRejectionCallback * @param {PromiseRejectionEvent} rejectionEvent * @returns {void} */ /** * @param {UnhandledRejectionCallback} callback */ function listenToUnhandledRejection(callback) { window.addEventListener("unhandledrejection", callback); return function cleanup() { window.removeEventListener("unhandledrejection", callback); }; } /***/ }), /***/ "./node_modules/webpack-dev-server/client/overlay/state-machine.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/overlay/state-machine.js ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _fsm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fsm.js */ "./node_modules/webpack-dev-server/client/overlay/fsm.js"); /** * @typedef {Object} ShowOverlayData * @property {'warning' | 'error'} level * @property {Array<string | { moduleIdentifier?: string, moduleName?: string, loc?: string, message?: string }>} messages * @property {'build' | 'runtime'} messageSource */ /** * @typedef {Object} CreateOverlayMachineOptions * @property {(data: ShowOverlayData) => void} showOverlay * @property {() => void} hideOverlay */ /** * @param {CreateOverlayMachineOptions} options */ var createOverlayMachine = function createOverlayMachine(options) { var hideOverlay = options.hideOverlay, showOverlay = options.showOverlay; var overlayMachine = (0,_fsm_js__WEBPACK_IMPORTED_MODULE_0__["default"])({ initial: "hidden", context: { level: "error", messages: [], messageSource: "build" }, states: { hidden: { on: { BUILD_ERROR: { target: "displayBuildError", actions: ["setMessages", "showOverlay"] }, RUNTIME_ERROR: { target: "displayRuntimeError", actions: ["setMessages", "showOverlay"] } } }, displayBuildError: { on: { DISMISS: { target: "hidden", actions: ["dismissMessages", "hideOverlay"] }, BUILD_ERROR: { target: "displayBuildError", actions: ["appendMessages", "showOverlay"] } } }, displayRuntimeError: { on: { DISMISS: { target: "hidden", actions: ["dismissMessages", "hideOverlay"] }, RUNTIME_ERROR: { target: "displayRuntimeError", actions: ["appendMessages", "showOverlay"] }, BUILD_ERROR: { target: "displayBuildError", actions: ["setMessages", "showOverlay"] } } } } }, { actions: { dismissMessages: function dismissMessages() { return { messages: [], level: "error", messageSource: "build" }; }, appendMessages: function appendMessages(context, event) { return { messages: context.messages.concat(event.messages), level: event.level || context.level, messageSource: event.type === "RUNTIME_ERROR" ? "runtime" : "build" }; }, setMessages: function setMessages(context, event) { return { messages: event.messages, level: event.level || context.level, messageSource: event.type === "RUNTIME_ERROR" ? "runtime" : "build" }; }, hideOverlay: hideOverlay, showOverlay: showOverlay } }); return overlayMachine; }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createOverlayMachine); /***/ }), /***/ "./node_modules/webpack-dev-server/client/overlay/styles.js": /*!******************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/overlay/styles.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ containerStyle: () => (/* binding */ containerStyle), /* harmony export */ dismissButtonStyle: () => (/* binding */ dismissButtonStyle), /* harmony export */ headerStyle: () => (/* binding */ headerStyle), /* harmony export */ iframeStyle: () => (/* binding */ iframeStyle), /* harmony export */ msgStyles: () => (/* binding */ msgStyles), /* harmony export */ msgTextStyle: () => (/* binding */ msgTextStyle), /* harmony export */ msgTypeStyle: () => (/* binding */ msgTypeStyle) /* harmony export */ }); // styles are inspired by `react-error-overlay` var msgStyles = { error: { backgroundColor: "rgba(206, 17, 38, 0.1)", color: "#fccfcf" }, warning: { backgroundColor: "rgba(251, 245, 180, 0.1)", color: "#fbf5b4" } }; var iframeStyle = { position: "fixed", top: 0, left: 0, right: 0, bottom: 0, width: "100vw", height: "100vh", border: "none", "z-index": 9999999999 }; var containerStyle = { position: "fixed", boxSizing: "border-box", left: 0, top: 0, right: 0, bottom: 0, width: "100vw", height: "100vh", fontSize: "large", padding: "2rem 2rem 4rem 2rem", lineHeight: "1.2", whiteSpace: "pre-wrap", overflow: "auto", backgroundColor: "rgba(0, 0, 0, 0.9)", color: "white" }; var headerStyle = { color: "#e83b46", fontSize: "2em", whiteSpace: "pre-wrap", fontFamily: "sans-serif", margin: "0 2rem 2rem 0", flex: "0 0 auto", maxHeight: "50%", overflow: "auto" }; var dismissButtonStyle = { color: "#ffffff", lineHeight: "1rem", fontSize: "1.5rem", padding: "1rem", cursor: "pointer", position: "absolute", right: 0, top: 0, backgroundColor: "transparent", border: "none" }; var msgTypeStyle = { color: "#e83b46", fontSize: "1.2em", marginBottom: "1rem", fontFamily: "sans-serif" }; var msgTextStyle = { lineHeight: "1.5", fontSize: "1rem", fontFamily: "Menlo, Consolas, monospace" }; /***/ }), /***/ "./node_modules/webpack-dev-server/client/socket.js": /*!**********************************************************!*\ !*** ./node_modules/webpack-dev-server/client/socket.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ client: () => (/* binding */ client), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _clients_WebSocketClient_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clients/WebSocketClient.js */ "./node_modules/webpack-dev-server/client/clients/WebSocketClient.js"); /* harmony import */ var _utils_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/log.js */ "./node_modules/webpack-dev-server/client/utils/log.js"); /* provided dependency */ var __webpack_dev_server_client__ = __webpack_require__(/*! ./node_modules/webpack-dev-server/client/clients/WebSocketClient.js */ "./node_modules/webpack-dev-server/client/clients/WebSocketClient.js"); /* global __webpack_dev_server_client__ */ // this WebsocketClient is here as a default fallback, in case the client is not injected /* eslint-disable camelcase */ var Client = // eslint-disable-next-line no-nested-ternary typeof __webpack_dev_server_client__ !== "undefined" ? typeof __webpack_dev_server_client__.default !== "undefined" ? __webpack_dev_server_client__.default : __webpack_dev_server_client__ : _clients_WebSocketClient_js__WEBPACK_IMPORTED_MODULE_0__["default"]; /* eslint-enable camelcase */ var retries = 0; var maxRetries = 10; // Initialized client is exported so external consumers can utilize the same instance // It is mutable to enforce singleton // eslint-disable-next-line import/no-mutable-exports var client = null; /** * @param {string} url * @param {{ [handler: string]: (data?: any, params?: any) => any }} handlers * @param {number} [reconnect] */ var socket = function initSocket(url, handlers, reconnect) { client = new Client(url); client.onOpen(function () { retries = 0; if (typeof reconnect !== "undefined") { maxRetries = reconnect; } }); client.onClose(function () { if (retries === 0) { handlers.close(); } // Try to reconnect. client = null; // After 10 retries stop trying, to prevent logspam. if (retries < maxRetries) { // Exponentially increase timeout to reconnect. // Respectfully copied from the package `got`. // eslint-disable-next-line no-restricted-properties var retryInMs = 1000 * Math.pow(2, retries) + Math.random() * 100; retries += 1; _utils_log_js__WEBPACK_IMPORTED_MODULE_1__.log.info("Trying to reconnect..."); setTimeout(function () { socket(url, handlers, reconnect); }, retryInMs); } }); client.onMessage( /** * @param {any} data */ function (data) { var message = JSON.parse(data); if (handlers[message.type]) { handlers[message.type](message.data, message.params); } }); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (socket); /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/createSocketURL.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/createSocketURL.js ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /** * @param {{ protocol?: string, auth?: string, hostname?: string, port?: string, pathname?: string, search?: string, hash?: string, slashes?: boolean }} objURL * @returns {string} */ function format(objURL) { var protocol = objURL.protocol || ""; if (protocol && protocol.substr(-1) !== ":") { protocol += ":"; } var auth = objURL.auth || ""; if (auth) { auth = encodeURIComponent(auth); auth = auth.replace(/%3A/i, ":"); auth += "@"; } var host = ""; if (objURL.hostname) { host = auth + (objURL.hostname.indexOf(":") === -1 ? objURL.hostname : "[".concat(objURL.hostname, "]")); if (objURL.port) { host += ":".concat(objURL.port); } } var pathname = objURL.pathname || ""; if (objURL.slashes) { host = "//".concat(host || ""); if (pathname && pathname.charAt(0) !== "/") { pathname = "/".concat(pathname); } } else if (!host) { host = ""; } var search = objURL.search || ""; if (search && search.charAt(0) !== "?") { search = "?".concat(search); } var hash = objURL.hash || ""; if (hash && hash.charAt(0) !== "#") { hash = "#".concat(hash); } pathname = pathname.replace(/[?#]/g, /** * @param {string} match * @returns {string} */ function (match) { return encodeURIComponent(match); }); search = search.replace("#", "%23"); return "".concat(protocol).concat(host).concat(pathname).concat(search).concat(hash); } /** * @param {URL & { fromCurrentScript?: boolean }} parsedURL * @returns {string} */ function createSocketURL(parsedURL) { var hostname = parsedURL.hostname; // Node.js module parses it as `::` // `new URL(urlString, [baseURLString])` parses it as '[::]' var isInAddrAny = hostname === "0.0.0.0" || hostname === "::" || hostname === "[::]"; // why do we need this check? // hostname n/a for file protocol (example, when using electron, ionic) // see: https://github.com/webpack/webpack-dev-server/pull/384 if (isInAddrAny && self.location.hostname && self.location.protocol.indexOf("http") === 0) { hostname = self.location.hostname; } var socketURLProtocol = parsedURL.protocol || self.location.protocol; // When https is used in the app, secure web sockets are always necessary because the browser doesn't accept non-secure web sockets. if (socketURLProtocol === "auto:" || hostname && isInAddrAny && self.location.protocol === "https:") { socketURLProtocol = self.location.protocol; } socketURLProtocol = socketURLProtocol.replace(/^(?:http|.+-extension|file)/i, "ws"); var socketURLAuth = ""; // `new URL(urlString, [baseURLstring])` doesn't have `auth` property // Parse authentication credentials in case we need them if (parsedURL.username) { socketURLAuth = parsedURL.username; // Since HTTP basic authentication does not allow empty username, // we only include password if the username is not empty. if (parsedURL.password) { // Result: <username>:<password> socketURLAuth = socketURLAuth.concat(":", parsedURL.password); } } // In case the host is a raw IPv6 address, it can be enclosed in // the brackets as the brackets are needed in the final URL string. // Need to remove those as url.format blindly adds its own set of brackets // if the host string contains colons. That would lead to non-working // double brackets (e.g. [[::]]) host // // All of these web socket url params are optionally passed in through resourceQuery, // so we need to fall back to the default if they are not provided var socketURLHostname = (hostname || self.location.hostname || "localhost").replace(/^\[(.*)\]$/, "$1"); var socketURLPort = parsedURL.port; if (!socketURLPort || socketURLPort === "0") { socketURLPort = self.location.port; } // If path is provided it'll be passed in via the resourceQuery as a // query param so it has to be parsed out of the querystring in order for the // client to open the socket to the correct location. var socketURLPathname = "/ws"; if (parsedURL.pathname && !parsedURL.fromCurrentScript) { socketURLPathname = parsedURL.pathname; } return format({ protocol: socketURLProtocol, auth: socketURLAuth, hostname: socketURLHostname, port: socketURLPort, pathname: socketURLPathname, slashes: true }); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createSocketURL); /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/getCurrentScriptSource.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/getCurrentScriptSource.js ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /** * @returns {string} */ function getCurrentScriptSource() { // `document.currentScript` is the most accurate way to find the current script, // but is not supported in all browsers. if (document.currentScript) { return document.currentScript.getAttribute("src"); } // Fallback to getting all scripts running in the document. var scriptElements = document.scripts || []; var scriptElementsWithSrc = Array.prototype.filter.call(scriptElements, function (element) { return element.getAttribute("src"); }); if (scriptElementsWithSrc.length > 0) { var currentScript = scriptElementsWithSrc[scriptElementsWithSrc.length - 1]; return currentScript.getAttribute("src"); } // Fail as there was no script to use. throw new Error("[webpack-dev-server] Failed to get current script source."); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getCurrentScriptSource); /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/log.js": /*!*************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/log.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ log: () => (/* binding */ log), /* harmony export */ logEnabledFeatures: () => (/* binding */ logEnabledFeatures), /* harmony export */ setLogLevel: () => (/* binding */ setLogLevel) /* harmony export */ }); /* harmony import */ var _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modules/logger/index.js */ "./node_modules/webpack-dev-server/client/modules/logger/index.js"); /* harmony import */ var _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0__); var name = "webpack-dev-server"; // default level is set on the client side, so it does not need // to be set by the CLI or API var defaultLevel = "info"; // options new options, merge with old options /** * @param {false | true | "none" | "error" | "warn" | "info" | "log" | "verbose"} level * @returns {void} */ function setLogLevel(level) { _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0___default().configureDefaultLogger({ level: level }); } setLogLevel(defaultLevel); var log = _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0___default().getLogger(name); var logEnabledFeatures = function logEnabledFeatures(features) { var enabledFeatures = Object.keys(features); if (!features || enabledFeatures.length === 0) { return; } var logString = "Server started:"; // Server started: Hot Module Replacement enabled, Live Reloading enabled, Overlay disabled. for (var i = 0; i < enabledFeatures.length; i++) { var key = enabledFeatures[i]; logString += " ".concat(key, " ").concat(features[key] ? "enabled" : "disabled", ","); } // replace last comma with a period logString = logString.slice(0, -1).concat("."); log.info(logString); }; /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/parseURL.js": /*!******************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/parseURL.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _getCurrentScriptSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getCurrentScriptSource.js */ "./node_modules/webpack-dev-server/client/utils/getCurrentScriptSource.js"); /** * @param {string} resourceQuery * @returns {{ [key: string]: string | boolean }} */ function parseURL(resourceQuery) { /** @type {{ [key: string]: string }} */ var options = {}; if (typeof resourceQuery === "string" && resourceQuery !== "") { var searchParams = resourceQuery.slice(1).split("&"); for (var i = 0; i < searchParams.length; i++) { var pair = searchParams[i].split("="); options[pair[0]] = decodeURIComponent(pair[1]); } } else { // Else, get the url from the <script> this file was called with. var scriptSource = (0,_getCurrentScriptSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])(); var scriptSourceURL; try { // The placeholder `baseURL` with `window.location.href`, // is to allow parsing of path-relative or protocol-relative URLs, // and will have no effect if `scriptSource` is a fully valid URL. scriptSourceURL = new URL(scriptSource, self.location.href); } catch (error) { // URL parsing failed, do nothing. // We will still proceed to see if we can recover using `resourceQuery` } if (scriptSourceURL) { options = scriptSourceURL; options.fromCurrentScript = true; } } return options; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parseURL); /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/reloadApp.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/reloadApp.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! webpack/hot/emitter.js */ "./node_modules/webpack/hot/emitter.js"); /* harmony import */ var webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./log.js */ "./node_modules/webpack-dev-server/client/utils/log.js"); /** @typedef {import("../index").Options} Options /** @typedef {import("../index").Status} Status /** * @param {Options} options * @param {Status} status */ function reloadApp(_ref, status) { var hot = _ref.hot, liveReload = _ref.liveReload; if (status.isUnloading) { return; } var currentHash = status.currentHash, previousHash = status.previousHash; var isInitial = currentHash.indexOf(/** @type {string} */previousHash) >= 0; if (isInitial) { return; } /** * @param {Window} rootWindow * @param {number} intervalId */ function applyReload(rootWindow, intervalId) { clearInterval(intervalId); _log_js__WEBPACK_IMPORTED_MODULE_1__.log.info("App updated. Reloading..."); rootWindow.location.reload(); } var search = self.location.search.toLowerCase(); var allowToHot = search.indexOf("webpack-dev-server-hot=false") === -1; var allowToLiveReload = search.indexOf("webpack-dev-server-live-reload=false") === -1; if (hot && allowToHot) { _log_js__WEBPACK_IMPORTED_MODULE_1__.log.info("App hot update..."); webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0___default().emit("webpackHotUpdate", status.currentHash); if (typeof self !== "undefined" && self.window) { // broadcast update to window self.postMessage("webpackHotUpdate".concat(status.currentHash), "*"); } } // allow refreshing the page only if liveReload isn't disabled else if (liveReload && allowToLiveReload) { var rootWindow = self; // use parent window for reload (in case we're in an iframe with no valid src) var intervalId = self.setInterval(function () { if (rootWindow.location.protocol !== "about:") { // reload immediately if protocol is valid applyReload(rootWindow, intervalId); } else { rootWindow = rootWindow.parent; if (rootWindow.parent === rootWindow) { // if parent equals current window we've reached the root which would continue forever, so trigger a reload anyways applyReload(rootWindow, intervalId); } } }); } } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reloadApp); /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/sendMessage.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/sendMessage.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* global __resourceQuery WorkerGlobalScope */ // Send messages to the outside, so plugins can consume it. /** * @param {string} type * @param {any} [data] */ function sendMsg(type, data) { if (typeof self !== "undefined" && (typeof WorkerGlobalScope === "undefined" || !(self instanceof WorkerGlobalScope))) { self.postMessage({ type: "webpack".concat(type), data: data }, "*"); } } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sendMsg); /***/ }), /***/ "./node_modules/webpack-dev-server/client/utils/stripAnsi.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack-dev-server/client/utils/stripAnsi.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); var ansiRegex = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|"), "g"); /** * * Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string. * Adapted from code originally released by Sindre Sorhus * Licensed the MIT License * * @param {string} string * @return {string} */ function stripAnsi(string) { if (typeof string !== "string") { throw new TypeError("Expected a `string`, got `".concat(typeof string, "`")); } return string.replace(ansiRegex, ""); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stripAnsi); /***/ }), /***/ "./node_modules/webpack/hot/dev-server.js": /*!************************************************!*\ !*** ./node_modules/webpack/hot/dev-server.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ /* globals __webpack_hash__ */ if (true) { /** @type {undefined|string} */ var lastHash; var upToDate = function upToDate() { return /** @type {string} */lastHash.indexOf(__webpack_require__.h()) >= 0; }; var log = __webpack_require__(/*! ./log */ "./node_modules/webpack/hot/log.js"); var check = function check() { module.hot.check(true).then(function (updatedModules) { if (!updatedModules) { log("warning", "[HMR] Cannot find update. " + (typeof window !== "undefined" ? "Need to do a full reload!" : "Please reload manually!")); log("warning", "[HMR] (Probably because of restarting the webpack-dev-server)"); if (typeof window !== "undefined") { window.location.reload(); } return; } if (!upToDate()) { check(); } __webpack_require__(/*! ./log-apply-result */ "./node_modules/webpack/hot/log-apply-result.js")(updatedModules, updatedModules); if (upToDate()) { log("info", "[HMR] App is up to date."); } }).catch(function (err) { var status = module.hot.status(); if (["abort", "fail"].indexOf(status) >= 0) { log("warning", "[HMR] Cannot apply update. " + (typeof window !== "undefined" ? "Need to do a full reload!" : "Please reload manually!")); log("warning", "[HMR] " + log.formatError(err)); if (typeof window !== "undefined") { window.location.reload(); } } else { log("warning", "[HMR] Update failed: " + log.formatError(err)); } }); }; var hotEmitter = __webpack_require__(/*! ./emitter */ "./node_modules/webpack/hot/emitter.js"); hotEmitter.on("webpackHotUpdate", function (currentHash) { lastHash = currentHash; if (!upToDate() && module.hot.status() === "idle") { log("info", "[HMR] Checking for updates on the server..."); check(); } }); log("info", "[HMR] Waiting for update signal from WDS..."); } else {} /***/ }), /***/ "./node_modules/webpack/hot/emitter.js": /*!*********************************************!*\ !*** ./node_modules/webpack/hot/emitter.js ***! \*********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var EventEmitter = __webpack_require__(/*! events */ "./node_modules/events/events.js"); module.exports = new EventEmitter(); /***/ }), /***/ "./node_modules/webpack/hot/log-apply-result.js": /*!******************************************************!*\ !*** ./node_modules/webpack/hot/log-apply-result.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ /** * @param {(string | number)[]} updatedModules updated modules * @param {(string | number)[] | null} renewedModules renewed modules */ module.exports = function (updatedModules, renewedModules) { var unacceptedModules = updatedModules.filter(function (moduleId) { return renewedModules && renewedModules.indexOf(moduleId) < 0; }); var log = __webpack_require__(/*! ./log */ "./node_modules/webpack/hot/log.js"); if (unacceptedModules.length > 0) { log("warning", "[HMR] The following modules couldn't be hot updated: (They would need a full reload!)"); unacceptedModules.forEach(function (moduleId) { log("warning", "[HMR] - " + moduleId); }); } if (!renewedModules || renewedModules.length === 0) { log("info", "[HMR] Nothing hot updated."); } else { log("info", "[HMR] Updated modules:"); renewedModules.forEach(function (moduleId) { if (typeof moduleId === "string" && moduleId.indexOf("!") !== -1) { var parts = moduleId.split("!"); log.groupCollapsed("info", "[HMR] - " + parts.pop()); log("info", "[HMR] - " + moduleId); log.groupEnd("info"); } else { log("info", "[HMR] - " + moduleId); } }); var numberIds = renewedModules.every(function (moduleId) { return typeof moduleId === "number"; }); if (numberIds) log("info", '[HMR] Consider using the optimization.moduleIds: "named" for module names.'); } }; /***/ }), /***/ "./node_modules/webpack/hot/log.js": /*!*****************************************!*\ !*** ./node_modules/webpack/hot/log.js ***! \*****************************************/ /***/ ((module) => { /** @typedef {"info" | "warning" | "error"} LogLevel */ /** @type {LogLevel} */ var logLevel = "info"; function dummy() {} /** * @param {LogLevel} level log level * @returns {boolean} true, if should log */ function shouldLog(level) { var shouldLog = logLevel === "info" && level === "info" || ["info", "warning"].indexOf(logLevel) >= 0 && level === "warning" || ["info", "warning", "error"].indexOf(logLevel) >= 0 && level === "error"; return shouldLog; } /** * @param {(msg?: string) => void} logFn log function * @returns {(level: LogLevel, msg?: string) => void} function that logs when log level is sufficient */ function logGroup(logFn) { return function (level, msg) { if (shouldLog(level)) { logFn(msg); } }; } /** * @param {LogLevel} level log level * @param {string|Error} msg message */ module.exports = function (level, msg) { if (shouldLog(level)) { if (level === "info") { console.log(msg); } else if (level === "warning") { console.warn(msg); } else if (level === "error") { console.error(msg); } } }; var group = console.group || dummy; var groupCollapsed = console.groupCollapsed || dummy; var groupEnd = console.groupEnd || dummy; module.exports.group = logGroup(group); module.exports.groupCollapsed = logGroup(groupCollapsed); module.exports.groupEnd = logGroup(groupEnd); /** * @param {LogLevel} level log level */ module.exports.setLogLevel = function (level) { logLevel = level; }; /** * @param {Error} err error * @returns {string} formatted error */ module.exports.formatError = function (err) { var message = err.message; var stack = err.stack; if (!stack) { return message; } else if (stack.indexOf(message) < 0) { return message + "\n" + stack; } return stack; }; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css": /*!******************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css ***! \******************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js"); /* harmony import */ var _css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__); // Imports var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_3___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_4___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_5___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_6___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_7___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_8___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_9___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_10___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_11___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_12___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_13___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_14___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_15___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_16___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_17___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_URL_IMPORT_18___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e */ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"), __webpack_require__.b); var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___); var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___); var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___); var ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_3___); var ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_4___); var ___CSS_LOADER_URL_REPLACEMENT_5___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_5___); var ___CSS_LOADER_URL_REPLACEMENT_6___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___); var ___CSS_LOADER_URL_REPLACEMENT_7___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_7___); var ___CSS_LOADER_URL_REPLACEMENT_8___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_8___); var ___CSS_LOADER_URL_REPLACEMENT_9___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_9___); var ___CSS_LOADER_URL_REPLACEMENT_10___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_10___); var ___CSS_LOADER_URL_REPLACEMENT_11___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_11___); var ___CSS_LOADER_URL_REPLACEMENT_12___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_12___); var ___CSS_LOADER_URL_REPLACEMENT_13___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_13___); var ___CSS_LOADER_URL_REPLACEMENT_14___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_14___); var ___CSS_LOADER_URL_REPLACEMENT_15___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_15___); var ___CSS_LOADER_URL_REPLACEMENT_16___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_16___); var ___CSS_LOADER_URL_REPLACEMENT_17___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_17___); var ___CSS_LOADER_URL_REPLACEMENT_18___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_18___); // Module ___CSS_LOADER_EXPORT___.push([module.id, `@charset "UTF-8";/*! * Bootstrap v5.3.3 (https://getbootstrap.com/) * Copyright 2011-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url(${___CSS_LOADER_URL_REPLACEMENT_0___});display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url(${___CSS_LOADER_URL_REPLACEMENT_1___})}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url(${___CSS_LOADER_URL_REPLACEMENT_2___})}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url(${___CSS_LOADER_URL_REPLACEMENT_3___})}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url(${___CSS_LOADER_URL_REPLACEMENT_4___})}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url(${___CSS_LOADER_URL_REPLACEMENT_5___});width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url(${___CSS_LOADER_URL_REPLACEMENT_6___})}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url(${___CSS_LOADER_URL_REPLACEMENT_7___})}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url(${___CSS_LOADER_URL_REPLACEMENT_8___})}.form-range{width:100%;height:1.5rem;padding:0;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.form-floating>.form-control:disabled~label::after,.form-floating>:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url(${___CSS_LOADER_URL_REPLACEMENT_9___});background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url(${___CSS_LOADER_URL_REPLACEMENT_9___});padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url(${___CSS_LOADER_URL_REPLACEMENT_10___});background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url(${___CSS_LOADER_URL_REPLACEMENT_10___});padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url(${___CSS_LOADER_URL_REPLACEMENT_11___});--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url(${___CSS_LOADER_URL_REPLACEMENT_12___})}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url(${___CSS_LOADER_URL_REPLACEMENT_12___})}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url(${___CSS_LOADER_URL_REPLACEMENT_13___});--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url(${___CSS_LOADER_URL_REPLACEMENT_14___});--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url(${___CSS_LOADER_URL_REPLACEMENT_15___});--bs-accordion-btn-active-icon:url(${___CSS_LOADER_URL_REPLACEMENT_15___})}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url(${___CSS_LOADER_URL_REPLACEMENT_16___});--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_17___})}.carousel-control-next-icon{background-image:url(${___CSS_LOADER_URL_REPLACEMENT_18___})}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{object-fit:contain!important}.object-fit-cover{object-fit:cover!important}.object-fit-fill{object-fit:fill!important}.object-fit-scale{object-fit:scale-down!important}.object-fit-none{object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{column-gap:0!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{object-fit:contain!important}.object-fit-sm-cover{object-fit:cover!important}.object-fit-sm-fill{object-fit:fill!important}.object-fit-sm-scale{object-fit:scale-down!important}.object-fit-sm-none{object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{column-gap:0!important}.column-gap-sm-1{column-gap:.25rem!important}.column-gap-sm-2{column-gap:.5rem!important}.column-gap-sm-3{column-gap:1rem!important}.column-gap-sm-4{column-gap:1.5rem!important}.column-gap-sm-5{column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{object-fit:contain!important}.object-fit-md-cover{object-fit:cover!important}.object-fit-md-fill{object-fit:fill!important}.object-fit-md-scale{object-fit:scale-down!important}.object-fit-md-none{object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{column-gap:0!important}.column-gap-md-1{column-gap:.25rem!important}.column-gap-md-2{column-gap:.5rem!important}.column-gap-md-3{column-gap:1rem!important}.column-gap-md-4{column-gap:1.5rem!important}.column-gap-md-5{column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{object-fit:contain!important}.object-fit-lg-cover{object-fit:cover!important}.object-fit-lg-fill{object-fit:fill!important}.object-fit-lg-scale{object-fit:scale-down!important}.object-fit-lg-none{object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{column-gap:0!important}.column-gap-lg-1{column-gap:.25rem!important}.column-gap-lg-2{column-gap:.5rem!important}.column-gap-lg-3{column-gap:1rem!important}.column-gap-lg-4{column-gap:1.5rem!important}.column-gap-lg-5{column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{object-fit:contain!important}.object-fit-xl-cover{object-fit:cover!important}.object-fit-xl-fill{object-fit:fill!important}.object-fit-xl-scale{object-fit:scale-down!important}.object-fit-xl-none{object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{column-gap:0!important}.column-gap-xl-1{column-gap:.25rem!important}.column-gap-xl-2{column-gap:.5rem!important}.column-gap-xl-3{column-gap:1rem!important}.column-gap-xl-4{column-gap:1.5rem!important}.column-gap-xl-5{column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{object-fit:contain!important}.object-fit-xxl-cover{object-fit:cover!important}.object-fit-xxl-fill{object-fit:fill!important}.object-fit-xxl-scale{object-fit:scale-down!important}.object-fit-xxl-none{object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{column-gap:0!important}.column-gap-xxl-1{column-gap:.25rem!important}.column-gap-xxl-2{column-gap:.5rem!important}.column-gap-xxl-3{column-gap:1rem!important}.column-gap-xxl-4{column-gap:1.5rem!important}.column-gap-xxl-5{column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} `, "",{"version":3,"sources":["webpack://./node_modules/bootstrap/dist/css/bootstrap.min.css","webpack://./node_modules/bootstrap/scss/mixins/_banner.scss","webpack://./node_modules/bootstrap/scss/_root.scss","webpack://./node_modules/bootstrap/scss/vendor/_rfs.scss","webpack://./node_modules/bootstrap/scss/mixins/_color-mode.scss","webpack://./node_modules/bootstrap/dist/css/dist/css/bootstrap.css","webpack://./node_modules/bootstrap/scss/_reboot.scss","webpack://./node_modules/bootstrap/scss/mixins/_border-radius.scss","webpack://./node_modules/bootstrap/scss/_type.scss","webpack://./node_modules/bootstrap/scss/mixins/_lists.scss","webpack://./node_modules/bootstrap/scss/_images.scss","webpack://./node_modules/bootstrap/scss/mixins/_image.scss","webpack://./node_modules/bootstrap/scss/_containers.scss","webpack://./node_modules/bootstrap/scss/mixins/_container.scss","webpack://./node_modules/bootstrap/scss/mixins/_breakpoints.scss","webpack://./node_modules/bootstrap/scss/_grid.scss","webpack://./node_modules/bootstrap/scss/mixins/_grid.scss","webpack://./node_modules/bootstrap/scss/_tables.scss","webpack://./node_modules/bootstrap/scss/mixins/_table-variants.scss","webpack://./node_modules/bootstrap/scss/forms/_labels.scss","webpack://./node_modules/bootstrap/scss/forms/_form-text.scss","webpack://./node_modules/bootstrap/scss/forms/_form-control.scss","webpack://./node_modules/bootstrap/scss/mixins/_transition.scss","webpack://./node_modules/bootstrap/scss/mixins/_gradients.scss","webpack://./node_modules/bootstrap/scss/forms/_form-select.scss","webpack://./node_modules/bootstrap/scss/forms/_form-check.scss","webpack://./node_modules/bootstrap/scss/forms/_form-range.scss","webpack://./node_modules/bootstrap/scss/forms/_floating-labels.scss","webpack://./node_modules/bootstrap/scss/forms/_input-group.scss","webpack://./node_modules/bootstrap/scss/mixins/_forms.scss","webpack://./node_modules/bootstrap/scss/_buttons.scss","webpack://./node_modules/bootstrap/scss/mixins/_buttons.scss","webpack://./node_modules/bootstrap/scss/_transitions.scss","webpack://./node_modules/bootstrap/scss/_dropdown.scss","webpack://./node_modules/bootstrap/scss/mixins/_caret.scss","webpack://./node_modules/bootstrap/scss/_button-group.scss","webpack://./node_modules/bootstrap/scss/_nav.scss","webpack://./node_modules/bootstrap/scss/_navbar.scss","webpack://./node_modules/bootstrap/scss/_card.scss","webpack://./node_modules/bootstrap/scss/_accordion.scss","webpack://./node_modules/bootstrap/scss/_breadcrumb.scss","webpack://./node_modules/bootstrap/scss/_pagination.scss","webpack://./node_modules/bootstrap/scss/mixins/_pagination.scss","webpack://./node_modules/bootstrap/scss/_badge.scss","webpack://./node_modules/bootstrap/scss/_alert.scss","webpack://./node_modules/bootstrap/scss/_progress.scss","webpack://./node_modules/bootstrap/scss/_list-group.scss","webpack://./node_modules/bootstrap/scss/_close.scss","webpack://./node_modules/bootstrap/scss/_toasts.scss","webpack://./node_modules/bootstrap/scss/_modal.scss","webpack://./node_modules/bootstrap/scss/mixins/_backdrop.scss","webpack://./node_modules/bootstrap/scss/_tooltip.scss","webpack://./node_modules/bootstrap/scss/mixins/_reset-text.scss","webpack://./node_modules/bootstrap/scss/_popover.scss","webpack://./node_modules/bootstrap/scss/_carousel.scss","webpack://./node_modules/bootstrap/scss/mixins/_clearfix.scss","webpack://./node_modules/bootstrap/scss/_spinners.scss","webpack://./node_modules/bootstrap/scss/_offcanvas.scss","webpack://./node_modules/bootstrap/scss/_placeholders.scss","webpack://./node_modules/bootstrap/scss/helpers/_color-bg.scss","webpack://./node_modules/bootstrap/scss/helpers/_colored-links.scss","webpack://./node_modules/bootstrap/scss/helpers/_focus-ring.scss","webpack://./node_modules/bootstrap/scss/helpers/_icon-link.scss","webpack://./node_modules/bootstrap/scss/helpers/_ratio.scss","webpack://./node_modules/bootstrap/scss/helpers/_position.scss","webpack://./node_modules/bootstrap/scss/helpers/_stacks.scss","webpack://./node_modules/bootstrap/scss/helpers/_visually-hidden.scss","webpack://./node_modules/bootstrap/scss/mixins/_visually-hidden.scss","webpack://./node_modules/bootstrap/scss/helpers/_stretched-link.scss","webpack://./node_modules/bootstrap/scss/helpers/_text-truncation.scss","webpack://./node_modules/bootstrap/scss/mixins/_text-truncate.scss","webpack://./node_modules/bootstrap/scss/helpers/_vr.scss","webpack://./node_modules/bootstrap/scss/mixins/_utilities.scss","webpack://./node_modules/bootstrap/scss/utilities/_api.scss"],"names":[],"mappings":"AAAA,gBAAgB,CCCd;;;;ECDF,CAAA,4BASI,iBAAA,CAAA,mBAAA,CAAA,mBAAA,CAAA,iBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,mBAAA,CAAA,kBAAA,CAAA,iBAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,eAAA,CAAA,iBAAA,CAAA,sBAIA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAAA,CAAA,qBAIA,CAAA,oBAAA,CAAA,sBAAA,CAAA,oBAAA,CAAA,iBAAA,CAAA,oBAAA,CAAA,mBAAA,CAAA,kBAAA,CAAA,iBAIA,CAAA,2BAAA,CAAA,8BAAA,CAAA,0BAAA,CAAA,wBAAA,CAAA,0BAAA,CAAA,yBAAA,CAAA,0BAAA,CAAA,sBAIA,CAAA,kCAAA,CAAA,oCAAA,CAAA,kCAAA,CAAA,+BAAA,CAAA,kCAAA,CAAA,iCAAA,CAAA,gCAAA,CAAA,+BAIA,CAAA,8BAAA,CAAA,gCAAA,CAAA,8BAAA,CAAA,2BAAA,CAAA,8BAAA,CAAA,6BAAA,CAAA,4BAAA,CAAA,2BAIA,CAAA,kCAAA,CAAA,oCAAA,CAAA,kCAAA,CAAA,+BAAA,CAAA,kCAAA,CAAA,iCAAA,CAAA,gCAAA,CAAA,+BAGF,CAAA,0BACA,CAAA,oBAMA,CAAA,wMACA,CAAA,kGACA,CAAA,wFAOA,CAAA,+CC2OI,CAAA,wBDzOJ,CAAA,yBACA,CAAA,yBAKA,CAAA,uBACA,CAAA,4BACA,CAAA,iBACA,CAAA,4BAEA,CAAA,wBACA,CAAA,6BAEA,CAAA,2CACA,CAAA,iCACA,CAAA,yBACA,CAAA,iCAEA,CAAA,yCACA,CAAA,gCACA,CAAA,wBACA,CAAA,gCAGA,CAAA,0BAEA,CAAA,uBACA,CAAA,8BACA,CAAA,8BAEA,CAAA,6BACA,CAAA,mCAMA,CAAA,uBACA,CAAA,4BACA,CAAA,yBAGA,CAAA,qBACA,CAAA,uBACA,CAAA,yBACA,CAAA,kDAEA,CAAA,2BACA,CAAA,6BACA,CAAA,4BACA,CAAA,0BACA,CAAA,2BACA,CAAA,kDACA,CAAA,6BAGA,CAAA,iDACA,CAAA,0DACA,CAAA,mDACA,CAAA,0DAIA,CAAA,6BACA,CAAA,4BACA,CAAA,8CAIA,CAAA,6BACA,CAAA,oCACA,CAAA,+BACA,CAAA,sCEhHE,CAAA,qBFsHA,iBAGA,CAAA,uBACA,CAAA,+BACA,CAAA,oBACA,CAAA,yBAEA,CAAA,wBACA,CAAA,mCAEA,CAAA,8CACA,CAAA,oCACA,CAAA,yBACA,CAAA,8BAEA,CAAA,4CACA,CAAA,mCACA,CAAA,wBACA,CAAA,6BAGE,CAAA,kCAAA,CAAA,oCAAA,CAAA,kCAAA,CAAA,+BAAA,CAAA,kCAAA,CAAA,iCAAA,CAAA,gCAAA,CAAA,+BAIA,CAAA,8BAAA,CAAA,gCAAA,CAAA,8BAAA,CAAA,2BAAA,CAAA,8BAAA,CAAA,6BAAA,CAAA,4BAAA,CAAA,2BAIA,CAAA,kCAAA,CAAA,oCAAA,CAAA,kCAAA,CAAA,+BAAA,CAAA,kCAAA,CAAA,iCAAA,CAAA,gCAAA,CAAA,+BAGF,CAAA,0BAEA,CAAA,uBACA,CAAA,6BACA,CAAA,+BACA,CAAA,qCAEA,CAAA,uBACA,CAAA,4BACA,CAAA,yBAEA,CAAA,yBACA,CAAA,uDAEA,CAAA,6BACA,CAAA,oCACA,CAAA,+BACA,CAAA,sCGEJ,CAAA,mBCvKE,qBAeE,CAAA,8CANJ,MAOM,sBAcN,CAAA,CAAA,KACE,QACA,CAAA,sCH6OI,CAAA,kCG3OJ,CAAA,sCACA,CAAA,sCACA,CAAA,0BACA,CAAA,oCACA,CAAA,kCACA,CAAA,6BACA,CAAA,uCASF,CACE,GAAA,aACA,CAAA,aACA,CAAA,QACA,CAAA,uCACA,CAAA,WAUF,CAAA,0CACE,YACA,CAAA,mBAGA,CAAA,eACA,CAAA,eACA,CAAA,6BAGF,CAAA,OHuMQ,gCA5JJ,CAAA,0BG3CJ,OH8MQ,gBGzMR,CAAA,CAAA,OHkMQ,+BA5JJ,CAAA,0BGtCJ,OHyMQ,cGpMR,CAAA,CAAA,OH6LQ,6BA5JJ,CAAA,0BGjCJ,OHoMQ,iBG/LR,CAAA,CAAA,OHwLQ,+BA5JJ,CAAA,0BG5BJ,OH+LQ,gBG1LR,CAAA,CAAA,OH+KM,iBG1KN,CAAA,OH0KM,cG9JJ,CAAA,EAAA,YACA,CAAA,kBAUF,CAAA,YACE,wCAAA,CAAA,gCACA,CAAA,WACA,CAAA,6BAMF,CAAA,QACE,kBACA,CAAA,iBACA,CAAA,mBAMF,CDkIA,MChIE,iBDsIF,CCnIA,SAGE,YACA,CAAA,kBAGF,CAAA,wBAIE,eAGF,CACE,GAAA,eAKF,CACE,GAAA,mBACA,CAAA,aAMF,CAAA,WACE,eDgIF,CAAA,SCtHE,kBAQF,CAAA,aH6EM,gBGtEN,CAAA,WACE,eACA,CAAA,+BACA,CAAA,uCASF,CAAA,QAEE,iBHwDI,CAAA,eGtDJ,CAAA,aACA,CAAA,uBAGF,CAAA,IAAM,aACN,CAAA,IAAM,SAMJ,CAAA,EAAA,6DACA,CAAA,yBAEA,CAAA,QACE,kDAWF,CAAA,4DAEE,aACA,CAAA,oBDsGJ,CAAA,kBC3FE,oCHcI,CAAA,aGNN,CAAA,IACE,aACA,CAAA,YACA,CAAA,kBACA,CAAA,aHEI,CAAA,gBGGJ,CAAA,SHHI,iBGKF,CAAA,aACA,CAAA,iBAIJ,CAAA,KHVM,gBGYJ,CAAA,0BACA,CAAA,oBAGA,CAAA,OACE,aAIJ,CAAA,IACE,wBHtBI,CAAA,gBGwBJ,CAAA,uBACA,CAAA,qCCrSE,CAAA,oBDwSF,CAAA,QACE,SH7BE,CAAA,aGwCN,CAAA,OACE,eAMF,CAAA,QAEE,qBAQF,CAAA,MACE,mBACA,CAAA,wBAGF,CAAA,QACE,iBACA,CAAA,oBACA,CAAA,+BACA,CAAA,eAOF,CAEE,GAAA,kBACA,CAAA,+BDqEF,CAAA,2BC5DE,oBACA,CAAA,kBACA,CAAA,cAQF,CAAA,MACE,oBAMF,CAAA,OAEE,eAQF,CAAA,iCACE,SDuDF,CAAA,sCC7CE,QACA,CAAA,mBH5HI,CAAA,iBG8HJ,CAAA,mBAIF,CAAA,cAEE,mBAKF,CAAA,cACE,cAGF,CAAA,OAGE,gBAGA,CAAA,gBACE,SAOJ,CAAA,0IACE,sBD2CF,CAAA,gDC/BE,yBDqCF,CAAA,4GCjCM,cAON,CAAA,mBACE,SACA,CAAA,iBAKF,CAAA,SACE,eAUF,CAAA,SACE,WACA,CAAA,SACA,CAAA,QACA,CAAA,QAQF,CAAA,OACE,UACA,CAAA,UACA,CAAA,SACA,CAAA,mBHjNM,CAAA,+BGoNN,CAAA,mBHhXE,CAAA,0BGyWJ,OHtMQ,gBG+MN,CAAA,CAAA,SACE,UD6BJ,CAAA,+OCfE,SAGF,CAAA,4BACE,WASF,CAAA,cACE,4BACA,CAAA,mBAmBF,CAAA,4BACE,uBAKF,CAAA,+BACE,SAOF,CAAA,uBACE,YACA,CAAA,yBAKF,CAAA,OACE,oBAKF,CAAA,OACE,QAOF,CAAA,QACE,iBACA,CAAA,cAQF,CAAA,SACE,uBAQF,CAAA,SACE,sBErkBF,CAAA,MLmQM,iBKjQJ,CAAA,eAKA,CAAA,WLgQM,gCK5PJ,CAAA,eACA,CAAA,eL+FA,CAAA,0BKpGF,WLuQM,cKvQN,CAAA,CAAA,WLgQM,gCK5PJ,CAAA,eACA,CAAA,eL+FA,CAAA,0BKpGF,WLuQM,gBKvQN,CAAA,CAAA,WLgQM,gCK5PJ,CAAA,eACA,CAAA,eL+FA,CAAA,0BKpGF,WLuQM,cKvQN,CAAA,CAAA,WLgQM,gCK5PJ,CAAA,eACA,CAAA,eL+FA,CAAA,0BKpGF,WLuQM,gBKvQN,CAAA,CAAA,WLgQM,gCK5PJ,CAAA,eACA,CAAA,eL+FA,CAAA,0BKpGF,WLuQM,cKvQN,CAAA,CAAA,WLgQM,gCK5PJ,CAAA,eACA,CAAA,eL+FA,CAAA,0BKpGF,WLuQM,gBK/OR,CAAA,CAAA,eCvDE,cACA,CAAA,eD2DF,CAAA,aC5DE,cACA,CAAA,eD8DF,CAAA,kBACE,oBAEA,CAAA,mCACE,kBAUJ,CAAA,YL8MM,gBK5MJ,CAAA,wBAIF,CAAA,YACE,kBLuMI,CAAA,iBKpMJ,CAAA,wBACE,eAIJ,CAAA,mBACE,gBACA,CAAA,kBL6LI,CAAA,gBK3LJ,CAAA,aAEA,CAAA,2BACE,YEhGJ,CAAA,WCIE,cAGA,CAAA,WDDF,CAAA,eACE,cACA,CAAA,kCACA,CAAA,0DHGE,CAAA,qCIRF,CAAA,cAGA,CAAA,WDcF,CAAA,QAEE,oBAGF,CAAA,YACE,mBACA,CAAA,aAGF,CAAA,gBPyPM,gBOvPJ,CAAA,+BElCA,CAAA,mGCHA,oBACA,CAAA,eACA,CAAA,UACA,CAAA,2CACA,CAAA,0CACA,CAAA,iBACA,CAAA,gBCsDE,CAAA,yBF5CE,yBACE,eE2CJ,CAAA,CAAA,yBF5CE,uCACE,eE2CJ,CAAA,CAAA,yBF5CE,qDACE,eE2CJ,CAAA,CAAA,0BF5CE,mEACE,gBE2CJ,CAAA,CAAA,0BF5CE,kFACE,gBGhBR,CAAA,CAAA,MAEI,oBAAA,CAAA,wBAAA,CAAA,wBAAA,CAAA,wBAAA,CAAA,yBAAA,CAAA,0BAKF,CAAA,KCNA,oBACA,CAAA,eACA,CAAA,YACA,CAAA,cAEA,CAAA,wCACA,CAAA,2CACA,CAAA,0CDEE,CAAA,OCOF,aACA,CAAA,UACA,CAAA,cACA,CAAA,2CACA,CAAA,0CACA,CAAA,6BA+CI,CAAA,KACE,QAGF,CAAA,iBApCJ,aACA,CAAA,UAcA,CAAA,cACE,aACA,CAAA,UAFF,CAAA,cACE,aACA,CAAA,SAFF,CAAA,cACE,aACA,CAAA,kBAFF,CAAA,cACE,aACA,CAAA,SAFF,CAAA,cACE,aACA,CAAA,SAFF,CAAA,cACE,aACA,CAAA,kBA+BE,CAAA,UAhDJ,aACA,CAAA,UAqDQ,CAAA,OAhEN,aACA,CAAA,iBA+DM,CAAA,OAhEN,aACA,CAAA,kBA+DM,CAAA,OAhEN,aACA,CAAA,SA+DM,CAAA,OAhEN,aACA,CAAA,kBA+DM,CAAA,OAhEN,aACA,CAAA,kBA+DM,CAAA,OAhEN,aACA,CAAA,SA+DM,CAAA,OAhEN,aACA,CAAA,kBA+DM,CAAA,OAhEN,aACA,CAAA,kBA+DM,CAAA,OAhEN,aACA,CAAA,SA+DM,CAAA,QAhEN,aACA,CAAA,kBA+DM,CAAA,QAhEN,aACA,CAAA,kBA+DM,CAAA,QAhEN,aACA,CAAA,UAuEQ,CAAA,UAxDV,uBAwDU,CAAA,UAxDV,wBAwDU,CAAA,UAxDV,eAwDU,CAAA,UAxDV,wBAwDU,CAAA,UAxDV,wBAwDU,CAAA,UAxDV,eAwDU,CAAA,UAxDV,wBAwDU,CAAA,UAxDV,wBAwDU,CAAA,UAxDV,eAwDU,CAAA,WAxDV,wBAwDU,CAAA,WAxDV,wBAmEM,CAAA,WAEE,eAGF,CAAA,WAEE,eAPF,CAAA,WAEE,qBAGF,CAAA,WAEE,qBAPF,CAAA,WAEE,oBAGF,CAAA,WAEE,oBAPF,CAAA,WAEE,kBAGF,CAAA,WAEE,kBAPF,CAAA,WAEE,oBAGF,CAAA,WAEE,oBAPF,CAAA,WAEE,kBAGF,CAAA,WAEE,kBF1DN,CAAA,yBEUE,QACE,QAGF,CAAA,oBApCJ,aACA,CAAA,UAcA,CAAA,iBACE,aACA,CAAA,UAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBA+BE,CAAA,aAhDJ,aACA,CAAA,UAqDQ,CAAA,UAhEN,aACA,CAAA,iBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,UAuEQ,CAAA,aAxDV,aAwDU,CAAA,aAxDV,uBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,wBAmEM,CAAA,iBAEE,eAGF,CAAA,iBAEE,eAPF,CAAA,iBAEE,qBAGF,CAAA,iBAEE,qBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBF1DN,CAAA,CAAA,yBEUE,QACE,QAGF,CAAA,oBApCJ,aACA,CAAA,UAcA,CAAA,iBACE,aACA,CAAA,UAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBA+BE,CAAA,aAhDJ,aACA,CAAA,UAqDQ,CAAA,UAhEN,aACA,CAAA,iBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,UAuEQ,CAAA,aAxDV,aAwDU,CAAA,aAxDV,uBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,wBAmEM,CAAA,iBAEE,eAGF,CAAA,iBAEE,eAPF,CAAA,iBAEE,qBAGF,CAAA,iBAEE,qBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBF1DN,CAAA,CAAA,yBEUE,QACE,QAGF,CAAA,oBApCJ,aACA,CAAA,UAcA,CAAA,iBACE,aACA,CAAA,UAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBA+BE,CAAA,aAhDJ,aACA,CAAA,UAqDQ,CAAA,UAhEN,aACA,CAAA,iBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,UAuEQ,CAAA,aAxDV,aAwDU,CAAA,aAxDV,uBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,wBAmEM,CAAA,iBAEE,eAGF,CAAA,iBAEE,eAPF,CAAA,iBAEE,qBAGF,CAAA,iBAEE,qBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBF1DN,CAAA,CAAA,0BEUE,QACE,QAGF,CAAA,oBApCJ,aACA,CAAA,UAcA,CAAA,iBACE,aACA,CAAA,UAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,SAFF,CAAA,iBACE,aACA,CAAA,kBA+BE,CAAA,aAhDJ,aACA,CAAA,UAqDQ,CAAA,UAhEN,aACA,CAAA,iBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,kBA+DM,CAAA,UAhEN,aACA,CAAA,SA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,UAuEQ,CAAA,aAxDV,aAwDU,CAAA,aAxDV,uBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,wBAwDU,CAAA,aAxDV,eAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,wBAmEM,CAAA,iBAEE,eAGF,CAAA,iBAEE,eAPF,CAAA,iBAEE,qBAGF,CAAA,iBAEE,qBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBAPF,CAAA,iBAEE,oBAGF,CAAA,iBAEE,oBAPF,CAAA,iBAEE,kBAGF,CAAA,iBAEE,kBF1DN,CAAA,CAAA,0BEUE,SACE,QAGF,CAAA,qBApCJ,aACA,CAAA,UAcA,CAAA,kBACE,aACA,CAAA,UAFF,CAAA,kBACE,aACA,CAAA,SAFF,CAAA,kBACE,aACA,CAAA,kBAFF,CAAA,kBACE,aACA,CAAA,SAFF,CAAA,kBACE,aACA,CAAA,SAFF,CAAA,kBACE,aACA,CAAA,kBA+BE,CAAA,cAhDJ,aACA,CAAA,UAqDQ,CAAA,WAhEN,aACA,CAAA,iBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,SA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,SA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,kBA+DM,CAAA,WAhEN,aACA,CAAA,SA+DM,CAAA,YAhEN,aACA,CAAA,kBA+DM,CAAA,YAhEN,aACA,CAAA,kBA+DM,CAAA,YAhEN,aACA,CAAA,UAuEQ,CAAA,cAxDV,aAwDU,CAAA,cAxDV,uBAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,eAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,eAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,wBAwDU,CAAA,cAxDV,eAwDU,CAAA,eAxDV,wBAwDU,CAAA,eAxDV,wBAmEM,CAAA,mBAEE,eAGF,CAAA,mBAEE,eAPF,CAAA,mBAEE,qBAGF,CAAA,mBAEE,qBAPF,CAAA,mBAEE,oBAGF,CAAA,mBAEE,oBAPF,CAAA,mBAEE,kBAGF,CAAA,mBAEE,kBAPF,CAAA,mBAEE,oBAGF,CAAA,mBAEE,oBAPF,CAAA,mBAEE,kBAGF,CAAA,mBAEE,kBCrHV,CAAA,CAAA,OAEE,6BACA,CAAA,0BACA,CAAA,8BACA,CAAA,2BAEA,CAAA,yCACA,CAAA,+BACA,CAAA,8CACA,CAAA,gCACA,CAAA,iDACA,CAAA,8DACA,CAAA,gDACA,CAAA,4DACA,CAAA,+CACA,CAAA,6DAEA,CAAA,UACA,CAAA,kBACA,CAAA,kBACA,CAAA,yCAOA,CAAA,yBACE,mBAEA,CAAA,kFACA,CAAA,mCACA,CAAA,0CACA,CAAA,wGAGF,CAAA,aACE,sBAGF,CAAA,aACE,qBAIJ,CAAA,qBACE,8DAOF,CAAA,aACE,gBAUA,CAAA,4BACE,qBAeF,CAAA,gCACE,qCAGA,CAAA,kCACE,qCAOJ,CAAA,oCACE,qBAGF,CAAA,qCACE,kBAUF,CAAA,2CACE,mDACA,CAAA,6CAMF,CAAA,uDACE,mDACA,CAAA,6CAQJ,CAAA,cACE,mDACA,CAAA,6CAQA,CAAA,8BACE,kDACA,CAAA,4CC5IF,CAAA,eAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,iBAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,eAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,YAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,eAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,cAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,aAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCAlBF,CAAA,YAOE,qBACA,CAAA,qBACA,CAAA,+BACA,CAAA,6BACA,CAAA,6BACA,CAAA,4BACA,CAAA,4BACA,CAAA,2BACA,CAAA,2BAEA,CAAA,2BACA,CAAA,yCDiJA,CAAA,kBACE,eACA,CAAA,gCH3FF,CAAA,4BGyFA,qBACE,eACA,CAAA,gCH3FF,CAAA,CAAA,4BGyFA,qBACE,eACA,CAAA,gCH3FF,CAAA,CAAA,4BGyFA,qBACE,eACA,CAAA,gCH3FF,CAAA,CAAA,6BGyFA,qBACE,eACA,CAAA,gCH3FF,CAAA,CAAA,6BGyFA,sBACE,eACA,CAAA,gCEnKN,CAAA,CAAA,YACE,mBASF,CAAA,gBACE,kDACA,CAAA,qDACA,CAAA,ehB8QI,CAAA,iBgB1QJ,CAAA,eAIF,CAAA,mBACE,gDACA,CAAA,mDhBoQI,CAAA,iBgBhQN,CAAA,mBACE,iDACA,CAAA,oDhB8PI,CAAA,iBiB3RN,CAAA,WACE,iBjB0RI,CAAA,gBiBtRJ,CAAA,+BCLF,CAAA,cACE,aACA,CAAA,UACA,CAAA,sBlBwRI,CAAA,ckBrRJ,CAAA,eACA,CAAA,eACA,CAAA,0BACA,CAAA,eACA,CAAA,kCACA,CAAA,2BACA,CAAA,0DdGE,CAAA,qCeHE,CAAA,oEAIA,CAAA,uCDhBN,cCiBQ,eDGN,CAAA,CAAA,yBACE,eAEA,CAAA,wDACE,cAKJ,CAAA,oBACE,0BACA,CAAA,kCACA,CAAA,oBACA,CAAA,SAKE,CAAA,4CAIJ,CAAA,2CAME,cAMA,CAAA,YAKA,CAAA,QAKF,CAAA,qCACE,aACA,CAAA,SAIF,CAAA,2BACE,+BAEA,CAAA,SAQF,CAAA,uBAEE,uCAGA,CAAA,SAIF,CAAA,oCACE,sBACA,CAAA,uBACA,CAAA,wBACA,CAAA,0BE9FF,CAAA,sCFgGE,CAAA,mBACA,CAAA,oBACA,CAAA,kBACA,CAAA,cACA,CAAA,8CACA,CAAA,eCzFE,CAAA,6HAIA,CAAA,uCD0EJ,oCCzEM,eDwFN,CAAA,CAAA,yEACE,uCASJ,CAAA,wBACE,aACA,CAAA,UACA,CAAA,iBACA,CAAA,eACA,CAAA,eACA,CAAA,0BACA,CAAA,4BACA,CAAA,wBACA,CAAA,qCAEA,CAAA,8BACE,SAGF,CAAA,gFAEE,eACA,CAAA,cAWJ,CAAA,iBACE,iEACA,CAAA,oBlByII,CAAA,iBI5QF,CAAA,wCcuIF,CAAA,uCACE,oBACA,CAAA,qBACA,CAAA,uBAIJ,CAAA,iBACE,gEACA,CAAA,kBlB4HI,CAAA,iBI5QF,CAAA,wCcoJF,CAAA,uCACE,kBACA,CAAA,mBACA,CAAA,sBAQF,CAAA,sBACE,kEAGF,CAAA,yBACE,iEAGF,CAAA,yBACE,gEAKJ,CAAA,oBACE,UACA,CAAA,8DACA,CAAA,eAEA,CAAA,mDACE,cAGF,CAAA,uCACE,kBdvLA,CAAA,qCc2LF,CAAA,0CACE,kBd5LA,CAAA,qCcgMF,CAAA,oCAAoB,6DACpB,CAAA,oCAAoB,4DG/MtB,CAAA,aACE,+DAEA,CAAA,aACA,CAAA,UACA,CAAA,sCrBqRI,CAAA,cqBlRJ,CAAA,eACA,CAAA,eACA,CAAA,0BACA,CAAA,eACA,CAAA,kCACA,CAAA,gFACA,CAAA,2BACA,CAAA,uCACA,CAAA,yBACA,CAAA,0DjBHE,CAAA,qCeHE,CAAA,oEAIA,CAAA,uCEfN,aFgBQ,eEMN,CAAA,CAAA,mBACE,oBACA,CAAA,SAKE,CAAA,4CAIJ,CAAA,0DAEE,oBACA,CAAA,qBAGF,CAAA,sBAEE,uCAKF,CAAA,4BACE,iBACA,CAAA,sCAIJ,CAAA,gBACE,kBACA,CAAA,qBACA,CAAA,kBrBmOI,CAAA,iBI5QF,CAAA,wCiB8CJ,CAAA,gBACE,iBACA,CAAA,oBACA,CAAA,iBrB2NI,CAAA,iBI5QF,CAAA,wCiBwDA,CAAA,kCACE,+DCxEN,CAAA,YACE,aACA,CAAA,iBACA,CAAA,kBACA,CAAA,qBAEA,CAAA,8BACE,UACA,CAAA,kBAIJ,CAAA,oBACE,mBACA,CAAA,cACA,CAAA,gBAEA,CAAA,sCACE,WACA,CAAA,mBACA,CAAA,aAIJ,CAAA,kBACE,oCAEA,CAAA,aACA,CAAA,SACA,CAAA,UACA,CAAA,gBACA,CAAA,kBACA,CAAA,eACA,CAAA,wCACA,CAAA,8CACA,CAAA,2BACA,CAAA,0BACA,CAAA,uBACA,CAAA,0DACA,CAAA,gCAAA,CAAA,wBAGA,CAAA,iClB3BE,mBkB+BF,CAAA,8BAEE,iBAGF,CAAA,yBACE,sBAGF,CAAA,wBACE,oBACA,CAAA,SACA,CAAA,4CAGF,CAAA,0BACE,wBACA,CAAA,oBAEA,CAAA,yCAII,gEAIJ,CAAA,sCAII,gEAKN,CAAA,+CACE,wBACA,CAAA,oBAKE,CAAA,gEAIJ,CAAA,2BACE,mBACA,CAAA,WACA,CAAA,UAOA,CAAA,2FACE,cACA,CAAA,UAcN,CAAA,aACE,kBAEA,CAAA,+BACE,2DAEA,CAAA,SACA,CAAA,kBACA,CAAA,yCACA,CAAA,+BlBjHA,CAAA,iBeHE,CAAA,+CAIA,CAAA,uCG0GJ,+BHzGM,eGmHJ,CAAA,CAAA,qCACE,2DAGF,CAAA,uCACE,gCAKE,CAAA,2DAKN,CAAA,gCACE,mBACA,CAAA,cAEA,CAAA,kDACE,mBACA,CAAA,aAKN,CAAA,mBACE,oBACA,CAAA,iBAGF,CAAA,WACE,iBACA,CAAA,kBACA,CAAA,mBAIE,CAAA,mDACE,mBACA,CAAA,WACA,CAAA,WAOF,CAAA,8EACE,2DCnLN,CAAA,YACE,UACA,CAAA,aACA,CAAA,SACA,CAAA,eACA,CAAA,4BAEA,CAAA,kBACE,SAIA,CAAA,wCAA0B,2DAC1B,CAAA,oCAA0B,2DAG5B,CAAA,8BACE,QAGF,CAAA,kCACE,UACA,CAAA,WACA,CAAA,kBACA,CAAA,eH1BF,CAAA,wBG4BE,CAAA,QnBbA,CAAA,kBeHE,CAAA,8GAIA,CAJA,sGAIA,CAAA,uCIMJ,kCJLM,uBIgBJ,CJhBI,eIgBJ,CAAA,CAAA,yCHjCF,wBGsCA,CAAA,2CACE,UACA,CAAA,YACA,CAAA,iBACA,CAAA,cACA,CAAA,uCACA,CAAA,wBnB7BA,CAAA,kBmBkCF,CAAA,8BACE,UACA,CAAA,WACA,CAAA,eHpDF,CAAA,wBGsDE,CAAA,QnBvCA,CAAA,kBeHE,CAAA,2GAIA,CAJA,sGAIA,CAAA,uCIiCJ,8BJhCM,oBI0CJ,CJ1CI,eI0CJ,CAAA,CAAA,qCH3DF,wBGgEA,CAAA,8BACE,UACA,CAAA,YACA,CAAA,iBACA,CAAA,cACA,CAAA,uCACA,CAAA,wBnBvDA,CAAA,kBmB4DF,CAAA,qBACE,mBAEA,CAAA,2CACE,0CAGF,CAAA,uCACE,0CCvFN,CAAA,eACE,iBAEA,CAAA,gGAGE,sDACA,CAAA,0DACA,CAAA,gBAGF,CAAA,qBACE,iBACA,CAAA,KACA,CAAA,MACA,CAAA,SACA,CAAA,WACA,CAAA,mBACA,CAAA,eACA,CAAA,gBACA,CAAA,sBACA,CAAA,kBACA,CAAA,mBACA,CAAA,+CACA,CAAA,oBLRE,CAAA,4DAIA,CAAA,uCKTJ,qBLUM,eKON,CAAA,CAAA,oEAEE,mBAEA,CtByiFJ,8FsBxiFM,iBAGF,CtB6iFJ,oMsB3iFM,oBACA,CAAA,sBtBgjFN,CAAA,sGsB5iFM,oBACA,CAAA,sBAIJ,CAAA,4BACE,oBACA,CAAA,sBAOA,CtB4iFJ,mLsB3iFM,wCACA,CAAA,0DAEA,CtBwjFN,+MsBvjFQ,iBACA,CAAA,mBACA,CAAA,UACA,CAAA,YACA,CAAA,UACA,CAAA,kCpBhDJ,CAAA,qCoBuDA,CAAA,oDACE,wCACA,CAAA,0DAKF,CAAA,6CACE,qCtBqjFN,CAAA,2EsB/iFI,atBmjFJ,CAAA,yFsBhjFM,uCCvFN,CAAA,aACE,iBACA,CAAA,YACA,CAAA,cACA,CAAA,mBACA,CAAA,UAEA,CAAA,iFAGE,iBACA,CAAA,aACA,CAAA,QACA,CAAA,WAIF,CAAA,0GAGE,SAMF,CAAA,kBACE,iBACA,CAAA,SAEA,CAAA,wBACE,SAWN,CAAA,kBACE,YACA,CAAA,kBACA,CAAA,sBzB8OI,CAAA,cyB5OJ,CAAA,eACA,CAAA,eACA,CAAA,0BACA,CAAA,iBACA,CAAA,kBACA,CAAA,sCACA,CAAA,0DrBtCE,CAAA,qCF0qFJ,CAAA,kHuBtnFE,kBzBwNI,CAAA,iBI5QF,CAAA,wCFmrFJ,CAAA,kHuBtnFE,oBzB+MI,CAAA,iBI5QF,CAAA,wCqBkEJ,CAAA,0DAEE,kBvB2nFF,CAAA,wVE/qFI,yBACA,CAAA,4BFqrFJ,CAAA,yUEtrFI,yBACA,CAAA,4BqBsFF,CAAA,0IACE,6CrB1EA,CAAA,wBACA,CAAA,2BqB6EF,CAAA,uHrB9EE,wBACA,CAAA,2BsBxBF,CAAA,gBACE,YACA,CAAA,UACA,CAAA,iB1BkQE,CAAA,gB0B/PF,CAAA,gCAGF,CAAA,eACE,iBACA,CAAA,QACA,CAAA,SACA,CAAA,YACA,CAAA,cACA,CAAA,oBACA,CAAA,gB1BqPE,CAAA,iB0BlPF,CAAA,UACA,CAAA,kCtB3BA,CAAA,qCF+uFJ,CAAA,8HwB7sFM,aA/CF,CAAA,0DAqDE,8CAGE,CAAA,kCACA,CAAA,wDACA,CAAA,2BACA,CAAA,wDACA,CAAA,2DAGF,CAAA,sEACE,8CAKE,CAAA,uDArEN,CAAA,0EA+EI,kCACA,CAAA,6EAhFJ,CAAA,wDAuFE,8CAGE,CAAA,4NAEE,gEACA,CAAA,sBACA,CAAA,4DACA,CAAA,qEAIJ,CAAA,oEACE,8CAKE,CAAA,uDAzGN,CAAA,sEAkHI,uCAlHJ,CAAA,kEAyHE,8CAEA,CAAA,kFACE,2CAGF,CAAA,8EACE,uDAGF,CAAA,sGACE,gCAKJ,CAAA,qDACE,gBA1IF,CAAA,kVAoJM,SAhIR,CAAA,kBACE,YACA,CAAA,UACA,CAAA,iB1BkQE,CAAA,gB0B/PF,CAAA,kCAGF,CAAA,iBACE,iBACA,CAAA,QACA,CAAA,SACA,CAAA,YACA,CAAA,cACA,CAAA,oBACA,CAAA,gB1BqPE,CAAA,iB0BlPF,CAAA,UACA,CAAA,iCtB3BA,CAAA,qCFy0FJ,CAAA,8IwBvyFM,aA/CF,CAAA,8DAqDE,gDAGE,CAAA,kCACA,CAAA,yDACA,CAAA,2BACA,CAAA,wDACA,CAAA,2DAGF,CAAA,0EACE,gDAKE,CAAA,sDArEN,CAAA,8EA+EI,kCACA,CAAA,6EAhFJ,CAAA,4DAuFE,gDAGE,CAAA,oOAEE,iEACA,CAAA,sBACA,CAAA,4DACA,CAAA,qEAIJ,CAAA,wEACE,gDAKE,CAAA,sDAzGN,CAAA,0EAkHI,uCAlHJ,CAAA,sEAyHE,gDAEA,CAAA,sFACE,6CAGF,CAAA,kFACE,sDAGF,CAAA,0GACE,kCAKJ,CAAA,uDACE,gBA1IF,CAAA,8VAsJM,SCxJV,CAAA,KAEE,0BACA,CAAA,2BACA,CAAA,sB3BuRI,CAAA,uB2BrRJ,CAAA,wBACA,CAAA,wBACA,CAAA,mCACA,CAAA,uBACA,CAAA,4CACA,CAAA,iCACA,CAAA,8CACA,CAAA,uCACA,CAAA,0FACA,CAAA,8BACA,CAAA,gFAGA,CAAA,oBACA,CAAA,uDACA,CAAA,qC3BsQI,CAAA,iC2BpQJ,CAAA,qCACA,CAAA,qCACA,CAAA,yBACA,CAAA,iBACA,CAAA,oBAEA,CAAA,qBACA,CAAA,cACA,CAAA,wBAAA,CAAA,gBACA,CAAA,kEvBjBE,CAAA,yCgBfF,CAAA,iCDYI,CAAA,6HAIA,CAAA,uCQhBN,KRiBQ,eQqBN,CAAA,CAAA,WACE,+BAEA,CAAA,uCACA,CAAA,6CAGF,CAAA,sBAEE,yBACA,CAAA,iCACA,CAAA,uCAGF,CAAA,mBACE,+BPrDF,CAAA,uCOuDE,CAAA,6CACA,CAAA,SAKE,CAAA,yCAIJ,CAAA,8BACE,6CACA,CAAA,SAKE,CAAA,yCAIJ,CAAA,mGAKE,gCACA,CAAA,wCAGA,CAAA,8CAGA,CAAA,yKAKI,yCAKN,CAAA,sCAKI,yCAIJ,CAAA,mDAGE,kCACA,CAAA,mBACA,CAAA,0CAEA,CAAA,gDACA,CAAA,sCAYF,CAAA,aC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,oCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,eC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,qCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,aC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,oCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,UC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,oCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,aC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,mCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,YC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,mCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,WC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,qCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCDkGA,CAAA,UC/GA,mBACA,CAAA,mBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,kCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,4BACA,CAAA,4BACA,CAAA,sCD4HA,CAAA,qBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,oCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,uBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,qCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,qBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,mCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,kBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,oCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,qBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,mCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,oBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,mCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,mBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,qCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBDmGA,CAAA,kBChHA,sBACA,CAAA,6BACA,CAAA,yBACA,CAAA,yBACA,CAAA,mCACA,CAAA,kCACA,CAAA,0BACA,CAAA,0BACA,CAAA,oCACA,CAAA,2DACA,CAAA,+BACA,CAAA,gCACA,CAAA,sCACA,CAAA,kBD+GF,CAAA,UACE,wBACA,CAAA,mCACA,CAAA,uBACA,CAAA,iCACA,CAAA,+CACA,CAAA,uCACA,CAAA,gDACA,CAAA,wCACA,CAAA,+BACA,CAAA,0CACA,CAAA,8BACA,CAAA,oCAEA,CAAA,yBAUA,CAAA,wBACE,yBAGF,CAAA,gBACE,+BAWJ,CAAA,2BCjJE,yBACA,CAAA,uB5B8NI,CAAA,0B4B5NJ,CAAA,iDDkJF,CAAA,2BCrJE,0BACA,CAAA,yB5B8NI,CAAA,2B4B5NJ,CAAA,iDCnEF,CAAA,MVgBM,8BAIA,CAAA,uCUpBN,MVqBQ,eUlBN,CAAA,CAAA,iBACE,SAMF,CAAA,qBACE,YAIJ,CAAA,YACE,QACA,CAAA,eVDI,CAAA,2BAIA,CAAA,uCULN,YVMQ,eUDN,CAAA,CAAA,gCACE,OACA,CAAA,WVNE,CAAA,0BAIA,CAAA,uCUAJ,gCVCM,ejBqzGR,CAAA,CAAA,sE4Bn0GE,iBAGF,CAAA,iBACE,kBCwBE,CAAA,wBACE,oBACA,CAAA,kBACA,CAAA,qBACA,CAAA,UArCJ,CAAA,qBACA,CAAA,mCACA,CAAA,eACA,CAAA,kCA0DE,CAAA,8BACE,aD9CN,CAAA,eAEE,yBACA,CAAA,6BACA,CAAA,yBACA,CAAA,8BACA,CAAA,6B9BuQI,CAAA,4B8BrQJ,CAAA,wCACA,CAAA,kCACA,CAAA,6DACA,CAAA,mDACA,CAAA,iDACA,CAAA,wFACA,CAAA,2DACA,CAAA,qCACA,CAAA,6CACA,CAAA,6CACA,CAAA,mDACA,CAAA,iDACA,CAAA,oCACA,CAAA,oCACA,CAAA,0DACA,CAAA,iCACA,CAAA,oCACA,CAAA,kCACA,CAAA,mCACA,CAAA,qCAGA,CAAA,iBACA,CAAA,iCACA,CAAA,YACA,CAAA,sCACA,CAAA,iEACA,CAAA,Q9B0OI,CAAA,sC8BxOJ,CAAA,8BACA,CAAA,eACA,CAAA,eACA,CAAA,sCACA,CAAA,2BACA,CAAA,4E1BzCE,CAAA,8C0B6CF,CAAA,+BACE,QACA,CAAA,MACA,CAAA,oCAwBA,CAAA,qBACE,mBAEA,CAAA,qCACE,UACA,CAAA,MAIJ,CAAA,mBACE,iBAEA,CAAA,mCACE,OACA,CAAA,SnB1CJ,CAAA,yBmB4BA,wBACE,mBAEA,CAAA,wCACE,UACA,CAAA,MAIJ,CAAA,sBACE,iBAEA,CAAA,sCACE,OACA,CAAA,SnB1CJ,CAAA,CAAA,yBmB4BA,wBACE,mBAEA,CAAA,wCACE,UACA,CAAA,MAIJ,CAAA,sBACE,iBAEA,CAAA,sCACE,OACA,CAAA,SnB1CJ,CAAA,CAAA,yBmB4BA,wBACE,mBAEA,CAAA,wCACE,UACA,CAAA,MAIJ,CAAA,sBACE,iBAEA,CAAA,sCACE,OACA,CAAA,SnB1CJ,CAAA,CAAA,0BmB4BA,wBACE,mBAEA,CAAA,wCACE,UACA,CAAA,MAIJ,CAAA,sBACE,iBAEA,CAAA,sCACE,OACA,CAAA,SnB1CJ,CAAA,CAAA,0BmB4BA,yBACE,mBAEA,CAAA,yCACE,UACA,CAAA,MAIJ,CAAA,uBACE,iBAEA,CAAA,uCACE,OACA,CAAA,SAUN,CAAA,CAAA,uCACE,QACA,CAAA,WACA,CAAA,YACA,CAAA,uCCpFA,CAAA,gCACE,oBACA,CAAA,kBACA,CAAA,qBACA,CAAA,UA9BJ,CAAA,YACA,CAAA,mCACA,CAAA,wBACA,CAAA,kCAmDE,CAAA,sCACE,aDgEJ,CAAA,wCACE,KACA,CAAA,UACA,CAAA,SACA,CAAA,YACA,CAAA,qCClGA,CAAA,iCACE,oBACA,CAAA,kBACA,CAAA,qBACA,CAAA,UAvBJ,CAAA,iCACA,CAAA,cACA,CAAA,oCACA,CAAA,sBA4CE,CAAA,uCACE,aD0EF,CAAA,iCACE,gBAMJ,CAAA,0CACE,KACA,CAAA,UACA,CAAA,SACA,CAAA,YACA,CAAA,sCCnHA,CAAA,mCACE,oBACA,CAAA,kBACA,CAAA,qBACA,CAAA,UAWA,CAAA,mCACE,YAGF,CAAA,oCACE,oBACA,CAAA,mBACA,CAAA,qBACA,CAAA,UAnCN,CAAA,iCACA,CAAA,uBACA,CAAA,oCAsCE,CAAA,yCACE,aD2FF,CAAA,oCACE,gBAON,CAAA,kBACE,QACA,CAAA,4CACA,CAAA,eACA,CAAA,kDACA,CAAA,SAMF,CAAA,eACE,aACA,CAAA,UACA,CAAA,2EACA,CAAA,UACA,CAAA,eACA,CAAA,mCACA,CAAA,kBACA,CAAA,oBACA,CAAA,kBACA,CAAA,4BACA,CAAA,Q1BtKE,CAAA,qD0ByKF,CAAA,0CAEE,yCV1LF,CAAA,iDU+LA,CAAA,4CAEE,0CACA,CAAA,oBVlMF,CAAA,kDUsMA,CAAA,gDAEE,4CACA,CAAA,mBACA,CAAA,4BAMJ,CAAA,oBACE,aAIF,CAAA,iBACE,aACA,CAAA,+EACA,CAAA,e9BmEI,CAAA,iB8BjEJ,CAAA,qCACA,CAAA,kBAIF,CAAA,oBACE,aACA,CAAA,2EACA,CAAA,mCAIF,CAAA,oBAEE,2BACA,CAAA,wBACA,CAAA,6DACA,CAAA,0BACA,CAAA,gCACA,CAAA,mCACA,CAAA,2DACA,CAAA,qDACA,CAAA,oCACA,CAAA,oCACA,CAAA,yCACA,CAAA,kCEtPF,CAAA,+BAEE,iBACA,CAAA,mBACA,CAAA,qB9BuoHF,CAAA,yC8BpoHI,iBACA,CAAA,a9B6oHJ,CAAA,kX8BloHI,SAKJ,CAAA,aACE,YACA,CAAA,cACA,CAAA,0BAEA,CAAA,0BACE,UAIJ,CAAA,W5BhBI,qCFypHJ,CAAA,qF8BnoHI,6C9BwoHJ,CAAA,qJE9oHI,yBACA,CAAA,4BFmpHJ,CAAA,6GEtoHI,wBACA,CAAA,2B4BwBJ,CAAA,uBACE,sBACA,CAAA,qBAEA,CAAA,2GAGE,aAGF,CAAA,0CACE,cAIJ,CAAA,yEACE,qBACA,CAAA,oBAGF,CAAA,yEACE,oBACA,CAAA,mBAoBF,CAAA,oBACE,qBACA,CAAA,sBACA,CAAA,sBAEA,CAAA,wDAEE,U9BgmHJ,CAAA,4F8B3lHI,4C9B+lHJ,CAAA,qHErrHI,4BACA,CAAA,2BFyrHJ,CAAA,oFExsHI,wBACA,CAAA,yB6BxBJ,CAAA,KAEE,4BACA,CAAA,8BAEA,CAAA,2BACA,CAAA,wCACA,CAAA,oDACA,CAAA,sDAGA,CAAA,YACA,CAAA,cACA,CAAA,cACA,CAAA,eACA,CAAA,eAGF,CAAA,UACE,aACA,CAAA,iEjCsQI,CAAA,sCiCpQJ,CAAA,0CACA,CAAA,8BACA,CAAA,oBACA,CAAA,cACA,CAAA,QdfI,CAAA,iGAIA,CAAA,uCcGN,UdFQ,ecaN,CAAA,CAAA,gCAEE,oCAIF,CAAA,wBACE,SACA,CAAA,4CAIF,CAAA,sCAEE,uCACA,CAAA,mBACA,CAAA,cAQJ,CAAA,UAEE,iDACA,CAAA,iDACA,CAAA,mDACA,CAAA,0GACA,CAAA,wDACA,CAAA,8CACA,CAAA,sGAGA,CAAA,mFAEA,CAAA,oBACE,wDACA,CAAA,wD7B7CA,CAAA,uDACA,CAAA,wD6B+CA,CAAA,oDAGE,iBACA,CAAA,uD/BytHN,CAAA,8D+BntHI,0CACA,CAAA,kDACA,CAAA,wDAGF,CAAA,yBAEE,qD7BjEA,CAAA,wBACA,CAAA,yB6B2EJ,CAAA,WAEE,oDACA,CAAA,qCACA,CAAA,qCAGA,CAAA,qB7B5FE,+C6BgGF,CAAA,uDAEE,2CbjHF,CAAA,mDa2HF,CAAA,eAEE,2BACA,CAAA,wCACA,CAAA,6DAGA,CAAA,+BAEA,CAAA,yBACE,eACA,CAAA,cACA,CAAA,oEAEA,CAAA,8DAEE,gCAIJ,CAAA,+DAEE,eACA,CAAA,+CACA,CAAA,gC/BisHJ,CAAA,wC+BrrHI,aACA,CAAA,iB/B0rHJ,CAAA,kD+BnrHI,YACA,CAAA,WACA,CAAA,iBAMF,CAAA,iEACE,UAUF,CAAA,uBACE,YAEF,CAAA,qBACE,aC7LJ,CAAA,QAEE,uBACA,CAAA,4BACA,CAAA,0DACA,CAAA,+DACA,CAAA,kEACA,CAAA,8DACA,CAAA,qCACA,CAAA,iCACA,CAAA,mCACA,CAAA,6DACA,CAAA,mEACA,CAAA,qCACA,CAAA,qCACA,CAAA,qCACA,CAAA,qCACA,CAAA,oEACA,CAAA,yEACA,CAAA,yDACA,CAAA,uCACA,CAAA,2DAGA,CAAA,iBACA,CAAA,YACA,CAAA,cACA,CAAA,kBACA,CAAA,6BACA,CAAA,6DAMA,CAAA,2JACE,YACA,CAAA,iBACA,CAAA,kBACA,CAAA,6BAoBJ,CAAA,cACE,4CACA,CAAA,+CACA,CAAA,8ClC4NI,CAAA,0CkC1NJ,CAAA,kCACA,CAAA,oBACA,CAAA,kBAEA,CAAA,wCAEE,wCAUJ,CAAA,YAEE,yBACA,CAAA,8BAEA,CAAA,2BACA,CAAA,0CACA,CAAA,sDACA,CAAA,4DAGA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,eACA,CAAA,eAGE,CAAA,wDAEE,mCAIJ,CAAA,2BACE,eASJ,CAAA,aACE,iBACA,CAAA,oBACA,CAAA,4BAEA,CAAA,yDAGE,mCAaJ,CAAA,iBACE,eACA,CAAA,WAGA,CAAA,kBAIF,CAAA,gBACE,6ElCyII,CAAA,4CkCvIJ,CAAA,aACA,CAAA,4BACA,CAAA,4BACA,CAAA,yE9BxIE,CAAA,oDeHE,CAAA,8CAIA,CAAA,uCeiIN,gBfhIQ,ee0IN,CAAA,CAAA,sBACE,oBAGF,CAAA,sBACE,oBACA,CAAA,SACA,CAAA,qDAMJ,CAAA,qBACE,oBACA,CAAA,WACA,CAAA,YACA,CAAA,qBACA,CAAA,iDACA,CAAA,2BACA,CAAA,0BACA,CAAA,oBAGF,CAAA,mBACE,uCACA,CAAA,evB1HE,CAAA,yBuBsIA,kBAEI,gBACA,CAAA,0BAEA,CAAA,8BACE,kBAEA,CAAA,6CACE,iBAGF,CAAA,wCACE,iDACA,CAAA,gDAIJ,CAAA,qCACE,gBAGF,CAAA,mCACE,sBACA,CAAA,eAGF,CAAA,kCACE,YAGF,CAAA,6BAEE,eACA,CAAA,YACA,CAAA,WACA,CAAA,oBACA,CAAA,qBACA,CAAA,4BACA,CAAA,sCACA,CAAA,kBACA,CAAA,wBf9NJ,CAAA,eemOI,CAAA,+CACE,YAGF,CAAA,6CACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBvB5LR,CAAA,CAAA,yBuBsIA,kBAEI,gBACA,CAAA,0BAEA,CAAA,8BACE,kBAEA,CAAA,6CACE,iBAGF,CAAA,wCACE,iDACA,CAAA,gDAIJ,CAAA,qCACE,gBAGF,CAAA,mCACE,sBACA,CAAA,eAGF,CAAA,kCACE,YAGF,CAAA,6BAEE,eACA,CAAA,YACA,CAAA,WACA,CAAA,oBACA,CAAA,qBACA,CAAA,4BACA,CAAA,sCACA,CAAA,kBACA,CAAA,wBf9NJ,CAAA,eemOI,CAAA,+CACE,YAGF,CAAA,6CACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBvB5LR,CAAA,CAAA,yBuBsIA,kBAEI,gBACA,CAAA,0BAEA,CAAA,8BACE,kBAEA,CAAA,6CACE,iBAGF,CAAA,wCACE,iDACA,CAAA,gDAIJ,CAAA,qCACE,gBAGF,CAAA,mCACE,sBACA,CAAA,eAGF,CAAA,kCACE,YAGF,CAAA,6BAEE,eACA,CAAA,YACA,CAAA,WACA,CAAA,oBACA,CAAA,qBACA,CAAA,4BACA,CAAA,sCACA,CAAA,kBACA,CAAA,wBf9NJ,CAAA,eemOI,CAAA,+CACE,YAGF,CAAA,6CACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBvB5LR,CAAA,CAAA,0BuBsIA,kBAEI,gBACA,CAAA,0BAEA,CAAA,8BACE,kBAEA,CAAA,6CACE,iBAGF,CAAA,wCACE,iDACA,CAAA,gDAIJ,CAAA,qCACE,gBAGF,CAAA,mCACE,sBACA,CAAA,eAGF,CAAA,kCACE,YAGF,CAAA,6BAEE,eACA,CAAA,YACA,CAAA,WACA,CAAA,oBACA,CAAA,qBACA,CAAA,4BACA,CAAA,sCACA,CAAA,kBACA,CAAA,wBf9NJ,CAAA,eemOI,CAAA,+CACE,YAGF,CAAA,6CACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBvB5LR,CAAA,CAAA,0BuBsIA,mBAEI,gBACA,CAAA,0BAEA,CAAA,+BACE,kBAEA,CAAA,8CACE,iBAGF,CAAA,yCACE,iDACA,CAAA,gDAIJ,CAAA,sCACE,gBAGF,CAAA,oCACE,sBACA,CAAA,eAGF,CAAA,mCACE,YAGF,CAAA,8BAEE,eACA,CAAA,YACA,CAAA,WACA,CAAA,oBACA,CAAA,qBACA,CAAA,4BACA,CAAA,sCACA,CAAA,kBACA,CAAA,wBf9NJ,CAAA,eemOI,CAAA,gDACE,YAGF,CAAA,8CACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAtDR,CAAA,CAAA,eAEI,gBACA,CAAA,0BAEA,CAAA,2BACE,kBAEA,CAAA,0CACE,iBAGF,CAAA,qCACE,iDACA,CAAA,gDAIJ,CAAA,kCACE,gBAGF,CAAA,gCACE,sBACA,CAAA,eAGF,CAAA,+BACE,YAGF,CAAA,0BAEE,eACA,CAAA,YACA,CAAA,WACA,CAAA,oBACA,CAAA,qBACA,CAAA,4BACA,CAAA,sCACA,CAAA,kBACA,CAAA,wBf9NJ,CAAA,eemOI,CAAA,4CACE,YAGF,CAAA,0CACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAiBZ,CAAA,yCAGE,2CACA,CAAA,iDACA,CAAA,oDACA,CAAA,6BACA,CAAA,4BACA,CAAA,kCACA,CAAA,yDACA,CAAA,oEAME,CAAA,0CACE,oECzRN,CAAA,MAEE,uBACA,CAAA,uBACA,CAAA,+BACA,CAAA,uBACA,CAAA,0BACA,CAAA,6CACA,CAAA,yDACA,CAAA,+CACA,CAAA,sBACA,CAAA,sFACA,CAAA,8BACA,CAAA,4BACA,CAAA,qDACA,CAAA,qBACA,CAAA,kBACA,CAAA,iBACA,CAAA,8BACA,CAAA,kCACA,CAAA,8BAGA,CAAA,iBACA,CAAA,YACA,CAAA,qBACA,CAAA,WACA,CAAA,4BACA,CAAA,0BACA,CAAA,oBACA,CAAA,kCACA,CAAA,0BACA,CAAA,oE/BjBE,CAAA,0C+BqBF,CAAA,SACE,cACA,CAAA,aAGF,CAAA,kBACE,kBACA,CAAA,qBAEA,CAAA,8BACE,kB/BtBF,CAAA,yDACA,CAAA,0D+ByBA,CAAA,6BACE,qB/BbF,CAAA,6DACA,CAAA,4D+BmBF,CAAA,8DAEE,YAIJ,CAAA,WAGE,aACA,CAAA,uDACA,CAAA,0BAGF,CAAA,YACE,2CACA,CAAA,gCAGF,CAAA,eACE,oDACA,CAAA,eACA,CAAA,mCAGF,CAAA,sBACE,eAQA,CAAA,sBACE,mCAQJ,CAAA,aACE,iEACA,CAAA,eACA,CAAA,8BACA,CAAA,sCACA,CAAA,2EAEA,CAAA,yB/B7FE,uF+BkGJ,CAAA,aACE,iEACA,CAAA,8BACA,CAAA,sCACA,CAAA,wEAEA,CAAA,wB/BxGE,uF+BkHJ,CAAA,kBACE,qDACA,CAAA,qDACA,CAAA,oDACA,CAAA,eAEA,CAAA,mCACE,kCACA,CAAA,qCAIJ,CAAA,mBACE,qDACA,CAAA,oDAIF,CAAA,kBACE,iBACA,CAAA,KACA,CAAA,OACA,CAAA,QACA,CAAA,MACA,CAAA,0C/B1IE,CAAA,gD+B8IJ,CAAA,yCAGE,UAGF,CAAA,wB/B3II,yDACA,CAAA,0D+B+IJ,CAAA,2B/BlII,6DACA,CAAA,4D+B8IF,CAAA,kBACE,yCxB3HA,CAAA,yBwBuHJ,YAQI,YACA,CAAA,kBAGA,CAAA,kBAEE,QACA,CAAA,eAEA,CAAA,wBACE,aACA,CAAA,aAKA,CAAA,mC/B3KJ,yBACA,CAAA,4BF65IF,CAAA,iGiC7uIU,yBjCivIV,CAAA,oGiC5uIU,4BAIJ,CAAA,oC/B5KJ,wBACA,CAAA,2BF25IF,CAAA,mGiC1uIU,wBjC8uIV,CAAA,sGiCzuIU,2BCpOZ,CAAA,CAAA,WAEE,yCACA,CAAA,mCACA,CAAA,yKACA,CAAA,kDACA,CAAA,kDACA,CAAA,oDACA,CAAA,2FACA,CAAA,oCACA,CAAA,iCACA,CAAA,6CACA,CAAA,4CACA,CAAA,gEACA,CAAA,qCACA,CAAA,iDACA,CAAA,6DACA,CAAA,uEACA,CAAA,0EACA,CAAA,qCACA,CAAA,kCACA,CAAA,2DACA,CAAA,oDAIF,CAAA,kBACE,iBACA,CAAA,YACA,CAAA,kBACA,CAAA,UACA,CAAA,2EpC4PI,CAAA,coC1PJ,CAAA,mCACA,CAAA,eACA,CAAA,2CACA,CAAA,QhCrBE,CAAA,egCuBF,CAAA,oBjB1BI,CAAA,yCAIA,CAAA,uCiBUN,kBjBTQ,eiBwBN,CAAA,CAAA,kCACE,sCACA,CAAA,8CACA,CAAA,iGAEA,CAAA,yCACE,oDACA,CAAA,gDAKJ,CAAA,yBACE,aACA,CAAA,wCACA,CAAA,yCACA,CAAA,gBACA,CAAA,UACA,CAAA,6CACA,CAAA,2BACA,CAAA,kDjBjDE,CAAA,kDAIA,CAAA,uCiBqCJ,yBjBpCM,eiBgDN,CAAA,CAAA,wBACE,SAGF,CAAA,wBACE,SACA,CAAA,SACA,CAAA,mDAIJ,CAAA,kBACE,eAGF,CAAA,gBACE,+BACA,CAAA,uCACA,CAAA,8EAEA,CAAA,8BhC7DE,wDACA,CAAA,yDgC+DA,CAAA,kEhChEA,8DACA,CAAA,+DgCoEF,CAAA,oCACE,YAIF,CAAA,6BhC5DE,4DACA,CAAA,2DgC+DE,CAAA,2EhChEF,kEACA,CAAA,iEgCoEA,CAAA,iDhCrEA,4DACA,CAAA,2DgC0EJ,CAAA,gBACE,6EASA,CAAA,iCACE,cACA,CAAA,ahC9GA,CAAA,egCiHA,CAAA,6CAAgB,YAChB,CAAA,4CAAe,eAIb,CAAA,oJhCtHF,egC6HA,CAAA,qDhC7HA,egCqIA,CAAA,8CACE,gEACA,CAAA,uEC1JN,CAAA,YAEE,2BACA,CAAA,2BACA,CAAA,kCAEA,CAAA,oBACA,CAAA,+BACA,CAAA,uDACA,CAAA,qCACA,CAAA,2DAGA,CAAA,YACA,CAAA,cACA,CAAA,qEACA,CAAA,gDrC+QI,CAAA,wCqC7QJ,CAAA,eACA,CAAA,wCjCAE,CAAA,gDiCMF,CAAA,kCACE,gDAEA,CAAA,0CACE,UACA,CAAA,iDACA,CAAA,wCACA,CAAA,yCAIJ,CAAA,wBACE,4CCrCJ,CAAA,YAEE,iCACA,CAAA,kCtC4RI,CAAA,8BsC1RJ,CAAA,0CACA,CAAA,oCACA,CAAA,mDACA,CAAA,mDACA,CAAA,qDACA,CAAA,sDACA,CAAA,8CACA,CAAA,yDACA,CAAA,sDACA,CAAA,+CACA,CAAA,uEACA,CAAA,iCACA,CAAA,iCACA,CAAA,2CACA,CAAA,wDACA,CAAA,kDACA,CAAA,4DAGA,CAAA,YhCpBA,CAAA,cACA,CAAA,egCuBF,CAAA,WACE,iBACA,CAAA,aACA,CAAA,qEtCgQI,CAAA,wCsC9PJ,CAAA,gCACA,CAAA,oBACA,CAAA,wCACA,CAAA,gFnBpBI,CAAA,6HAIA,CAAA,uCmBQN,WnBPQ,emBkBN,CAAA,CAAA,iBACE,SACA,CAAA,sCAEA,CAAA,8CACA,CAAA,oDAGF,CAAA,iBACE,SACA,CAAA,sCACA,CAAA,8CACA,CAAA,SACA,CAAA,gDAGF,CAAA,qCAEE,SACA,CAAA,uClBtDF,CAAA,+CkBwDE,CAAA,qDAGF,CAAA,yCAEE,yCACA,CAAA,mBACA,CAAA,iDACA,CAAA,uDAKF,CAAA,wCACE,6CAKE,CAAA,kClC9BF,yDACA,CAAA,4DkCmCE,CAAA,iClClDF,0DACA,CAAA,6DkCkEJ,CAAA,eClGE,gCACA,CAAA,iCvC0RI,CAAA,iCuCxRJ,CAAA,wDDmGF,CAAA,eCtGE,gCACA,CAAA,iCvC0RI,CAAA,kCuCxRJ,CAAA,wDCFF,CAAA,OAEE,2BACA,CAAA,2BxCuRI,CAAA,2BwCrRJ,CAAA,0BACA,CAAA,qBACA,CAAA,gDAGA,CAAA,oBACA,CAAA,2DxC+QI,CAAA,mCwC7QJ,CAAA,uCACA,CAAA,aACA,CAAA,2BACA,CAAA,iBACA,CAAA,kBACA,CAAA,uBpCJE,CAAA,2CoCSF,CAAA,aACE,YAKJ,CAAA,YACE,iBACA,CAAA,QChCF,CAAA,OAEE,yBACA,CAAA,yBACA,CAAA,yBACA,CAAA,6BACA,CAAA,wBACA,CAAA,mCACA,CAAA,2EACA,CAAA,gDACA,CAAA,6BAGA,CAAA,iBACA,CAAA,2DACA,CAAA,2CACA,CAAA,2BACA,CAAA,mCACA,CAAA,6BrCHE,CAAA,2CqCQJ,CAAA,eAEE,aAIF,CAAA,YACE,eACA,CAAA,gCAQF,CAAA,mBACE,kBAGA,CAAA,8BACE,iBACA,CAAA,KACA,CAAA,OACA,CAAA,SACA,CAAA,oBAQF,CAAA,eACE,gDACA,CAAA,yCACA,CAAA,uDACA,CAAA,qDAJF,CAAA,iBACE,kDACA,CAAA,2CACA,CAAA,yDACA,CAAA,uDAJF,CAAA,eACE,gDACA,CAAA,yCACA,CAAA,uDACA,CAAA,qDAJF,CAAA,YACE,6CACA,CAAA,sCACA,CAAA,oDACA,CAAA,kDAJF,CAAA,eACE,gDACA,CAAA,yCACA,CAAA,uDACA,CAAA,qDAJF,CAAA,cACE,+CACA,CAAA,wCACA,CAAA,sDACA,CAAA,oDAJF,CAAA,aACE,8CACA,CAAA,uCACA,CAAA,qDACA,CAAA,mDAJF,CAAA,YACE,6CACA,CAAA,sCACA,CAAA,oDACA,CAAA,kDC5DF,CAAA,gCACO,GAAA,0BAKT,CAAA,CAAA,4BAGE,yB1CkRI,CAAA,+B0ChRJ,CAAA,uCACA,CAAA,mDACA,CAAA,mDACA,CAAA,4BACA,CAAA,4BACA,CAAA,4CAGA,CAAA,YACA,CAAA,gCACA,CAAA,e1CsQI,CAAA,sC0CpQJ,CAAA,sCtCRE,CAAA,8CsCaJ,CAAA,cACE,YACA,CAAA,qBACA,CAAA,sBACA,CAAA,eACA,CAAA,kCACA,CAAA,iBACA,CAAA,kBACA,CAAA,0CvBxBI,CAAA,4CAIA,CAAA,uCuBYN,cvBXQ,euBuBR,CAAA,CAAA,sBtBAE,iLsBEA,CAAA,mEAGF,CAAA,4BACE,gBAGF,CAAA,0CACE,UAIA,CAAA,uBACE,iDAGE,CAAA,uCAJJ,uBAKM,cC3DR,CAAA,CAAA,YAEE,0CACA,CAAA,oCACA,CAAA,mDACA,CAAA,mDACA,CAAA,qDACA,CAAA,mCACA,CAAA,qCACA,CAAA,sDACA,CAAA,2DACA,CAAA,qDACA,CAAA,wDACA,CAAA,uDACA,CAAA,wDACA,CAAA,6CACA,CAAA,iCACA,CAAA,iCACA,CAAA,2CAGA,CAAA,YACA,CAAA,qBAGA,CAAA,cACA,CAAA,evCXE,CAAA,gDuCeJ,CAAA,qBACE,oBACA,CAAA,qBAEA,CAAA,8CAEE,mCACA,CAAA,yBASJ,CAAA,wBACE,UACA,CAAA,uCACA,CAAA,kBAGA,CAAA,4DAEE,SACA,CAAA,6CACA,CAAA,oBACA,CAAA,qDAGF,CAAA,+BACE,8CACA,CAAA,sDAQJ,CAAA,iBACE,iBACA,CAAA,aACA,CAAA,+EACA,CAAA,gCACA,CAAA,oBACA,CAAA,wCACA,CAAA,gFAEA,CAAA,6BvCvDE,8BACA,CAAA,+BuC0DF,CAAA,4BvC7CE,kCACA,CAAA,iCuCgDF,CAAA,oDAEE,yCACA,CAAA,mBACA,CAAA,iDAIF,CAAA,wBACE,SACA,CAAA,uCACA,CAAA,+CACA,CAAA,qDAIF,CAAA,kCACE,kBAEA,CAAA,yCACE,uDACA,CAAA,kDAaF,CAAA,uBACE,kBAGE,CAAA,qEvCvDJ,4DAZA,CAAA,yBuCwEI,CAAA,qEvCxEJ,0DAYA,CAAA,2BuCiEI,CAAA,+CACE,YAGF,CAAA,yDACE,kDACA,CAAA,mBAEA,CAAA,gEACE,wDACA,CAAA,mDhCtFR,CAAA,yBgC8DA,0BACE,kBAGE,CAAA,wEvCvDJ,4DAZA,CAAA,yBuCwEI,CAAA,wEvCxEJ,0DAYA,CAAA,2BuCiEI,CAAA,kDACE,YAGF,CAAA,4DACE,kDACA,CAAA,mBAEA,CAAA,mEACE,wDACA,CAAA,mDhCtFR,CAAA,CAAA,yBgC8DA,0BACE,kBAGE,CAAA,wEvCvDJ,4DAZA,CAAA,yBuCwEI,CAAA,wEvCxEJ,0DAYA,CAAA,2BuCiEI,CAAA,kDACE,YAGF,CAAA,4DACE,kDACA,CAAA,mBAEA,CAAA,mEACE,wDACA,CAAA,mDhCtFR,CAAA,CAAA,yBgC8DA,0BACE,kBAGE,CAAA,wEvCvDJ,4DAZA,CAAA,yBuCwEI,CAAA,wEvCxEJ,0DAYA,CAAA,2BuCiEI,CAAA,kDACE,YAGF,CAAA,4DACE,kDACA,CAAA,mBAEA,CAAA,mEACE,wDACA,CAAA,mDhCtFR,CAAA,CAAA,0BgC8DA,0BACE,kBAGE,CAAA,wEvCvDJ,4DAZA,CAAA,yBuCwEI,CAAA,wEvCxEJ,0DAYA,CAAA,2BuCiEI,CAAA,kDACE,YAGF,CAAA,4DACE,kDACA,CAAA,mBAEA,CAAA,mEACE,wDACA,CAAA,mDhCtFR,CAAA,CAAA,0BgC8DA,2BACE,kBAGE,CAAA,yEvCvDJ,4DAZA,CAAA,yBuCwEI,CAAA,yEvCxEJ,0DAYA,CAAA,2BuCiEI,CAAA,mDACE,YAGF,CAAA,6DACE,kDACA,CAAA,mBAEA,CAAA,oEACE,wDACA,CAAA,mDAcZ,CAAA,CAAA,kBvChJI,euCmJF,CAAA,mCACE,kDAEA,CAAA,8CACE,qBAaJ,CAAA,yBACE,qDACA,CAAA,8CACA,CAAA,4DACA,CAAA,2DACA,CAAA,+DACA,CAAA,4DACA,CAAA,gEACA,CAAA,wDACA,CAAA,yDACA,CAAA,mEAVF,CAAA,2BACE,uDACA,CAAA,gDACA,CAAA,8DACA,CAAA,2DACA,CAAA,iEACA,CAAA,4DACA,CAAA,kEACA,CAAA,0DACA,CAAA,2DACA,CAAA,qEAVF,CAAA,yBACE,qDACA,CAAA,8CACA,CAAA,4DACA,CAAA,2DACA,CAAA,+DACA,CAAA,4DACA,CAAA,gEACA,CAAA,wDACA,CAAA,yDACA,CAAA,mEAVF,CAAA,sBACE,kDACA,CAAA,2CACA,CAAA,yDACA,CAAA,2DACA,CAAA,4DACA,CAAA,4DACA,CAAA,6DACA,CAAA,qDACA,CAAA,sDACA,CAAA,gEAVF,CAAA,yBACE,qDACA,CAAA,8CACA,CAAA,4DACA,CAAA,2DACA,CAAA,+DACA,CAAA,4DACA,CAAA,gEACA,CAAA,wDACA,CAAA,yDACA,CAAA,mEAVF,CAAA,wBACE,oDACA,CAAA,6CACA,CAAA,2DACA,CAAA,2DACA,CAAA,8DACA,CAAA,4DACA,CAAA,+DACA,CAAA,uDACA,CAAA,wDACA,CAAA,kEAVF,CAAA,uBACE,mDACA,CAAA,4CACA,CAAA,0DACA,CAAA,2DACA,CAAA,6DACA,CAAA,4DACA,CAAA,8DACA,CAAA,sDACA,CAAA,uDACA,CAAA,iEAVF,CAAA,sBACE,kDACA,CAAA,2CACA,CAAA,yDACA,CAAA,2DACA,CAAA,4DACA,CAAA,4DACA,CAAA,6DACA,CAAA,qDACA,CAAA,sDACA,CAAA,gEC5LJ,CAAA,WAEE,yBACA,CAAA,0DACA,CAAA,0BACA,CAAA,iCACA,CAAA,kEACA,CAAA,8BACA,CAAA,oCACA,CAAA,sEAGA,CAAA,sBACA,CAAA,SACA,CAAA,UACA,CAAA,mBACA,CAAA,+BACA,CAAA,uEACA,CAAA,QxCJE,CAAA,qBwCMF,CAAA,mCAGA,CAAA,iBACE,+BACA,CAAA,oBACA,CAAA,yCAGF,CAAA,iBACE,SACA,CAAA,2CACA,CAAA,yCAGF,CAAA,wCAEE,mBACA,CAAA,wBAAA,CAAA,gBACA,CAAA,4CAQJ,CAAA,iBAHE,uCASE,CAAA,gCATF,uCCjDF,CAAA,OAEE,sBACA,CAAA,4BACA,CAAA,2BACA,CAAA,yBACA,CAAA,0B7CyRI,CAAA,6B6CvRJ,CAAA,kBACA,CAAA,+CACA,CAAA,8CACA,CAAA,0DACA,CAAA,gDACA,CAAA,0CACA,CAAA,iDACA,CAAA,sDACA,CAAA,iEAGA,CAAA,+BACA,CAAA,c7C2QI,CAAA,mC6CzQJ,CAAA,2BACA,CAAA,mBACA,CAAA,mCACA,CAAA,2BACA,CAAA,sEACA,CAAA,qCzCRE,CAAA,2CyCWF,CAAA,eACE,SAGF,CAAA,kBACE,YAIJ,CAAA,iBACE,sBAEA,CAAA,iBACA,CAAA,8BACA,CAAA,iBACA,CAAA,cACA,CAAA,mBAEA,CAAA,mCACE,qCAIJ,CAAA,cACE,YACA,CAAA,kBACA,CAAA,2DACA,CAAA,kCACA,CAAA,0CACA,CAAA,2BACA,CAAA,oFzChCE,CAAA,yFACA,CAAA,0FyCkCF,CAAA,yBACE,kDACA,CAAA,qCAIJ,CAAA,YACE,iCACA,CAAA,oBC9DF,CAAA,OAEE,sBACA,CAAA,sBACA,CAAA,uBACA,CAAA,wBACA,CAAA,kBACA,CAAA,+BACA,CAAA,0DACA,CAAA,8CACA,CAAA,mDACA,CAAA,6CACA,CAAA,0FACA,CAAA,gCACA,CAAA,gCACA,CAAA,mCACA,CAAA,qDACA,CAAA,qDACA,CAAA,gCACA,CAAA,4BACA,CAAA,sBACA,CAAA,qDACA,CAAA,qDAGA,CAAA,cACA,CAAA,KACA,CAAA,MACA,CAAA,8BACA,CAAA,YACA,CAAA,UACA,CAAA,WACA,CAAA,iBACA,CAAA,eAGA,CAAA,SAOF,CAAA,cACE,iBACA,CAAA,UACA,CAAA,6BAEA,CAAA,mBAGA,CAAA,0B3B5CI,iC2B8CF,CAAA,4B3B1CE,CAAA,uC2BwCJ,0B3BvCM,e2B2CN,CAAA,CAAA,0BACE,cAIF,CAAA,kCACE,qBAIJ,CAAA,yBACE,8CAEA,CAAA,wCACE,eACA,CAAA,eAGF,CAAA,qCACE,eAIJ,CAAA,uBACE,YACA,CAAA,kBACA,CAAA,kDAIF,CAAA,eACE,iBACA,CAAA,YACA,CAAA,qBACA,CAAA,UAEA,CAAA,2BACA,CAAA,mBACA,CAAA,mCACA,CAAA,2BACA,CAAA,sE1CrFE,CAAA,2C0CyFF,CAAA,SAIF,CAAA,gBAEE,yBACA,CAAA,qBACA,CAAA,yBClHA,CAAA,cACA,CAAA,KACA,CAAA,MACA,CAAA,iCACA,CAAA,WACA,CAAA,YACA,CAAA,sCAGA,CAAA,qBAAS,SACT,CAAA,qBAAS,kCDgHX,CAAA,cACE,YACA,CAAA,aACA,CAAA,kBACA,CAAA,sCACA,CAAA,2F1CrGE,CAAA,0DACA,CAAA,2D0CuGF,CAAA,yBACE,+FACA,CAAA,kJAKJ,CAAA,aACE,eACA,CAAA,6CAKF,CAAA,YACE,iBAGA,CAAA,aACA,CAAA,+BAIF,CAAA,cACE,YACA,CAAA,aACA,CAAA,cACA,CAAA,kBACA,CAAA,wBACA,CAAA,uEACA,CAAA,0CACA,CAAA,wF1CzHE,CAAA,8DACA,CAAA,6D0C8HF,CAAA,gBACE,4CnC3GA,CAAA,yBmCiHF,OACE,yBACA,CAAA,0CAIF,CAAA,cACE,+BACA,CAAA,iBACA,CAAA,gBAGF,CAAA,UACE,sBnC9HA,CAAA,CAAA,yBmCmIF,oBAEE,sBnCrIA,CAAA,CAAA,0BmC0IF,UACE,uBAUA,CAAA,CAAA,kBACE,WACA,CAAA,cACA,CAAA,WACA,CAAA,QAEA,CAAA,iCACE,WACA,CAAA,Q1CzMJ,CAAA,eFogLJ,CAAA,gEEpgLI,e0CkNE,CAAA,8BACE,enC1JJ,CAAA,4BmCwIA,0BACE,WACA,CAAA,cACA,CAAA,WACA,CAAA,QAEA,CAAA,yCACE,WACA,CAAA,Q1CzMJ,CAAA,eFwhLF,CAAA,gFExhLE,e0CkNE,CAAA,sCACE,enC1JJ,CAAA,CAAA,4BmCwIA,0BACE,WACA,CAAA,cACA,CAAA,WACA,CAAA,QAEA,CAAA,yCACE,WACA,CAAA,Q1CzMJ,CAAA,eF4iLF,CAAA,gFE5iLE,e0CkNE,CAAA,sCACE,enC1JJ,CAAA,CAAA,4BmCwIA,0BACE,WACA,CAAA,cACA,CAAA,WACA,CAAA,QAEA,CAAA,yCACE,WACA,CAAA,Q1CzMJ,CAAA,eFgkLF,CAAA,gFEhkLE,e0CkNE,CAAA,sCACE,enC1JJ,CAAA,CAAA,6BmCwIA,0BACE,WACA,CAAA,cACA,CAAA,WACA,CAAA,QAEA,CAAA,yCACE,WACA,CAAA,Q1CzMJ,CAAA,eFolLF,CAAA,gFEplLE,e0CkNE,CAAA,sCACE,enC1JJ,CAAA,CAAA,6BmCwIA,2BACE,WACA,CAAA,cACA,CAAA,WACA,CAAA,QAEA,CAAA,0CACE,WACA,CAAA,Q1CzMJ,CAAA,eFwmLF,CAAA,kFExmLE,e0CkNE,CAAA,uCACE,eErOR,CAAA,CAAA,SAEE,wBACA,CAAA,4BACA,CAAA,6BACA,CAAA,8BACA,CAAA,qBhDwRI,CAAA,+BgDtRJ,CAAA,oCACA,CAAA,wCACA,CAAA,kDACA,CAAA,wBACA,CAAA,+BACA,CAAA,gCAGA,CAAA,gCACA,CAAA,aACA,CAAA,+BClBA,CAAA,qCAEA,CAAA,iBACA,CAAA,eACA,CAAA,eACA,CAAA,eACA,CAAA,gBACA,CAAA,oBACA,CAAA,gBACA,CAAA,mBACA,CAAA,qBACA,CAAA,iBACA,CAAA,kBACA,CAAA,mBACA,CAAA,ejDgRI,CAAA,qCgDrQJ,CAAA,oBACA,CAAA,SAEA,CAAA,cAAS,iCAET,CAAA,wBACE,aACA,CAAA,mCACA,CAAA,qCAEA,CAAA,gCACE,iBACA,CAAA,UACA,CAAA,wBACA,CAAA,kBAKN,CAAA,2FACE,gDAEA,CAAA,2GACE,QACA,CAAA,sFACA,CAAA,qCAKJ,CAAA,6FACE,8CACA,CAAA,oCACA,CAAA,oCAEA,CAAA,6GACE,UACA,CAAA,+HACA,CAAA,uCAMJ,CAAA,iGACE,6CAEA,CAAA,iHACE,WACA,CAAA,sFACA,CAAA,wCAKJ,CAAA,8FACE,+CACA,CAAA,oCACA,CAAA,oCAEA,CAAA,8GACE,SACA,CAAA,+HACA,CAAA,sCAsBJ,CAAA,eACE,qCACA,CAAA,+DACA,CAAA,6BACA,CAAA,iBACA,CAAA,qC5CjGE,CAAA,6C8CnBJ,CAAA,SAEE,wBACA,CAAA,4BlD4RI,CAAA,+BkD1RJ,CAAA,iCACA,CAAA,gDACA,CAAA,4DACA,CAAA,qDACA,CAAA,0FACA,CAAA,4CACA,CAAA,kCACA,CAAA,oClDmRI,CAAA,kCkDjRJ,CAAA,iCACA,CAAA,6CACA,CAAA,gCACA,CAAA,gCACA,CAAA,4CACA,CAAA,6BACA,CAAA,gCACA,CAAA,wDAGA,CAAA,gCACA,CAAA,aACA,CAAA,qCDzBA,CAAA,qCAEA,CAAA,iBACA,CAAA,eACA,CAAA,eACA,CAAA,eACA,CAAA,gBACA,CAAA,oBACA,CAAA,gBACA,CAAA,mBACA,CAAA,qBACA,CAAA,iBACA,CAAA,kBACA,CAAA,mBACA,CAAA,ejDgRI,CAAA,qCkD/PJ,CAAA,oBACA,CAAA,qCACA,CAAA,2BACA,CAAA,0E9ChBE,CAAA,6C8CoBF,CAAA,wBACE,aACA,CAAA,mCACA,CAAA,qCAEA,CAAA,+DAEE,iBACA,CAAA,aACA,CAAA,UACA,CAAA,wBACA,CAAA,kBACA,CAAA,cAMJ,CAAA,2FACE,mFAEA,CAAA,oNAEE,sFAGF,CAAA,2GACE,QACA,CAAA,+CAGF,CAAA,yGACE,qCACA,CAAA,qCAOJ,CAAA,6FACE,iFACA,CAAA,oCACA,CAAA,oCAEA,CAAA,wNAEE,+HAGF,CAAA,6GACE,MACA,CAAA,iDAGF,CAAA,2GACE,mCACA,CAAA,uCAQJ,CAAA,iGACE,gFAEA,CAAA,gOAEE,sFAGF,CAAA,iHACE,KACA,CAAA,kDAGF,CAAA,+GACE,kCACA,CAAA,wCAKJ,CAAA,mHACE,iBACA,CAAA,KACA,CAAA,QACA,CAAA,aACA,CAAA,mCACA,CAAA,qDACA,CAAA,UACA,CAAA,8EAMF,CAAA,8FACE,kFACA,CAAA,oCACA,CAAA,oCAEA,CAAA,0NAEE,+HAGF,CAAA,8GACE,OACA,CAAA,gDAGF,CAAA,4GACE,oCACA,CAAA,sCAuBN,CAAA,gBACE,6EACA,CAAA,elD2GI,CAAA,4CkDzGJ,CAAA,oCACA,CAAA,4CACA,CAAA,iF9C5JE,CAAA,4DACA,CAAA,6D8C8JF,CAAA,sBACE,YAIJ,CAAA,cACE,yEACA,CAAA,kCCrLF,CAAA,UACE,iBAGF,CAAA,wBACE,kBAGF,CAAA,gBACE,iBACA,CAAA,UACA,CAAA,eCtBA,CAAA,uBACE,aACA,CAAA,UACA,CAAA,UDuBJ,CAAA,eACE,iBACA,CAAA,YACA,CAAA,UACA,CAAA,UACA,CAAA,kBACA,CAAA,0BhClBI,CAAA,oCAIA,CAAA,uCgCQN,ehCPQ,ejBm5LR,CAAA,CAAA,8DiD/3LE,ajDq4LF,CAAA,wEiDh4LE,0BjDq4LF,CAAA,wEiDh4LE,2BASA,CAAA,8BACE,SACA,CAAA,2BACA,CAAA,cjD83LJ,CAAA,iJiDx3LI,SACA,CAAA,SjD63LJ,CAAA,oFiDx3LI,SACA,CAAA,ShC5DE,CAAA,yBAIA,CAAA,uCjBs7LJ,oFiBr7LM,ejB27LR,CAAA,CAAA,8CiDx3LE,iBACA,CAAA,KACA,CAAA,QACA,CAAA,SAEA,CAAA,YACA,CAAA,kBACA,CAAA,sBACA,CAAA,SACA,CAAA,SACA,CAAA,UACA,CAAA,iBACA,CAAA,cACA,CAAA,QACA,CAAA,UhCtFI,CAAA,4BAIA,CAAA,uCjB+8LJ,8CiB98LM,ejBo9LR,CAAA,CAAA,oHiD73LI,UACA,CAAA,oBACA,CAAA,SACA,CAAA,UAGJ,CAAA,uBACE,MAGF,CAAA,uBACE,OjDk4LF,CAAA,wDiD33LE,oBACA,CAAA,UACA,CAAA,WACA,CAAA,2BACA,CAAA,uBACA,CAAA,yBAGF,CAAA,4BACE,yDAEF,CAAA,4BACE,yDAQF,CAAA,qBACE,iBACA,CAAA,OACA,CAAA,QACA,CAAA,MACA,CAAA,SACA,CAAA,YACA,CAAA,sBACA,CAAA,SAEA,CAAA,gBACA,CAAA,kBACA,CAAA,eAEA,CAAA,sCACE,sBACA,CAAA,aACA,CAAA,UACA,CAAA,UACA,CAAA,SACA,CAAA,gBACA,CAAA,eACA,CAAA,kBACA,CAAA,cACA,CAAA,qBACA,CAAA,2BACA,CAAA,QAEA,CAAA,iCACA,CAAA,oCACA,CAAA,UhChKE,CAAA,2BAIA,CAAA,uCgC4IJ,sChC3IM,egC+JN,CAAA,CAAA,6BACE,SASJ,CAAA,kBACE,iBACA,CAAA,SACA,CAAA,cACA,CAAA,QACA,CAAA,mBACA,CAAA,sBACA,CAAA,UACA,CAAA,iBjDw3LF,CAAA,sFiDh3LI,+BAGF,CAAA,qDACE,qBAGF,CAAA,iCACE,UjDm3LJ,CAAA,0OiD33LI,+BAGF,CAAA,yIACE,qBAGF,CAAA,iGACE,UjD+3LJ,CAAA,8BmD/kME,oBACA,CAAA,6BACA,CAAA,+BACA,CAAA,+CAEA,CAAA,iBACA,CAAA,4FAIF,CAAA,0BACO,GAAA,wBAIP,CAAA,CAAA,gBAEE,uBACA,CAAA,wBACA,CAAA,oCACA,CAAA,gCACA,CAAA,kCACA,CAAA,0CAGA,CAAA,wDACA,CAAA,8BAGF,CAAA,mBAEE,uBACA,CAAA,wBACA,CAAA,+BASF,CAAA,wBAEI,GAAA,kBAEF,CAAA,IACE,SACA,CAAA,cAKJ,CAAA,CAAA,cAEE,uBACA,CAAA,wBACA,CAAA,oCACA,CAAA,kCACA,CAAA,wCAGA,CAAA,6BACA,CAAA,SAGF,CAAA,iBACE,uBACA,CAAA,wBAIA,CAAA,uCACE,8BAEE,iCC/EN,CAAA,CAAA,kFAEE,0BACA,CAAA,0BACA,CAAA,0BACA,CAAA,6BACA,CAAA,6BACA,CAAA,yCACA,CAAA,mCACA,CAAA,kDACA,CAAA,8DACA,CAAA,iDACA,CAAA,oDACA,CAAA,oC3C6DE,CAAA,4B2C5CF,cAEI,cACA,CAAA,QACA,CAAA,kCACA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,+BACA,CAAA,iBACA,CAAA,uCACA,CAAA,2BACA,CAAA,SnC5BA,CAAA,yCAIA,CAAA,CAAA,gEmCYJ,cnCXM,eRuDJ,CAAA,CAAA,4B2C5BE,8BACE,KACA,CAAA,MACA,CAAA,+BACA,CAAA,oFACA,CAAA,2BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,+BACA,CAAA,mFACA,CAAA,0BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,qFACA,CAAA,2BAGF,CAAA,+BACE,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,kFACA,CAAA,0BAGF,CAAA,sDAEE,cAGF,CAAA,8DAGE,kB3C5BJ,CAAA,CAAA,yB2C/BF,cAiEM,0BACA,CAAA,6BACA,CAAA,sCAEA,CAAA,gCACE,YAGF,CAAA,8BACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAEA,CAAA,sC3CnCN,CAAA,CAAA,4B2C5CF,cAEI,cACA,CAAA,QACA,CAAA,kCACA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,+BACA,CAAA,iBACA,CAAA,uCACA,CAAA,2BACA,CAAA,SnC5BA,CAAA,yCAIA,CAAA,CAAA,gEmCYJ,cnCXM,eRuDJ,CAAA,CAAA,4B2C5BE,8BACE,KACA,CAAA,MACA,CAAA,+BACA,CAAA,oFACA,CAAA,2BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,+BACA,CAAA,mFACA,CAAA,0BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,qFACA,CAAA,2BAGF,CAAA,+BACE,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,kFACA,CAAA,0BAGF,CAAA,sDAEE,cAGF,CAAA,8DAGE,kB3C5BJ,CAAA,CAAA,yB2C/BF,cAiEM,0BACA,CAAA,6BACA,CAAA,sCAEA,CAAA,gCACE,YAGF,CAAA,8BACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAEA,CAAA,sC3CnCN,CAAA,CAAA,4B2C5CF,cAEI,cACA,CAAA,QACA,CAAA,kCACA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,+BACA,CAAA,iBACA,CAAA,uCACA,CAAA,2BACA,CAAA,SnC5BA,CAAA,yCAIA,CAAA,CAAA,gEmCYJ,cnCXM,eRuDJ,CAAA,CAAA,4B2C5BE,8BACE,KACA,CAAA,MACA,CAAA,+BACA,CAAA,oFACA,CAAA,2BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,+BACA,CAAA,mFACA,CAAA,0BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,qFACA,CAAA,2BAGF,CAAA,+BACE,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,kFACA,CAAA,0BAGF,CAAA,sDAEE,cAGF,CAAA,8DAGE,kB3C5BJ,CAAA,CAAA,yB2C/BF,cAiEM,0BACA,CAAA,6BACA,CAAA,sCAEA,CAAA,gCACE,YAGF,CAAA,8BACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAEA,CAAA,sC3CnCN,CAAA,CAAA,6B2C5CF,cAEI,cACA,CAAA,QACA,CAAA,kCACA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,+BACA,CAAA,iBACA,CAAA,uCACA,CAAA,2BACA,CAAA,SnC5BA,CAAA,yCAIA,CAAA,CAAA,iEmCYJ,cnCXM,eRuDJ,CAAA,CAAA,6B2C5BE,8BACE,KACA,CAAA,MACA,CAAA,+BACA,CAAA,oFACA,CAAA,2BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,+BACA,CAAA,mFACA,CAAA,0BAGF,CAAA,4BACE,KACA,CAAA,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,qFACA,CAAA,2BAGF,CAAA,+BACE,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,kFACA,CAAA,0BAGF,CAAA,sDAEE,cAGF,CAAA,8DAGE,kB3C5BJ,CAAA,CAAA,0B2C/BF,cAiEM,0BACA,CAAA,6BACA,CAAA,sCAEA,CAAA,gCACE,YAGF,CAAA,8BACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAEA,CAAA,sC3CnCN,CAAA,CAAA,6B2C5CF,eAEI,cACA,CAAA,QACA,CAAA,kCACA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,+BACA,CAAA,iBACA,CAAA,uCACA,CAAA,2BACA,CAAA,SnC5BA,CAAA,yCAIA,CAAA,CAAA,iEmCYJ,enCXM,eRuDJ,CAAA,CAAA,6B2C5BE,+BACE,KACA,CAAA,MACA,CAAA,+BACA,CAAA,oFACA,CAAA,2BAGF,CAAA,6BACE,KACA,CAAA,OACA,CAAA,+BACA,CAAA,mFACA,CAAA,0BAGF,CAAA,6BACE,KACA,CAAA,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,qFACA,CAAA,2BAGF,CAAA,gCACE,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,kFACA,CAAA,0BAGF,CAAA,wDAEE,cAGF,CAAA,iEAGE,kB3C5BJ,CAAA,CAAA,0B2C/BF,eAiEM,0BACA,CAAA,6BACA,CAAA,sCAEA,CAAA,iCACE,YAGF,CAAA,+BACE,YACA,CAAA,WACA,CAAA,SACA,CAAA,kBAEA,CAAA,sCA/ER,CAAA,CAAA,WAEI,cACA,CAAA,QACA,CAAA,kCACA,CAAA,YACA,CAAA,qBACA,CAAA,cACA,CAAA,+BACA,CAAA,iBACA,CAAA,uCACA,CAAA,2BACA,CAAA,SnC5BA,CAAA,yCAIA,CAAA,uCmCYJ,WnCXM,emC2BF,CAAA,CAAA,2BACE,KACA,CAAA,MACA,CAAA,+BACA,CAAA,oFACA,CAAA,2BAGF,CAAA,yBACE,KACA,CAAA,OACA,CAAA,+BACA,CAAA,mFACA,CAAA,0BAGF,CAAA,yBACE,KACA,CAAA,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,qFACA,CAAA,2BAGF,CAAA,4BACE,OACA,CAAA,MACA,CAAA,iCACA,CAAA,eACA,CAAA,kFACA,CAAA,0BAGF,CAAA,gDAEE,cAGF,CAAA,qDAGE,kBA2BR,CAAA,oBPpHE,cACA,CAAA,KACA,CAAA,MACA,CAAA,YACA,CAAA,WACA,CAAA,YACA,CAAA,qBAGA,CAAA,yBAAS,SACT,CAAA,yBAAS,UO8GX,CAAA,kBACE,YACA,CAAA,kBACA,CAAA,mEAEA,CAAA,6BACE,yFACA,CAAA,yIAIJ,CAAA,iBACE,eACA,CAAA,iDAGF,CAAA,gBACE,WACA,CAAA,mEACA,CAAA,eC7IF,CAAA,aACE,oBACA,CAAA,cACA,CAAA,qBACA,CAAA,WACA,CAAA,6BACA,CAAA,UAEA,CAAA,yBACE,oBACA,CAAA,UAKJ,CAAA,gBACE,eAGF,CAAA,gBACE,eAGF,CAAA,gBACE,gBAKA,CAAA,+BACE,kDAIJ,CAAA,4BACE,IACE,UAIJ,CAAA,CAAA,kBACE,wEACA,CAAA,mBACA,CAAA,6CAGF,CAAA,4BACE,KACE,sBH9CF,CAAA,CAAA,iBACE,aACA,CAAA,UACA,CAAA,UIHF,CAAA,iBACE,oBACA,CAAA,6EAFF,CAAA,mBACE,oBACA,CAAA,+EAFF,CAAA,iBACE,oBACA,CAAA,6EAFF,CAAA,cACE,oBACA,CAAA,0EAFF,CAAA,iBACE,oBACA,CAAA,6EAFF,CAAA,gBACE,oBACA,CAAA,4EAFF,CAAA,eACE,oBACA,CAAA,2EAFF,CAAA,cACE,oBACA,CAAA,0ECFF,CAAA,cACE,oEACA,CAAA,8FAGE,CAAA,wCAGE,wDACA,CAAA,kFATN,CAAA,gBACE,sEACA,CAAA,gGAGE,CAAA,4CAGE,wDACA,CAAA,kFATN,CAAA,cACE,oEACA,CAAA,8FAGE,CAAA,wCAGE,wDACA,CAAA,kFATN,CAAA,WACE,iEACA,CAAA,2FAGE,CAAA,kCAGE,yDACA,CAAA,mFATN,CAAA,cACE,oEACA,CAAA,8FAGE,CAAA,wCAGE,yDACA,CAAA,mFATN,CAAA,aACE,mEACA,CAAA,6FAGE,CAAA,sCAGE,wDACA,CAAA,kFATN,CAAA,YACE,kEACA,CAAA,4FAGE,CAAA,oCAGE,0DACA,CAAA,oFATN,CAAA,WACE,iEACA,CAAA,2FAGE,CAAA,kCAGE,uDACA,CAAA,iFAOR,CAAA,oBACE,2EACA,CAAA,qGAGE,CAAA,oDAEE,6EACA,CAAA,wGC1BN,CAAA,kBACE,SAEA,CAAA,8ICHF,CAAA,WACE,mBACA,CAAA,WACA,CAAA,kBACA,CAAA,+EACA,CAAA,4BACA,CAAA,0BAEA,CAAA,eACE,aACA,CAAA,SACA,CAAA,UACA,CAAA,iBxCIE,CAAA,oCAIA,CAAA,uCwCZJ,exCaM,ewCDJ,CAAA,CAAA,8DACE,8DCnBN,CAAA,OACE,iBACA,CAAA,UAEA,CAAA,eACE,aACA,CAAA,kCACA,CAAA,UAGF,CAAA,SACE,iBACA,CAAA,KACA,CAAA,MACA,CAAA,UACA,CAAA,WAKF,CAAA,WACE,sBADF,CAAA,WACE,qBADF,CAAA,YACE,wBADF,CAAA,YACE,gCCrBJ,CAAA,WACE,cACA,CAAA,KACA,CAAA,OACA,CAAA,MACA,CAAA,YAGF,CAAA,cACE,cACA,CAAA,OACA,CAAA,QACA,CAAA,MACA,CAAA,YAQE,CAAA,YACE,eACA,CAAA,KACA,CAAA,YAGF,CAAA,eACE,eACA,CAAA,QACA,CAAA,YlD+BF,CAAA,yBkDxCA,eACE,eACA,CAAA,KACA,CAAA,YAGF,CAAA,kBACE,eACA,CAAA,QACA,CAAA,YlD+BF,CAAA,CAAA,yBkDxCA,eACE,eACA,CAAA,KACA,CAAA,YAGF,CAAA,kBACE,eACA,CAAA,QACA,CAAA,YlD+BF,CAAA,CAAA,yBkDxCA,eACE,eACA,CAAA,KACA,CAAA,YAGF,CAAA,kBACE,eACA,CAAA,QACA,CAAA,YlD+BF,CAAA,CAAA,0BkDxCA,eACE,eACA,CAAA,KACA,CAAA,YAGF,CAAA,kBACE,eACA,CAAA,QACA,CAAA,YlD+BF,CAAA,CAAA,0BkDxCA,gBACE,eACA,CAAA,KACA,CAAA,YAGF,CAAA,mBACE,eACA,CAAA,QACA,CAAA,YC/BN,CAAA,CAAA,QACE,YACA,CAAA,kBACA,CAAA,kBACA,CAAA,kBAGF,CAAA,QACE,YACA,CAAA,aACA,CAAA,qBACA,CAAA,kBCRF,CAAA,2ECIE,mBACA,CAAA,oBACA,CAAA,mBACA,CAAA,qBACA,CAAA,yBACA,CAAA,4BACA,CAAA,4BACA,CAAA,kB9Ds/NF,CAAA,qG8Dl/NI,2BCdF,CAAA,uBACE,iBACA,CAAA,KACA,CAAA,OACA,CAAA,QACA,CAAA,MACA,CAAA,SACA,CAAA,UCRJ,CAAA,eCAE,eACA,CAAA,sBACA,CAAA,kBCNF,CAAA,IACE,oBACA,CAAA,kBACA,CAAA,4BACA,CAAA,cACA,CAAA,6BACA,CAAA,WC4DM,CAAA,gBAOI,iCAPJ,CAAA,WAOI,4BAPJ,CAAA,cAOI,+BAPJ,CAAA,cAOI,+BAPJ,CAAA,mBAOI,oCAPJ,CAAA,gBAOI,iCAPJ,CAAA,aAOI,oBAPJ,CAAA,WAOI,qBAPJ,CAAA,YAOI,oBAPJ,CAAA,oBAOI,4BAPJ,CAAA,kBAOI,0BAPJ,CAAA,iBAOI,yBAPJ,CAAA,kBAOI,+BAPJ,CAAA,iBAOI,yBAPJ,CAAA,WAOI,mBAPJ,CAAA,YAOI,qBAPJ,CAAA,YAOI,oBAPJ,CAAA,YAOI,qBAPJ,CAAA,aAOI,mBAPJ,CAAA,eAOI,uBAPJ,CAAA,iBAOI,yBAPJ,CAAA,kBAOI,0BAPJ,CAAA,iBAOI,yBAPJ,CAAA,iBAOI,yBAPJ,CAAA,mBAOI,2BAPJ,CAAA,oBAOI,4BAPJ,CAAA,mBAOI,2BAPJ,CAAA,iBAOI,yBAPJ,CAAA,mBAOI,2BAPJ,CAAA,oBAOI,4BAPJ,CAAA,mBAOI,2BAPJ,CAAA,UAOI,wBAPJ,CAAA,gBAOI,8BAPJ,CAAA,SAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,eAOI,6BAPJ,CAAA,SAOI,uBAPJ,CAAA,aAOI,2BAPJ,CAAA,cAOI,4BAPJ,CAAA,QAOI,sBAPJ,CAAA,eAOI,6BAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,yCAPJ,CAAA,WAOI,4CAPJ,CAAA,WAOI,4CAPJ,CAAA,aAOI,yBAjBJ,CAAA,oBACE,+EADF,CAAA,sBACE,iFADF,CAAA,oBACE,+EADF,CAAA,iBACE,4EADF,CAAA,oBACE,+EADF,CAAA,mBACE,8EADF,CAAA,kBACE,6EADF,CAAA,iBACE,4EASF,CAAA,iBAOI,yBAPJ,CAAA,mBAOI,2BAPJ,CAAA,mBAOI,2BAPJ,CAAA,gBAOI,wBAPJ,CAAA,iBAOI,yBAPJ,CAAA,OAOI,eAPJ,CAAA,QAOI,iBAPJ,CAAA,SAOI,kBAPJ,CAAA,UAOI,kBAPJ,CAAA,WAOI,oBAPJ,CAAA,YAOI,qBAPJ,CAAA,SAOI,gBAPJ,CAAA,UAOI,kBAPJ,CAAA,WAOI,mBAPJ,CAAA,OAOI,iBAPJ,CAAA,QAOI,mBAPJ,CAAA,SAOI,oBAPJ,CAAA,kBAOI,wCAPJ,CAAA,oBAOI,oCAPJ,CAAA,oBAOI,oCAPJ,CAAA,QAOI,qFAPJ,CAAA,UAOI,kBAPJ,CAAA,YAOI,yFAPJ,CAAA,cAOI,sBAPJ,CAAA,YAOI,2FAPJ,CAAA,cAOI,wBAPJ,CAAA,eAOI,4FAPJ,CAAA,iBAOI,yBAPJ,CAAA,cAOI,0FAPJ,CAAA,gBAOI,uBAPJ,CAAA,gBAIQ,qBAGJ,CAAA,2EAPJ,CAAA,kBAIQ,qBAGJ,CAAA,6EAPJ,CAAA,gBAIQ,qBAGJ,CAAA,2EAPJ,CAAA,aAIQ,qBAGJ,CAAA,wEAPJ,CAAA,gBAIQ,qBAGJ,CAAA,2EAPJ,CAAA,eAIQ,qBAGJ,CAAA,0EAPJ,CAAA,cAIQ,qBAGJ,CAAA,yEAPJ,CAAA,aAIQ,qBAGJ,CAAA,wEAPJ,CAAA,cAIQ,qBAGJ,CAAA,yEAPJ,CAAA,cAIQ,qBAGJ,CAAA,yEAPJ,CAAA,uBAOI,sDAPJ,CAAA,yBAOI,wDAPJ,CAAA,uBAOI,sDAPJ,CAAA,oBAOI,mDAPJ,CAAA,uBAOI,sDAPJ,CAAA,sBAOI,qDAPJ,CAAA,qBAOI,oDAPJ,CAAA,oBAOI,mDAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,0BAjBJ,CAAA,mBACE,uBADF,CAAA,mBACE,wBADF,CAAA,mBACE,uBADF,CAAA,mBACE,wBADF,CAAA,oBACE,qBASF,CAAA,MAOI,mBAPJ,CAAA,MAOI,mBAPJ,CAAA,MAOI,mBAPJ,CAAA,OAOI,oBAPJ,CAAA,QAOI,oBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,qBAPJ,CAAA,YAOI,yBAPJ,CAAA,MAOI,oBAPJ,CAAA,MAOI,oBAPJ,CAAA,MAOI,oBAPJ,CAAA,OAOI,qBAPJ,CAAA,QAOI,qBAPJ,CAAA,QAOI,yBAPJ,CAAA,QAOI,sBAPJ,CAAA,YAOI,0BAPJ,CAAA,WAOI,uBAPJ,CAAA,UAOI,4BAPJ,CAAA,aAOI,+BAPJ,CAAA,kBAOI,oCAPJ,CAAA,qBAOI,uCAPJ,CAAA,aAOI,qBAPJ,CAAA,aAOI,qBAPJ,CAAA,eAOI,uBAPJ,CAAA,eAOI,uBAPJ,CAAA,WAOI,wBAPJ,CAAA,aAOI,0BAPJ,CAAA,mBAOI,gCAPJ,CAAA,uBAOI,oCAPJ,CAAA,qBAOI,kCAPJ,CAAA,wBAOI,gCAPJ,CAAA,yBAOI,uCAPJ,CAAA,wBAOI,sCAPJ,CAAA,wBAOI,sCAPJ,CAAA,mBAOI,gCAPJ,CAAA,iBAOI,8BAPJ,CAAA,oBAOI,4BAPJ,CAAA,sBAOI,8BAPJ,CAAA,qBAOI,6BAPJ,CAAA,qBAOI,kCAPJ,CAAA,mBAOI,gCAPJ,CAAA,sBAOI,8BAPJ,CAAA,uBAOI,qCAPJ,CAAA,sBAOI,oCAPJ,CAAA,uBAOI,+BAPJ,CAAA,iBAOI,yBAPJ,CAAA,kBAOI,+BAPJ,CAAA,gBAOI,6BAPJ,CAAA,mBAOI,2BAPJ,CAAA,qBAOI,6BAPJ,CAAA,oBAOI,4BAPJ,CAAA,aAOI,kBAPJ,CAAA,SAOI,iBAPJ,CAAA,SAOI,iBAPJ,CAAA,SAOI,iBAPJ,CAAA,SAOI,iBAPJ,CAAA,SAOI,iBAPJ,CAAA,SAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,KAOI,kBAPJ,CAAA,KAOI,uBAPJ,CAAA,KAOI,sBAPJ,CAAA,KAOI,qBAPJ,CAAA,KAOI,uBAPJ,CAAA,KAOI,qBAPJ,CAAA,QAOI,qBAPJ,CAAA,MAOI,wBAAA,CAAA,uBAPJ,CAAA,MAOI,6BAAA,CAAA,4BAPJ,CAAA,MAOI,4BAAA,CAAA,2BAPJ,CAAA,MAOI,2BAAA,CAAA,0BAPJ,CAAA,MAOI,6BAAA,CAAA,4BAPJ,CAAA,MAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,MAOI,sBAAA,CAAA,yBAPJ,CAAA,MAOI,2BAAA,CAAA,8BAPJ,CAAA,MAOI,0BAAA,CAAA,6BAPJ,CAAA,MAOI,yBAAA,CAAA,4BAPJ,CAAA,MAOI,2BAAA,CAAA,8BAPJ,CAAA,MAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,MAOI,sBAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,0BAPJ,CAAA,MAOI,yBAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,yBAPJ,CAAA,SAOI,yBAPJ,CAAA,MAOI,wBAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,2BAPJ,CAAA,SAOI,2BAPJ,CAAA,MAOI,yBAPJ,CAAA,MAOI,8BAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,8BAPJ,CAAA,MAOI,4BAPJ,CAAA,SAOI,4BAPJ,CAAA,MAOI,uBAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,0BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,0BAPJ,CAAA,SAOI,0BAPJ,CAAA,KAOI,mBAPJ,CAAA,KAOI,wBAPJ,CAAA,KAOI,uBAPJ,CAAA,KAOI,sBAPJ,CAAA,KAOI,wBAPJ,CAAA,KAOI,sBAPJ,CAAA,MAOI,yBAAA,CAAA,wBAPJ,CAAA,MAOI,8BAAA,CAAA,6BAPJ,CAAA,MAOI,6BAAA,CAAA,4BAPJ,CAAA,MAOI,4BAAA,CAAA,2BAPJ,CAAA,MAOI,8BAAA,CAAA,6BAPJ,CAAA,MAOI,4BAAA,CAAA,2BAPJ,CAAA,MAOI,uBAAA,CAAA,0BAPJ,CAAA,MAOI,4BAAA,CAAA,+BAPJ,CAAA,MAOI,2BAAA,CAAA,8BAPJ,CAAA,MAOI,0BAAA,CAAA,6BAPJ,CAAA,MAOI,4BAAA,CAAA,+BAPJ,CAAA,MAOI,0BAAA,CAAA,6BAPJ,CAAA,MAOI,uBAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,0BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,0BAPJ,CAAA,MAOI,yBAPJ,CAAA,MAOI,8BAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,8BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,0BAPJ,CAAA,MAOI,+BAPJ,CAAA,MAOI,8BAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,+BAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,wBAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,4BAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,6BAPJ,CAAA,MAOI,2BAPJ,CAAA,OAOI,eAPJ,CAAA,OAOI,oBAPJ,CAAA,OAOI,mBAPJ,CAAA,OAOI,kBAPJ,CAAA,OAOI,oBAPJ,CAAA,OAOI,kBAPJ,CAAA,WAOI,mBAPJ,CAAA,WAOI,wBAPJ,CAAA,WAOI,uBAPJ,CAAA,WAOI,sBAPJ,CAAA,WAOI,wBAPJ,CAAA,WAOI,sBAPJ,CAAA,cAOI,sBAPJ,CAAA,cAOI,2BAPJ,CAAA,cAOI,0BAPJ,CAAA,cAOI,yBAPJ,CAAA,cAOI,2BAPJ,CAAA,cAOI,yBAPJ,CAAA,gBAOI,8CAPJ,CAAA,MAOI,0CAPJ,CAAA,MAOI,yCAPJ,CAAA,MAOI,uCAPJ,CAAA,MAOI,yCAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,wBAPJ,CAAA,YAOI,2BAPJ,CAAA,YAOI,2BAPJ,CAAA,YAOI,6BAPJ,CAAA,UAOI,yBAPJ,CAAA,WAOI,yBAPJ,CAAA,WAOI,yBAPJ,CAAA,aAOI,yBAPJ,CAAA,SAOI,yBAPJ,CAAA,WAOI,4BAPJ,CAAA,MAOI,uBAPJ,CAAA,OAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,OAOI,uBAPJ,CAAA,YAOI,yBAPJ,CAAA,UAOI,0BAPJ,CAAA,aAOI,2BAPJ,CAAA,sBAOI,8BAPJ,CAAA,2BAOI,mCAPJ,CAAA,8BAOI,sCAPJ,CAAA,gBAOI,kCAPJ,CAAA,gBAOI,kCAPJ,CAAA,iBAOI,mCAPJ,CAAA,WAOI,4BAPJ,CAAA,aAOI,4BAPJ,CAAA,YAOI,8BAAA,CAAA,+BAPJ,CAAA,cAIQ,mBAGJ,CAAA,kEAPJ,CAAA,gBAIQ,mBAGJ,CAAA,oEAPJ,CAAA,cAIQ,mBAGJ,CAAA,kEAPJ,CAAA,WAIQ,mBAGJ,CAAA,+DAPJ,CAAA,cAIQ,mBAGJ,CAAA,kEAPJ,CAAA,aAIQ,mBAGJ,CAAA,iEAPJ,CAAA,YAIQ,mBAGJ,CAAA,gEAPJ,CAAA,WAIQ,mBAGJ,CAAA,+DAPJ,CAAA,YAIQ,mBAGJ,CAAA,gEAPJ,CAAA,YAIQ,mBAGJ,CAAA,gEAPJ,CAAA,WAIQ,mBAGJ,CAAA,qEAPJ,CAAA,YAIQ,mBAGJ,CAAA,yCAPJ,CAAA,eAIQ,mBAGJ,CAAA,8BAPJ,CAAA,eAIQ,mBAGJ,CAAA,oCAPJ,CAAA,qBAIQ,mBAGJ,CAAA,yCAPJ,CAAA,oBAIQ,mBAGJ,CAAA,wCAPJ,CAAA,oBAIQ,mBAGJ,CAAA,wCAPJ,CAAA,YAIQ,mBAGJ,CAAA,uBAjBJ,CAAA,iBACE,sBADF,CAAA,iBACE,qBADF,CAAA,iBACE,sBADF,CAAA,kBACE,mBASF,CAAA,uBAOI,+CAPJ,CAAA,yBAOI,iDAPJ,CAAA,uBAOI,+CAPJ,CAAA,oBAOI,4CAPJ,CAAA,uBAOI,+CAPJ,CAAA,sBAOI,8CAPJ,CAAA,qBAOI,6CAPJ,CAAA,oBAOI,4CAjBJ,CAAA,iBACE,qBAIA,CAAA,6BACE,qBANJ,CAAA,iBACE,sBAIA,CAAA,6BACE,sBANJ,CAAA,iBACE,qBAIA,CAAA,6BACE,qBANJ,CAAA,iBACE,sBAIA,CAAA,6BACE,sBANJ,CAAA,kBACE,mBAIA,CAAA,8BACE,mBAIJ,CAAA,eAOI,uCAKF,CAAA,2BAOI,uCAnBN,CAAA,eAOI,sCAKF,CAAA,2BAOI,sCAnBN,CAAA,eAOI,uCAKF,CAAA,2BAOI,uCAnBN,CAAA,wBAIQ,6BAGJ,CAAA,4FAPJ,CAAA,0BAIQ,6BAGJ,CAAA,8FAPJ,CAAA,wBAIQ,6BAGJ,CAAA,4FAPJ,CAAA,qBAIQ,6BAGJ,CAAA,yFAPJ,CAAA,wBAIQ,6BAGJ,CAAA,4FAPJ,CAAA,uBAIQ,6BAGJ,CAAA,2FAPJ,CAAA,sBAIQ,6BAGJ,CAAA,0FAPJ,CAAA,qBAIQ,6BAGJ,CAAA,yFAPJ,CAAA,gBAIQ,6BAGJ,CAAA,iGAjBJ,CAAA,0BACE,6BAIA,CAAA,sCACE,6BANJ,CAAA,2BACE,+BAIA,CAAA,uCACE,+BANJ,CAAA,2BACE,gCAIA,CAAA,uCACE,gCANJ,CAAA,2BACE,+BAIA,CAAA,uCACE,+BANJ,CAAA,2BACE,gCAIA,CAAA,uCACE,gCANJ,CAAA,4BACE,6BAIA,CAAA,wCACE,6BAIJ,CAAA,YAIQ,iBAGJ,CAAA,2EAPJ,CAAA,cAIQ,iBAGJ,CAAA,6EAPJ,CAAA,YAIQ,iBAGJ,CAAA,2EAPJ,CAAA,SAIQ,iBAGJ,CAAA,wEAPJ,CAAA,YAIQ,iBAGJ,CAAA,2EAPJ,CAAA,WAIQ,iBAGJ,CAAA,0EAPJ,CAAA,UAIQ,iBAGJ,CAAA,yEAPJ,CAAA,SAIQ,iBAGJ,CAAA,wEAPJ,CAAA,UAIQ,iBAGJ,CAAA,yEAPJ,CAAA,UAIQ,iBAGJ,CAAA,yEAPJ,CAAA,SAIQ,iBAGJ,CAAA,2EAPJ,CAAA,gBAIQ,iBAGJ,CAAA,sCAPJ,CAAA,mBAIQ,iBAGJ,CAAA,gFAPJ,CAAA,kBAIQ,iBAGJ,CAAA,+EAjBJ,CAAA,eACE,mBADF,CAAA,eACE,oBADF,CAAA,eACE,mBADF,CAAA,eACE,oBADF,CAAA,gBACE,iBASF,CAAA,mBAOI,sDAPJ,CAAA,qBAOI,wDAPJ,CAAA,mBAOI,sDAPJ,CAAA,gBAOI,mDAPJ,CAAA,mBAOI,sDAPJ,CAAA,kBAOI,qDAPJ,CAAA,iBAOI,oDAPJ,CAAA,gBAOI,mDAPJ,CAAA,aAOI,6CAPJ,CAAA,iBAOI,iCAAA,CAAA,yBAPJ,CAAA,kBAOI,kCAAA,CAAA,0BAPJ,CAAA,kBAOI,kCAAA,CAAA,0BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,+CAPJ,CAAA,WAOI,yBAPJ,CAAA,WAOI,kDAPJ,CAAA,WAOI,+CAPJ,CAAA,WAOI,kDAPJ,CAAA,WAOI,kDAPJ,CAAA,WAOI,mDAPJ,CAAA,gBAOI,2BAPJ,CAAA,cAOI,oDAPJ,CAAA,aAOI,wDAAA,CAAA,yDAPJ,CAAA,eAOI,kCAAA,CAAA,mCAPJ,CAAA,eAOI,2DAAA,CAAA,4DAPJ,CAAA,eAOI,wDAAA,CAAA,yDAPJ,CAAA,eAOI,2DAAA,CAAA,4DAPJ,CAAA,eAOI,2DAAA,CAAA,4DAPJ,CAAA,eAOI,4DAAA,CAAA,6DAPJ,CAAA,oBAOI,oCAAA,CAAA,qCAPJ,CAAA,kBAOI,6DAAA,CAAA,8DAPJ,CAAA,aAOI,yDAAA,CAAA,4DAPJ,CAAA,eAOI,mCAAA,CAAA,sCAPJ,CAAA,eAOI,4DAAA,CAAA,+DAPJ,CAAA,eAOI,yDAAA,CAAA,4DAPJ,CAAA,eAOI,4DAAA,CAAA,+DAPJ,CAAA,eAOI,4DAAA,CAAA,+DAPJ,CAAA,eAOI,6DAAA,CAAA,gEAPJ,CAAA,oBAOI,qCAAA,CAAA,wCAPJ,CAAA,kBAOI,8DAAA,CAAA,iEAPJ,CAAA,gBAOI,4DAAA,CAAA,2DAPJ,CAAA,kBAOI,sCAAA,CAAA,qCAPJ,CAAA,kBAOI,+DAAA,CAAA,8DAPJ,CAAA,kBAOI,4DAAA,CAAA,2DAPJ,CAAA,kBAOI,+DAAA,CAAA,8DAPJ,CAAA,kBAOI,+DAAA,CAAA,8DAPJ,CAAA,kBAOI,gEAAA,CAAA,+DAPJ,CAAA,uBAOI,wCAAA,CAAA,uCAPJ,CAAA,qBAOI,iEAAA,CAAA,gEAPJ,CAAA,eAOI,2DAAA,CAAA,wDAPJ,CAAA,iBAOI,qCAAA,CAAA,kCAPJ,CAAA,iBAOI,8DAAA,CAAA,2DAPJ,CAAA,iBAOI,2DAAA,CAAA,wDAPJ,CAAA,iBAOI,8DAAA,CAAA,2DAPJ,CAAA,iBAOI,8DAAA,CAAA,2DAPJ,CAAA,iBAOI,+DAAA,CAAA,4DAPJ,CAAA,sBAOI,uCAAA,CAAA,oCAPJ,CAAA,oBAOI,gEAAA,CAAA,6DAPJ,CAAA,SAOI,4BAPJ,CAAA,WAOI,2BAPJ,CAAA,MAOI,oBAPJ,CAAA,KAOI,mBAPJ,CAAA,KAOI,mBAPJ,CAAA,KAOI,mBAPJ,CAAA,KAOI,mB1DVR,CAAA,yB0DGI,gBAOI,oBAPJ,CAAA,cAOI,qBAPJ,CAAA,eAOI,oBAPJ,CAAA,uBAOI,4BAPJ,CAAA,qBAOI,0BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,aAOI,wBAPJ,CAAA,mBAOI,8BAPJ,CAAA,YAOI,uBAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,YAOI,uBAPJ,CAAA,gBAOI,2BAPJ,CAAA,iBAOI,4BAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,WAOI,sBAPJ,CAAA,cAOI,uBAPJ,CAAA,aAOI,4BAPJ,CAAA,gBAOI,+BAPJ,CAAA,qBAOI,oCAPJ,CAAA,wBAOI,uCAPJ,CAAA,gBAOI,qBAPJ,CAAA,gBAOI,qBAPJ,CAAA,kBAOI,uBAPJ,CAAA,kBAOI,uBAPJ,CAAA,cAOI,wBAPJ,CAAA,gBAOI,0BAPJ,CAAA,sBAOI,gCAPJ,CAAA,0BAOI,oCAPJ,CAAA,wBAOI,kCAPJ,CAAA,2BAOI,gCAPJ,CAAA,4BAOI,uCAPJ,CAAA,2BAOI,sCAPJ,CAAA,2BAOI,sCAPJ,CAAA,sBAOI,gCAPJ,CAAA,oBAOI,8BAPJ,CAAA,uBAOI,4BAPJ,CAAA,yBAOI,8BAPJ,CAAA,wBAOI,6BAPJ,CAAA,wBAOI,kCAPJ,CAAA,sBAOI,gCAPJ,CAAA,yBAOI,8BAPJ,CAAA,0BAOI,qCAPJ,CAAA,yBAOI,oCAPJ,CAAA,0BAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,mBAOI,6BAPJ,CAAA,sBAOI,2BAPJ,CAAA,wBAOI,6BAPJ,CAAA,uBAOI,4BAPJ,CAAA,gBAOI,kBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,eAOI,iBAPJ,CAAA,QAOI,kBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,qBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,qBAPJ,CAAA,WAOI,qBAPJ,CAAA,SAOI,wBAAA,CAAA,uBAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,YAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,sBAAA,CAAA,yBAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,YAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,sBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,YAOI,yBAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,YAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,YAOI,4BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,YAOI,0BAPJ,CAAA,QAOI,mBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,sBAPJ,CAAA,SAOI,yBAAA,CAAA,wBAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,uBAAA,CAAA,0BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,UAOI,eAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,mBAPJ,CAAA,UAOI,kBAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,kBAPJ,CAAA,cAOI,mBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,uBAPJ,CAAA,cAOI,sBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,sBAPJ,CAAA,iBAOI,sBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,0BAPJ,CAAA,iBAOI,yBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,yBAPJ,CAAA,eAOI,yBAPJ,CAAA,aAOI,0BAPJ,CAAA,gBAOI,2B1DVR,CAAA,CAAA,yB0DGI,gBAOI,oBAPJ,CAAA,cAOI,qBAPJ,CAAA,eAOI,oBAPJ,CAAA,uBAOI,4BAPJ,CAAA,qBAOI,0BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,aAOI,wBAPJ,CAAA,mBAOI,8BAPJ,CAAA,YAOI,uBAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,YAOI,uBAPJ,CAAA,gBAOI,2BAPJ,CAAA,iBAOI,4BAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,WAOI,sBAPJ,CAAA,cAOI,uBAPJ,CAAA,aAOI,4BAPJ,CAAA,gBAOI,+BAPJ,CAAA,qBAOI,oCAPJ,CAAA,wBAOI,uCAPJ,CAAA,gBAOI,qBAPJ,CAAA,gBAOI,qBAPJ,CAAA,kBAOI,uBAPJ,CAAA,kBAOI,uBAPJ,CAAA,cAOI,wBAPJ,CAAA,gBAOI,0BAPJ,CAAA,sBAOI,gCAPJ,CAAA,0BAOI,oCAPJ,CAAA,wBAOI,kCAPJ,CAAA,2BAOI,gCAPJ,CAAA,4BAOI,uCAPJ,CAAA,2BAOI,sCAPJ,CAAA,2BAOI,sCAPJ,CAAA,sBAOI,gCAPJ,CAAA,oBAOI,8BAPJ,CAAA,uBAOI,4BAPJ,CAAA,yBAOI,8BAPJ,CAAA,wBAOI,6BAPJ,CAAA,wBAOI,kCAPJ,CAAA,sBAOI,gCAPJ,CAAA,yBAOI,8BAPJ,CAAA,0BAOI,qCAPJ,CAAA,yBAOI,oCAPJ,CAAA,0BAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,mBAOI,6BAPJ,CAAA,sBAOI,2BAPJ,CAAA,wBAOI,6BAPJ,CAAA,uBAOI,4BAPJ,CAAA,gBAOI,kBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,eAOI,iBAPJ,CAAA,QAOI,kBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,qBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,qBAPJ,CAAA,WAOI,qBAPJ,CAAA,SAOI,wBAAA,CAAA,uBAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,YAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,sBAAA,CAAA,yBAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,YAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,sBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,YAOI,yBAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,YAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,YAOI,4BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,YAOI,0BAPJ,CAAA,QAOI,mBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,sBAPJ,CAAA,SAOI,yBAAA,CAAA,wBAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,uBAAA,CAAA,0BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,UAOI,eAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,mBAPJ,CAAA,UAOI,kBAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,kBAPJ,CAAA,cAOI,mBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,uBAPJ,CAAA,cAOI,sBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,sBAPJ,CAAA,iBAOI,sBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,0BAPJ,CAAA,iBAOI,yBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,yBAPJ,CAAA,eAOI,yBAPJ,CAAA,aAOI,0BAPJ,CAAA,gBAOI,2B1DVR,CAAA,CAAA,yB0DGI,gBAOI,oBAPJ,CAAA,cAOI,qBAPJ,CAAA,eAOI,oBAPJ,CAAA,uBAOI,4BAPJ,CAAA,qBAOI,0BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,aAOI,wBAPJ,CAAA,mBAOI,8BAPJ,CAAA,YAOI,uBAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,YAOI,uBAPJ,CAAA,gBAOI,2BAPJ,CAAA,iBAOI,4BAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,WAOI,sBAPJ,CAAA,cAOI,uBAPJ,CAAA,aAOI,4BAPJ,CAAA,gBAOI,+BAPJ,CAAA,qBAOI,oCAPJ,CAAA,wBAOI,uCAPJ,CAAA,gBAOI,qBAPJ,CAAA,gBAOI,qBAPJ,CAAA,kBAOI,uBAPJ,CAAA,kBAOI,uBAPJ,CAAA,cAOI,wBAPJ,CAAA,gBAOI,0BAPJ,CAAA,sBAOI,gCAPJ,CAAA,0BAOI,oCAPJ,CAAA,wBAOI,kCAPJ,CAAA,2BAOI,gCAPJ,CAAA,4BAOI,uCAPJ,CAAA,2BAOI,sCAPJ,CAAA,2BAOI,sCAPJ,CAAA,sBAOI,gCAPJ,CAAA,oBAOI,8BAPJ,CAAA,uBAOI,4BAPJ,CAAA,yBAOI,8BAPJ,CAAA,wBAOI,6BAPJ,CAAA,wBAOI,kCAPJ,CAAA,sBAOI,gCAPJ,CAAA,yBAOI,8BAPJ,CAAA,0BAOI,qCAPJ,CAAA,yBAOI,oCAPJ,CAAA,0BAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,mBAOI,6BAPJ,CAAA,sBAOI,2BAPJ,CAAA,wBAOI,6BAPJ,CAAA,uBAOI,4BAPJ,CAAA,gBAOI,kBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,eAOI,iBAPJ,CAAA,QAOI,kBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,qBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,qBAPJ,CAAA,WAOI,qBAPJ,CAAA,SAOI,wBAAA,CAAA,uBAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,YAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,sBAAA,CAAA,yBAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,YAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,sBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,YAOI,yBAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,YAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,YAOI,4BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,YAOI,0BAPJ,CAAA,QAOI,mBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,sBAPJ,CAAA,SAOI,yBAAA,CAAA,wBAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,uBAAA,CAAA,0BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,UAOI,eAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,mBAPJ,CAAA,UAOI,kBAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,kBAPJ,CAAA,cAOI,mBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,uBAPJ,CAAA,cAOI,sBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,sBAPJ,CAAA,iBAOI,sBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,0BAPJ,CAAA,iBAOI,yBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,yBAPJ,CAAA,eAOI,yBAPJ,CAAA,aAOI,0BAPJ,CAAA,gBAOI,2B1DVR,CAAA,CAAA,0B0DGI,gBAOI,oBAPJ,CAAA,cAOI,qBAPJ,CAAA,eAOI,oBAPJ,CAAA,uBAOI,4BAPJ,CAAA,qBAOI,0BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,aAOI,wBAPJ,CAAA,mBAOI,8BAPJ,CAAA,YAOI,uBAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,YAOI,uBAPJ,CAAA,gBAOI,2BAPJ,CAAA,iBAOI,4BAPJ,CAAA,WAOI,sBAPJ,CAAA,kBAOI,6BAPJ,CAAA,WAOI,sBAPJ,CAAA,cAOI,uBAPJ,CAAA,aAOI,4BAPJ,CAAA,gBAOI,+BAPJ,CAAA,qBAOI,oCAPJ,CAAA,wBAOI,uCAPJ,CAAA,gBAOI,qBAPJ,CAAA,gBAOI,qBAPJ,CAAA,kBAOI,uBAPJ,CAAA,kBAOI,uBAPJ,CAAA,cAOI,wBAPJ,CAAA,gBAOI,0BAPJ,CAAA,sBAOI,gCAPJ,CAAA,0BAOI,oCAPJ,CAAA,wBAOI,kCAPJ,CAAA,2BAOI,gCAPJ,CAAA,4BAOI,uCAPJ,CAAA,2BAOI,sCAPJ,CAAA,2BAOI,sCAPJ,CAAA,sBAOI,gCAPJ,CAAA,oBAOI,8BAPJ,CAAA,uBAOI,4BAPJ,CAAA,yBAOI,8BAPJ,CAAA,wBAOI,6BAPJ,CAAA,wBAOI,kCAPJ,CAAA,sBAOI,gCAPJ,CAAA,yBAOI,8BAPJ,CAAA,0BAOI,qCAPJ,CAAA,yBAOI,oCAPJ,CAAA,0BAOI,+BAPJ,CAAA,oBAOI,yBAPJ,CAAA,qBAOI,+BAPJ,CAAA,mBAOI,6BAPJ,CAAA,sBAOI,2BAPJ,CAAA,wBAOI,6BAPJ,CAAA,uBAOI,4BAPJ,CAAA,gBAOI,kBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,YAOI,iBAPJ,CAAA,eAOI,iBAPJ,CAAA,QAOI,kBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,qBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,qBAPJ,CAAA,WAOI,qBAPJ,CAAA,SAOI,wBAAA,CAAA,uBAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,0BAPJ,CAAA,YAOI,2BAAA,CAAA,0BAPJ,CAAA,SAOI,sBAAA,CAAA,yBAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,yBAAA,CAAA,4BAPJ,CAAA,YAOI,yBAAA,CAAA,4BAPJ,CAAA,SAOI,sBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,YAOI,yBAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,YAOI,2BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,YAOI,4BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,YAOI,0BAPJ,CAAA,QAOI,mBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,uBAPJ,CAAA,QAOI,sBAPJ,CAAA,QAOI,wBAPJ,CAAA,QAOI,sBAPJ,CAAA,SAOI,yBAAA,CAAA,wBAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,6BAAA,CAAA,4BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,8BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,2BAPJ,CAAA,SAOI,uBAAA,CAAA,0BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,2BAAA,CAAA,8BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,4BAAA,CAAA,+BAPJ,CAAA,SAOI,0BAAA,CAAA,6BAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,yBAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,0BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,8BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,+BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,4BAPJ,CAAA,SAOI,2BAPJ,CAAA,SAOI,6BAPJ,CAAA,SAOI,2BAPJ,CAAA,UAOI,eAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,mBAPJ,CAAA,UAOI,kBAPJ,CAAA,UAOI,oBAPJ,CAAA,UAOI,kBAPJ,CAAA,cAOI,mBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,uBAPJ,CAAA,cAOI,sBAPJ,CAAA,cAOI,wBAPJ,CAAA,cAOI,sBAPJ,CAAA,iBAOI,sBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,0BAPJ,CAAA,iBAOI,yBAPJ,CAAA,iBAOI,2BAPJ,CAAA,iBAOI,yBAPJ,CAAA,eAOI,yBAPJ,CAAA,aAOI,0BAPJ,CAAA,gBAOI,2B1DVR,CAAA,CAAA,0B0DGI,iBAOI,oBAPJ,CAAA,eAOI,qBAPJ,CAAA,gBAOI,oBAPJ,CAAA,wBAOI,4BAPJ,CAAA,sBAOI,0BAPJ,CAAA,qBAOI,yBAPJ,CAAA,sBAOI,+BAPJ,CAAA,qBAOI,yBAPJ,CAAA,cAOI,wBAPJ,CAAA,oBAOI,8BAPJ,CAAA,aAOI,uBAPJ,CAAA,YAOI,sBAPJ,CAAA,mBAOI,6BAPJ,CAAA,aAOI,uBAPJ,CAAA,iBAOI,2BAPJ,CAAA,kBAOI,4BAPJ,CAAA,YAOI,sBAPJ,CAAA,mBAOI,6BAPJ,CAAA,YAOI,sBAPJ,CAAA,eAOI,uBAPJ,CAAA,cAOI,4BAPJ,CAAA,iBAOI,+BAPJ,CAAA,sBAOI,oCAPJ,CAAA,yBAOI,uCAPJ,CAAA,iBAOI,qBAPJ,CAAA,iBAOI,qBAPJ,CAAA,mBAOI,uBAPJ,CAAA,mBAOI,uBAPJ,CAAA,eAOI,wBAPJ,CAAA,iBAOI,0BAPJ,CAAA,uBAOI,gCAPJ,CAAA,2BAOI,oCAPJ,CAAA,yBAOI,kCAPJ,CAAA,4BAOI,gCAPJ,CAAA,6BAOI,uCAPJ,CAAA,4BAOI,sCAPJ,CAAA,4BAOI,sCAPJ,CAAA,uBAOI,gCAPJ,CAAA,qBAOI,8BAPJ,CAAA,wBAOI,4BAPJ,CAAA,0BAOI,8BAPJ,CAAA,yBAOI,6BAPJ,CAAA,yBAOI,kCAPJ,CAAA,uBAOI,gCAPJ,CAAA,0BAOI,8BAPJ,CAAA,2BAOI,qCAPJ,CAAA,0BAOI,oCAPJ,CAAA,2BAOI,+BAPJ,CAAA,qBAOI,yBAPJ,CAAA,sBAOI,+BAPJ,CAAA,oBAOI,6BAPJ,CAAA,uBAOI,2BAPJ,CAAA,yBAOI,6BAPJ,CAAA,wBAOI,4BAPJ,CAAA,iBAOI,kBAPJ,CAAA,aAOI,iBAPJ,CAAA,aAOI,iBAPJ,CAAA,aAOI,iBAPJ,CAAA,aAOI,iBAPJ,CAAA,aAOI,iBAPJ,CAAA,aAOI,iBAPJ,CAAA,gBAOI,iBAPJ,CAAA,SAOI,kBAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,sBAPJ,CAAA,SAOI,qBAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,qBAPJ,CAAA,YAOI,qBAPJ,CAAA,UAOI,wBAAA,CAAA,uBAPJ,CAAA,UAOI,6BAAA,CAAA,4BAPJ,CAAA,UAOI,4BAAA,CAAA,2BAPJ,CAAA,UAOI,2BAAA,CAAA,0BAPJ,CAAA,UAOI,6BAAA,CAAA,4BAPJ,CAAA,UAOI,2BAAA,CAAA,0BAPJ,CAAA,aAOI,2BAAA,CAAA,0BAPJ,CAAA,UAOI,sBAAA,CAAA,yBAPJ,CAAA,UAOI,2BAAA,CAAA,8BAPJ,CAAA,UAOI,0BAAA,CAAA,6BAPJ,CAAA,UAOI,yBAAA,CAAA,4BAPJ,CAAA,UAOI,2BAAA,CAAA,8BAPJ,CAAA,UAOI,yBAAA,CAAA,4BAPJ,CAAA,aAOI,yBAAA,CAAA,4BAPJ,CAAA,UAOI,sBAPJ,CAAA,UAOI,2BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,yBAPJ,CAAA,UAOI,2BAPJ,CAAA,UAOI,yBAPJ,CAAA,aAOI,yBAPJ,CAAA,UAOI,wBAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,2BAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,2BAPJ,CAAA,aAOI,2BAPJ,CAAA,UAOI,yBAPJ,CAAA,UAOI,8BAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,8BAPJ,CAAA,UAOI,4BAPJ,CAAA,aAOI,4BAPJ,CAAA,UAOI,uBAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,2BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,0BAPJ,CAAA,aAOI,0BAPJ,CAAA,SAOI,mBAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,uBAPJ,CAAA,SAOI,sBAPJ,CAAA,SAOI,wBAPJ,CAAA,SAOI,sBAPJ,CAAA,UAOI,yBAAA,CAAA,wBAPJ,CAAA,UAOI,8BAAA,CAAA,6BAPJ,CAAA,UAOI,6BAAA,CAAA,4BAPJ,CAAA,UAOI,4BAAA,CAAA,2BAPJ,CAAA,UAOI,8BAAA,CAAA,6BAPJ,CAAA,UAOI,4BAAA,CAAA,2BAPJ,CAAA,UAOI,uBAAA,CAAA,0BAPJ,CAAA,UAOI,4BAAA,CAAA,+BAPJ,CAAA,UAOI,2BAAA,CAAA,8BAPJ,CAAA,UAOI,0BAAA,CAAA,6BAPJ,CAAA,UAOI,4BAAA,CAAA,+BAPJ,CAAA,UAOI,0BAAA,CAAA,6BAPJ,CAAA,UAOI,uBAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,2BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,yBAPJ,CAAA,UAOI,8BAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,8BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,0BAPJ,CAAA,UAOI,+BAPJ,CAAA,UAOI,8BAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,+BAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,wBAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,4BAPJ,CAAA,UAOI,2BAPJ,CAAA,UAOI,6BAPJ,CAAA,UAOI,2BAPJ,CAAA,WAOI,eAPJ,CAAA,WAOI,oBAPJ,CAAA,WAOI,mBAPJ,CAAA,WAOI,kBAPJ,CAAA,WAOI,oBAPJ,CAAA,WAOI,kBAPJ,CAAA,eAOI,mBAPJ,CAAA,eAOI,wBAPJ,CAAA,eAOI,uBAPJ,CAAA,eAOI,sBAPJ,CAAA,eAOI,wBAPJ,CAAA,eAOI,sBAPJ,CAAA,kBAOI,sBAPJ,CAAA,kBAOI,2BAPJ,CAAA,kBAOI,0BAPJ,CAAA,kBAOI,yBAPJ,CAAA,kBAOI,2BAPJ,CAAA,kBAOI,yBAPJ,CAAA,gBAOI,yBAPJ,CAAA,cAOI,0BAPJ,CAAA,iBAOI,2BCtDZ,CAAA,CAAA,0BD+CQ,MAOI,0BAPJ,CAAA,MAOI,wBAPJ,CAAA,MAOI,2BAPJ,CAAA,MAOI,0BCnCZ,CAAA,CAAA,aD4BQ,gBAOI,wBAPJ,CAAA,sBAOI,8BAPJ,CAAA,eAOI,uBAPJ,CAAA,cAOI,sBAPJ,CAAA,qBAOI,6BAPJ,CAAA,eAOI,uBAPJ,CAAA,mBAOI,2BAPJ,CAAA,oBAOI,4BAPJ,CAAA,cAOI,sBAPJ,CAAA,qBAOI,6BAPJ,CAAA,cAOI,sBAAA,CAAA","sourcesContent":["@charset \"UTF-8\";/*!\n * Bootstrap v5.3.3 (https://getbootstrap.com/)\n * Copyright 2011-2024 The Bootstrap Authors\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",\"Noto Sans\",\"Liberation Sans\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:\"— \"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size=\"1\"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e\")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:\"\";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:\"\";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.form-floating>.form-control:disabled~label::after,.form-floating>:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size=\"1\"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size=\"1\"]{--bs-form-select-bg-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size=\"1\"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size=\"1\"]{--bs-form-select-bg-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\"}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e\");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e\");--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:\"\";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\");--bs-accordion-btn-active-icon:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, \"/\")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, \".\") \". \";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e\");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:\"\";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:\"\";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:\"\"}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e\")}.carousel-control-next-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:\"\"}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:\"\"}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:\"\"}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:\"\"}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}\n","@mixin bsBanner($file) {\n /*!\n * Bootstrap #{$file} v5.3.3 (https://getbootstrap.com/)\n * Copyright 2011-2024 The Bootstrap Authors\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n}\n",":root,\n[data-bs-theme=\"light\"] {\n // Note: Custom variable values only support SassScript inside `#{}`.\n\n // Colors\n //\n // Generate palettes for full colors, grays, and theme colors.\n\n @each $color, $value in $colors {\n --#{$prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $grays {\n --#{$prefix}gray-#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors {\n --#{$prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors-rgb {\n --#{$prefix}#{$color}-rgb: #{$value};\n }\n\n @each $color, $value in $theme-colors-text {\n --#{$prefix}#{$color}-text-emphasis: #{$value};\n }\n\n @each $color, $value in $theme-colors-bg-subtle {\n --#{$prefix}#{$color}-bg-subtle: #{$value};\n }\n\n @each $color, $value in $theme-colors-border-subtle {\n --#{$prefix}#{$color}-border-subtle: #{$value};\n }\n\n --#{$prefix}white-rgb: #{to-rgb($white)};\n --#{$prefix}black-rgb: #{to-rgb($black)};\n\n // Fonts\n\n // Note: Use `inspect` for lists so that quoted items keep the quotes.\n // See https://github.com/sass/sass/issues/2383#issuecomment-336349172\n --#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};\n --#{$prefix}font-monospace: #{inspect($font-family-monospace)};\n --#{$prefix}gradient: #{$gradient};\n\n // Root and body\n // scss-docs-start root-body-variables\n @if $font-size-root != null {\n --#{$prefix}root-font-size: #{$font-size-root};\n }\n --#{$prefix}body-font-family: #{inspect($font-family-base)};\n @include rfs($font-size-base, --#{$prefix}body-font-size);\n --#{$prefix}body-font-weight: #{$font-weight-base};\n --#{$prefix}body-line-height: #{$line-height-base};\n @if $body-text-align != null {\n --#{$prefix}body-text-align: #{$body-text-align};\n }\n\n --#{$prefix}body-color: #{$body-color};\n --#{$prefix}body-color-rgb: #{to-rgb($body-color)};\n --#{$prefix}body-bg: #{$body-bg};\n --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};\n\n --#{$prefix}emphasis-color: #{$body-emphasis-color};\n --#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color)};\n\n --#{$prefix}secondary-color: #{$body-secondary-color};\n --#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color)};\n --#{$prefix}secondary-bg: #{$body-secondary-bg};\n --#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg)};\n\n --#{$prefix}tertiary-color: #{$body-tertiary-color};\n --#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color)};\n --#{$prefix}tertiary-bg: #{$body-tertiary-bg};\n --#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};\n // scss-docs-end root-body-variables\n\n --#{$prefix}heading-color: #{$headings-color};\n\n --#{$prefix}link-color: #{$link-color};\n --#{$prefix}link-color-rgb: #{to-rgb($link-color)};\n --#{$prefix}link-decoration: #{$link-decoration};\n\n --#{$prefix}link-hover-color: #{$link-hover-color};\n --#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color)};\n\n @if $link-hover-decoration != null {\n --#{$prefix}link-hover-decoration: #{$link-hover-decoration};\n }\n\n --#{$prefix}code-color: #{$code-color};\n --#{$prefix}highlight-color: #{$mark-color};\n --#{$prefix}highlight-bg: #{$mark-bg};\n\n // scss-docs-start root-border-var\n --#{$prefix}border-width: #{$border-width};\n --#{$prefix}border-style: #{$border-style};\n --#{$prefix}border-color: #{$border-color};\n --#{$prefix}border-color-translucent: #{$border-color-translucent};\n\n --#{$prefix}border-radius: #{$border-radius};\n --#{$prefix}border-radius-sm: #{$border-radius-sm};\n --#{$prefix}border-radius-lg: #{$border-radius-lg};\n --#{$prefix}border-radius-xl: #{$border-radius-xl};\n --#{$prefix}border-radius-xxl: #{$border-radius-xxl};\n --#{$prefix}border-radius-2xl: var(--#{$prefix}border-radius-xxl); // Deprecated in v5.3.0 for consistency\n --#{$prefix}border-radius-pill: #{$border-radius-pill};\n // scss-docs-end root-border-var\n\n --#{$prefix}box-shadow: #{$box-shadow};\n --#{$prefix}box-shadow-sm: #{$box-shadow-sm};\n --#{$prefix}box-shadow-lg: #{$box-shadow-lg};\n --#{$prefix}box-shadow-inset: #{$box-shadow-inset};\n\n // Focus styles\n // scss-docs-start root-focus-variables\n --#{$prefix}focus-ring-width: #{$focus-ring-width};\n --#{$prefix}focus-ring-opacity: #{$focus-ring-opacity};\n --#{$prefix}focus-ring-color: #{$focus-ring-color};\n // scss-docs-end root-focus-variables\n\n // scss-docs-start root-form-validation-variables\n --#{$prefix}form-valid-color: #{$form-valid-color};\n --#{$prefix}form-valid-border-color: #{$form-valid-border-color};\n --#{$prefix}form-invalid-color: #{$form-invalid-color};\n --#{$prefix}form-invalid-border-color: #{$form-invalid-border-color};\n // scss-docs-end root-form-validation-variables\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark, true) {\n color-scheme: dark;\n\n // scss-docs-start root-dark-mode-vars\n --#{$prefix}body-color: #{$body-color-dark};\n --#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};\n --#{$prefix}body-bg: #{$body-bg-dark};\n --#{$prefix}body-bg-rgb: #{to-rgb($body-bg-dark)};\n\n --#{$prefix}emphasis-color: #{$body-emphasis-color-dark};\n --#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)};\n\n --#{$prefix}secondary-color: #{$body-secondary-color-dark};\n --#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color-dark)};\n --#{$prefix}secondary-bg: #{$body-secondary-bg-dark};\n --#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg-dark)};\n\n --#{$prefix}tertiary-color: #{$body-tertiary-color-dark};\n --#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color-dark)};\n --#{$prefix}tertiary-bg: #{$body-tertiary-bg-dark};\n --#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg-dark)};\n\n @each $color, $value in $theme-colors-text-dark {\n --#{$prefix}#{$color}-text-emphasis: #{$value};\n }\n\n @each $color, $value in $theme-colors-bg-subtle-dark {\n --#{$prefix}#{$color}-bg-subtle: #{$value};\n }\n\n @each $color, $value in $theme-colors-border-subtle-dark {\n --#{$prefix}#{$color}-border-subtle: #{$value};\n }\n\n --#{$prefix}heading-color: #{$headings-color-dark};\n\n --#{$prefix}link-color: #{$link-color-dark};\n --#{$prefix}link-hover-color: #{$link-hover-color-dark};\n --#{$prefix}link-color-rgb: #{to-rgb($link-color-dark)};\n --#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color-dark)};\n\n --#{$prefix}code-color: #{$code-color-dark};\n --#{$prefix}highlight-color: #{$mark-color-dark};\n --#{$prefix}highlight-bg: #{$mark-bg-dark};\n\n --#{$prefix}border-color: #{$border-color-dark};\n --#{$prefix}border-color-translucent: #{$border-color-translucent-dark};\n\n --#{$prefix}form-valid-color: #{$form-valid-color-dark};\n --#{$prefix}form-valid-border-color: #{$form-valid-border-color-dark};\n --#{$prefix}form-invalid-color: #{$form-invalid-color-dark};\n --#{$prefix}form-invalid-border-color: #{$form-invalid-border-color-dark};\n // scss-docs-end root-dark-mode-vars\n }\n}\n","// stylelint-disable scss/dimension-no-non-numeric-values\n\n// SCSS RFS mixin\n//\n// Automated responsive values for font sizes, paddings, margins and much more\n//\n// Licensed under MIT (https://github.com/twbs/rfs/blob/main/LICENSE)\n\n// Configuration\n\n// Base value\n$rfs-base-value: 1.25rem !default;\n$rfs-unit: rem !default;\n\n@if $rfs-unit != rem and $rfs-unit != px {\n @error \"`#{$rfs-unit}` is not a valid unit for $rfs-unit. Use `px` or `rem`.\";\n}\n\n// Breakpoint at where values start decreasing if screen width is smaller\n$rfs-breakpoint: 1200px !default;\n$rfs-breakpoint-unit: px !default;\n\n@if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem {\n @error \"`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.\";\n}\n\n// Resize values based on screen height and width\n$rfs-two-dimensional: false !default;\n\n// Factor of decrease\n$rfs-factor: 10 !default;\n\n@if type-of($rfs-factor) != number or $rfs-factor <= 1 {\n @error \"`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.\";\n}\n\n// Mode. Possibilities: \"min-media-query\", \"max-media-query\"\n$rfs-mode: min-media-query !default;\n\n// Generate enable or disable classes. Possibilities: false, \"enable\" or \"disable\"\n$rfs-class: false !default;\n\n// 1 rem = $rfs-rem-value px\n$rfs-rem-value: 16 !default;\n\n// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14\n$rfs-safari-iframe-resize-bug-fix: false !default;\n\n// Disable RFS by setting $enable-rfs to false\n$enable-rfs: true !default;\n\n// Cache $rfs-base-value unit\n$rfs-base-value-unit: unit($rfs-base-value);\n\n@function divide($dividend, $divisor, $precision: 10) {\n $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);\n $dividend: abs($dividend);\n $divisor: abs($divisor);\n @if $dividend == 0 {\n @return 0;\n }\n @if $divisor == 0 {\n @error \"Cannot divide by 0\";\n }\n $remainder: $dividend;\n $result: 0;\n $factor: 10;\n @while ($remainder > 0 and $precision >= 0) {\n $quotient: 0;\n @while ($remainder >= $divisor) {\n $remainder: $remainder - $divisor;\n $quotient: $quotient + 1;\n }\n $result: $result * 10 + $quotient;\n $factor: $factor * .1;\n $remainder: $remainder * 10;\n $precision: $precision - 1;\n @if ($precision < 0 and $remainder >= $divisor * 5) {\n $result: $result + 1;\n }\n }\n $result: $result * $factor * $sign;\n $dividend-unit: unit($dividend);\n $divisor-unit: unit($divisor);\n $unit-map: (\n \"px\": 1px,\n \"rem\": 1rem,\n \"em\": 1em,\n \"%\": 1%\n );\n @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {\n $result: $result * map-get($unit-map, $dividend-unit);\n }\n @return $result;\n}\n\n// Remove px-unit from $rfs-base-value for calculations\n@if $rfs-base-value-unit == px {\n $rfs-base-value: divide($rfs-base-value, $rfs-base-value * 0 + 1);\n}\n@else if $rfs-base-value-unit == rem {\n $rfs-base-value: divide($rfs-base-value, divide($rfs-base-value * 0 + 1, $rfs-rem-value));\n}\n\n// Cache $rfs-breakpoint unit to prevent multiple calls\n$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);\n\n// Remove unit from $rfs-breakpoint for calculations\n@if $rfs-breakpoint-unit-cache == px {\n $rfs-breakpoint: divide($rfs-breakpoint, $rfs-breakpoint * 0 + 1);\n}\n@else if $rfs-breakpoint-unit-cache == rem or $rfs-breakpoint-unit-cache == \"em\" {\n $rfs-breakpoint: divide($rfs-breakpoint, divide($rfs-breakpoint * 0 + 1, $rfs-rem-value));\n}\n\n// Calculate the media query value\n$rfs-mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{divide($rfs-breakpoint, $rfs-rem-value)}#{$rfs-breakpoint-unit});\n$rfs-mq-property-width: if($rfs-mode == max-media-query, max-width, min-width);\n$rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height);\n\n// Internal mixin used to determine which media query needs to be used\n@mixin _rfs-media-query {\n @if $rfs-two-dimensional {\n @if $rfs-mode == max-media-query {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {\n @content;\n }\n }\n}\n\n// Internal mixin that adds disable classes to the selector if needed.\n@mixin _rfs-rule {\n @if $rfs-class == disable and $rfs-mode == max-media-query {\n // Adding an extra class increases specificity, which prevents the media query to override the property\n &,\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @else if $rfs-class == enable and $rfs-mode == min-media-query {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Internal mixin that adds enable classes to the selector if needed.\n@mixin _rfs-media-query-rule {\n\n @if $rfs-class == enable {\n @if $rfs-mode == min-media-query {\n @content;\n }\n\n @include _rfs-media-query () {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n }\n }\n @else {\n @if $rfs-class == disable and $rfs-mode == min-media-query {\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @include _rfs-media-query () {\n @content;\n }\n }\n}\n\n// Helper function to get the formatted non-responsive value\n@function rfs-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: \"\";\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + \" 0\";\n }\n @else {\n // Cache $value unit\n $unit: if(type-of($value) == \"number\", unit($value), false);\n\n @if $unit == px {\n // Convert to rem if needed\n $val: $val + \" \" + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);\n }\n @else if $unit == rem {\n // Convert to px if needed\n $val: $val + \" \" + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);\n } @else {\n // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n $val: $val + \" \" + $value;\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// Helper function to get the responsive value calculated by RFS\n@function rfs-fluid-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: \"\";\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + \" 0\";\n } @else {\n // Cache $value unit\n $unit: if(type-of($value) == \"number\", unit($value), false);\n\n // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n @if not $unit or $unit != px and $unit != rem {\n $val: $val + \" \" + $value;\n } @else {\n // Remove unit from $value for calculations\n $value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));\n\n // Only add the media query if the value is greater than the minimum value\n @if abs($value) <= $rfs-base-value or not $enable-rfs {\n $val: $val + \" \" + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);\n }\n @else {\n // Calculate the minimum value\n $value-min: $rfs-base-value + divide(abs($value) - $rfs-base-value, $rfs-factor);\n\n // Calculate difference between $value and the minimum value\n $value-diff: abs($value) - $value-min;\n\n // Base value formatting\n $min-width: if($rfs-unit == rem, #{divide($value-min, $rfs-rem-value)}rem, #{$value-min}px);\n\n // Use negative value if needed\n $min-width: if($value < 0, -$min-width, $min-width);\n\n // Use `vmin` if two-dimensional is enabled\n $variable-unit: if($rfs-two-dimensional, vmin, vw);\n\n // Calculate the variable width between 0 and $rfs-breakpoint\n $variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};\n\n // Return the calculated value\n $val: $val + \" calc(\" + $min-width + if($value < 0, \" - \", \" + \") + $variable-width + \")\";\n }\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// RFS mixin\n@mixin rfs($values, $property: font-size) {\n @if $values != null {\n $val: rfs-value($values);\n $fluid-val: rfs-fluid-value($values);\n\n // Do not print the media query if responsive & non-responsive values are the same\n @if $val == $fluid-val {\n #{$property}: $val;\n }\n @else {\n @include _rfs-rule () {\n #{$property}: if($rfs-mode == max-media-query, $val, $fluid-val);\n\n // Include safari iframe resize fix if needed\n min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);\n }\n\n @include _rfs-media-query-rule () {\n #{$property}: if($rfs-mode == max-media-query, $fluid-val, $val);\n }\n }\n }\n}\n\n// Shorthand helper mixins\n@mixin font-size($value) {\n @include rfs($value);\n}\n\n@mixin padding($value) {\n @include rfs($value, padding);\n}\n\n@mixin padding-top($value) {\n @include rfs($value, padding-top);\n}\n\n@mixin padding-right($value) {\n @include rfs($value, padding-right);\n}\n\n@mixin padding-bottom($value) {\n @include rfs($value, padding-bottom);\n}\n\n@mixin padding-left($value) {\n @include rfs($value, padding-left);\n}\n\n@mixin margin($value) {\n @include rfs($value, margin);\n}\n\n@mixin margin-top($value) {\n @include rfs($value, margin-top);\n}\n\n@mixin margin-right($value) {\n @include rfs($value, margin-right);\n}\n\n@mixin margin-bottom($value) {\n @include rfs($value, margin-bottom);\n}\n\n@mixin margin-left($value) {\n @include rfs($value, margin-left);\n}\n","// scss-docs-start color-mode-mixin\n@mixin color-mode($mode: light, $root: false) {\n @if $color-mode-type == \"media-query\" {\n @if $root == true {\n @media (prefers-color-scheme: $mode) {\n :root {\n @content;\n }\n }\n } @else {\n @media (prefers-color-scheme: $mode) {\n @content;\n }\n }\n } @else {\n [data-bs-theme=\"#{$mode}\"] {\n @content;\n }\n }\n}\n// scss-docs-end color-mode-mixin\n","@charset \"UTF-8\";\n/*!\n * Bootstrap v5.3.3 (https://getbootstrap.com/)\n * Copyright 2011-2024 The Bootstrap Authors\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n:root,\n[data-bs-theme=light] {\n --bs-blue: #0d6efd;\n --bs-indigo: #6610f2;\n --bs-purple: #6f42c1;\n --bs-pink: #d63384;\n --bs-red: #dc3545;\n --bs-orange: #fd7e14;\n --bs-yellow: #ffc107;\n --bs-green: #198754;\n --bs-teal: #20c997;\n --bs-cyan: #0dcaf0;\n --bs-black: #000;\n --bs-white: #fff;\n --bs-gray: #6c757d;\n --bs-gray-dark: #343a40;\n --bs-gray-100: #f8f9fa;\n --bs-gray-200: #e9ecef;\n --bs-gray-300: #dee2e6;\n --bs-gray-400: #ced4da;\n --bs-gray-500: #adb5bd;\n --bs-gray-600: #6c757d;\n --bs-gray-700: #495057;\n --bs-gray-800: #343a40;\n --bs-gray-900: #212529;\n --bs-primary: #0d6efd;\n --bs-secondary: #6c757d;\n --bs-success: #198754;\n --bs-info: #0dcaf0;\n --bs-warning: #ffc107;\n --bs-danger: #dc3545;\n --bs-light: #f8f9fa;\n --bs-dark: #212529;\n --bs-primary-rgb: 13, 110, 253;\n --bs-secondary-rgb: 108, 117, 125;\n --bs-success-rgb: 25, 135, 84;\n --bs-info-rgb: 13, 202, 240;\n --bs-warning-rgb: 255, 193, 7;\n --bs-danger-rgb: 220, 53, 69;\n --bs-light-rgb: 248, 249, 250;\n --bs-dark-rgb: 33, 37, 41;\n --bs-primary-text-emphasis: #052c65;\n --bs-secondary-text-emphasis: #2b2f32;\n --bs-success-text-emphasis: #0a3622;\n --bs-info-text-emphasis: #055160;\n --bs-warning-text-emphasis: #664d03;\n --bs-danger-text-emphasis: #58151c;\n --bs-light-text-emphasis: #495057;\n --bs-dark-text-emphasis: #495057;\n --bs-primary-bg-subtle: #cfe2ff;\n --bs-secondary-bg-subtle: #e2e3e5;\n --bs-success-bg-subtle: #d1e7dd;\n --bs-info-bg-subtle: #cff4fc;\n --bs-warning-bg-subtle: #fff3cd;\n --bs-danger-bg-subtle: #f8d7da;\n --bs-light-bg-subtle: #fcfcfd;\n --bs-dark-bg-subtle: #ced4da;\n --bs-primary-border-subtle: #9ec5fe;\n --bs-secondary-border-subtle: #c4c8cb;\n --bs-success-border-subtle: #a3cfbb;\n --bs-info-border-subtle: #9eeaf9;\n --bs-warning-border-subtle: #ffe69c;\n --bs-danger-border-subtle: #f1aeb5;\n --bs-light-border-subtle: #e9ecef;\n --bs-dark-border-subtle: #adb5bd;\n --bs-white-rgb: 255, 255, 255;\n --bs-black-rgb: 0, 0, 0;\n --bs-font-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));\n --bs-body-font-family: var(--bs-font-sans-serif);\n --bs-body-font-size: 1rem;\n --bs-body-font-weight: 400;\n --bs-body-line-height: 1.5;\n --bs-body-color: #212529;\n --bs-body-color-rgb: 33, 37, 41;\n --bs-body-bg: #fff;\n --bs-body-bg-rgb: 255, 255, 255;\n --bs-emphasis-color: #000;\n --bs-emphasis-color-rgb: 0, 0, 0;\n --bs-secondary-color: rgba(33, 37, 41, 0.75);\n --bs-secondary-color-rgb: 33, 37, 41;\n --bs-secondary-bg: #e9ecef;\n --bs-secondary-bg-rgb: 233, 236, 239;\n --bs-tertiary-color: rgba(33, 37, 41, 0.5);\n --bs-tertiary-color-rgb: 33, 37, 41;\n --bs-tertiary-bg: #f8f9fa;\n --bs-tertiary-bg-rgb: 248, 249, 250;\n --bs-heading-color: inherit;\n --bs-link-color: #0d6efd;\n --bs-link-color-rgb: 13, 110, 253;\n --bs-link-decoration: underline;\n --bs-link-hover-color: #0a58ca;\n --bs-link-hover-color-rgb: 10, 88, 202;\n --bs-code-color: #d63384;\n --bs-highlight-color: #212529;\n --bs-highlight-bg: #fff3cd;\n --bs-border-width: 1px;\n --bs-border-style: solid;\n --bs-border-color: #dee2e6;\n --bs-border-color-translucent: rgba(0, 0, 0, 0.175);\n --bs-border-radius: 0.375rem;\n --bs-border-radius-sm: 0.25rem;\n --bs-border-radius-lg: 0.5rem;\n --bs-border-radius-xl: 1rem;\n --bs-border-radius-xxl: 2rem;\n --bs-border-radius-2xl: var(--bs-border-radius-xxl);\n --bs-border-radius-pill: 50rem;\n --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);\n --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);\n --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);\n --bs-focus-ring-width: 0.25rem;\n --bs-focus-ring-opacity: 0.25;\n --bs-focus-ring-color: rgba(13, 110, 253, 0.25);\n --bs-form-valid-color: #198754;\n --bs-form-valid-border-color: #198754;\n --bs-form-invalid-color: #dc3545;\n --bs-form-invalid-border-color: #dc3545;\n}\n\n[data-bs-theme=dark] {\n color-scheme: dark;\n --bs-body-color: #dee2e6;\n --bs-body-color-rgb: 222, 226, 230;\n --bs-body-bg: #212529;\n --bs-body-bg-rgb: 33, 37, 41;\n --bs-emphasis-color: #fff;\n --bs-emphasis-color-rgb: 255, 255, 255;\n --bs-secondary-color: rgba(222, 226, 230, 0.75);\n --bs-secondary-color-rgb: 222, 226, 230;\n --bs-secondary-bg: #343a40;\n --bs-secondary-bg-rgb: 52, 58, 64;\n --bs-tertiary-color: rgba(222, 226, 230, 0.5);\n --bs-tertiary-color-rgb: 222, 226, 230;\n --bs-tertiary-bg: #2b3035;\n --bs-tertiary-bg-rgb: 43, 48, 53;\n --bs-primary-text-emphasis: #6ea8fe;\n --bs-secondary-text-emphasis: #a7acb1;\n --bs-success-text-emphasis: #75b798;\n --bs-info-text-emphasis: #6edff6;\n --bs-warning-text-emphasis: #ffda6a;\n --bs-danger-text-emphasis: #ea868f;\n --bs-light-text-emphasis: #f8f9fa;\n --bs-dark-text-emphasis: #dee2e6;\n --bs-primary-bg-subtle: #031633;\n --bs-secondary-bg-subtle: #161719;\n --bs-success-bg-subtle: #051b11;\n --bs-info-bg-subtle: #032830;\n --bs-warning-bg-subtle: #332701;\n --bs-danger-bg-subtle: #2c0b0e;\n --bs-light-bg-subtle: #343a40;\n --bs-dark-bg-subtle: #1a1d20;\n --bs-primary-border-subtle: #084298;\n --bs-secondary-border-subtle: #41464b;\n --bs-success-border-subtle: #0f5132;\n --bs-info-border-subtle: #087990;\n --bs-warning-border-subtle: #997404;\n --bs-danger-border-subtle: #842029;\n --bs-light-border-subtle: #495057;\n --bs-dark-border-subtle: #343a40;\n --bs-heading-color: inherit;\n --bs-link-color: #6ea8fe;\n --bs-link-hover-color: #8bb9fe;\n --bs-link-color-rgb: 110, 168, 254;\n --bs-link-hover-color-rgb: 139, 185, 254;\n --bs-code-color: #e685b5;\n --bs-highlight-color: #dee2e6;\n --bs-highlight-bg: #664d03;\n --bs-border-color: #495057;\n --bs-border-color-translucent: rgba(255, 255, 255, 0.15);\n --bs-form-valid-color: #75b798;\n --bs-form-valid-border-color: #75b798;\n --bs-form-invalid-color: #ea868f;\n --bs-form-invalid-border-color: #ea868f;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :root {\n scroll-behavior: smooth;\n }\n}\n\nbody {\n margin: 0;\n font-family: var(--bs-body-font-family);\n font-size: var(--bs-body-font-size);\n font-weight: var(--bs-body-font-weight);\n line-height: var(--bs-body-line-height);\n color: var(--bs-body-color);\n text-align: var(--bs-body-text-align);\n background-color: var(--bs-body-bg);\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\nhr {\n margin: 1rem 0;\n color: inherit;\n border: 0;\n border-top: var(--bs-border-width) solid;\n opacity: 0.25;\n}\n\nh6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n font-weight: 500;\n line-height: 1.2;\n color: var(--bs-heading-color);\n}\n\nh1, .h1 {\n font-size: calc(1.375rem + 1.5vw);\n}\n@media (min-width: 1200px) {\n h1, .h1 {\n font-size: 2.5rem;\n }\n}\n\nh2, .h2 {\n font-size: calc(1.325rem + 0.9vw);\n}\n@media (min-width: 1200px) {\n h2, .h2 {\n font-size: 2rem;\n }\n}\n\nh3, .h3 {\n font-size: calc(1.3rem + 0.6vw);\n}\n@media (min-width: 1200px) {\n h3, .h3 {\n font-size: 1.75rem;\n }\n}\n\nh4, .h4 {\n font-size: calc(1.275rem + 0.3vw);\n}\n@media (min-width: 1200px) {\n h4, .h4 {\n font-size: 1.5rem;\n }\n}\n\nh5, .h5 {\n font-size: 1.25rem;\n}\n\nh6, .h6 {\n font-size: 1rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n -webkit-text-decoration-skip-ink: none;\n text-decoration-skip-ink: none;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: 0.5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall, .small {\n font-size: 0.875em;\n}\n\nmark, .mark {\n padding: 0.1875em;\n color: var(--bs-highlight-color);\n background-color: var(--bs-highlight-bg);\n}\n\nsub,\nsup {\n position: relative;\n font-size: 0.75em;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\na {\n color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));\n text-decoration: underline;\n}\na:hover {\n --bs-link-color-rgb: var(--bs-link-hover-color-rgb);\n}\n\na:not([href]):not([class]), a:not([href]):not([class]):hover {\n color: inherit;\n text-decoration: none;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: var(--bs-font-monospace);\n font-size: 1em;\n}\n\npre {\n display: block;\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n font-size: 0.875em;\n}\npre code {\n font-size: inherit;\n color: inherit;\n word-break: normal;\n}\n\ncode {\n font-size: 0.875em;\n color: var(--bs-code-color);\n word-wrap: break-word;\n}\na > code {\n color: inherit;\n}\n\nkbd {\n padding: 0.1875rem 0.375rem;\n font-size: 0.875em;\n color: var(--bs-body-bg);\n background-color: var(--bs-body-color);\n border-radius: 0.25rem;\n}\nkbd kbd {\n padding: 0;\n font-size: 1em;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n color: var(--bs-secondary-color);\n text-align: left;\n}\n\nth {\n text-align: inherit;\n text-align: -webkit-match-parent;\n}\n\nthead,\ntbody,\ntfoot,\ntr,\ntd,\nth {\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n}\n\nlabel {\n display: inline-block;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton:focus:not(:focus-visible) {\n outline: 0;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\n[role=button] {\n cursor: pointer;\n}\n\nselect {\n word-wrap: normal;\n}\nselect:disabled {\n opacity: 1;\n}\n\n[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {\n display: none !important;\n}\n\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nbutton:not(:disabled),\n[type=button]:not(:disabled),\n[type=reset]:not(:disabled),\n[type=submit]:not(:disabled) {\n cursor: pointer;\n}\n\n::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ntextarea {\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n float: left;\n width: 100%;\n padding: 0;\n margin-bottom: 0.5rem;\n font-size: calc(1.275rem + 0.3vw);\n line-height: inherit;\n}\n@media (min-width: 1200px) {\n legend {\n font-size: 1.5rem;\n }\n}\nlegend + * {\n clear: left;\n}\n\n::-webkit-datetime-edit-fields-wrapper,\n::-webkit-datetime-edit-text,\n::-webkit-datetime-edit-minute,\n::-webkit-datetime-edit-hour-field,\n::-webkit-datetime-edit-day-field,\n::-webkit-datetime-edit-month-field,\n::-webkit-datetime-edit-year-field {\n padding: 0;\n}\n\n::-webkit-inner-spin-button {\n height: auto;\n}\n\n[type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n/* rtl:raw:\n[type=\"tel\"],\n[type=\"url\"],\n[type=\"email\"],\n[type=\"number\"] {\n direction: ltr;\n}\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-color-swatch-wrapper {\n padding: 0;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\n::file-selector-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\niframe {\n border: 0;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[hidden] {\n display: none !important;\n}\n\n.lead {\n font-size: 1.25rem;\n font-weight: 300;\n}\n\n.display-1 {\n font-size: calc(1.625rem + 4.5vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-1 {\n font-size: 5rem;\n }\n}\n\n.display-2 {\n font-size: calc(1.575rem + 3.9vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-2 {\n font-size: 4.5rem;\n }\n}\n\n.display-3 {\n font-size: calc(1.525rem + 3.3vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-3 {\n font-size: 4rem;\n }\n}\n\n.display-4 {\n font-size: calc(1.475rem + 2.7vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-4 {\n font-size: 3.5rem;\n }\n}\n\n.display-5 {\n font-size: calc(1.425rem + 2.1vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-5 {\n font-size: 3rem;\n }\n}\n\n.display-6 {\n font-size: calc(1.375rem + 1.5vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-6 {\n font-size: 2.5rem;\n }\n}\n\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline-item {\n display: inline-block;\n}\n.list-inline-item:not(:last-child) {\n margin-right: 0.5rem;\n}\n\n.initialism {\n font-size: 0.875em;\n text-transform: uppercase;\n}\n\n.blockquote {\n margin-bottom: 1rem;\n font-size: 1.25rem;\n}\n.blockquote > :last-child {\n margin-bottom: 0;\n}\n\n.blockquote-footer {\n margin-top: -1rem;\n margin-bottom: 1rem;\n font-size: 0.875em;\n color: #6c757d;\n}\n.blockquote-footer::before {\n content: \"— \";\n}\n\n.img-fluid {\n max-width: 100%;\n height: auto;\n}\n\n.img-thumbnail {\n padding: 0.25rem;\n background-color: var(--bs-body-bg);\n border: var(--bs-border-width) solid var(--bs-border-color);\n border-radius: var(--bs-border-radius);\n max-width: 100%;\n height: auto;\n}\n\n.figure {\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: 0.5rem;\n line-height: 1;\n}\n\n.figure-caption {\n font-size: 0.875em;\n color: var(--bs-secondary-color);\n}\n\n.container,\n.container-fluid,\n.container-xxl,\n.container-xl,\n.container-lg,\n.container-md,\n.container-sm {\n --bs-gutter-x: 1.5rem;\n --bs-gutter-y: 0;\n width: 100%;\n padding-right: calc(var(--bs-gutter-x) * 0.5);\n padding-left: calc(var(--bs-gutter-x) * 0.5);\n margin-right: auto;\n margin-left: auto;\n}\n\n@media (min-width: 576px) {\n .container-sm, .container {\n max-width: 540px;\n }\n}\n@media (min-width: 768px) {\n .container-md, .container-sm, .container {\n max-width: 720px;\n }\n}\n@media (min-width: 992px) {\n .container-lg, .container-md, .container-sm, .container {\n max-width: 960px;\n }\n}\n@media (min-width: 1200px) {\n .container-xl, .container-lg, .container-md, .container-sm, .container {\n max-width: 1140px;\n }\n}\n@media (min-width: 1400px) {\n .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {\n max-width: 1320px;\n }\n}\n:root {\n --bs-breakpoint-xs: 0;\n --bs-breakpoint-sm: 576px;\n --bs-breakpoint-md: 768px;\n --bs-breakpoint-lg: 992px;\n --bs-breakpoint-xl: 1200px;\n --bs-breakpoint-xxl: 1400px;\n}\n\n.row {\n --bs-gutter-x: 1.5rem;\n --bs-gutter-y: 0;\n display: flex;\n flex-wrap: wrap;\n margin-top: calc(-1 * var(--bs-gutter-y));\n margin-right: calc(-0.5 * var(--bs-gutter-x));\n margin-left: calc(-0.5 * var(--bs-gutter-x));\n}\n.row > * {\n flex-shrink: 0;\n width: 100%;\n max-width: 100%;\n padding-right: calc(var(--bs-gutter-x) * 0.5);\n padding-left: calc(var(--bs-gutter-x) * 0.5);\n margin-top: var(--bs-gutter-y);\n}\n\n.col {\n flex: 1 0 0%;\n}\n\n.row-cols-auto > * {\n flex: 0 0 auto;\n width: auto;\n}\n\n.row-cols-1 > * {\n flex: 0 0 auto;\n width: 100%;\n}\n\n.row-cols-2 > * {\n flex: 0 0 auto;\n width: 50%;\n}\n\n.row-cols-3 > * {\n flex: 0 0 auto;\n width: 33.33333333%;\n}\n\n.row-cols-4 > * {\n flex: 0 0 auto;\n width: 25%;\n}\n\n.row-cols-5 > * {\n flex: 0 0 auto;\n width: 20%;\n}\n\n.row-cols-6 > * {\n flex: 0 0 auto;\n width: 16.66666667%;\n}\n\n.col-auto {\n flex: 0 0 auto;\n width: auto;\n}\n\n.col-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n}\n\n.col-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n}\n\n.col-3 {\n flex: 0 0 auto;\n width: 25%;\n}\n\n.col-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n}\n\n.col-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n}\n\n.col-6 {\n flex: 0 0 auto;\n width: 50%;\n}\n\n.col-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n}\n\n.col-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n}\n\n.col-9 {\n flex: 0 0 auto;\n width: 75%;\n}\n\n.col-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n}\n\n.col-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n}\n\n.col-12 {\n flex: 0 0 auto;\n width: 100%;\n}\n\n.offset-1 {\n margin-left: 8.33333333%;\n}\n\n.offset-2 {\n margin-left: 16.66666667%;\n}\n\n.offset-3 {\n margin-left: 25%;\n}\n\n.offset-4 {\n margin-left: 33.33333333%;\n}\n\n.offset-5 {\n margin-left: 41.66666667%;\n}\n\n.offset-6 {\n margin-left: 50%;\n}\n\n.offset-7 {\n margin-left: 58.33333333%;\n}\n\n.offset-8 {\n margin-left: 66.66666667%;\n}\n\n.offset-9 {\n margin-left: 75%;\n}\n\n.offset-10 {\n margin-left: 83.33333333%;\n}\n\n.offset-11 {\n margin-left: 91.66666667%;\n}\n\n.g-0,\n.gx-0 {\n --bs-gutter-x: 0;\n}\n\n.g-0,\n.gy-0 {\n --bs-gutter-y: 0;\n}\n\n.g-1,\n.gx-1 {\n --bs-gutter-x: 0.25rem;\n}\n\n.g-1,\n.gy-1 {\n --bs-gutter-y: 0.25rem;\n}\n\n.g-2,\n.gx-2 {\n --bs-gutter-x: 0.5rem;\n}\n\n.g-2,\n.gy-2 {\n --bs-gutter-y: 0.5rem;\n}\n\n.g-3,\n.gx-3 {\n --bs-gutter-x: 1rem;\n}\n\n.g-3,\n.gy-3 {\n --bs-gutter-y: 1rem;\n}\n\n.g-4,\n.gx-4 {\n --bs-gutter-x: 1.5rem;\n}\n\n.g-4,\n.gy-4 {\n --bs-gutter-y: 1.5rem;\n}\n\n.g-5,\n.gx-5 {\n --bs-gutter-x: 3rem;\n}\n\n.g-5,\n.gy-5 {\n --bs-gutter-y: 3rem;\n}\n\n@media (min-width: 576px) {\n .col-sm {\n flex: 1 0 0%;\n }\n .row-cols-sm-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-sm-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-sm-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-sm-3 > * {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .row-cols-sm-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-sm-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-sm-6 > * {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-sm-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-sm-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-sm-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-sm-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-sm-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-sm-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-sm-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-sm-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-sm-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-sm-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-sm-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-sm-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-sm-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-sm-0 {\n margin-left: 0;\n }\n .offset-sm-1 {\n margin-left: 8.33333333%;\n }\n .offset-sm-2 {\n margin-left: 16.66666667%;\n }\n .offset-sm-3 {\n margin-left: 25%;\n }\n .offset-sm-4 {\n margin-left: 33.33333333%;\n }\n .offset-sm-5 {\n margin-left: 41.66666667%;\n }\n .offset-sm-6 {\n margin-left: 50%;\n }\n .offset-sm-7 {\n margin-left: 58.33333333%;\n }\n .offset-sm-8 {\n margin-left: 66.66666667%;\n }\n .offset-sm-9 {\n margin-left: 75%;\n }\n .offset-sm-10 {\n margin-left: 83.33333333%;\n }\n .offset-sm-11 {\n margin-left: 91.66666667%;\n }\n .g-sm-0,\n .gx-sm-0 {\n --bs-gutter-x: 0;\n }\n .g-sm-0,\n .gy-sm-0 {\n --bs-gutter-y: 0;\n }\n .g-sm-1,\n .gx-sm-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-sm-1,\n .gy-sm-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-sm-2,\n .gx-sm-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-sm-2,\n .gy-sm-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-sm-3,\n .gx-sm-3 {\n --bs-gutter-x: 1rem;\n }\n .g-sm-3,\n .gy-sm-3 {\n --bs-gutter-y: 1rem;\n }\n .g-sm-4,\n .gx-sm-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-sm-4,\n .gy-sm-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-sm-5,\n .gx-sm-5 {\n --bs-gutter-x: 3rem;\n }\n .g-sm-5,\n .gy-sm-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 768px) {\n .col-md {\n flex: 1 0 0%;\n }\n .row-cols-md-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-md-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-md-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-md-3 > * {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .row-cols-md-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-md-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-md-6 > * {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-md-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-md-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-md-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-md-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-md-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-md-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-md-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-md-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-md-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-md-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-md-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-md-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-md-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-md-0 {\n margin-left: 0;\n }\n .offset-md-1 {\n margin-left: 8.33333333%;\n }\n .offset-md-2 {\n margin-left: 16.66666667%;\n }\n .offset-md-3 {\n margin-left: 25%;\n }\n .offset-md-4 {\n margin-left: 33.33333333%;\n }\n .offset-md-5 {\n margin-left: 41.66666667%;\n }\n .offset-md-6 {\n margin-left: 50%;\n }\n .offset-md-7 {\n margin-left: 58.33333333%;\n }\n .offset-md-8 {\n margin-left: 66.66666667%;\n }\n .offset-md-9 {\n margin-left: 75%;\n }\n .offset-md-10 {\n margin-left: 83.33333333%;\n }\n .offset-md-11 {\n margin-left: 91.66666667%;\n }\n .g-md-0,\n .gx-md-0 {\n --bs-gutter-x: 0;\n }\n .g-md-0,\n .gy-md-0 {\n --bs-gutter-y: 0;\n }\n .g-md-1,\n .gx-md-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-md-1,\n .gy-md-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-md-2,\n .gx-md-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-md-2,\n .gy-md-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-md-3,\n .gx-md-3 {\n --bs-gutter-x: 1rem;\n }\n .g-md-3,\n .gy-md-3 {\n --bs-gutter-y: 1rem;\n }\n .g-md-4,\n .gx-md-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-md-4,\n .gy-md-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-md-5,\n .gx-md-5 {\n --bs-gutter-x: 3rem;\n }\n .g-md-5,\n .gy-md-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 992px) {\n .col-lg {\n flex: 1 0 0%;\n }\n .row-cols-lg-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-lg-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-lg-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-lg-3 > * {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .row-cols-lg-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-lg-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-lg-6 > * {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-lg-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-lg-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-lg-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-lg-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-lg-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-lg-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-lg-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-lg-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-lg-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-lg-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-lg-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-lg-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-lg-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-lg-0 {\n margin-left: 0;\n }\n .offset-lg-1 {\n margin-left: 8.33333333%;\n }\n .offset-lg-2 {\n margin-left: 16.66666667%;\n }\n .offset-lg-3 {\n margin-left: 25%;\n }\n .offset-lg-4 {\n margin-left: 33.33333333%;\n }\n .offset-lg-5 {\n margin-left: 41.66666667%;\n }\n .offset-lg-6 {\n margin-left: 50%;\n }\n .offset-lg-7 {\n margin-left: 58.33333333%;\n }\n .offset-lg-8 {\n margin-left: 66.66666667%;\n }\n .offset-lg-9 {\n margin-left: 75%;\n }\n .offset-lg-10 {\n margin-left: 83.33333333%;\n }\n .offset-lg-11 {\n margin-left: 91.66666667%;\n }\n .g-lg-0,\n .gx-lg-0 {\n --bs-gutter-x: 0;\n }\n .g-lg-0,\n .gy-lg-0 {\n --bs-gutter-y: 0;\n }\n .g-lg-1,\n .gx-lg-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-lg-1,\n .gy-lg-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-lg-2,\n .gx-lg-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-lg-2,\n .gy-lg-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-lg-3,\n .gx-lg-3 {\n --bs-gutter-x: 1rem;\n }\n .g-lg-3,\n .gy-lg-3 {\n --bs-gutter-y: 1rem;\n }\n .g-lg-4,\n .gx-lg-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-lg-4,\n .gy-lg-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-lg-5,\n .gx-lg-5 {\n --bs-gutter-x: 3rem;\n }\n .g-lg-5,\n .gy-lg-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 1200px) {\n .col-xl {\n flex: 1 0 0%;\n }\n .row-cols-xl-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-xl-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-xl-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-xl-3 > * {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .row-cols-xl-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-xl-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-xl-6 > * {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-xl-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-xl-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-xl-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-xl-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-xl-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-xl-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-xl-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-xl-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-xl-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-xl-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-xl-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-xl-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-xl-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-xl-0 {\n margin-left: 0;\n }\n .offset-xl-1 {\n margin-left: 8.33333333%;\n }\n .offset-xl-2 {\n margin-left: 16.66666667%;\n }\n .offset-xl-3 {\n margin-left: 25%;\n }\n .offset-xl-4 {\n margin-left: 33.33333333%;\n }\n .offset-xl-5 {\n margin-left: 41.66666667%;\n }\n .offset-xl-6 {\n margin-left: 50%;\n }\n .offset-xl-7 {\n margin-left: 58.33333333%;\n }\n .offset-xl-8 {\n margin-left: 66.66666667%;\n }\n .offset-xl-9 {\n margin-left: 75%;\n }\n .offset-xl-10 {\n margin-left: 83.33333333%;\n }\n .offset-xl-11 {\n margin-left: 91.66666667%;\n }\n .g-xl-0,\n .gx-xl-0 {\n --bs-gutter-x: 0;\n }\n .g-xl-0,\n .gy-xl-0 {\n --bs-gutter-y: 0;\n }\n .g-xl-1,\n .gx-xl-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-xl-1,\n .gy-xl-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-xl-2,\n .gx-xl-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-xl-2,\n .gy-xl-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-xl-3,\n .gx-xl-3 {\n --bs-gutter-x: 1rem;\n }\n .g-xl-3,\n .gy-xl-3 {\n --bs-gutter-y: 1rem;\n }\n .g-xl-4,\n .gx-xl-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-xl-4,\n .gy-xl-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-xl-5,\n .gx-xl-5 {\n --bs-gutter-x: 3rem;\n }\n .g-xl-5,\n .gy-xl-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 1400px) {\n .col-xxl {\n flex: 1 0 0%;\n }\n .row-cols-xxl-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-xxl-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-xxl-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-xxl-3 > * {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .row-cols-xxl-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-xxl-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-xxl-6 > * {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-xxl-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-xxl-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-xxl-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-xxl-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-xxl-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-xxl-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-xxl-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-xxl-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-xxl-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-xxl-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-xxl-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-xxl-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-xxl-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-xxl-0 {\n margin-left: 0;\n }\n .offset-xxl-1 {\n margin-left: 8.33333333%;\n }\n .offset-xxl-2 {\n margin-left: 16.66666667%;\n }\n .offset-xxl-3 {\n margin-left: 25%;\n }\n .offset-xxl-4 {\n margin-left: 33.33333333%;\n }\n .offset-xxl-5 {\n margin-left: 41.66666667%;\n }\n .offset-xxl-6 {\n margin-left: 50%;\n }\n .offset-xxl-7 {\n margin-left: 58.33333333%;\n }\n .offset-xxl-8 {\n margin-left: 66.66666667%;\n }\n .offset-xxl-9 {\n margin-left: 75%;\n }\n .offset-xxl-10 {\n margin-left: 83.33333333%;\n }\n .offset-xxl-11 {\n margin-left: 91.66666667%;\n }\n .g-xxl-0,\n .gx-xxl-0 {\n --bs-gutter-x: 0;\n }\n .g-xxl-0,\n .gy-xxl-0 {\n --bs-gutter-y: 0;\n }\n .g-xxl-1,\n .gx-xxl-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-xxl-1,\n .gy-xxl-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-xxl-2,\n .gx-xxl-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-xxl-2,\n .gy-xxl-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-xxl-3,\n .gx-xxl-3 {\n --bs-gutter-x: 1rem;\n }\n .g-xxl-3,\n .gy-xxl-3 {\n --bs-gutter-y: 1rem;\n }\n .g-xxl-4,\n .gx-xxl-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-xxl-4,\n .gy-xxl-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-xxl-5,\n .gx-xxl-5 {\n --bs-gutter-x: 3rem;\n }\n .g-xxl-5,\n .gy-xxl-5 {\n --bs-gutter-y: 3rem;\n }\n}\n.table {\n --bs-table-color-type: initial;\n --bs-table-bg-type: initial;\n --bs-table-color-state: initial;\n --bs-table-bg-state: initial;\n --bs-table-color: var(--bs-emphasis-color);\n --bs-table-bg: var(--bs-body-bg);\n --bs-table-border-color: var(--bs-border-color);\n --bs-table-accent-bg: transparent;\n --bs-table-striped-color: var(--bs-emphasis-color);\n --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);\n --bs-table-active-color: var(--bs-emphasis-color);\n --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);\n --bs-table-hover-color: var(--bs-emphasis-color);\n --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);\n width: 100%;\n margin-bottom: 1rem;\n vertical-align: top;\n border-color: var(--bs-table-border-color);\n}\n.table > :not(caption) > * > * {\n padding: 0.5rem 0.5rem;\n color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));\n background-color: var(--bs-table-bg);\n border-bottom-width: var(--bs-border-width);\n box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));\n}\n.table > tbody {\n vertical-align: inherit;\n}\n.table > thead {\n vertical-align: bottom;\n}\n\n.table-group-divider {\n border-top: calc(var(--bs-border-width) * 2) solid currentcolor;\n}\n\n.caption-top {\n caption-side: top;\n}\n\n.table-sm > :not(caption) > * > * {\n padding: 0.25rem 0.25rem;\n}\n\n.table-bordered > :not(caption) > * {\n border-width: var(--bs-border-width) 0;\n}\n.table-bordered > :not(caption) > * > * {\n border-width: 0 var(--bs-border-width);\n}\n\n.table-borderless > :not(caption) > * > * {\n border-bottom-width: 0;\n}\n.table-borderless > :not(:first-child) {\n border-top-width: 0;\n}\n\n.table-striped > tbody > tr:nth-of-type(odd) > * {\n --bs-table-color-type: var(--bs-table-striped-color);\n --bs-table-bg-type: var(--bs-table-striped-bg);\n}\n\n.table-striped-columns > :not(caption) > tr > :nth-child(even) {\n --bs-table-color-type: var(--bs-table-striped-color);\n --bs-table-bg-type: var(--bs-table-striped-bg);\n}\n\n.table-active {\n --bs-table-color-state: var(--bs-table-active-color);\n --bs-table-bg-state: var(--bs-table-active-bg);\n}\n\n.table-hover > tbody > tr:hover > * {\n --bs-table-color-state: var(--bs-table-hover-color);\n --bs-table-bg-state: var(--bs-table-hover-bg);\n}\n\n.table-primary {\n --bs-table-color: #000;\n --bs-table-bg: #cfe2ff;\n --bs-table-border-color: #a6b5cc;\n --bs-table-striped-bg: #c5d7f2;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #bacbe6;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #bfd1ec;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-secondary {\n --bs-table-color: #000;\n --bs-table-bg: #e2e3e5;\n --bs-table-border-color: #b5b6b7;\n --bs-table-striped-bg: #d7d8da;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #cbccce;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #d1d2d4;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-success {\n --bs-table-color: #000;\n --bs-table-bg: #d1e7dd;\n --bs-table-border-color: #a7b9b1;\n --bs-table-striped-bg: #c7dbd2;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #bcd0c7;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #c1d6cc;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-info {\n --bs-table-color: #000;\n --bs-table-bg: #cff4fc;\n --bs-table-border-color: #a6c3ca;\n --bs-table-striped-bg: #c5e8ef;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #badce3;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #bfe2e9;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-warning {\n --bs-table-color: #000;\n --bs-table-bg: #fff3cd;\n --bs-table-border-color: #ccc2a4;\n --bs-table-striped-bg: #f2e7c3;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #e6dbb9;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #ece1be;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-danger {\n --bs-table-color: #000;\n --bs-table-bg: #f8d7da;\n --bs-table-border-color: #c6acae;\n --bs-table-striped-bg: #eccccf;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #dfc2c4;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #e5c7ca;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-light {\n --bs-table-color: #000;\n --bs-table-bg: #f8f9fa;\n --bs-table-border-color: #c6c7c8;\n --bs-table-striped-bg: #ecedee;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #dfe0e1;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #e5e6e7;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-dark {\n --bs-table-color: #fff;\n --bs-table-bg: #212529;\n --bs-table-border-color: #4d5154;\n --bs-table-striped-bg: #2c3034;\n --bs-table-striped-color: #fff;\n --bs-table-active-bg: #373b3e;\n --bs-table-active-color: #fff;\n --bs-table-hover-bg: #323539;\n --bs-table-hover-color: #fff;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-responsive {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n@media (max-width: 575.98px) {\n .table-responsive-sm {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 767.98px) {\n .table-responsive-md {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 991.98px) {\n .table-responsive-lg {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 1199.98px) {\n .table-responsive-xl {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 1399.98px) {\n .table-responsive-xxl {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n.form-label {\n margin-bottom: 0.5rem;\n}\n\n.col-form-label {\n padding-top: calc(0.375rem + var(--bs-border-width));\n padding-bottom: calc(0.375rem + var(--bs-border-width));\n margin-bottom: 0;\n font-size: inherit;\n line-height: 1.5;\n}\n\n.col-form-label-lg {\n padding-top: calc(0.5rem + var(--bs-border-width));\n padding-bottom: calc(0.5rem + var(--bs-border-width));\n font-size: 1.25rem;\n}\n\n.col-form-label-sm {\n padding-top: calc(0.25rem + var(--bs-border-width));\n padding-bottom: calc(0.25rem + var(--bs-border-width));\n font-size: 0.875rem;\n}\n\n.form-text {\n margin-top: 0.25rem;\n font-size: 0.875em;\n color: var(--bs-secondary-color);\n}\n\n.form-control {\n display: block;\n width: 100%;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: var(--bs-body-color);\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: var(--bs-body-bg);\n background-clip: padding-box;\n border: var(--bs-border-width) solid var(--bs-border-color);\n border-radius: var(--bs-border-radius);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-control {\n transition: none;\n }\n}\n.form-control[type=file] {\n overflow: hidden;\n}\n.form-control[type=file]:not(:disabled):not([readonly]) {\n cursor: pointer;\n}\n.form-control:focus {\n color: var(--bs-body-color);\n background-color: var(--bs-body-bg);\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-control::-webkit-date-and-time-value {\n min-width: 85px;\n height: 1.5em;\n margin: 0;\n}\n.form-control::-webkit-datetime-edit {\n display: block;\n padding: 0;\n}\n.form-control::-moz-placeholder {\n color: var(--bs-secondary-color);\n opacity: 1;\n}\n.form-control::placeholder {\n color: var(--bs-secondary-color);\n opacity: 1;\n}\n.form-control:disabled {\n background-color: var(--bs-secondary-bg);\n opacity: 1;\n}\n.form-control::-webkit-file-upload-button {\n padding: 0.375rem 0.75rem;\n margin: -0.375rem -0.75rem;\n -webkit-margin-end: 0.75rem;\n margin-inline-end: 0.75rem;\n color: var(--bs-body-color);\n background-color: var(--bs-tertiary-bg);\n pointer-events: none;\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n border-inline-end-width: var(--bs-border-width);\n border-radius: 0;\n -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n.form-control::file-selector-button {\n padding: 0.375rem 0.75rem;\n margin: -0.375rem -0.75rem;\n -webkit-margin-end: 0.75rem;\n margin-inline-end: 0.75rem;\n color: var(--bs-body-color);\n background-color: var(--bs-tertiary-bg);\n pointer-events: none;\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n border-inline-end-width: var(--bs-border-width);\n border-radius: 0;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-control::-webkit-file-upload-button {\n -webkit-transition: none;\n transition: none;\n }\n .form-control::file-selector-button {\n transition: none;\n }\n}\n.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {\n background-color: var(--bs-secondary-bg);\n}\n.form-control:hover:not(:disabled):not([readonly])::file-selector-button {\n background-color: var(--bs-secondary-bg);\n}\n\n.form-control-plaintext {\n display: block;\n width: 100%;\n padding: 0.375rem 0;\n margin-bottom: 0;\n line-height: 1.5;\n color: var(--bs-body-color);\n background-color: transparent;\n border: solid transparent;\n border-width: var(--bs-border-width) 0;\n}\n.form-control-plaintext:focus {\n outline: 0;\n}\n.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {\n padding-right: 0;\n padding-left: 0;\n}\n\n.form-control-sm {\n min-height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n border-radius: var(--bs-border-radius-sm);\n}\n.form-control-sm::-webkit-file-upload-button {\n padding: 0.25rem 0.5rem;\n margin: -0.25rem -0.5rem;\n -webkit-margin-end: 0.5rem;\n margin-inline-end: 0.5rem;\n}\n.form-control-sm::file-selector-button {\n padding: 0.25rem 0.5rem;\n margin: -0.25rem -0.5rem;\n -webkit-margin-end: 0.5rem;\n margin-inline-end: 0.5rem;\n}\n\n.form-control-lg {\n min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n border-radius: var(--bs-border-radius-lg);\n}\n.form-control-lg::-webkit-file-upload-button {\n padding: 0.5rem 1rem;\n margin: -0.5rem -1rem;\n -webkit-margin-end: 1rem;\n margin-inline-end: 1rem;\n}\n.form-control-lg::file-selector-button {\n padding: 0.5rem 1rem;\n margin: -0.5rem -1rem;\n -webkit-margin-end: 1rem;\n margin-inline-end: 1rem;\n}\n\ntextarea.form-control {\n min-height: calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2));\n}\ntextarea.form-control-sm {\n min-height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));\n}\ntextarea.form-control-lg {\n min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));\n}\n\n.form-control-color {\n width: 3rem;\n height: calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2));\n padding: 0.375rem;\n}\n.form-control-color:not(:disabled):not([readonly]) {\n cursor: pointer;\n}\n.form-control-color::-moz-color-swatch {\n border: 0 !important;\n border-radius: var(--bs-border-radius);\n}\n.form-control-color::-webkit-color-swatch {\n border: 0 !important;\n border-radius: var(--bs-border-radius);\n}\n.form-control-color.form-control-sm {\n height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));\n}\n.form-control-color.form-control-lg {\n height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));\n}\n\n.form-select {\n --bs-form-select-bg-img: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");\n display: block;\n width: 100%;\n padding: 0.375rem 2.25rem 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: var(--bs-body-color);\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: var(--bs-body-bg);\n background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);\n background-repeat: no-repeat;\n background-position: right 0.75rem center;\n background-size: 16px 12px;\n border: var(--bs-border-width) solid var(--bs-border-color);\n border-radius: var(--bs-border-radius);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-select {\n transition: none;\n }\n}\n.form-select:focus {\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-select[multiple], .form-select[size]:not([size=\"1\"]) {\n padding-right: 0.75rem;\n background-image: none;\n}\n.form-select:disabled {\n background-color: var(--bs-secondary-bg);\n}\n.form-select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 var(--bs-body-color);\n}\n\n.form-select-sm {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n padding-left: 0.5rem;\n font-size: 0.875rem;\n border-radius: var(--bs-border-radius-sm);\n}\n\n.form-select-lg {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 1rem;\n font-size: 1.25rem;\n border-radius: var(--bs-border-radius-lg);\n}\n\n[data-bs-theme=dark] .form-select {\n --bs-form-select-bg-img: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");\n}\n\n.form-check {\n display: block;\n min-height: 1.5rem;\n padding-left: 1.5em;\n margin-bottom: 0.125rem;\n}\n.form-check .form-check-input {\n float: left;\n margin-left: -1.5em;\n}\n\n.form-check-reverse {\n padding-right: 1.5em;\n padding-left: 0;\n text-align: right;\n}\n.form-check-reverse .form-check-input {\n float: right;\n margin-right: -1.5em;\n margin-left: 0;\n}\n\n.form-check-input {\n --bs-form-check-bg: var(--bs-body-bg);\n flex-shrink: 0;\n width: 1em;\n height: 1em;\n margin-top: 0.25em;\n vertical-align: top;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: var(--bs-form-check-bg);\n background-image: var(--bs-form-check-bg-image);\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n border: var(--bs-border-width) solid var(--bs-border-color);\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n print-color-adjust: exact;\n}\n.form-check-input[type=checkbox] {\n border-radius: 0.25em;\n}\n.form-check-input[type=radio] {\n border-radius: 50%;\n}\n.form-check-input:active {\n filter: brightness(90%);\n}\n.form-check-input:focus {\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-check-input:checked {\n background-color: #0d6efd;\n border-color: #0d6efd;\n}\n.form-check-input:checked[type=checkbox] {\n --bs-form-check-bg-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\");\n}\n.form-check-input:checked[type=radio] {\n --bs-form-check-bg-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\");\n}\n.form-check-input[type=checkbox]:indeterminate {\n background-color: #0d6efd;\n border-color: #0d6efd;\n --bs-form-check-bg-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\");\n}\n.form-check-input:disabled {\n pointer-events: none;\n filter: none;\n opacity: 0.5;\n}\n.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {\n cursor: default;\n opacity: 0.5;\n}\n\n.form-switch {\n padding-left: 2.5em;\n}\n.form-switch .form-check-input {\n --bs-form-switch-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");\n width: 2em;\n margin-left: -2.5em;\n background-image: var(--bs-form-switch-bg);\n background-position: left center;\n border-radius: 2em;\n transition: background-position 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-switch .form-check-input {\n transition: none;\n }\n}\n.form-switch .form-check-input:focus {\n --bs-form-switch-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\");\n}\n.form-switch .form-check-input:checked {\n background-position: right center;\n --bs-form-switch-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\");\n}\n.form-switch.form-check-reverse {\n padding-right: 2.5em;\n padding-left: 0;\n}\n.form-switch.form-check-reverse .form-check-input {\n margin-right: -2.5em;\n margin-left: 0;\n}\n\n.form-check-inline {\n display: inline-block;\n margin-right: 1rem;\n}\n\n.btn-check {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.btn-check[disabled] + .btn, .btn-check:disabled + .btn {\n pointer-events: none;\n filter: none;\n opacity: 0.65;\n}\n\n[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus) {\n --bs-form-switch-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e\");\n}\n\n.form-range {\n width: 100%;\n height: 1.5rem;\n padding: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: transparent;\n}\n.form-range:focus {\n outline: 0;\n}\n.form-range:focus::-webkit-slider-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-range:focus::-moz-range-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-range::-moz-focus-outer {\n border: 0;\n}\n.form-range::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n -webkit-appearance: none;\n appearance: none;\n background-color: #0d6efd;\n border: 0;\n border-radius: 1rem;\n -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-range::-webkit-slider-thumb {\n -webkit-transition: none;\n transition: none;\n }\n}\n.form-range::-webkit-slider-thumb:active {\n background-color: #b6d4fe;\n}\n.form-range::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: var(--bs-secondary-bg);\n border-color: transparent;\n border-radius: 1rem;\n}\n.form-range::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n -moz-appearance: none;\n appearance: none;\n background-color: #0d6efd;\n border: 0;\n border-radius: 1rem;\n -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-range::-moz-range-thumb {\n -moz-transition: none;\n transition: none;\n }\n}\n.form-range::-moz-range-thumb:active {\n background-color: #b6d4fe;\n}\n.form-range::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: var(--bs-secondary-bg);\n border-color: transparent;\n border-radius: 1rem;\n}\n.form-range:disabled {\n pointer-events: none;\n}\n.form-range:disabled::-webkit-slider-thumb {\n background-color: var(--bs-secondary-color);\n}\n.form-range:disabled::-moz-range-thumb {\n background-color: var(--bs-secondary-color);\n}\n\n.form-floating {\n position: relative;\n}\n.form-floating > .form-control,\n.form-floating > .form-control-plaintext,\n.form-floating > .form-select {\n height: calc(3.5rem + calc(var(--bs-border-width) * 2));\n min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));\n line-height: 1.25;\n}\n.form-floating > label {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n height: 100%;\n padding: 1rem 0.75rem;\n overflow: hidden;\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n border: var(--bs-border-width) solid transparent;\n transform-origin: 0 0;\n transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-floating > label {\n transition: none;\n }\n}\n.form-floating > .form-control,\n.form-floating > .form-control-plaintext {\n padding: 1rem 0.75rem;\n}\n.form-floating > .form-control::-moz-placeholder, .form-floating > .form-control-plaintext::-moz-placeholder {\n color: transparent;\n}\n.form-floating > .form-control::placeholder,\n.form-floating > .form-control-plaintext::placeholder {\n color: transparent;\n}\n.form-floating > .form-control:not(:-moz-placeholder-shown), .form-floating > .form-control-plaintext:not(:-moz-placeholder-shown) {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown),\n.form-floating > .form-control-plaintext:focus,\n.form-floating > .form-control-plaintext:not(:placeholder-shown) {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-control:-webkit-autofill,\n.form-floating > .form-control-plaintext:-webkit-autofill {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-select {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {\n color: rgba(var(--bs-body-color-rgb), 0.65);\n transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);\n}\n.form-floating > .form-control:focus ~ label,\n.form-floating > .form-control:not(:placeholder-shown) ~ label,\n.form-floating > .form-control-plaintext ~ label,\n.form-floating > .form-select ~ label {\n color: rgba(var(--bs-body-color-rgb), 0.65);\n transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);\n}\n.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label::after {\n position: absolute;\n inset: 1rem 0.375rem;\n z-index: -1;\n height: 1.5em;\n content: \"\";\n background-color: var(--bs-body-bg);\n border-radius: var(--bs-border-radius);\n}\n.form-floating > .form-control:focus ~ label::after,\n.form-floating > .form-control:not(:placeholder-shown) ~ label::after,\n.form-floating > .form-control-plaintext ~ label::after,\n.form-floating > .form-select ~ label::after {\n position: absolute;\n inset: 1rem 0.375rem;\n z-index: -1;\n height: 1.5em;\n content: \"\";\n background-color: var(--bs-body-bg);\n border-radius: var(--bs-border-radius);\n}\n.form-floating > .form-control:-webkit-autofill ~ label {\n color: rgba(var(--bs-body-color-rgb), 0.65);\n transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);\n}\n.form-floating > .form-control-plaintext ~ label {\n border-width: var(--bs-border-width) 0;\n}\n.form-floating > :disabled ~ label,\n.form-floating > .form-control:disabled ~ label {\n color: #6c757d;\n}\n.form-floating > :disabled ~ label::after,\n.form-floating > .form-control:disabled ~ label::after {\n background-color: var(--bs-secondary-bg);\n}\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n}\n.input-group > .form-control,\n.input-group > .form-select,\n.input-group > .form-floating {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n min-width: 0;\n}\n.input-group > .form-control:focus,\n.input-group > .form-select:focus,\n.input-group > .form-floating:focus-within {\n z-index: 5;\n}\n.input-group .btn {\n position: relative;\n z-index: 2;\n}\n.input-group .btn:focus {\n z-index: 5;\n}\n\n.input-group-text {\n display: flex;\n align-items: center;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: var(--bs-body-color);\n text-align: center;\n white-space: nowrap;\n background-color: var(--bs-tertiary-bg);\n border: var(--bs-border-width) solid var(--bs-border-color);\n border-radius: var(--bs-border-radius);\n}\n\n.input-group-lg > .form-control,\n.input-group-lg > .form-select,\n.input-group-lg > .input-group-text,\n.input-group-lg > .btn {\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n border-radius: var(--bs-border-radius-lg);\n}\n\n.input-group-sm > .form-control,\n.input-group-sm > .form-select,\n.input-group-sm > .input-group-text,\n.input-group-sm > .btn {\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n border-radius: var(--bs-border-radius-sm);\n}\n\n.input-group-lg > .form-select,\n.input-group-sm > .form-select {\n padding-right: 3rem;\n}\n\n.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),\n.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),\n.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,\n.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),\n.input-group.has-validation > .dropdown-toggle:nth-last-child(n+4),\n.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-control,\n.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-select {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {\n margin-left: calc(var(--bs-border-width) * -1);\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group > .form-floating:not(:first-child) > .form-control,\n.input-group > .form-floating:not(:first-child) > .form-select {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.valid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 0.875em;\n color: var(--bs-form-valid-color);\n}\n\n.valid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: 0.1rem;\n font-size: 0.875rem;\n color: #fff;\n background-color: var(--bs-success);\n border-radius: var(--bs-border-radius);\n}\n\n.was-validated :valid ~ .valid-feedback,\n.was-validated :valid ~ .valid-tooltip,\n.is-valid ~ .valid-feedback,\n.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .form-control:valid, .form-control.is-valid {\n border-color: var(--bs-form-valid-border-color);\n padding-right: calc(1.5em + 0.75rem);\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-position: right calc(0.375em + 0.1875rem) center;\n background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-control:valid:focus, .form-control.is-valid:focus {\n border-color: var(--bs-form-valid-border-color);\n box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);\n}\n\n.was-validated textarea.form-control:valid, textarea.form-control.is-valid {\n padding-right: calc(1.5em + 0.75rem);\n background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);\n}\n\n.was-validated .form-select:valid, .form-select.is-valid {\n border-color: var(--bs-form-valid-border-color);\n}\n.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size=\"1\"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size=\"1\"] {\n --bs-form-select-bg-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");\n padding-right: 4.125rem;\n background-position: right 0.75rem center, center right 2.25rem;\n background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-select:valid:focus, .form-select.is-valid:focus {\n border-color: var(--bs-form-valid-border-color);\n box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);\n}\n\n.was-validated .form-control-color:valid, .form-control-color.is-valid {\n width: calc(3rem + calc(1.5em + 0.75rem));\n}\n\n.was-validated .form-check-input:valid, .form-check-input.is-valid {\n border-color: var(--bs-form-valid-border-color);\n}\n.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {\n background-color: var(--bs-form-valid-color);\n}\n.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus {\n box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);\n}\n.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {\n color: var(--bs-form-valid-color);\n}\n\n.form-check-inline .form-check-input ~ .valid-feedback {\n margin-left: 0.5em;\n}\n\n.was-validated .input-group > .form-control:not(:focus):valid, .input-group > .form-control:not(:focus).is-valid,\n.was-validated .input-group > .form-select:not(:focus):valid,\n.input-group > .form-select:not(:focus).is-valid,\n.was-validated .input-group > .form-floating:not(:focus-within):valid,\n.input-group > .form-floating:not(:focus-within).is-valid {\n z-index: 3;\n}\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 0.875em;\n color: var(--bs-form-invalid-color);\n}\n\n.invalid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: 0.1rem;\n font-size: 0.875rem;\n color: #fff;\n background-color: var(--bs-danger);\n border-radius: var(--bs-border-radius);\n}\n\n.was-validated :invalid ~ .invalid-feedback,\n.was-validated :invalid ~ .invalid-tooltip,\n.is-invalid ~ .invalid-feedback,\n.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .form-control:invalid, .form-control.is-invalid {\n border-color: var(--bs-form-invalid-border-color);\n padding-right: calc(1.5em + 0.75rem);\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-position: right calc(0.375em + 0.1875rem) center;\n background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {\n border-color: var(--bs-form-invalid-border-color);\n box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);\n}\n\n.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {\n padding-right: calc(1.5em + 0.75rem);\n background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);\n}\n\n.was-validated .form-select:invalid, .form-select.is-invalid {\n border-color: var(--bs-form-invalid-border-color);\n}\n.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size=\"1\"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size=\"1\"] {\n --bs-form-select-bg-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");\n padding-right: 4.125rem;\n background-position: right 0.75rem center, center right 2.25rem;\n background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus {\n border-color: var(--bs-form-invalid-border-color);\n box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);\n}\n\n.was-validated .form-control-color:invalid, .form-control-color.is-invalid {\n width: calc(3rem + calc(1.5em + 0.75rem));\n}\n\n.was-validated .form-check-input:invalid, .form-check-input.is-invalid {\n border-color: var(--bs-form-invalid-border-color);\n}\n.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked {\n background-color: var(--bs-form-invalid-color);\n}\n.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus {\n box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);\n}\n.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {\n color: var(--bs-form-invalid-color);\n}\n\n.form-check-inline .form-check-input ~ .invalid-feedback {\n margin-left: 0.5em;\n}\n\n.was-validated .input-group > .form-control:not(:focus):invalid, .input-group > .form-control:not(:focus).is-invalid,\n.was-validated .input-group > .form-select:not(:focus):invalid,\n.input-group > .form-select:not(:focus).is-invalid,\n.was-validated .input-group > .form-floating:not(:focus-within):invalid,\n.input-group > .form-floating:not(:focus-within).is-invalid {\n z-index: 4;\n}\n\n.btn {\n --bs-btn-padding-x: 0.75rem;\n --bs-btn-padding-y: 0.375rem;\n --bs-btn-font-family: ;\n --bs-btn-font-size: 1rem;\n --bs-btn-font-weight: 400;\n --bs-btn-line-height: 1.5;\n --bs-btn-color: var(--bs-body-color);\n --bs-btn-bg: transparent;\n --bs-btn-border-width: var(--bs-border-width);\n --bs-btn-border-color: transparent;\n --bs-btn-border-radius: var(--bs-border-radius);\n --bs-btn-hover-border-color: transparent;\n --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n --bs-btn-disabled-opacity: 0.65;\n --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);\n display: inline-block;\n padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);\n font-family: var(--bs-btn-font-family);\n font-size: var(--bs-btn-font-size);\n font-weight: var(--bs-btn-font-weight);\n line-height: var(--bs-btn-line-height);\n color: var(--bs-btn-color);\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);\n border-radius: var(--bs-btn-border-radius);\n background-color: var(--bs-btn-bg);\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .btn {\n transition: none;\n }\n}\n.btn:hover {\n color: var(--bs-btn-hover-color);\n background-color: var(--bs-btn-hover-bg);\n border-color: var(--bs-btn-hover-border-color);\n}\n.btn-check + .btn:hover {\n color: var(--bs-btn-color);\n background-color: var(--bs-btn-bg);\n border-color: var(--bs-btn-border-color);\n}\n.btn:focus-visible {\n color: var(--bs-btn-hover-color);\n background-color: var(--bs-btn-hover-bg);\n border-color: var(--bs-btn-hover-border-color);\n outline: 0;\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn-check:focus-visible + .btn {\n border-color: var(--bs-btn-hover-border-color);\n outline: 0;\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {\n color: var(--bs-btn-active-color);\n background-color: var(--bs-btn-active-bg);\n border-color: var(--bs-btn-active-border-color);\n}\n.btn-check:checked + .btn:focus-visible, :not(.btn-check) + .btn:active:focus-visible, .btn:first-child:active:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible {\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn-check:checked:focus-visible + .btn {\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn:disabled, .btn.disabled, fieldset:disabled .btn {\n color: var(--bs-btn-disabled-color);\n pointer-events: none;\n background-color: var(--bs-btn-disabled-bg);\n border-color: var(--bs-btn-disabled-border-color);\n opacity: var(--bs-btn-disabled-opacity);\n}\n\n.btn-primary {\n --bs-btn-color: #fff;\n --bs-btn-bg: #0d6efd;\n --bs-btn-border-color: #0d6efd;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #0b5ed7;\n --bs-btn-hover-border-color: #0a58ca;\n --bs-btn-focus-shadow-rgb: 49, 132, 253;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #0a58ca;\n --bs-btn-active-border-color: #0a53be;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #0d6efd;\n --bs-btn-disabled-border-color: #0d6efd;\n}\n\n.btn-secondary {\n --bs-btn-color: #fff;\n --bs-btn-bg: #6c757d;\n --bs-btn-border-color: #6c757d;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #5c636a;\n --bs-btn-hover-border-color: #565e64;\n --bs-btn-focus-shadow-rgb: 130, 138, 145;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #565e64;\n --bs-btn-active-border-color: #51585e;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #6c757d;\n --bs-btn-disabled-border-color: #6c757d;\n}\n\n.btn-success {\n --bs-btn-color: #fff;\n --bs-btn-bg: #198754;\n --bs-btn-border-color: #198754;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #157347;\n --bs-btn-hover-border-color: #146c43;\n --bs-btn-focus-shadow-rgb: 60, 153, 110;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #146c43;\n --bs-btn-active-border-color: #13653f;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #198754;\n --bs-btn-disabled-border-color: #198754;\n}\n\n.btn-info {\n --bs-btn-color: #000;\n --bs-btn-bg: #0dcaf0;\n --bs-btn-border-color: #0dcaf0;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #31d2f2;\n --bs-btn-hover-border-color: #25cff2;\n --bs-btn-focus-shadow-rgb: 11, 172, 204;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #3dd5f3;\n --bs-btn-active-border-color: #25cff2;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #000;\n --bs-btn-disabled-bg: #0dcaf0;\n --bs-btn-disabled-border-color: #0dcaf0;\n}\n\n.btn-warning {\n --bs-btn-color: #000;\n --bs-btn-bg: #ffc107;\n --bs-btn-border-color: #ffc107;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #ffca2c;\n --bs-btn-hover-border-color: #ffc720;\n --bs-btn-focus-shadow-rgb: 217, 164, 6;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #ffcd39;\n --bs-btn-active-border-color: #ffc720;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #000;\n --bs-btn-disabled-bg: #ffc107;\n --bs-btn-disabled-border-color: #ffc107;\n}\n\n.btn-danger {\n --bs-btn-color: #fff;\n --bs-btn-bg: #dc3545;\n --bs-btn-border-color: #dc3545;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #bb2d3b;\n --bs-btn-hover-border-color: #b02a37;\n --bs-btn-focus-shadow-rgb: 225, 83, 97;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #b02a37;\n --bs-btn-active-border-color: #a52834;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #dc3545;\n --bs-btn-disabled-border-color: #dc3545;\n}\n\n.btn-light {\n --bs-btn-color: #000;\n --bs-btn-bg: #f8f9fa;\n --bs-btn-border-color: #f8f9fa;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #d3d4d5;\n --bs-btn-hover-border-color: #c6c7c8;\n --bs-btn-focus-shadow-rgb: 211, 212, 213;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #c6c7c8;\n --bs-btn-active-border-color: #babbbc;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #000;\n --bs-btn-disabled-bg: #f8f9fa;\n --bs-btn-disabled-border-color: #f8f9fa;\n}\n\n.btn-dark {\n --bs-btn-color: #fff;\n --bs-btn-bg: #212529;\n --bs-btn-border-color: #212529;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #424649;\n --bs-btn-hover-border-color: #373b3e;\n --bs-btn-focus-shadow-rgb: 66, 70, 73;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #4d5154;\n --bs-btn-active-border-color: #373b3e;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #212529;\n --bs-btn-disabled-border-color: #212529;\n}\n\n.btn-outline-primary {\n --bs-btn-color: #0d6efd;\n --bs-btn-border-color: #0d6efd;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #0d6efd;\n --bs-btn-hover-border-color: #0d6efd;\n --bs-btn-focus-shadow-rgb: 13, 110, 253;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #0d6efd;\n --bs-btn-active-border-color: #0d6efd;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #0d6efd;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #0d6efd;\n --bs-gradient: none;\n}\n\n.btn-outline-secondary {\n --bs-btn-color: #6c757d;\n --bs-btn-border-color: #6c757d;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #6c757d;\n --bs-btn-hover-border-color: #6c757d;\n --bs-btn-focus-shadow-rgb: 108, 117, 125;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #6c757d;\n --bs-btn-active-border-color: #6c757d;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #6c757d;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #6c757d;\n --bs-gradient: none;\n}\n\n.btn-outline-success {\n --bs-btn-color: #198754;\n --bs-btn-border-color: #198754;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #198754;\n --bs-btn-hover-border-color: #198754;\n --bs-btn-focus-shadow-rgb: 25, 135, 84;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #198754;\n --bs-btn-active-border-color: #198754;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #198754;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #198754;\n --bs-gradient: none;\n}\n\n.btn-outline-info {\n --bs-btn-color: #0dcaf0;\n --bs-btn-border-color: #0dcaf0;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #0dcaf0;\n --bs-btn-hover-border-color: #0dcaf0;\n --bs-btn-focus-shadow-rgb: 13, 202, 240;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #0dcaf0;\n --bs-btn-active-border-color: #0dcaf0;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #0dcaf0;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #0dcaf0;\n --bs-gradient: none;\n}\n\n.btn-outline-warning {\n --bs-btn-color: #ffc107;\n --bs-btn-border-color: #ffc107;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #ffc107;\n --bs-btn-hover-border-color: #ffc107;\n --bs-btn-focus-shadow-rgb: 255, 193, 7;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #ffc107;\n --bs-btn-active-border-color: #ffc107;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #ffc107;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #ffc107;\n --bs-gradient: none;\n}\n\n.btn-outline-danger {\n --bs-btn-color: #dc3545;\n --bs-btn-border-color: #dc3545;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #dc3545;\n --bs-btn-hover-border-color: #dc3545;\n --bs-btn-focus-shadow-rgb: 220, 53, 69;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #dc3545;\n --bs-btn-active-border-color: #dc3545;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #dc3545;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #dc3545;\n --bs-gradient: none;\n}\n\n.btn-outline-light {\n --bs-btn-color: #f8f9fa;\n --bs-btn-border-color: #f8f9fa;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #f8f9fa;\n --bs-btn-hover-border-color: #f8f9fa;\n --bs-btn-focus-shadow-rgb: 248, 249, 250;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #f8f9fa;\n --bs-btn-active-border-color: #f8f9fa;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #f8f9fa;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #f8f9fa;\n --bs-gradient: none;\n}\n\n.btn-outline-dark {\n --bs-btn-color: #212529;\n --bs-btn-border-color: #212529;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #212529;\n --bs-btn-hover-border-color: #212529;\n --bs-btn-focus-shadow-rgb: 33, 37, 41;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #212529;\n --bs-btn-active-border-color: #212529;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #212529;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #212529;\n --bs-gradient: none;\n}\n\n.btn-link {\n --bs-btn-font-weight: 400;\n --bs-btn-color: var(--bs-link-color);\n --bs-btn-bg: transparent;\n --bs-btn-border-color: transparent;\n --bs-btn-hover-color: var(--bs-link-hover-color);\n --bs-btn-hover-border-color: transparent;\n --bs-btn-active-color: var(--bs-link-hover-color);\n --bs-btn-active-border-color: transparent;\n --bs-btn-disabled-color: #6c757d;\n --bs-btn-disabled-border-color: transparent;\n --bs-btn-box-shadow: 0 0 0 #000;\n --bs-btn-focus-shadow-rgb: 49, 132, 253;\n text-decoration: underline;\n}\n.btn-link:focus-visible {\n color: var(--bs-btn-color);\n}\n.btn-link:hover {\n color: var(--bs-btn-hover-color);\n}\n\n.btn-lg, .btn-group-lg > .btn {\n --bs-btn-padding-y: 0.5rem;\n --bs-btn-padding-x: 1rem;\n --bs-btn-font-size: 1.25rem;\n --bs-btn-border-radius: var(--bs-border-radius-lg);\n}\n\n.btn-sm, .btn-group-sm > .btn {\n --bs-btn-padding-y: 0.25rem;\n --bs-btn-padding-x: 0.5rem;\n --bs-btn-font-size: 0.875rem;\n --bs-btn-border-radius: var(--bs-border-radius-sm);\n}\n\n.fade {\n transition: opacity 0.15s linear;\n}\n@media (prefers-reduced-motion: reduce) {\n .fade {\n transition: none;\n }\n}\n.fade:not(.show) {\n opacity: 0;\n}\n\n.collapse:not(.show) {\n display: none;\n}\n\n.collapsing {\n height: 0;\n overflow: hidden;\n transition: height 0.35s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .collapsing {\n transition: none;\n }\n}\n.collapsing.collapse-horizontal {\n width: 0;\n height: auto;\n transition: width 0.35s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .collapsing.collapse-horizontal {\n transition: none;\n }\n}\n\n.dropup,\n.dropend,\n.dropdown,\n.dropstart,\n.dropup-center,\n.dropdown-center {\n position: relative;\n}\n\n.dropdown-toggle {\n white-space: nowrap;\n}\n.dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid;\n border-right: 0.3em solid transparent;\n border-bottom: 0;\n border-left: 0.3em solid transparent;\n}\n.dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropdown-menu {\n --bs-dropdown-zindex: 1000;\n --bs-dropdown-min-width: 10rem;\n --bs-dropdown-padding-x: 0;\n --bs-dropdown-padding-y: 0.5rem;\n --bs-dropdown-spacer: 0.125rem;\n --bs-dropdown-font-size: 1rem;\n --bs-dropdown-color: var(--bs-body-color);\n --bs-dropdown-bg: var(--bs-body-bg);\n --bs-dropdown-border-color: var(--bs-border-color-translucent);\n --bs-dropdown-border-radius: var(--bs-border-radius);\n --bs-dropdown-border-width: var(--bs-border-width);\n --bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));\n --bs-dropdown-divider-bg: var(--bs-border-color-translucent);\n --bs-dropdown-divider-margin-y: 0.5rem;\n --bs-dropdown-box-shadow: var(--bs-box-shadow);\n --bs-dropdown-link-color: var(--bs-body-color);\n --bs-dropdown-link-hover-color: var(--bs-body-color);\n --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);\n --bs-dropdown-link-active-color: #fff;\n --bs-dropdown-link-active-bg: #0d6efd;\n --bs-dropdown-link-disabled-color: var(--bs-tertiary-color);\n --bs-dropdown-item-padding-x: 1rem;\n --bs-dropdown-item-padding-y: 0.25rem;\n --bs-dropdown-header-color: #6c757d;\n --bs-dropdown-header-padding-x: 1rem;\n --bs-dropdown-header-padding-y: 0.5rem;\n position: absolute;\n z-index: var(--bs-dropdown-zindex);\n display: none;\n min-width: var(--bs-dropdown-min-width);\n padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);\n margin: 0;\n font-size: var(--bs-dropdown-font-size);\n color: var(--bs-dropdown-color);\n text-align: left;\n list-style: none;\n background-color: var(--bs-dropdown-bg);\n background-clip: padding-box;\n border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);\n border-radius: var(--bs-dropdown-border-radius);\n}\n.dropdown-menu[data-bs-popper] {\n top: 100%;\n left: 0;\n margin-top: var(--bs-dropdown-spacer);\n}\n\n.dropdown-menu-start {\n --bs-position: start;\n}\n.dropdown-menu-start[data-bs-popper] {\n right: auto;\n left: 0;\n}\n\n.dropdown-menu-end {\n --bs-position: end;\n}\n.dropdown-menu-end[data-bs-popper] {\n right: 0;\n left: auto;\n}\n\n@media (min-width: 576px) {\n .dropdown-menu-sm-start {\n --bs-position: start;\n }\n .dropdown-menu-sm-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-sm-end {\n --bs-position: end;\n }\n .dropdown-menu-sm-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 768px) {\n .dropdown-menu-md-start {\n --bs-position: start;\n }\n .dropdown-menu-md-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-md-end {\n --bs-position: end;\n }\n .dropdown-menu-md-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 992px) {\n .dropdown-menu-lg-start {\n --bs-position: start;\n }\n .dropdown-menu-lg-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-lg-end {\n --bs-position: end;\n }\n .dropdown-menu-lg-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 1200px) {\n .dropdown-menu-xl-start {\n --bs-position: start;\n }\n .dropdown-menu-xl-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-xl-end {\n --bs-position: end;\n }\n .dropdown-menu-xl-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 1400px) {\n .dropdown-menu-xxl-start {\n --bs-position: start;\n }\n .dropdown-menu-xxl-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-xxl-end {\n --bs-position: end;\n }\n .dropdown-menu-xxl-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n.dropup .dropdown-menu[data-bs-popper] {\n top: auto;\n bottom: 100%;\n margin-top: 0;\n margin-bottom: var(--bs-dropdown-spacer);\n}\n.dropup .dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0;\n border-right: 0.3em solid transparent;\n border-bottom: 0.3em solid;\n border-left: 0.3em solid transparent;\n}\n.dropup .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropend .dropdown-menu[data-bs-popper] {\n top: 0;\n right: auto;\n left: 100%;\n margin-top: 0;\n margin-left: var(--bs-dropdown-spacer);\n}\n.dropend .dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0;\n border-bottom: 0.3em solid transparent;\n border-left: 0.3em solid;\n}\n.dropend .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n.dropend .dropdown-toggle::after {\n vertical-align: 0;\n}\n\n.dropstart .dropdown-menu[data-bs-popper] {\n top: 0;\n right: 100%;\n left: auto;\n margin-top: 0;\n margin-right: var(--bs-dropdown-spacer);\n}\n.dropstart .dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n}\n.dropstart .dropdown-toggle::after {\n display: none;\n}\n.dropstart .dropdown-toggle::before {\n display: inline-block;\n margin-right: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0.3em solid;\n border-bottom: 0.3em solid transparent;\n}\n.dropstart .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n.dropstart .dropdown-toggle::before {\n vertical-align: 0;\n}\n\n.dropdown-divider {\n height: 0;\n margin: var(--bs-dropdown-divider-margin-y) 0;\n overflow: hidden;\n border-top: 1px solid var(--bs-dropdown-divider-bg);\n opacity: 1;\n}\n\n.dropdown-item {\n display: block;\n width: 100%;\n padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);\n clear: both;\n font-weight: 400;\n color: var(--bs-dropdown-link-color);\n text-align: inherit;\n text-decoration: none;\n white-space: nowrap;\n background-color: transparent;\n border: 0;\n border-radius: var(--bs-dropdown-item-border-radius, 0);\n}\n.dropdown-item:hover, .dropdown-item:focus {\n color: var(--bs-dropdown-link-hover-color);\n background-color: var(--bs-dropdown-link-hover-bg);\n}\n.dropdown-item.active, .dropdown-item:active {\n color: var(--bs-dropdown-link-active-color);\n text-decoration: none;\n background-color: var(--bs-dropdown-link-active-bg);\n}\n.dropdown-item.disabled, .dropdown-item:disabled {\n color: var(--bs-dropdown-link-disabled-color);\n pointer-events: none;\n background-color: transparent;\n}\n\n.dropdown-menu.show {\n display: block;\n}\n\n.dropdown-header {\n display: block;\n padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);\n margin-bottom: 0;\n font-size: 0.875rem;\n color: var(--bs-dropdown-header-color);\n white-space: nowrap;\n}\n\n.dropdown-item-text {\n display: block;\n padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);\n color: var(--bs-dropdown-link-color);\n}\n\n.dropdown-menu-dark {\n --bs-dropdown-color: #dee2e6;\n --bs-dropdown-bg: #343a40;\n --bs-dropdown-border-color: var(--bs-border-color-translucent);\n --bs-dropdown-box-shadow: ;\n --bs-dropdown-link-color: #dee2e6;\n --bs-dropdown-link-hover-color: #fff;\n --bs-dropdown-divider-bg: var(--bs-border-color-translucent);\n --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);\n --bs-dropdown-link-active-color: #fff;\n --bs-dropdown-link-active-bg: #0d6efd;\n --bs-dropdown-link-disabled-color: #adb5bd;\n --bs-dropdown-header-color: #adb5bd;\n}\n\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n flex: 1 1 auto;\n}\n.btn-group > .btn-check:checked + .btn,\n.btn-group > .btn-check:focus + .btn,\n.btn-group > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn-check:checked + .btn,\n.btn-group-vertical > .btn-check:focus + .btn,\n.btn-group-vertical > .btn:hover,\n.btn-group-vertical > .btn:focus,\n.btn-group-vertical > .btn:active,\n.btn-group-vertical > .btn.active {\n z-index: 1;\n}\n\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n.btn-toolbar .input-group {\n width: auto;\n}\n\n.btn-group {\n border-radius: var(--bs-border-radius);\n}\n.btn-group > :not(.btn-check:first-child) + .btn,\n.btn-group > .btn-group:not(:first-child) {\n margin-left: calc(var(--bs-border-width) * -1);\n}\n.btn-group > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group > .btn.dropdown-toggle-split:first-child,\n.btn-group > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:nth-child(n+3),\n.btn-group > :not(.btn-check) + .btn,\n.btn-group > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.dropdown-toggle-split {\n padding-right: 0.5625rem;\n padding-left: 0.5625rem;\n}\n.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after {\n margin-left: 0;\n}\n.dropstart .dropdown-toggle-split::before {\n margin-right: 0;\n}\n\n.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {\n padding-right: 0.375rem;\n padding-left: 0.375rem;\n}\n\n.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {\n padding-right: 0.75rem;\n padding-left: 0.75rem;\n}\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group {\n width: 100%;\n}\n.btn-group-vertical > .btn:not(:first-child),\n.btn-group-vertical > .btn-group:not(:first-child) {\n margin-top: calc(var(--bs-border-width) * -1);\n}\n.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group-vertical > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn ~ .btn,\n.btn-group-vertical > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.nav {\n --bs-nav-link-padding-x: 1rem;\n --bs-nav-link-padding-y: 0.5rem;\n --bs-nav-link-font-weight: ;\n --bs-nav-link-color: var(--bs-link-color);\n --bs-nav-link-hover-color: var(--bs-link-hover-color);\n --bs-nav-link-disabled-color: var(--bs-secondary-color);\n display: flex;\n flex-wrap: wrap;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.nav-link {\n display: block;\n padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);\n font-size: var(--bs-nav-link-font-size);\n font-weight: var(--bs-nav-link-font-weight);\n color: var(--bs-nav-link-color);\n text-decoration: none;\n background: none;\n border: 0;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .nav-link {\n transition: none;\n }\n}\n.nav-link:hover, .nav-link:focus {\n color: var(--bs-nav-link-hover-color);\n}\n.nav-link:focus-visible {\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.nav-link.disabled, .nav-link:disabled {\n color: var(--bs-nav-link-disabled-color);\n pointer-events: none;\n cursor: default;\n}\n\n.nav-tabs {\n --bs-nav-tabs-border-width: var(--bs-border-width);\n --bs-nav-tabs-border-color: var(--bs-border-color);\n --bs-nav-tabs-border-radius: var(--bs-border-radius);\n --bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);\n --bs-nav-tabs-link-active-color: var(--bs-emphasis-color);\n --bs-nav-tabs-link-active-bg: var(--bs-body-bg);\n --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);\n border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);\n}\n.nav-tabs .nav-link {\n margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));\n border: var(--bs-nav-tabs-border-width) solid transparent;\n border-top-left-radius: var(--bs-nav-tabs-border-radius);\n border-top-right-radius: var(--bs-nav-tabs-border-radius);\n}\n.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {\n isolation: isolate;\n border-color: var(--bs-nav-tabs-link-hover-border-color);\n}\n.nav-tabs .nav-link.active,\n.nav-tabs .nav-item.show .nav-link {\n color: var(--bs-nav-tabs-link-active-color);\n background-color: var(--bs-nav-tabs-link-active-bg);\n border-color: var(--bs-nav-tabs-link-active-border-color);\n}\n.nav-tabs .dropdown-menu {\n margin-top: calc(-1 * var(--bs-nav-tabs-border-width));\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.nav-pills {\n --bs-nav-pills-border-radius: var(--bs-border-radius);\n --bs-nav-pills-link-active-color: #fff;\n --bs-nav-pills-link-active-bg: #0d6efd;\n}\n.nav-pills .nav-link {\n border-radius: var(--bs-nav-pills-border-radius);\n}\n.nav-pills .nav-link.active,\n.nav-pills .show > .nav-link {\n color: var(--bs-nav-pills-link-active-color);\n background-color: var(--bs-nav-pills-link-active-bg);\n}\n\n.nav-underline {\n --bs-nav-underline-gap: 1rem;\n --bs-nav-underline-border-width: 0.125rem;\n --bs-nav-underline-link-active-color: var(--bs-emphasis-color);\n gap: var(--bs-nav-underline-gap);\n}\n.nav-underline .nav-link {\n padding-right: 0;\n padding-left: 0;\n border-bottom: var(--bs-nav-underline-border-width) solid transparent;\n}\n.nav-underline .nav-link:hover, .nav-underline .nav-link:focus {\n border-bottom-color: currentcolor;\n}\n.nav-underline .nav-link.active,\n.nav-underline .show > .nav-link {\n font-weight: 700;\n color: var(--bs-nav-underline-link-active-color);\n border-bottom-color: currentcolor;\n}\n\n.nav-fill > .nav-link,\n.nav-fill .nav-item {\n flex: 1 1 auto;\n text-align: center;\n}\n\n.nav-justified > .nav-link,\n.nav-justified .nav-item {\n flex-basis: 0;\n flex-grow: 1;\n text-align: center;\n}\n\n.nav-fill .nav-item .nav-link,\n.nav-justified .nav-item .nav-link {\n width: 100%;\n}\n\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n\n.navbar {\n --bs-navbar-padding-x: 0;\n --bs-navbar-padding-y: 0.5rem;\n --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);\n --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);\n --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);\n --bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);\n --bs-navbar-brand-padding-y: 0.3125rem;\n --bs-navbar-brand-margin-end: 1rem;\n --bs-navbar-brand-font-size: 1.25rem;\n --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);\n --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);\n --bs-navbar-nav-link-padding-x: 0.5rem;\n --bs-navbar-toggler-padding-y: 0.25rem;\n --bs-navbar-toggler-padding-x: 0.75rem;\n --bs-navbar-toggler-font-size: 1.25rem;\n --bs-navbar-toggler-icon-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");\n --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);\n --bs-navbar-toggler-border-radius: var(--bs-border-radius);\n --bs-navbar-toggler-focus-width: 0.25rem;\n --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);\n}\n.navbar > .container,\n.navbar > .container-fluid,\n.navbar > .container-sm,\n.navbar > .container-md,\n.navbar > .container-lg,\n.navbar > .container-xl,\n.navbar > .container-xxl {\n display: flex;\n flex-wrap: inherit;\n align-items: center;\n justify-content: space-between;\n}\n.navbar-brand {\n padding-top: var(--bs-navbar-brand-padding-y);\n padding-bottom: var(--bs-navbar-brand-padding-y);\n margin-right: var(--bs-navbar-brand-margin-end);\n font-size: var(--bs-navbar-brand-font-size);\n color: var(--bs-navbar-brand-color);\n text-decoration: none;\n white-space: nowrap;\n}\n.navbar-brand:hover, .navbar-brand:focus {\n color: var(--bs-navbar-brand-hover-color);\n}\n\n.navbar-nav {\n --bs-nav-link-padding-x: 0;\n --bs-nav-link-padding-y: 0.5rem;\n --bs-nav-link-font-weight: ;\n --bs-nav-link-color: var(--bs-navbar-color);\n --bs-nav-link-hover-color: var(--bs-navbar-hover-color);\n --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {\n color: var(--bs-navbar-active-color);\n}\n.navbar-nav .dropdown-menu {\n position: static;\n}\n\n.navbar-text {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n color: var(--bs-navbar-color);\n}\n.navbar-text a,\n.navbar-text a:hover,\n.navbar-text a:focus {\n color: var(--bs-navbar-active-color);\n}\n\n.navbar-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n align-items: center;\n}\n\n.navbar-toggler {\n padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);\n font-size: var(--bs-navbar-toggler-font-size);\n line-height: 1;\n color: var(--bs-navbar-color);\n background-color: transparent;\n border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);\n border-radius: var(--bs-navbar-toggler-border-radius);\n transition: var(--bs-navbar-toggler-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .navbar-toggler {\n transition: none;\n }\n}\n.navbar-toggler:hover {\n text-decoration: none;\n}\n.navbar-toggler:focus {\n text-decoration: none;\n outline: 0;\n box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width);\n}\n\n.navbar-toggler-icon {\n display: inline-block;\n width: 1.5em;\n height: 1.5em;\n vertical-align: middle;\n background-image: var(--bs-navbar-toggler-icon-bg);\n background-repeat: no-repeat;\n background-position: center;\n background-size: 100%;\n}\n\n.navbar-nav-scroll {\n max-height: var(--bs-scroll-height, 75vh);\n overflow-y: auto;\n}\n\n@media (min-width: 576px) {\n .navbar-expand-sm {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-sm .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-sm .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-sm .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-sm .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-sm .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-sm .navbar-toggler {\n display: none;\n }\n .navbar-expand-sm .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-sm .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-sm .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 768px) {\n .navbar-expand-md {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-md .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-md .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-md .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-md .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-md .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-md .navbar-toggler {\n display: none;\n }\n .navbar-expand-md .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-md .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-md .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 992px) {\n .navbar-expand-lg {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-lg .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-lg .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-lg .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-lg .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-lg .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-lg .navbar-toggler {\n display: none;\n }\n .navbar-expand-lg .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-lg .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-lg .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 1200px) {\n .navbar-expand-xl {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-xl .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-xl .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-xl .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-xl .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-xl .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-xl .navbar-toggler {\n display: none;\n }\n .navbar-expand-xl .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-xl .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-xl .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 1400px) {\n .navbar-expand-xxl {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-xxl .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-xxl .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-xxl .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-xxl .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-xxl .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-xxl .navbar-toggler {\n display: none;\n }\n .navbar-expand-xxl .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-xxl .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-xxl .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n.navbar-expand {\n flex-wrap: nowrap;\n justify-content: flex-start;\n}\n.navbar-expand .navbar-nav {\n flex-direction: row;\n}\n.navbar-expand .navbar-nav .dropdown-menu {\n position: absolute;\n}\n.navbar-expand .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n}\n.navbar-expand .navbar-nav-scroll {\n overflow: visible;\n}\n.navbar-expand .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n}\n.navbar-expand .navbar-toggler {\n display: none;\n}\n.navbar-expand .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n}\n.navbar-expand .offcanvas .offcanvas-header {\n display: none;\n}\n.navbar-expand .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n}\n\n.navbar-dark,\n.navbar[data-bs-theme=dark] {\n --bs-navbar-color: rgba(255, 255, 255, 0.55);\n --bs-navbar-hover-color: rgba(255, 255, 255, 0.75);\n --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);\n --bs-navbar-active-color: #fff;\n --bs-navbar-brand-color: #fff;\n --bs-navbar-brand-hover-color: #fff;\n --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);\n --bs-navbar-toggler-icon-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");\n}\n\n[data-bs-theme=dark] .navbar-toggler-icon {\n --bs-navbar-toggler-icon-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");\n}\n\n.card {\n --bs-card-spacer-y: 1rem;\n --bs-card-spacer-x: 1rem;\n --bs-card-title-spacer-y: 0.5rem;\n --bs-card-title-color: ;\n --bs-card-subtitle-color: ;\n --bs-card-border-width: var(--bs-border-width);\n --bs-card-border-color: var(--bs-border-color-translucent);\n --bs-card-border-radius: var(--bs-border-radius);\n --bs-card-box-shadow: ;\n --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));\n --bs-card-cap-padding-y: 0.5rem;\n --bs-card-cap-padding-x: 1rem;\n --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);\n --bs-card-cap-color: ;\n --bs-card-height: ;\n --bs-card-color: ;\n --bs-card-bg: var(--bs-body-bg);\n --bs-card-img-overlay-padding: 1rem;\n --bs-card-group-margin: 0.75rem;\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n height: var(--bs-card-height);\n color: var(--bs-body-color);\n word-wrap: break-word;\n background-color: var(--bs-card-bg);\n background-clip: border-box;\n border: var(--bs-card-border-width) solid var(--bs-card-border-color);\n border-radius: var(--bs-card-border-radius);\n}\n.card > hr {\n margin-right: 0;\n margin-left: 0;\n}\n.card > .list-group {\n border-top: inherit;\n border-bottom: inherit;\n}\n.card > .list-group:first-child {\n border-top-width: 0;\n border-top-left-radius: var(--bs-card-inner-border-radius);\n border-top-right-radius: var(--bs-card-inner-border-radius);\n}\n.card > .list-group:last-child {\n border-bottom-width: 0;\n border-bottom-right-radius: var(--bs-card-inner-border-radius);\n border-bottom-left-radius: var(--bs-card-inner-border-radius);\n}\n.card > .card-header + .list-group,\n.card > .list-group + .card-footer {\n border-top: 0;\n}\n\n.card-body {\n flex: 1 1 auto;\n padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);\n color: var(--bs-card-color);\n}\n\n.card-title {\n margin-bottom: var(--bs-card-title-spacer-y);\n color: var(--bs-card-title-color);\n}\n\n.card-subtitle {\n margin-top: calc(-0.5 * var(--bs-card-title-spacer-y));\n margin-bottom: 0;\n color: var(--bs-card-subtitle-color);\n}\n\n.card-text:last-child {\n margin-bottom: 0;\n}\n\n.card-link + .card-link {\n margin-left: var(--bs-card-spacer-x);\n}\n\n.card-header {\n padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);\n margin-bottom: 0;\n color: var(--bs-card-cap-color);\n background-color: var(--bs-card-cap-bg);\n border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);\n}\n.card-header:first-child {\n border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;\n}\n\n.card-footer {\n padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);\n color: var(--bs-card-cap-color);\n background-color: var(--bs-card-cap-bg);\n border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);\n}\n.card-footer:last-child {\n border-radius: 0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);\n}\n\n.card-header-tabs {\n margin-right: calc(-0.5 * var(--bs-card-cap-padding-x));\n margin-bottom: calc(-1 * var(--bs-card-cap-padding-y));\n margin-left: calc(-0.5 * var(--bs-card-cap-padding-x));\n border-bottom: 0;\n}\n.card-header-tabs .nav-link.active {\n background-color: var(--bs-card-bg);\n border-bottom-color: var(--bs-card-bg);\n}\n\n.card-header-pills {\n margin-right: calc(-0.5 * var(--bs-card-cap-padding-x));\n margin-left: calc(-0.5 * var(--bs-card-cap-padding-x));\n}\n\n.card-img-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--bs-card-img-overlay-padding);\n border-radius: var(--bs-card-inner-border-radius);\n}\n\n.card-img,\n.card-img-top,\n.card-img-bottom {\n width: 100%;\n}\n\n.card-img,\n.card-img-top {\n border-top-left-radius: var(--bs-card-inner-border-radius);\n border-top-right-radius: var(--bs-card-inner-border-radius);\n}\n\n.card-img,\n.card-img-bottom {\n border-bottom-right-radius: var(--bs-card-inner-border-radius);\n border-bottom-left-radius: var(--bs-card-inner-border-radius);\n}\n\n.card-group > .card {\n margin-bottom: var(--bs-card-group-margin);\n}\n@media (min-width: 576px) {\n .card-group {\n display: flex;\n flex-flow: row wrap;\n }\n .card-group > .card {\n flex: 1 0 0%;\n margin-bottom: 0;\n }\n .card-group > .card + .card {\n margin-left: 0;\n border-left: 0;\n }\n .card-group > .card:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .card-group > .card:not(:last-child) .card-img-top,\n .card-group > .card:not(:last-child) .card-header {\n border-top-right-radius: 0;\n }\n .card-group > .card:not(:last-child) .card-img-bottom,\n .card-group > .card:not(:last-child) .card-footer {\n border-bottom-right-radius: 0;\n }\n .card-group > .card:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .card-group > .card:not(:first-child) .card-img-top,\n .card-group > .card:not(:first-child) .card-header {\n border-top-left-radius: 0;\n }\n .card-group > .card:not(:first-child) .card-img-bottom,\n .card-group > .card:not(:first-child) .card-footer {\n border-bottom-left-radius: 0;\n }\n}\n\n.accordion {\n --bs-accordion-color: var(--bs-body-color);\n --bs-accordion-bg: var(--bs-body-bg);\n --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;\n --bs-accordion-border-color: var(--bs-border-color);\n --bs-accordion-border-width: var(--bs-border-width);\n --bs-accordion-border-radius: var(--bs-border-radius);\n --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));\n --bs-accordion-btn-padding-x: 1.25rem;\n --bs-accordion-btn-padding-y: 1rem;\n --bs-accordion-btn-color: var(--bs-body-color);\n --bs-accordion-btn-bg: var(--bs-accordion-bg);\n --bs-accordion-btn-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e\");\n --bs-accordion-btn-icon-width: 1.25rem;\n --bs-accordion-btn-icon-transform: rotate(-180deg);\n --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;\n --bs-accordion-btn-active-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e\");\n --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n --bs-accordion-body-padding-x: 1.25rem;\n --bs-accordion-body-padding-y: 1rem;\n --bs-accordion-active-color: var(--bs-primary-text-emphasis);\n --bs-accordion-active-bg: var(--bs-primary-bg-subtle);\n}\n\n.accordion-button {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);\n font-size: 1rem;\n color: var(--bs-accordion-btn-color);\n text-align: left;\n background-color: var(--bs-accordion-btn-bg);\n border: 0;\n border-radius: 0;\n overflow-anchor: none;\n transition: var(--bs-accordion-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .accordion-button {\n transition: none;\n }\n}\n.accordion-button:not(.collapsed) {\n color: var(--bs-accordion-active-color);\n background-color: var(--bs-accordion-active-bg);\n box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);\n}\n.accordion-button:not(.collapsed)::after {\n background-image: var(--bs-accordion-btn-active-icon);\n transform: var(--bs-accordion-btn-icon-transform);\n}\n.accordion-button::after {\n flex-shrink: 0;\n width: var(--bs-accordion-btn-icon-width);\n height: var(--bs-accordion-btn-icon-width);\n margin-left: auto;\n content: \"\";\n background-image: var(--bs-accordion-btn-icon);\n background-repeat: no-repeat;\n background-size: var(--bs-accordion-btn-icon-width);\n transition: var(--bs-accordion-btn-icon-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .accordion-button::after {\n transition: none;\n }\n}\n.accordion-button:hover {\n z-index: 2;\n}\n.accordion-button:focus {\n z-index: 3;\n outline: 0;\n box-shadow: var(--bs-accordion-btn-focus-box-shadow);\n}\n\n.accordion-header {\n margin-bottom: 0;\n}\n\n.accordion-item {\n color: var(--bs-accordion-color);\n background-color: var(--bs-accordion-bg);\n border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);\n}\n.accordion-item:first-of-type {\n border-top-left-radius: var(--bs-accordion-border-radius);\n border-top-right-radius: var(--bs-accordion-border-radius);\n}\n.accordion-item:first-of-type > .accordion-header .accordion-button {\n border-top-left-radius: var(--bs-accordion-inner-border-radius);\n border-top-right-radius: var(--bs-accordion-inner-border-radius);\n}\n.accordion-item:not(:first-of-type) {\n border-top: 0;\n}\n.accordion-item:last-of-type {\n border-bottom-right-radius: var(--bs-accordion-border-radius);\n border-bottom-left-radius: var(--bs-accordion-border-radius);\n}\n.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {\n border-bottom-right-radius: var(--bs-accordion-inner-border-radius);\n border-bottom-left-radius: var(--bs-accordion-inner-border-radius);\n}\n.accordion-item:last-of-type > .accordion-collapse {\n border-bottom-right-radius: var(--bs-accordion-border-radius);\n border-bottom-left-radius: var(--bs-accordion-border-radius);\n}\n\n.accordion-body {\n padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);\n}\n\n.accordion-flush > .accordion-item {\n border-right: 0;\n border-left: 0;\n border-radius: 0;\n}\n.accordion-flush > .accordion-item:first-child {\n border-top: 0;\n}\n.accordion-flush > .accordion-item:last-child {\n border-bottom: 0;\n}\n.accordion-flush > .accordion-item > .accordion-header .accordion-button, .accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {\n border-radius: 0;\n}\n.accordion-flush > .accordion-item > .accordion-collapse {\n border-radius: 0;\n}\n\n[data-bs-theme=dark] .accordion-button::after {\n --bs-accordion-btn-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\");\n --bs-accordion-btn-active-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\");\n}\n\n.breadcrumb {\n --bs-breadcrumb-padding-x: 0;\n --bs-breadcrumb-padding-y: 0;\n --bs-breadcrumb-margin-bottom: 1rem;\n --bs-breadcrumb-bg: ;\n --bs-breadcrumb-border-radius: ;\n --bs-breadcrumb-divider-color: var(--bs-secondary-color);\n --bs-breadcrumb-item-padding-x: 0.5rem;\n --bs-breadcrumb-item-active-color: var(--bs-secondary-color);\n display: flex;\n flex-wrap: wrap;\n padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);\n margin-bottom: var(--bs-breadcrumb-margin-bottom);\n font-size: var(--bs-breadcrumb-font-size);\n list-style: none;\n background-color: var(--bs-breadcrumb-bg);\n border-radius: var(--bs-breadcrumb-border-radius);\n}\n\n.breadcrumb-item + .breadcrumb-item {\n padding-left: var(--bs-breadcrumb-item-padding-x);\n}\n.breadcrumb-item + .breadcrumb-item::before {\n float: left;\n padding-right: var(--bs-breadcrumb-item-padding-x);\n color: var(--bs-breadcrumb-divider-color);\n content: var(--bs-breadcrumb-divider, \"/\") /* rtl: var(--bs-breadcrumb-divider, \"/\") */;\n}\n.breadcrumb-item.active {\n color: var(--bs-breadcrumb-item-active-color);\n}\n\n.pagination {\n --bs-pagination-padding-x: 0.75rem;\n --bs-pagination-padding-y: 0.375rem;\n --bs-pagination-font-size: 1rem;\n --bs-pagination-color: var(--bs-link-color);\n --bs-pagination-bg: var(--bs-body-bg);\n --bs-pagination-border-width: var(--bs-border-width);\n --bs-pagination-border-color: var(--bs-border-color);\n --bs-pagination-border-radius: var(--bs-border-radius);\n --bs-pagination-hover-color: var(--bs-link-hover-color);\n --bs-pagination-hover-bg: var(--bs-tertiary-bg);\n --bs-pagination-hover-border-color: var(--bs-border-color);\n --bs-pagination-focus-color: var(--bs-link-hover-color);\n --bs-pagination-focus-bg: var(--bs-secondary-bg);\n --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n --bs-pagination-active-color: #fff;\n --bs-pagination-active-bg: #0d6efd;\n --bs-pagination-active-border-color: #0d6efd;\n --bs-pagination-disabled-color: var(--bs-secondary-color);\n --bs-pagination-disabled-bg: var(--bs-secondary-bg);\n --bs-pagination-disabled-border-color: var(--bs-border-color);\n display: flex;\n padding-left: 0;\n list-style: none;\n}\n\n.page-link {\n position: relative;\n display: block;\n padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);\n font-size: var(--bs-pagination-font-size);\n color: var(--bs-pagination-color);\n text-decoration: none;\n background-color: var(--bs-pagination-bg);\n border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .page-link {\n transition: none;\n }\n}\n.page-link:hover {\n z-index: 2;\n color: var(--bs-pagination-hover-color);\n background-color: var(--bs-pagination-hover-bg);\n border-color: var(--bs-pagination-hover-border-color);\n}\n.page-link:focus {\n z-index: 3;\n color: var(--bs-pagination-focus-color);\n background-color: var(--bs-pagination-focus-bg);\n outline: 0;\n box-shadow: var(--bs-pagination-focus-box-shadow);\n}\n.page-link.active, .active > .page-link {\n z-index: 3;\n color: var(--bs-pagination-active-color);\n background-color: var(--bs-pagination-active-bg);\n border-color: var(--bs-pagination-active-border-color);\n}\n.page-link.disabled, .disabled > .page-link {\n color: var(--bs-pagination-disabled-color);\n pointer-events: none;\n background-color: var(--bs-pagination-disabled-bg);\n border-color: var(--bs-pagination-disabled-border-color);\n}\n\n.page-item:not(:first-child) .page-link {\n margin-left: calc(var(--bs-border-width) * -1);\n}\n.page-item:first-child .page-link {\n border-top-left-radius: var(--bs-pagination-border-radius);\n border-bottom-left-radius: var(--bs-pagination-border-radius);\n}\n.page-item:last-child .page-link {\n border-top-right-radius: var(--bs-pagination-border-radius);\n border-bottom-right-radius: var(--bs-pagination-border-radius);\n}\n\n.pagination-lg {\n --bs-pagination-padding-x: 1.5rem;\n --bs-pagination-padding-y: 0.75rem;\n --bs-pagination-font-size: 1.25rem;\n --bs-pagination-border-radius: var(--bs-border-radius-lg);\n}\n\n.pagination-sm {\n --bs-pagination-padding-x: 0.5rem;\n --bs-pagination-padding-y: 0.25rem;\n --bs-pagination-font-size: 0.875rem;\n --bs-pagination-border-radius: var(--bs-border-radius-sm);\n}\n\n.badge {\n --bs-badge-padding-x: 0.65em;\n --bs-badge-padding-y: 0.35em;\n --bs-badge-font-size: 0.75em;\n --bs-badge-font-weight: 700;\n --bs-badge-color: #fff;\n --bs-badge-border-radius: var(--bs-border-radius);\n display: inline-block;\n padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);\n font-size: var(--bs-badge-font-size);\n font-weight: var(--bs-badge-font-weight);\n line-height: 1;\n color: var(--bs-badge-color);\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: var(--bs-badge-border-radius);\n}\n.badge:empty {\n display: none;\n}\n\n.btn .badge {\n position: relative;\n top: -1px;\n}\n\n.alert {\n --bs-alert-bg: transparent;\n --bs-alert-padding-x: 1rem;\n --bs-alert-padding-y: 1rem;\n --bs-alert-margin-bottom: 1rem;\n --bs-alert-color: inherit;\n --bs-alert-border-color: transparent;\n --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);\n --bs-alert-border-radius: var(--bs-border-radius);\n --bs-alert-link-color: inherit;\n position: relative;\n padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);\n margin-bottom: var(--bs-alert-margin-bottom);\n color: var(--bs-alert-color);\n background-color: var(--bs-alert-bg);\n border: var(--bs-alert-border);\n border-radius: var(--bs-alert-border-radius);\n}\n\n.alert-heading {\n color: inherit;\n}\n\n.alert-link {\n font-weight: 700;\n color: var(--bs-alert-link-color);\n}\n\n.alert-dismissible {\n padding-right: 3rem;\n}\n.alert-dismissible .btn-close {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n padding: 1.25rem 1rem;\n}\n\n.alert-primary {\n --bs-alert-color: var(--bs-primary-text-emphasis);\n --bs-alert-bg: var(--bs-primary-bg-subtle);\n --bs-alert-border-color: var(--bs-primary-border-subtle);\n --bs-alert-link-color: var(--bs-primary-text-emphasis);\n}\n\n.alert-secondary {\n --bs-alert-color: var(--bs-secondary-text-emphasis);\n --bs-alert-bg: var(--bs-secondary-bg-subtle);\n --bs-alert-border-color: var(--bs-secondary-border-subtle);\n --bs-alert-link-color: var(--bs-secondary-text-emphasis);\n}\n\n.alert-success {\n --bs-alert-color: var(--bs-success-text-emphasis);\n --bs-alert-bg: var(--bs-success-bg-subtle);\n --bs-alert-border-color: var(--bs-success-border-subtle);\n --bs-alert-link-color: var(--bs-success-text-emphasis);\n}\n\n.alert-info {\n --bs-alert-color: var(--bs-info-text-emphasis);\n --bs-alert-bg: var(--bs-info-bg-subtle);\n --bs-alert-border-color: var(--bs-info-border-subtle);\n --bs-alert-link-color: var(--bs-info-text-emphasis);\n}\n\n.alert-warning {\n --bs-alert-color: var(--bs-warning-text-emphasis);\n --bs-alert-bg: var(--bs-warning-bg-subtle);\n --bs-alert-border-color: var(--bs-warning-border-subtle);\n --bs-alert-link-color: var(--bs-warning-text-emphasis);\n}\n\n.alert-danger {\n --bs-alert-color: var(--bs-danger-text-emphasis);\n --bs-alert-bg: var(--bs-danger-bg-subtle);\n --bs-alert-border-color: var(--bs-danger-border-subtle);\n --bs-alert-link-color: var(--bs-danger-text-emphasis);\n}\n\n.alert-light {\n --bs-alert-color: var(--bs-light-text-emphasis);\n --bs-alert-bg: var(--bs-light-bg-subtle);\n --bs-alert-border-color: var(--bs-light-border-subtle);\n --bs-alert-link-color: var(--bs-light-text-emphasis);\n}\n\n.alert-dark {\n --bs-alert-color: var(--bs-dark-text-emphasis);\n --bs-alert-bg: var(--bs-dark-bg-subtle);\n --bs-alert-border-color: var(--bs-dark-border-subtle);\n --bs-alert-link-color: var(--bs-dark-text-emphasis);\n}\n\n@keyframes progress-bar-stripes {\n 0% {\n background-position-x: 1rem;\n }\n}\n.progress,\n.progress-stacked {\n --bs-progress-height: 1rem;\n --bs-progress-font-size: 0.75rem;\n --bs-progress-bg: var(--bs-secondary-bg);\n --bs-progress-border-radius: var(--bs-border-radius);\n --bs-progress-box-shadow: var(--bs-box-shadow-inset);\n --bs-progress-bar-color: #fff;\n --bs-progress-bar-bg: #0d6efd;\n --bs-progress-bar-transition: width 0.6s ease;\n display: flex;\n height: var(--bs-progress-height);\n overflow: hidden;\n font-size: var(--bs-progress-font-size);\n background-color: var(--bs-progress-bg);\n border-radius: var(--bs-progress-border-radius);\n}\n\n.progress-bar {\n display: flex;\n flex-direction: column;\n justify-content: center;\n overflow: hidden;\n color: var(--bs-progress-bar-color);\n text-align: center;\n white-space: nowrap;\n background-color: var(--bs-progress-bar-bg);\n transition: var(--bs-progress-bar-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .progress-bar {\n transition: none;\n }\n}\n\n.progress-bar-striped {\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-size: var(--bs-progress-height) var(--bs-progress-height);\n}\n\n.progress-stacked > .progress {\n overflow: visible;\n}\n\n.progress-stacked > .progress > .progress-bar {\n width: 100%;\n}\n\n.progress-bar-animated {\n animation: 1s linear infinite progress-bar-stripes;\n}\n@media (prefers-reduced-motion: reduce) {\n .progress-bar-animated {\n animation: none;\n }\n}\n\n.list-group {\n --bs-list-group-color: var(--bs-body-color);\n --bs-list-group-bg: var(--bs-body-bg);\n --bs-list-group-border-color: var(--bs-border-color);\n --bs-list-group-border-width: var(--bs-border-width);\n --bs-list-group-border-radius: var(--bs-border-radius);\n --bs-list-group-item-padding-x: 1rem;\n --bs-list-group-item-padding-y: 0.5rem;\n --bs-list-group-action-color: var(--bs-secondary-color);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-tertiary-bg);\n --bs-list-group-action-active-color: var(--bs-body-color);\n --bs-list-group-action-active-bg: var(--bs-secondary-bg);\n --bs-list-group-disabled-color: var(--bs-secondary-color);\n --bs-list-group-disabled-bg: var(--bs-body-bg);\n --bs-list-group-active-color: #fff;\n --bs-list-group-active-bg: #0d6efd;\n --bs-list-group-active-border-color: #0d6efd;\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n border-radius: var(--bs-list-group-border-radius);\n}\n\n.list-group-numbered {\n list-style-type: none;\n counter-reset: section;\n}\n.list-group-numbered > .list-group-item::before {\n content: counters(section, \".\") \". \";\n counter-increment: section;\n}\n\n.list-group-item-action {\n width: 100%;\n color: var(--bs-list-group-action-color);\n text-align: inherit;\n}\n.list-group-item-action:hover, .list-group-item-action:focus {\n z-index: 1;\n color: var(--bs-list-group-action-hover-color);\n text-decoration: none;\n background-color: var(--bs-list-group-action-hover-bg);\n}\n.list-group-item-action:active {\n color: var(--bs-list-group-action-active-color);\n background-color: var(--bs-list-group-action-active-bg);\n}\n\n.list-group-item {\n position: relative;\n display: block;\n padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);\n color: var(--bs-list-group-color);\n text-decoration: none;\n background-color: var(--bs-list-group-bg);\n border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);\n}\n.list-group-item:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n}\n.list-group-item:last-child {\n border-bottom-right-radius: inherit;\n border-bottom-left-radius: inherit;\n}\n.list-group-item.disabled, .list-group-item:disabled {\n color: var(--bs-list-group-disabled-color);\n pointer-events: none;\n background-color: var(--bs-list-group-disabled-bg);\n}\n.list-group-item.active {\n z-index: 2;\n color: var(--bs-list-group-active-color);\n background-color: var(--bs-list-group-active-bg);\n border-color: var(--bs-list-group-active-border-color);\n}\n.list-group-item + .list-group-item {\n border-top-width: 0;\n}\n.list-group-item + .list-group-item.active {\n margin-top: calc(-1 * var(--bs-list-group-border-width));\n border-top-width: var(--bs-list-group-border-width);\n}\n\n.list-group-horizontal {\n flex-direction: row;\n}\n.list-group-horizontal > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n}\n.list-group-horizontal > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n}\n.list-group-horizontal > .list-group-item.active {\n margin-top: 0;\n}\n.list-group-horizontal > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n}\n.list-group-horizontal > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n}\n\n@media (min-width: 576px) {\n .list-group-horizontal-sm {\n flex-direction: row;\n }\n .list-group-horizontal-sm > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-sm > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-sm > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-sm > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-sm > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 768px) {\n .list-group-horizontal-md {\n flex-direction: row;\n }\n .list-group-horizontal-md > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-md > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-md > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-md > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-md > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 992px) {\n .list-group-horizontal-lg {\n flex-direction: row;\n }\n .list-group-horizontal-lg > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-lg > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-lg > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-lg > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-lg > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 1200px) {\n .list-group-horizontal-xl {\n flex-direction: row;\n }\n .list-group-horizontal-xl > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-xl > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-xl > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-xl > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-xl > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 1400px) {\n .list-group-horizontal-xxl {\n flex-direction: row;\n }\n .list-group-horizontal-xxl > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-xxl > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-xxl > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-xxl > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-xxl > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n.list-group-flush {\n border-radius: 0;\n}\n.list-group-flush > .list-group-item {\n border-width: 0 0 var(--bs-list-group-border-width);\n}\n.list-group-flush > .list-group-item:last-child {\n border-bottom-width: 0;\n}\n\n.list-group-item-primary {\n --bs-list-group-color: var(--bs-primary-text-emphasis);\n --bs-list-group-bg: var(--bs-primary-bg-subtle);\n --bs-list-group-border-color: var(--bs-primary-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-primary-border-subtle);\n --bs-list-group-active-color: var(--bs-primary-bg-subtle);\n --bs-list-group-active-bg: var(--bs-primary-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-primary-text-emphasis);\n}\n\n.list-group-item-secondary {\n --bs-list-group-color: var(--bs-secondary-text-emphasis);\n --bs-list-group-bg: var(--bs-secondary-bg-subtle);\n --bs-list-group-border-color: var(--bs-secondary-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);\n --bs-list-group-active-color: var(--bs-secondary-bg-subtle);\n --bs-list-group-active-bg: var(--bs-secondary-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-secondary-text-emphasis);\n}\n\n.list-group-item-success {\n --bs-list-group-color: var(--bs-success-text-emphasis);\n --bs-list-group-bg: var(--bs-success-bg-subtle);\n --bs-list-group-border-color: var(--bs-success-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-success-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-success-border-subtle);\n --bs-list-group-active-color: var(--bs-success-bg-subtle);\n --bs-list-group-active-bg: var(--bs-success-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-success-text-emphasis);\n}\n\n.list-group-item-info {\n --bs-list-group-color: var(--bs-info-text-emphasis);\n --bs-list-group-bg: var(--bs-info-bg-subtle);\n --bs-list-group-border-color: var(--bs-info-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-info-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-info-border-subtle);\n --bs-list-group-active-color: var(--bs-info-bg-subtle);\n --bs-list-group-active-bg: var(--bs-info-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-info-text-emphasis);\n}\n\n.list-group-item-warning {\n --bs-list-group-color: var(--bs-warning-text-emphasis);\n --bs-list-group-bg: var(--bs-warning-bg-subtle);\n --bs-list-group-border-color: var(--bs-warning-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-warning-border-subtle);\n --bs-list-group-active-color: var(--bs-warning-bg-subtle);\n --bs-list-group-active-bg: var(--bs-warning-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-warning-text-emphasis);\n}\n\n.list-group-item-danger {\n --bs-list-group-color: var(--bs-danger-text-emphasis);\n --bs-list-group-bg: var(--bs-danger-bg-subtle);\n --bs-list-group-border-color: var(--bs-danger-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-danger-border-subtle);\n --bs-list-group-active-color: var(--bs-danger-bg-subtle);\n --bs-list-group-active-bg: var(--bs-danger-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-danger-text-emphasis);\n}\n\n.list-group-item-light {\n --bs-list-group-color: var(--bs-light-text-emphasis);\n --bs-list-group-bg: var(--bs-light-bg-subtle);\n --bs-list-group-border-color: var(--bs-light-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-light-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-light-border-subtle);\n --bs-list-group-active-color: var(--bs-light-bg-subtle);\n --bs-list-group-active-bg: var(--bs-light-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-light-text-emphasis);\n}\n\n.list-group-item-dark {\n --bs-list-group-color: var(--bs-dark-text-emphasis);\n --bs-list-group-bg: var(--bs-dark-bg-subtle);\n --bs-list-group-border-color: var(--bs-dark-border-subtle);\n --bs-list-group-action-hover-color: var(--bs-emphasis-color);\n --bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);\n --bs-list-group-action-active-color: var(--bs-emphasis-color);\n --bs-list-group-action-active-bg: var(--bs-dark-border-subtle);\n --bs-list-group-active-color: var(--bs-dark-bg-subtle);\n --bs-list-group-active-bg: var(--bs-dark-text-emphasis);\n --bs-list-group-active-border-color: var(--bs-dark-text-emphasis);\n}\n\n.btn-close {\n --bs-btn-close-color: #000;\n --bs-btn-close-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e\");\n --bs-btn-close-opacity: 0.5;\n --bs-btn-close-hover-opacity: 0.75;\n --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n --bs-btn-close-focus-opacity: 1;\n --bs-btn-close-disabled-opacity: 0.25;\n --bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);\n box-sizing: content-box;\n width: 1em;\n height: 1em;\n padding: 0.25em 0.25em;\n color: var(--bs-btn-close-color);\n background: transparent var(--bs-btn-close-bg) center/1em auto no-repeat;\n border: 0;\n border-radius: 0.375rem;\n opacity: var(--bs-btn-close-opacity);\n}\n.btn-close:hover {\n color: var(--bs-btn-close-color);\n text-decoration: none;\n opacity: var(--bs-btn-close-hover-opacity);\n}\n.btn-close:focus {\n outline: 0;\n box-shadow: var(--bs-btn-close-focus-shadow);\n opacity: var(--bs-btn-close-focus-opacity);\n}\n.btn-close:disabled, .btn-close.disabled {\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n opacity: var(--bs-btn-close-disabled-opacity);\n}\n\n.btn-close-white {\n filter: var(--bs-btn-close-white-filter);\n}\n\n[data-bs-theme=dark] .btn-close {\n filter: var(--bs-btn-close-white-filter);\n}\n\n.toast {\n --bs-toast-zindex: 1090;\n --bs-toast-padding-x: 0.75rem;\n --bs-toast-padding-y: 0.5rem;\n --bs-toast-spacing: 1.5rem;\n --bs-toast-max-width: 350px;\n --bs-toast-font-size: 0.875rem;\n --bs-toast-color: ;\n --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);\n --bs-toast-border-width: var(--bs-border-width);\n --bs-toast-border-color: var(--bs-border-color-translucent);\n --bs-toast-border-radius: var(--bs-border-radius);\n --bs-toast-box-shadow: var(--bs-box-shadow);\n --bs-toast-header-color: var(--bs-secondary-color);\n --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);\n --bs-toast-header-border-color: var(--bs-border-color-translucent);\n width: var(--bs-toast-max-width);\n max-width: 100%;\n font-size: var(--bs-toast-font-size);\n color: var(--bs-toast-color);\n pointer-events: auto;\n background-color: var(--bs-toast-bg);\n background-clip: padding-box;\n border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);\n box-shadow: var(--bs-toast-box-shadow);\n border-radius: var(--bs-toast-border-radius);\n}\n.toast.showing {\n opacity: 0;\n}\n.toast:not(.show) {\n display: none;\n}\n\n.toast-container {\n --bs-toast-zindex: 1090;\n position: absolute;\n z-index: var(--bs-toast-zindex);\n width: -webkit-max-content;\n width: -moz-max-content;\n width: max-content;\n max-width: 100%;\n pointer-events: none;\n}\n.toast-container > :not(:last-child) {\n margin-bottom: var(--bs-toast-spacing);\n}\n\n.toast-header {\n display: flex;\n align-items: center;\n padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);\n color: var(--bs-toast-header-color);\n background-color: var(--bs-toast-header-bg);\n background-clip: padding-box;\n border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);\n border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));\n border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));\n}\n.toast-header .btn-close {\n margin-right: calc(-0.5 * var(--bs-toast-padding-x));\n margin-left: var(--bs-toast-padding-x);\n}\n\n.toast-body {\n padding: var(--bs-toast-padding-x);\n word-wrap: break-word;\n}\n\n.modal {\n --bs-modal-zindex: 1055;\n --bs-modal-width: 500px;\n --bs-modal-padding: 1rem;\n --bs-modal-margin: 0.5rem;\n --bs-modal-color: ;\n --bs-modal-bg: var(--bs-body-bg);\n --bs-modal-border-color: var(--bs-border-color-translucent);\n --bs-modal-border-width: var(--bs-border-width);\n --bs-modal-border-radius: var(--bs-border-radius-lg);\n --bs-modal-box-shadow: var(--bs-box-shadow-sm);\n --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));\n --bs-modal-header-padding-x: 1rem;\n --bs-modal-header-padding-y: 1rem;\n --bs-modal-header-padding: 1rem 1rem;\n --bs-modal-header-border-color: var(--bs-border-color);\n --bs-modal-header-border-width: var(--bs-border-width);\n --bs-modal-title-line-height: 1.5;\n --bs-modal-footer-gap: 0.5rem;\n --bs-modal-footer-bg: ;\n --bs-modal-footer-border-color: var(--bs-border-color);\n --bs-modal-footer-border-width: var(--bs-border-width);\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--bs-modal-zindex);\n display: none;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n}\n\n.modal-dialog {\n position: relative;\n width: auto;\n margin: var(--bs-modal-margin);\n pointer-events: none;\n}\n.modal.fade .modal-dialog {\n transition: transform 0.3s ease-out;\n transform: translate(0, -50px);\n}\n@media (prefers-reduced-motion: reduce) {\n .modal.fade .modal-dialog {\n transition: none;\n }\n}\n.modal.show .modal-dialog {\n transform: none;\n}\n.modal.modal-static .modal-dialog {\n transform: scale(1.02);\n}\n\n.modal-dialog-scrollable {\n height: calc(100% - var(--bs-modal-margin) * 2);\n}\n.modal-dialog-scrollable .modal-content {\n max-height: 100%;\n overflow: hidden;\n}\n.modal-dialog-scrollable .modal-body {\n overflow-y: auto;\n}\n\n.modal-dialog-centered {\n display: flex;\n align-items: center;\n min-height: calc(100% - var(--bs-modal-margin) * 2);\n}\n\n.modal-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n color: var(--bs-modal-color);\n pointer-events: auto;\n background-color: var(--bs-modal-bg);\n background-clip: padding-box;\n border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);\n border-radius: var(--bs-modal-border-radius);\n outline: 0;\n}\n\n.modal-backdrop {\n --bs-backdrop-zindex: 1050;\n --bs-backdrop-bg: #000;\n --bs-backdrop-opacity: 0.5;\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--bs-backdrop-zindex);\n width: 100vw;\n height: 100vh;\n background-color: var(--bs-backdrop-bg);\n}\n.modal-backdrop.fade {\n opacity: 0;\n}\n.modal-backdrop.show {\n opacity: var(--bs-backdrop-opacity);\n}\n\n.modal-header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n padding: var(--bs-modal-header-padding);\n border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);\n border-top-left-radius: var(--bs-modal-inner-border-radius);\n border-top-right-radius: var(--bs-modal-inner-border-radius);\n}\n.modal-header .btn-close {\n padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);\n margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;\n}\n\n.modal-title {\n margin-bottom: 0;\n line-height: var(--bs-modal-title-line-height);\n}\n\n.modal-body {\n position: relative;\n flex: 1 1 auto;\n padding: var(--bs-modal-padding);\n}\n\n.modal-footer {\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * 0.5);\n background-color: var(--bs-modal-footer-bg);\n border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);\n border-bottom-right-radius: var(--bs-modal-inner-border-radius);\n border-bottom-left-radius: var(--bs-modal-inner-border-radius);\n}\n.modal-footer > * {\n margin: calc(var(--bs-modal-footer-gap) * 0.5);\n}\n\n@media (min-width: 576px) {\n .modal {\n --bs-modal-margin: 1.75rem;\n --bs-modal-box-shadow: var(--bs-box-shadow);\n }\n .modal-dialog {\n max-width: var(--bs-modal-width);\n margin-right: auto;\n margin-left: auto;\n }\n .modal-sm {\n --bs-modal-width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg,\n .modal-xl {\n --bs-modal-width: 800px;\n }\n}\n@media (min-width: 1200px) {\n .modal-xl {\n --bs-modal-width: 1140px;\n }\n}\n.modal-fullscreen {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n}\n.modal-fullscreen .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n}\n.modal-fullscreen .modal-header,\n.modal-fullscreen .modal-footer {\n border-radius: 0;\n}\n.modal-fullscreen .modal-body {\n overflow-y: auto;\n}\n\n@media (max-width: 575.98px) {\n .modal-fullscreen-sm-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-sm-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-sm-down .modal-header,\n .modal-fullscreen-sm-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-sm-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 767.98px) {\n .modal-fullscreen-md-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-md-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-md-down .modal-header,\n .modal-fullscreen-md-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-md-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 991.98px) {\n .modal-fullscreen-lg-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-lg-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-lg-down .modal-header,\n .modal-fullscreen-lg-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-lg-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 1199.98px) {\n .modal-fullscreen-xl-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-xl-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-xl-down .modal-header,\n .modal-fullscreen-xl-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-xl-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 1399.98px) {\n .modal-fullscreen-xxl-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-xxl-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-xxl-down .modal-header,\n .modal-fullscreen-xxl-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-xxl-down .modal-body {\n overflow-y: auto;\n }\n}\n.tooltip {\n --bs-tooltip-zindex: 1080;\n --bs-tooltip-max-width: 200px;\n --bs-tooltip-padding-x: 0.5rem;\n --bs-tooltip-padding-y: 0.25rem;\n --bs-tooltip-margin: ;\n --bs-tooltip-font-size: 0.875rem;\n --bs-tooltip-color: var(--bs-body-bg);\n --bs-tooltip-bg: var(--bs-emphasis-color);\n --bs-tooltip-border-radius: var(--bs-border-radius);\n --bs-tooltip-opacity: 0.9;\n --bs-tooltip-arrow-width: 0.8rem;\n --bs-tooltip-arrow-height: 0.4rem;\n z-index: var(--bs-tooltip-zindex);\n display: block;\n margin: var(--bs-tooltip-margin);\n font-family: var(--bs-font-sans-serif);\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n white-space: normal;\n word-spacing: normal;\n line-break: auto;\n font-size: var(--bs-tooltip-font-size);\n word-wrap: break-word;\n opacity: 0;\n}\n.tooltip.show {\n opacity: var(--bs-tooltip-opacity);\n}\n.tooltip .tooltip-arrow {\n display: block;\n width: var(--bs-tooltip-arrow-width);\n height: var(--bs-tooltip-arrow-height);\n}\n.tooltip .tooltip-arrow::before {\n position: absolute;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n}\n\n.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {\n bottom: calc(-1 * var(--bs-tooltip-arrow-height));\n}\n.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {\n top: -1px;\n border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;\n border-top-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {\n left: calc(-1 * var(--bs-tooltip-arrow-height));\n width: var(--bs-tooltip-arrow-height);\n height: var(--bs-tooltip-arrow-width);\n}\n.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {\n right: -1px;\n border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;\n border-right-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:end:ignore */\n.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {\n top: calc(-1 * var(--bs-tooltip-arrow-height));\n}\n.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {\n bottom: -1px;\n border-width: 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);\n border-bottom-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {\n right: calc(-1 * var(--bs-tooltip-arrow-height));\n width: var(--bs-tooltip-arrow-height);\n height: var(--bs-tooltip-arrow-width);\n}\n.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {\n left: -1px;\n border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);\n border-left-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:end:ignore */\n.tooltip-inner {\n max-width: var(--bs-tooltip-max-width);\n padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);\n color: var(--bs-tooltip-color);\n text-align: center;\n background-color: var(--bs-tooltip-bg);\n border-radius: var(--bs-tooltip-border-radius);\n}\n\n.popover {\n --bs-popover-zindex: 1070;\n --bs-popover-max-width: 276px;\n --bs-popover-font-size: 0.875rem;\n --bs-popover-bg: var(--bs-body-bg);\n --bs-popover-border-width: var(--bs-border-width);\n --bs-popover-border-color: var(--bs-border-color-translucent);\n --bs-popover-border-radius: var(--bs-border-radius-lg);\n --bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));\n --bs-popover-box-shadow: var(--bs-box-shadow);\n --bs-popover-header-padding-x: 1rem;\n --bs-popover-header-padding-y: 0.5rem;\n --bs-popover-header-font-size: 1rem;\n --bs-popover-header-color: inherit;\n --bs-popover-header-bg: var(--bs-secondary-bg);\n --bs-popover-body-padding-x: 1rem;\n --bs-popover-body-padding-y: 1rem;\n --bs-popover-body-color: var(--bs-body-color);\n --bs-popover-arrow-width: 1rem;\n --bs-popover-arrow-height: 0.5rem;\n --bs-popover-arrow-border: var(--bs-popover-border-color);\n z-index: var(--bs-popover-zindex);\n display: block;\n max-width: var(--bs-popover-max-width);\n font-family: var(--bs-font-sans-serif);\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n white-space: normal;\n word-spacing: normal;\n line-break: auto;\n font-size: var(--bs-popover-font-size);\n word-wrap: break-word;\n background-color: var(--bs-popover-bg);\n background-clip: padding-box;\n border: var(--bs-popover-border-width) solid var(--bs-popover-border-color);\n border-radius: var(--bs-popover-border-radius);\n}\n.popover .popover-arrow {\n display: block;\n width: var(--bs-popover-arrow-width);\n height: var(--bs-popover-arrow-height);\n}\n.popover .popover-arrow::before, .popover .popover-arrow::after {\n position: absolute;\n display: block;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n border-width: 0;\n}\n\n.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {\n bottom: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n}\n.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before, .bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {\n border-width: var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;\n}\n.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {\n bottom: 0;\n border-top-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {\n bottom: var(--bs-popover-border-width);\n border-top-color: var(--bs-popover-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {\n left: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n width: var(--bs-popover-arrow-height);\n height: var(--bs-popover-arrow-width);\n}\n.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before, .bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {\n border-width: calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;\n}\n.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {\n left: 0;\n border-right-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {\n left: var(--bs-popover-border-width);\n border-right-color: var(--bs-popover-bg);\n}\n\n/* rtl:end:ignore */\n.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {\n top: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n}\n.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before, .bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {\n border-width: 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);\n}\n.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {\n top: 0;\n border-bottom-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {\n top: var(--bs-popover-border-width);\n border-bottom-color: var(--bs-popover-bg);\n}\n.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: var(--bs-popover-arrow-width);\n margin-left: calc(-0.5 * var(--bs-popover-arrow-width));\n content: \"\";\n border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-header-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {\n right: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n width: var(--bs-popover-arrow-height);\n height: var(--bs-popover-arrow-width);\n}\n.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before, .bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {\n border-width: calc(var(--bs-popover-arrow-width) * 0.5) 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);\n}\n.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {\n right: 0;\n border-left-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {\n right: var(--bs-popover-border-width);\n border-left-color: var(--bs-popover-bg);\n}\n\n/* rtl:end:ignore */\n.popover-header {\n padding: var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);\n margin-bottom: 0;\n font-size: var(--bs-popover-header-font-size);\n color: var(--bs-popover-header-color);\n background-color: var(--bs-popover-header-bg);\n border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-border-color);\n border-top-left-radius: var(--bs-popover-inner-border-radius);\n border-top-right-radius: var(--bs-popover-inner-border-radius);\n}\n.popover-header:empty {\n display: none;\n}\n\n.popover-body {\n padding: var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);\n color: var(--bs-popover-body-color);\n}\n\n.carousel {\n position: relative;\n}\n\n.carousel.pointer-event {\n touch-action: pan-y;\n}\n\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.carousel-item {\n position: relative;\n display: none;\n float: left;\n width: 100%;\n margin-right: -100%;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transition: transform 0.6s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-item {\n transition: none;\n }\n}\n\n.carousel-item.active,\n.carousel-item-next,\n.carousel-item-prev {\n display: block;\n}\n\n.carousel-item-next:not(.carousel-item-start),\n.active.carousel-item-end {\n transform: translateX(100%);\n}\n\n.carousel-item-prev:not(.carousel-item-end),\n.active.carousel-item-start {\n transform: translateX(-100%);\n}\n\n.carousel-fade .carousel-item {\n opacity: 0;\n transition-property: opacity;\n transform: none;\n}\n.carousel-fade .carousel-item.active,\n.carousel-fade .carousel-item-next.carousel-item-start,\n.carousel-fade .carousel-item-prev.carousel-item-end {\n z-index: 1;\n opacity: 1;\n}\n.carousel-fade .active.carousel-item-start,\n.carousel-fade .active.carousel-item-end {\n z-index: 0;\n opacity: 0;\n transition: opacity 0s 0.6s;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-fade .active.carousel-item-start,\n .carousel-fade .active.carousel-item-end {\n transition: none;\n }\n}\n\n.carousel-control-prev,\n.carousel-control-next {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 15%;\n padding: 0;\n color: #fff;\n text-align: center;\n background: none;\n border: 0;\n opacity: 0.5;\n transition: opacity 0.15s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-control-prev,\n .carousel-control-next {\n transition: none;\n }\n}\n.carousel-control-prev:hover, .carousel-control-prev:focus,\n.carousel-control-next:hover,\n.carousel-control-next:focus {\n color: #fff;\n text-decoration: none;\n outline: 0;\n opacity: 0.9;\n}\n\n.carousel-control-prev {\n left: 0;\n}\n\n.carousel-control-next {\n right: 0;\n}\n\n.carousel-control-prev-icon,\n.carousel-control-next-icon {\n display: inline-block;\n width: 2rem;\n height: 2rem;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 100% 100%;\n}\n\n.carousel-control-prev-icon {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e\") /*rtl:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\")*/;\n}\n\n.carousel-control-next-icon {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\") /*rtl:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e\")*/;\n}\n\n.carousel-indicators {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n padding: 0;\n margin-right: 15%;\n margin-bottom: 1rem;\n margin-left: 15%;\n}\n.carousel-indicators [data-bs-target] {\n box-sizing: content-box;\n flex: 0 1 auto;\n width: 30px;\n height: 3px;\n padding: 0;\n margin-right: 3px;\n margin-left: 3px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #fff;\n background-clip: padding-box;\n border: 0;\n border-top: 10px solid transparent;\n border-bottom: 10px solid transparent;\n opacity: 0.5;\n transition: opacity 0.6s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-indicators [data-bs-target] {\n transition: none;\n }\n}\n.carousel-indicators .active {\n opacity: 1;\n}\n\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 1.25rem;\n left: 15%;\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n color: #fff;\n text-align: center;\n}\n\n.carousel-dark .carousel-control-prev-icon,\n.carousel-dark .carousel-control-next-icon {\n filter: invert(1) grayscale(100);\n}\n.carousel-dark .carousel-indicators [data-bs-target] {\n background-color: #000;\n}\n.carousel-dark .carousel-caption {\n color: #000;\n}\n\n[data-bs-theme=dark] .carousel .carousel-control-prev-icon,\n[data-bs-theme=dark] .carousel .carousel-control-next-icon, [data-bs-theme=dark].carousel .carousel-control-prev-icon,\n[data-bs-theme=dark].carousel .carousel-control-next-icon {\n filter: invert(1) grayscale(100);\n}\n[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target], [data-bs-theme=dark].carousel .carousel-indicators [data-bs-target] {\n background-color: #000;\n}\n[data-bs-theme=dark] .carousel .carousel-caption, [data-bs-theme=dark].carousel .carousel-caption {\n color: #000;\n}\n\n.spinner-grow,\n.spinner-border {\n display: inline-block;\n width: var(--bs-spinner-width);\n height: var(--bs-spinner-height);\n vertical-align: var(--bs-spinner-vertical-align);\n border-radius: 50%;\n animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);\n}\n\n@keyframes spinner-border {\n to {\n transform: rotate(360deg) /* rtl:ignore */;\n }\n}\n.spinner-border {\n --bs-spinner-width: 2rem;\n --bs-spinner-height: 2rem;\n --bs-spinner-vertical-align: -0.125em;\n --bs-spinner-border-width: 0.25em;\n --bs-spinner-animation-speed: 0.75s;\n --bs-spinner-animation-name: spinner-border;\n border: var(--bs-spinner-border-width) solid currentcolor;\n border-right-color: transparent;\n}\n\n.spinner-border-sm {\n --bs-spinner-width: 1rem;\n --bs-spinner-height: 1rem;\n --bs-spinner-border-width: 0.2em;\n}\n\n@keyframes spinner-grow {\n 0% {\n transform: scale(0);\n }\n 50% {\n opacity: 1;\n transform: none;\n }\n}\n.spinner-grow {\n --bs-spinner-width: 2rem;\n --bs-spinner-height: 2rem;\n --bs-spinner-vertical-align: -0.125em;\n --bs-spinner-animation-speed: 0.75s;\n --bs-spinner-animation-name: spinner-grow;\n background-color: currentcolor;\n opacity: 0;\n}\n\n.spinner-grow-sm {\n --bs-spinner-width: 1rem;\n --bs-spinner-height: 1rem;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .spinner-border,\n .spinner-grow {\n --bs-spinner-animation-speed: 1.5s;\n }\n}\n.offcanvas, .offcanvas-xxl, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm {\n --bs-offcanvas-zindex: 1045;\n --bs-offcanvas-width: 400px;\n --bs-offcanvas-height: 30vh;\n --bs-offcanvas-padding-x: 1rem;\n --bs-offcanvas-padding-y: 1rem;\n --bs-offcanvas-color: var(--bs-body-color);\n --bs-offcanvas-bg: var(--bs-body-bg);\n --bs-offcanvas-border-width: var(--bs-border-width);\n --bs-offcanvas-border-color: var(--bs-border-color-translucent);\n --bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);\n --bs-offcanvas-transition: transform 0.3s ease-in-out;\n --bs-offcanvas-title-line-height: 1.5;\n}\n\n@media (max-width: 575.98px) {\n .offcanvas-sm {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: var(--bs-offcanvas-transition);\n }\n}\n@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-sm {\n transition: none;\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n .offcanvas-sm.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n .offcanvas-sm.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n .offcanvas-sm.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n .offcanvas-sm.showing, .offcanvas-sm.show:not(.hiding) {\n transform: none;\n }\n .offcanvas-sm.showing, .offcanvas-sm.hiding, .offcanvas-sm.show {\n visibility: visible;\n }\n}\n@media (min-width: 576px) {\n .offcanvas-sm {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-sm .offcanvas-header {\n display: none;\n }\n .offcanvas-sm .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 767.98px) {\n .offcanvas-md {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: var(--bs-offcanvas-transition);\n }\n}\n@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-md {\n transition: none;\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n .offcanvas-md.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n .offcanvas-md.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n .offcanvas-md.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n .offcanvas-md.showing, .offcanvas-md.show:not(.hiding) {\n transform: none;\n }\n .offcanvas-md.showing, .offcanvas-md.hiding, .offcanvas-md.show {\n visibility: visible;\n }\n}\n@media (min-width: 768px) {\n .offcanvas-md {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-md .offcanvas-header {\n display: none;\n }\n .offcanvas-md .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 991.98px) {\n .offcanvas-lg {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: var(--bs-offcanvas-transition);\n }\n}\n@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-lg {\n transition: none;\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n .offcanvas-lg.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n .offcanvas-lg.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n .offcanvas-lg.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n .offcanvas-lg.showing, .offcanvas-lg.show:not(.hiding) {\n transform: none;\n }\n .offcanvas-lg.showing, .offcanvas-lg.hiding, .offcanvas-lg.show {\n visibility: visible;\n }\n}\n@media (min-width: 992px) {\n .offcanvas-lg {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-lg .offcanvas-header {\n display: none;\n }\n .offcanvas-lg .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 1199.98px) {\n .offcanvas-xl {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: var(--bs-offcanvas-transition);\n }\n}\n@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-xl {\n transition: none;\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n .offcanvas-xl.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n .offcanvas-xl.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n .offcanvas-xl.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n .offcanvas-xl.showing, .offcanvas-xl.show:not(.hiding) {\n transform: none;\n }\n .offcanvas-xl.showing, .offcanvas-xl.hiding, .offcanvas-xl.show {\n visibility: visible;\n }\n}\n@media (min-width: 1200px) {\n .offcanvas-xl {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-xl .offcanvas-header {\n display: none;\n }\n .offcanvas-xl .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 1399.98px) {\n .offcanvas-xxl {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: var(--bs-offcanvas-transition);\n }\n}\n@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-xxl {\n transition: none;\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n .offcanvas-xxl.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n .offcanvas-xxl.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n .offcanvas-xxl.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n .offcanvas-xxl.showing, .offcanvas-xxl.show:not(.hiding) {\n transform: none;\n }\n .offcanvas-xxl.showing, .offcanvas-xxl.hiding, .offcanvas-xxl.show {\n visibility: visible;\n }\n}\n@media (min-width: 1400px) {\n .offcanvas-xxl {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-xxl .offcanvas-header {\n display: none;\n }\n .offcanvas-xxl .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n.offcanvas {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: var(--bs-offcanvas-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .offcanvas {\n transition: none;\n }\n}\n.offcanvas.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n}\n.offcanvas.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n}\n.offcanvas.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n}\n.offcanvas.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n}\n.offcanvas.showing, .offcanvas.show:not(.hiding) {\n transform: none;\n}\n.offcanvas.showing, .offcanvas.hiding, .offcanvas.show {\n visibility: visible;\n}\n\n.offcanvas-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1040;\n width: 100vw;\n height: 100vh;\n background-color: #000;\n}\n.offcanvas-backdrop.fade {\n opacity: 0;\n}\n.offcanvas-backdrop.show {\n opacity: 0.5;\n}\n\n.offcanvas-header {\n display: flex;\n align-items: center;\n padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);\n}\n.offcanvas-header .btn-close {\n padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5);\n margin: calc(-0.5 * var(--bs-offcanvas-padding-y)) calc(-0.5 * var(--bs-offcanvas-padding-x)) calc(-0.5 * var(--bs-offcanvas-padding-y)) auto;\n}\n\n.offcanvas-title {\n margin-bottom: 0;\n line-height: var(--bs-offcanvas-title-line-height);\n}\n\n.offcanvas-body {\n flex-grow: 1;\n padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);\n overflow-y: auto;\n}\n\n.placeholder {\n display: inline-block;\n min-height: 1em;\n vertical-align: middle;\n cursor: wait;\n background-color: currentcolor;\n opacity: 0.5;\n}\n.placeholder.btn::before {\n display: inline-block;\n content: \"\";\n}\n\n.placeholder-xs {\n min-height: 0.6em;\n}\n\n.placeholder-sm {\n min-height: 0.8em;\n}\n\n.placeholder-lg {\n min-height: 1.2em;\n}\n\n.placeholder-glow .placeholder {\n animation: placeholder-glow 2s ease-in-out infinite;\n}\n\n@keyframes placeholder-glow {\n 50% {\n opacity: 0.2;\n }\n}\n.placeholder-wave {\n -webkit-mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);\n mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);\n -webkit-mask-size: 200% 100%;\n mask-size: 200% 100%;\n animation: placeholder-wave 2s linear infinite;\n}\n\n@keyframes placeholder-wave {\n 100% {\n -webkit-mask-position: -200% 0%;\n mask-position: -200% 0%;\n }\n}\n.clearfix::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.text-bg-primary {\n color: #fff !important;\n background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-secondary {\n color: #fff !important;\n background-color: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-success {\n color: #fff !important;\n background-color: RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-info {\n color: #000 !important;\n background-color: RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-warning {\n color: #000 !important;\n background-color: RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-danger {\n color: #fff !important;\n background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-light {\n color: #000 !important;\n background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-dark {\n color: #fff !important;\n background-color: RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important;\n}\n\n.link-primary {\n color: RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-primary:hover, .link-primary:focus {\n color: RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-secondary {\n color: RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-secondary:hover, .link-secondary:focus {\n color: RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-success {\n color: RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-success:hover, .link-success:focus {\n color: RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-info {\n color: RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-info:hover, .link-info:focus {\n color: RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-warning {\n color: RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-warning:hover, .link-warning:focus {\n color: RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-danger {\n color: RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-danger:hover, .link-danger:focus {\n color: RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-light {\n color: RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-light:hover, .link-light:focus {\n color: RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-dark {\n color: RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-dark:hover, .link-dark:focus {\n color: RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-body-emphasis {\n color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n.link-body-emphasis:hover, .link-body-emphasis:focus {\n color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;\n -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important;\n text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important;\n}\n\n.focus-ring:focus {\n outline: 0;\n box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color);\n}\n\n.icon-link {\n display: inline-flex;\n gap: 0.375rem;\n align-items: center;\n -webkit-text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));\n text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));\n text-underline-offset: 0.25em;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n}\n.icon-link > .bi {\n flex-shrink: 0;\n width: 1em;\n height: 1em;\n fill: currentcolor;\n transition: 0.2s ease-in-out transform;\n}\n@media (prefers-reduced-motion: reduce) {\n .icon-link > .bi {\n transition: none;\n }\n}\n\n.icon-link-hover:hover > .bi, .icon-link-hover:focus-visible > .bi {\n transform: var(--bs-icon-link-transform, translate3d(0.25em, 0, 0));\n}\n\n.ratio {\n position: relative;\n width: 100%;\n}\n.ratio::before {\n display: block;\n padding-top: var(--bs-aspect-ratio);\n content: \"\";\n}\n.ratio > * {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.ratio-1x1 {\n --bs-aspect-ratio: 100%;\n}\n\n.ratio-4x3 {\n --bs-aspect-ratio: 75%;\n}\n\n.ratio-16x9 {\n --bs-aspect-ratio: 56.25%;\n}\n\n.ratio-21x9 {\n --bs-aspect-ratio: 42.8571428571%;\n}\n\n.fixed-top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n\n.fixed-bottom {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1030;\n}\n\n.sticky-top {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1020;\n}\n\n.sticky-bottom {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n z-index: 1020;\n}\n\n@media (min-width: 576px) {\n .sticky-sm-top {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-sm-bottom {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 768px) {\n .sticky-md-top {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-md-bottom {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 992px) {\n .sticky-lg-top {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-lg-bottom {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 1200px) {\n .sticky-xl-top {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-xl-bottom {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 1400px) {\n .sticky-xxl-top {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-xxl-bottom {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n.hstack {\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n}\n\n.vstack {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n align-self: stretch;\n}\n\n.visually-hidden,\n.visually-hidden-focusable:not(:focus):not(:focus-within) {\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n}\n.visually-hidden:not(caption),\n.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {\n position: absolute !important;\n}\n\n.stretched-link::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n content: \"\";\n}\n\n.text-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.vr {\n display: inline-block;\n align-self: stretch;\n width: var(--bs-border-width);\n min-height: 1em;\n background-color: currentcolor;\n opacity: 0.25;\n}\n\n.align-baseline {\n vertical-align: baseline !important;\n}\n\n.align-top {\n vertical-align: top !important;\n}\n\n.align-middle {\n vertical-align: middle !important;\n}\n\n.align-bottom {\n vertical-align: bottom !important;\n}\n\n.align-text-bottom {\n vertical-align: text-bottom !important;\n}\n\n.align-text-top {\n vertical-align: text-top !important;\n}\n\n.float-start {\n float: left !important;\n}\n\n.float-end {\n float: right !important;\n}\n\n.float-none {\n float: none !important;\n}\n\n.object-fit-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n}\n\n.object-fit-cover {\n -o-object-fit: cover !important;\n object-fit: cover !important;\n}\n\n.object-fit-fill {\n -o-object-fit: fill !important;\n object-fit: fill !important;\n}\n\n.object-fit-scale {\n -o-object-fit: scale-down !important;\n object-fit: scale-down !important;\n}\n\n.object-fit-none {\n -o-object-fit: none !important;\n object-fit: none !important;\n}\n\n.opacity-0 {\n opacity: 0 !important;\n}\n\n.opacity-25 {\n opacity: 0.25 !important;\n}\n\n.opacity-50 {\n opacity: 0.5 !important;\n}\n\n.opacity-75 {\n opacity: 0.75 !important;\n}\n\n.opacity-100 {\n opacity: 1 !important;\n}\n\n.overflow-auto {\n overflow: auto !important;\n}\n\n.overflow-hidden {\n overflow: hidden !important;\n}\n\n.overflow-visible {\n overflow: visible !important;\n}\n\n.overflow-scroll {\n overflow: scroll !important;\n}\n\n.overflow-x-auto {\n overflow-x: auto !important;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden !important;\n}\n\n.overflow-x-visible {\n overflow-x: visible !important;\n}\n\n.overflow-x-scroll {\n overflow-x: scroll !important;\n}\n\n.overflow-y-auto {\n overflow-y: auto !important;\n}\n\n.overflow-y-hidden {\n overflow-y: hidden !important;\n}\n\n.overflow-y-visible {\n overflow-y: visible !important;\n}\n\n.overflow-y-scroll {\n overflow-y: scroll !important;\n}\n\n.d-inline {\n display: inline !important;\n}\n\n.d-inline-block {\n display: inline-block !important;\n}\n\n.d-block {\n display: block !important;\n}\n\n.d-grid {\n display: grid !important;\n}\n\n.d-inline-grid {\n display: inline-grid !important;\n}\n\n.d-table {\n display: table !important;\n}\n\n.d-table-row {\n display: table-row !important;\n}\n\n.d-table-cell {\n display: table-cell !important;\n}\n\n.d-flex {\n display: flex !important;\n}\n\n.d-inline-flex {\n display: inline-flex !important;\n}\n\n.d-none {\n display: none !important;\n}\n\n.shadow {\n box-shadow: var(--bs-box-shadow) !important;\n}\n\n.shadow-sm {\n box-shadow: var(--bs-box-shadow-sm) !important;\n}\n\n.shadow-lg {\n box-shadow: var(--bs-box-shadow-lg) !important;\n}\n\n.shadow-none {\n box-shadow: none !important;\n}\n\n.focus-ring-primary {\n --bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-secondary {\n --bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-success {\n --bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-info {\n --bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-warning {\n --bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-danger {\n --bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-light {\n --bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity));\n}\n\n.focus-ring-dark {\n --bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity));\n}\n\n.position-static {\n position: static !important;\n}\n\n.position-relative {\n position: relative !important;\n}\n\n.position-absolute {\n position: absolute !important;\n}\n\n.position-fixed {\n position: fixed !important;\n}\n\n.position-sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n}\n\n.top-0 {\n top: 0 !important;\n}\n\n.top-50 {\n top: 50% !important;\n}\n\n.top-100 {\n top: 100% !important;\n}\n\n.bottom-0 {\n bottom: 0 !important;\n}\n\n.bottom-50 {\n bottom: 50% !important;\n}\n\n.bottom-100 {\n bottom: 100% !important;\n}\n\n.start-0 {\n left: 0 !important;\n}\n\n.start-50 {\n left: 50% !important;\n}\n\n.start-100 {\n left: 100% !important;\n}\n\n.end-0 {\n right: 0 !important;\n}\n\n.end-50 {\n right: 50% !important;\n}\n\n.end-100 {\n right: 100% !important;\n}\n\n.translate-middle {\n transform: translate(-50%, -50%) !important;\n}\n\n.translate-middle-x {\n transform: translateX(-50%) !important;\n}\n\n.translate-middle-y {\n transform: translateY(-50%) !important;\n}\n\n.border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-0 {\n border: 0 !important;\n}\n\n.border-top {\n border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-top-0 {\n border-top: 0 !important;\n}\n\n.border-end {\n border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-end-0 {\n border-right: 0 !important;\n}\n\n.border-bottom {\n border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-bottom-0 {\n border-bottom: 0 !important;\n}\n\n.border-start {\n border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-start-0 {\n border-left: 0 !important;\n}\n\n.border-primary {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-secondary {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-success {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-info {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-warning {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-danger {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-light {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-dark {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-black {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-white {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-primary-subtle {\n border-color: var(--bs-primary-border-subtle) !important;\n}\n\n.border-secondary-subtle {\n border-color: var(--bs-secondary-border-subtle) !important;\n}\n\n.border-success-subtle {\n border-color: var(--bs-success-border-subtle) !important;\n}\n\n.border-info-subtle {\n border-color: var(--bs-info-border-subtle) !important;\n}\n\n.border-warning-subtle {\n border-color: var(--bs-warning-border-subtle) !important;\n}\n\n.border-danger-subtle {\n border-color: var(--bs-danger-border-subtle) !important;\n}\n\n.border-light-subtle {\n border-color: var(--bs-light-border-subtle) !important;\n}\n\n.border-dark-subtle {\n border-color: var(--bs-dark-border-subtle) !important;\n}\n\n.border-1 {\n border-width: 1px !important;\n}\n\n.border-2 {\n border-width: 2px !important;\n}\n\n.border-3 {\n border-width: 3px !important;\n}\n\n.border-4 {\n border-width: 4px !important;\n}\n\n.border-5 {\n border-width: 5px !important;\n}\n\n.border-opacity-10 {\n --bs-border-opacity: 0.1;\n}\n\n.border-opacity-25 {\n --bs-border-opacity: 0.25;\n}\n\n.border-opacity-50 {\n --bs-border-opacity: 0.5;\n}\n\n.border-opacity-75 {\n --bs-border-opacity: 0.75;\n}\n\n.border-opacity-100 {\n --bs-border-opacity: 1;\n}\n\n.w-25 {\n width: 25% !important;\n}\n\n.w-50 {\n width: 50% !important;\n}\n\n.w-75 {\n width: 75% !important;\n}\n\n.w-100 {\n width: 100% !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.mw-100 {\n max-width: 100% !important;\n}\n\n.vw-100 {\n width: 100vw !important;\n}\n\n.min-vw-100 {\n min-width: 100vw !important;\n}\n\n.h-25 {\n height: 25% !important;\n}\n\n.h-50 {\n height: 50% !important;\n}\n\n.h-75 {\n height: 75% !important;\n}\n\n.h-100 {\n height: 100% !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.mh-100 {\n max-height: 100% !important;\n}\n\n.vh-100 {\n height: 100vh !important;\n}\n\n.min-vh-100 {\n min-height: 100vh !important;\n}\n\n.flex-fill {\n flex: 1 1 auto !important;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-stretch {\n align-content: stretch !important;\n}\n\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n.order-first {\n order: -1 !important;\n}\n\n.order-0 {\n order: 0 !important;\n}\n\n.order-1 {\n order: 1 !important;\n}\n\n.order-2 {\n order: 2 !important;\n}\n\n.order-3 {\n order: 3 !important;\n}\n\n.order-4 {\n order: 4 !important;\n}\n\n.order-5 {\n order: 5 !important;\n}\n\n.order-last {\n order: 6 !important;\n}\n\n.m-0 {\n margin: 0 !important;\n}\n\n.m-1 {\n margin: 0.25rem !important;\n}\n\n.m-2 {\n margin: 0.5rem !important;\n}\n\n.m-3 {\n margin: 1rem !important;\n}\n\n.m-4 {\n margin: 1.5rem !important;\n}\n\n.m-5 {\n margin: 3rem !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mx-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n}\n\n.mx-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n}\n\n.mx-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n}\n\n.mx-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n}\n\n.mx-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n}\n\n.mx-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n}\n\n.mx-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n}\n\n.my-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n}\n\n.my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n}\n\n.my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n}\n\n.my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n}\n\n.my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n}\n\n.my-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n}\n\n.my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n}\n\n.mt-0 {\n margin-top: 0 !important;\n}\n\n.mt-1 {\n margin-top: 0.25rem !important;\n}\n\n.mt-2 {\n margin-top: 0.5rem !important;\n}\n\n.mt-3 {\n margin-top: 1rem !important;\n}\n\n.mt-4 {\n margin-top: 1.5rem !important;\n}\n\n.mt-5 {\n margin-top: 3rem !important;\n}\n\n.mt-auto {\n margin-top: auto !important;\n}\n\n.me-0 {\n margin-right: 0 !important;\n}\n\n.me-1 {\n margin-right: 0.25rem !important;\n}\n\n.me-2 {\n margin-right: 0.5rem !important;\n}\n\n.me-3 {\n margin-right: 1rem !important;\n}\n\n.me-4 {\n margin-right: 1.5rem !important;\n}\n\n.me-5 {\n margin-right: 3rem !important;\n}\n\n.me-auto {\n margin-right: auto !important;\n}\n\n.mb-0 {\n margin-bottom: 0 !important;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem !important;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem !important;\n}\n\n.mb-3 {\n margin-bottom: 1rem !important;\n}\n\n.mb-4 {\n margin-bottom: 1.5rem !important;\n}\n\n.mb-5 {\n margin-bottom: 3rem !important;\n}\n\n.mb-auto {\n margin-bottom: auto !important;\n}\n\n.ms-0 {\n margin-left: 0 !important;\n}\n\n.ms-1 {\n margin-left: 0.25rem !important;\n}\n\n.ms-2 {\n margin-left: 0.5rem !important;\n}\n\n.ms-3 {\n margin-left: 1rem !important;\n}\n\n.ms-4 {\n margin-left: 1.5rem !important;\n}\n\n.ms-5 {\n margin-left: 3rem !important;\n}\n\n.ms-auto {\n margin-left: auto !important;\n}\n\n.p-0 {\n padding: 0 !important;\n}\n\n.p-1 {\n padding: 0.25rem !important;\n}\n\n.p-2 {\n padding: 0.5rem !important;\n}\n\n.p-3 {\n padding: 1rem !important;\n}\n\n.p-4 {\n padding: 1.5rem !important;\n}\n\n.p-5 {\n padding: 3rem !important;\n}\n\n.px-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n}\n\n.px-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n}\n\n.px-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n}\n\n.px-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n}\n\n.px-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n}\n\n.px-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n}\n\n.py-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n\n.py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n}\n\n.py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n}\n\n.py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n}\n\n.py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n}\n\n.py-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n}\n\n.pt-0 {\n padding-top: 0 !important;\n}\n\n.pt-1 {\n padding-top: 0.25rem !important;\n}\n\n.pt-2 {\n padding-top: 0.5rem !important;\n}\n\n.pt-3 {\n padding-top: 1rem !important;\n}\n\n.pt-4 {\n padding-top: 1.5rem !important;\n}\n\n.pt-5 {\n padding-top: 3rem !important;\n}\n\n.pe-0 {\n padding-right: 0 !important;\n}\n\n.pe-1 {\n padding-right: 0.25rem !important;\n}\n\n.pe-2 {\n padding-right: 0.5rem !important;\n}\n\n.pe-3 {\n padding-right: 1rem !important;\n}\n\n.pe-4 {\n padding-right: 1.5rem !important;\n}\n\n.pe-5 {\n padding-right: 3rem !important;\n}\n\n.pb-0 {\n padding-bottom: 0 !important;\n}\n\n.pb-1 {\n padding-bottom: 0.25rem !important;\n}\n\n.pb-2 {\n padding-bottom: 0.5rem !important;\n}\n\n.pb-3 {\n padding-bottom: 1rem !important;\n}\n\n.pb-4 {\n padding-bottom: 1.5rem !important;\n}\n\n.pb-5 {\n padding-bottom: 3rem !important;\n}\n\n.ps-0 {\n padding-left: 0 !important;\n}\n\n.ps-1 {\n padding-left: 0.25rem !important;\n}\n\n.ps-2 {\n padding-left: 0.5rem !important;\n}\n\n.ps-3 {\n padding-left: 1rem !important;\n}\n\n.ps-4 {\n padding-left: 1.5rem !important;\n}\n\n.ps-5 {\n padding-left: 3rem !important;\n}\n\n.gap-0 {\n gap: 0 !important;\n}\n\n.gap-1 {\n gap: 0.25rem !important;\n}\n\n.gap-2 {\n gap: 0.5rem !important;\n}\n\n.gap-3 {\n gap: 1rem !important;\n}\n\n.gap-4 {\n gap: 1.5rem !important;\n}\n\n.gap-5 {\n gap: 3rem !important;\n}\n\n.row-gap-0 {\n row-gap: 0 !important;\n}\n\n.row-gap-1 {\n row-gap: 0.25rem !important;\n}\n\n.row-gap-2 {\n row-gap: 0.5rem !important;\n}\n\n.row-gap-3 {\n row-gap: 1rem !important;\n}\n\n.row-gap-4 {\n row-gap: 1.5rem !important;\n}\n\n.row-gap-5 {\n row-gap: 3rem !important;\n}\n\n.column-gap-0 {\n -moz-column-gap: 0 !important;\n column-gap: 0 !important;\n}\n\n.column-gap-1 {\n -moz-column-gap: 0.25rem !important;\n column-gap: 0.25rem !important;\n}\n\n.column-gap-2 {\n -moz-column-gap: 0.5rem !important;\n column-gap: 0.5rem !important;\n}\n\n.column-gap-3 {\n -moz-column-gap: 1rem !important;\n column-gap: 1rem !important;\n}\n\n.column-gap-4 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n}\n\n.column-gap-5 {\n -moz-column-gap: 3rem !important;\n column-gap: 3rem !important;\n}\n\n.font-monospace {\n font-family: var(--bs-font-monospace) !important;\n}\n\n.fs-1 {\n font-size: calc(1.375rem + 1.5vw) !important;\n}\n\n.fs-2 {\n font-size: calc(1.325rem + 0.9vw) !important;\n}\n\n.fs-3 {\n font-size: calc(1.3rem + 0.6vw) !important;\n}\n\n.fs-4 {\n font-size: calc(1.275rem + 0.3vw) !important;\n}\n\n.fs-5 {\n font-size: 1.25rem !important;\n}\n\n.fs-6 {\n font-size: 1rem !important;\n}\n\n.fst-italic {\n font-style: italic !important;\n}\n\n.fst-normal {\n font-style: normal !important;\n}\n\n.fw-lighter {\n font-weight: lighter !important;\n}\n\n.fw-light {\n font-weight: 300 !important;\n}\n\n.fw-normal {\n font-weight: 400 !important;\n}\n\n.fw-medium {\n font-weight: 500 !important;\n}\n\n.fw-semibold {\n font-weight: 600 !important;\n}\n\n.fw-bold {\n font-weight: 700 !important;\n}\n\n.fw-bolder {\n font-weight: bolder !important;\n}\n\n.lh-1 {\n line-height: 1 !important;\n}\n\n.lh-sm {\n line-height: 1.25 !important;\n}\n\n.lh-base {\n line-height: 1.5 !important;\n}\n\n.lh-lg {\n line-height: 2 !important;\n}\n\n.text-start {\n text-align: left !important;\n}\n\n.text-end {\n text-align: right !important;\n}\n\n.text-center {\n text-align: center !important;\n}\n\n.text-decoration-none {\n text-decoration: none !important;\n}\n\n.text-decoration-underline {\n text-decoration: underline !important;\n}\n\n.text-decoration-line-through {\n text-decoration: line-through !important;\n}\n\n.text-lowercase {\n text-transform: lowercase !important;\n}\n\n.text-uppercase {\n text-transform: uppercase !important;\n}\n\n.text-capitalize {\n text-transform: capitalize !important;\n}\n\n.text-wrap {\n white-space: normal !important;\n}\n\n.text-nowrap {\n white-space: nowrap !important;\n}\n\n/* rtl:begin:remove */\n.text-break {\n word-wrap: break-word !important;\n word-break: break-word !important;\n}\n\n/* rtl:end:remove */\n.text-primary {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-secondary {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-success {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-info {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-warning {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-danger {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-light {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-dark {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-black {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-white {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-body {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-muted {\n --bs-text-opacity: 1;\n color: var(--bs-secondary-color) !important;\n}\n\n.text-black-50 {\n --bs-text-opacity: 1;\n color: rgba(0, 0, 0, 0.5) !important;\n}\n\n.text-white-50 {\n --bs-text-opacity: 1;\n color: rgba(255, 255, 255, 0.5) !important;\n}\n\n.text-body-secondary {\n --bs-text-opacity: 1;\n color: var(--bs-secondary-color) !important;\n}\n\n.text-body-tertiary {\n --bs-text-opacity: 1;\n color: var(--bs-tertiary-color) !important;\n}\n\n.text-body-emphasis {\n --bs-text-opacity: 1;\n color: var(--bs-emphasis-color) !important;\n}\n\n.text-reset {\n --bs-text-opacity: 1;\n color: inherit !important;\n}\n\n.text-opacity-25 {\n --bs-text-opacity: 0.25;\n}\n\n.text-opacity-50 {\n --bs-text-opacity: 0.5;\n}\n\n.text-opacity-75 {\n --bs-text-opacity: 0.75;\n}\n\n.text-opacity-100 {\n --bs-text-opacity: 1;\n}\n\n.text-primary-emphasis {\n color: var(--bs-primary-text-emphasis) !important;\n}\n\n.text-secondary-emphasis {\n color: var(--bs-secondary-text-emphasis) !important;\n}\n\n.text-success-emphasis {\n color: var(--bs-success-text-emphasis) !important;\n}\n\n.text-info-emphasis {\n color: var(--bs-info-text-emphasis) !important;\n}\n\n.text-warning-emphasis {\n color: var(--bs-warning-text-emphasis) !important;\n}\n\n.text-danger-emphasis {\n color: var(--bs-danger-text-emphasis) !important;\n}\n\n.text-light-emphasis {\n color: var(--bs-light-text-emphasis) !important;\n}\n\n.text-dark-emphasis {\n color: var(--bs-dark-text-emphasis) !important;\n}\n\n.link-opacity-10 {\n --bs-link-opacity: 0.1;\n}\n\n.link-opacity-10-hover:hover {\n --bs-link-opacity: 0.1;\n}\n\n.link-opacity-25 {\n --bs-link-opacity: 0.25;\n}\n\n.link-opacity-25-hover:hover {\n --bs-link-opacity: 0.25;\n}\n\n.link-opacity-50 {\n --bs-link-opacity: 0.5;\n}\n\n.link-opacity-50-hover:hover {\n --bs-link-opacity: 0.5;\n}\n\n.link-opacity-75 {\n --bs-link-opacity: 0.75;\n}\n\n.link-opacity-75-hover:hover {\n --bs-link-opacity: 0.75;\n}\n\n.link-opacity-100 {\n --bs-link-opacity: 1;\n}\n\n.link-opacity-100-hover:hover {\n --bs-link-opacity: 1;\n}\n\n.link-offset-1 {\n text-underline-offset: 0.125em !important;\n}\n\n.link-offset-1-hover:hover {\n text-underline-offset: 0.125em !important;\n}\n\n.link-offset-2 {\n text-underline-offset: 0.25em !important;\n}\n\n.link-offset-2-hover:hover {\n text-underline-offset: 0.25em !important;\n}\n\n.link-offset-3 {\n text-underline-offset: 0.375em !important;\n}\n\n.link-offset-3-hover:hover {\n text-underline-offset: 0.375em !important;\n}\n\n.link-underline-primary {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-secondary {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-success {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-info {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-warning {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-danger {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-light {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline-dark {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important;\n text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important;\n}\n\n.link-underline {\n --bs-link-underline-opacity: 1;\n -webkit-text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important;\n text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important;\n}\n\n.link-underline-opacity-0 {\n --bs-link-underline-opacity: 0;\n}\n\n.link-underline-opacity-0-hover:hover {\n --bs-link-underline-opacity: 0;\n}\n\n.link-underline-opacity-10 {\n --bs-link-underline-opacity: 0.1;\n}\n\n.link-underline-opacity-10-hover:hover {\n --bs-link-underline-opacity: 0.1;\n}\n\n.link-underline-opacity-25 {\n --bs-link-underline-opacity: 0.25;\n}\n\n.link-underline-opacity-25-hover:hover {\n --bs-link-underline-opacity: 0.25;\n}\n\n.link-underline-opacity-50 {\n --bs-link-underline-opacity: 0.5;\n}\n\n.link-underline-opacity-50-hover:hover {\n --bs-link-underline-opacity: 0.5;\n}\n\n.link-underline-opacity-75 {\n --bs-link-underline-opacity: 0.75;\n}\n\n.link-underline-opacity-75-hover:hover {\n --bs-link-underline-opacity: 0.75;\n}\n\n.link-underline-opacity-100 {\n --bs-link-underline-opacity: 1;\n}\n\n.link-underline-opacity-100-hover:hover {\n --bs-link-underline-opacity: 1;\n}\n\n.bg-primary {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-secondary {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-success {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-info {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-warning {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-danger {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-light {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-dark {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-black {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-white {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-body {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-transparent {\n --bs-bg-opacity: 1;\n background-color: transparent !important;\n}\n\n.bg-body-secondary {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-body-tertiary {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-opacity-10 {\n --bs-bg-opacity: 0.1;\n}\n\n.bg-opacity-25 {\n --bs-bg-opacity: 0.25;\n}\n\n.bg-opacity-50 {\n --bs-bg-opacity: 0.5;\n}\n\n.bg-opacity-75 {\n --bs-bg-opacity: 0.75;\n}\n\n.bg-opacity-100 {\n --bs-bg-opacity: 1;\n}\n\n.bg-primary-subtle {\n background-color: var(--bs-primary-bg-subtle) !important;\n}\n\n.bg-secondary-subtle {\n background-color: var(--bs-secondary-bg-subtle) !important;\n}\n\n.bg-success-subtle {\n background-color: var(--bs-success-bg-subtle) !important;\n}\n\n.bg-info-subtle {\n background-color: var(--bs-info-bg-subtle) !important;\n}\n\n.bg-warning-subtle {\n background-color: var(--bs-warning-bg-subtle) !important;\n}\n\n.bg-danger-subtle {\n background-color: var(--bs-danger-bg-subtle) !important;\n}\n\n.bg-light-subtle {\n background-color: var(--bs-light-bg-subtle) !important;\n}\n\n.bg-dark-subtle {\n background-color: var(--bs-dark-bg-subtle) !important;\n}\n\n.bg-gradient {\n background-image: var(--bs-gradient) !important;\n}\n\n.user-select-all {\n -webkit-user-select: all !important;\n -moz-user-select: all !important;\n user-select: all !important;\n}\n\n.user-select-auto {\n -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n user-select: auto !important;\n}\n\n.user-select-none {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n user-select: none !important;\n}\n\n.pe-none {\n pointer-events: none !important;\n}\n\n.pe-auto {\n pointer-events: auto !important;\n}\n\n.rounded {\n border-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-0 {\n border-radius: 0 !important;\n}\n\n.rounded-1 {\n border-radius: var(--bs-border-radius-sm) !important;\n}\n\n.rounded-2 {\n border-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-3 {\n border-radius: var(--bs-border-radius-lg) !important;\n}\n\n.rounded-4 {\n border-radius: var(--bs-border-radius-xl) !important;\n}\n\n.rounded-5 {\n border-radius: var(--bs-border-radius-xxl) !important;\n}\n\n.rounded-circle {\n border-radius: 50% !important;\n}\n\n.rounded-pill {\n border-radius: var(--bs-border-radius-pill) !important;\n}\n\n.rounded-top {\n border-top-left-radius: var(--bs-border-radius) !important;\n border-top-right-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-top-0 {\n border-top-left-radius: 0 !important;\n border-top-right-radius: 0 !important;\n}\n\n.rounded-top-1 {\n border-top-left-radius: var(--bs-border-radius-sm) !important;\n border-top-right-radius: var(--bs-border-radius-sm) !important;\n}\n\n.rounded-top-2 {\n border-top-left-radius: var(--bs-border-radius) !important;\n border-top-right-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-top-3 {\n border-top-left-radius: var(--bs-border-radius-lg) !important;\n border-top-right-radius: var(--bs-border-radius-lg) !important;\n}\n\n.rounded-top-4 {\n border-top-left-radius: var(--bs-border-radius-xl) !important;\n border-top-right-radius: var(--bs-border-radius-xl) !important;\n}\n\n.rounded-top-5 {\n border-top-left-radius: var(--bs-border-radius-xxl) !important;\n border-top-right-radius: var(--bs-border-radius-xxl) !important;\n}\n\n.rounded-top-circle {\n border-top-left-radius: 50% !important;\n border-top-right-radius: 50% !important;\n}\n\n.rounded-top-pill {\n border-top-left-radius: var(--bs-border-radius-pill) !important;\n border-top-right-radius: var(--bs-border-radius-pill) !important;\n}\n\n.rounded-end {\n border-top-right-radius: var(--bs-border-radius) !important;\n border-bottom-right-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-end-0 {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n}\n\n.rounded-end-1 {\n border-top-right-radius: var(--bs-border-radius-sm) !important;\n border-bottom-right-radius: var(--bs-border-radius-sm) !important;\n}\n\n.rounded-end-2 {\n border-top-right-radius: var(--bs-border-radius) !important;\n border-bottom-right-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-end-3 {\n border-top-right-radius: var(--bs-border-radius-lg) !important;\n border-bottom-right-radius: var(--bs-border-radius-lg) !important;\n}\n\n.rounded-end-4 {\n border-top-right-radius: var(--bs-border-radius-xl) !important;\n border-bottom-right-radius: var(--bs-border-radius-xl) !important;\n}\n\n.rounded-end-5 {\n border-top-right-radius: var(--bs-border-radius-xxl) !important;\n border-bottom-right-radius: var(--bs-border-radius-xxl) !important;\n}\n\n.rounded-end-circle {\n border-top-right-radius: 50% !important;\n border-bottom-right-radius: 50% !important;\n}\n\n.rounded-end-pill {\n border-top-right-radius: var(--bs-border-radius-pill) !important;\n border-bottom-right-radius: var(--bs-border-radius-pill) !important;\n}\n\n.rounded-bottom {\n border-bottom-right-radius: var(--bs-border-radius) !important;\n border-bottom-left-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-bottom-0 {\n border-bottom-right-radius: 0 !important;\n border-bottom-left-radius: 0 !important;\n}\n\n.rounded-bottom-1 {\n border-bottom-right-radius: var(--bs-border-radius-sm) !important;\n border-bottom-left-radius: var(--bs-border-radius-sm) !important;\n}\n\n.rounded-bottom-2 {\n border-bottom-right-radius: var(--bs-border-radius) !important;\n border-bottom-left-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-bottom-3 {\n border-bottom-right-radius: var(--bs-border-radius-lg) !important;\n border-bottom-left-radius: var(--bs-border-radius-lg) !important;\n}\n\n.rounded-bottom-4 {\n border-bottom-right-radius: var(--bs-border-radius-xl) !important;\n border-bottom-left-radius: var(--bs-border-radius-xl) !important;\n}\n\n.rounded-bottom-5 {\n border-bottom-right-radius: var(--bs-border-radius-xxl) !important;\n border-bottom-left-radius: var(--bs-border-radius-xxl) !important;\n}\n\n.rounded-bottom-circle {\n border-bottom-right-radius: 50% !important;\n border-bottom-left-radius: 50% !important;\n}\n\n.rounded-bottom-pill {\n border-bottom-right-radius: var(--bs-border-radius-pill) !important;\n border-bottom-left-radius: var(--bs-border-radius-pill) !important;\n}\n\n.rounded-start {\n border-bottom-left-radius: var(--bs-border-radius) !important;\n border-top-left-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-start-0 {\n border-bottom-left-radius: 0 !important;\n border-top-left-radius: 0 !important;\n}\n\n.rounded-start-1 {\n border-bottom-left-radius: var(--bs-border-radius-sm) !important;\n border-top-left-radius: var(--bs-border-radius-sm) !important;\n}\n\n.rounded-start-2 {\n border-bottom-left-radius: var(--bs-border-radius) !important;\n border-top-left-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-start-3 {\n border-bottom-left-radius: var(--bs-border-radius-lg) !important;\n border-top-left-radius: var(--bs-border-radius-lg) !important;\n}\n\n.rounded-start-4 {\n border-bottom-left-radius: var(--bs-border-radius-xl) !important;\n border-top-left-radius: var(--bs-border-radius-xl) !important;\n}\n\n.rounded-start-5 {\n border-bottom-left-radius: var(--bs-border-radius-xxl) !important;\n border-top-left-radius: var(--bs-border-radius-xxl) !important;\n}\n\n.rounded-start-circle {\n border-bottom-left-radius: 50% !important;\n border-top-left-radius: 50% !important;\n}\n\n.rounded-start-pill {\n border-bottom-left-radius: var(--bs-border-radius-pill) !important;\n border-top-left-radius: var(--bs-border-radius-pill) !important;\n}\n\n.visible {\n visibility: visible !important;\n}\n\n.invisible {\n visibility: hidden !important;\n}\n\n.z-n1 {\n z-index: -1 !important;\n}\n\n.z-0 {\n z-index: 0 !important;\n}\n\n.z-1 {\n z-index: 1 !important;\n}\n\n.z-2 {\n z-index: 2 !important;\n}\n\n.z-3 {\n z-index: 3 !important;\n}\n\n@media (min-width: 576px) {\n .float-sm-start {\n float: left !important;\n }\n .float-sm-end {\n float: right !important;\n }\n .float-sm-none {\n float: none !important;\n }\n .object-fit-sm-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n .object-fit-sm-cover {\n -o-object-fit: cover !important;\n object-fit: cover !important;\n }\n .object-fit-sm-fill {\n -o-object-fit: fill !important;\n object-fit: fill !important;\n }\n .object-fit-sm-scale {\n -o-object-fit: scale-down !important;\n object-fit: scale-down !important;\n }\n .object-fit-sm-none {\n -o-object-fit: none !important;\n object-fit: none !important;\n }\n .d-sm-inline {\n display: inline !important;\n }\n .d-sm-inline-block {\n display: inline-block !important;\n }\n .d-sm-block {\n display: block !important;\n }\n .d-sm-grid {\n display: grid !important;\n }\n .d-sm-inline-grid {\n display: inline-grid !important;\n }\n .d-sm-table {\n display: table !important;\n }\n .d-sm-table-row {\n display: table-row !important;\n }\n .d-sm-table-cell {\n display: table-cell !important;\n }\n .d-sm-flex {\n display: flex !important;\n }\n .d-sm-inline-flex {\n display: inline-flex !important;\n }\n .d-sm-none {\n display: none !important;\n }\n .flex-sm-fill {\n flex: 1 1 auto !important;\n }\n .flex-sm-row {\n flex-direction: row !important;\n }\n .flex-sm-column {\n flex-direction: column !important;\n }\n .flex-sm-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-sm-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-sm-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-sm-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-sm-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-sm-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-sm-wrap {\n flex-wrap: wrap !important;\n }\n .flex-sm-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-sm-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-sm-start {\n justify-content: flex-start !important;\n }\n .justify-content-sm-end {\n justify-content: flex-end !important;\n }\n .justify-content-sm-center {\n justify-content: center !important;\n }\n .justify-content-sm-between {\n justify-content: space-between !important;\n }\n .justify-content-sm-around {\n justify-content: space-around !important;\n }\n .justify-content-sm-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-sm-start {\n align-items: flex-start !important;\n }\n .align-items-sm-end {\n align-items: flex-end !important;\n }\n .align-items-sm-center {\n align-items: center !important;\n }\n .align-items-sm-baseline {\n align-items: baseline !important;\n }\n .align-items-sm-stretch {\n align-items: stretch !important;\n }\n .align-content-sm-start {\n align-content: flex-start !important;\n }\n .align-content-sm-end {\n align-content: flex-end !important;\n }\n .align-content-sm-center {\n align-content: center !important;\n }\n .align-content-sm-between {\n align-content: space-between !important;\n }\n .align-content-sm-around {\n align-content: space-around !important;\n }\n .align-content-sm-stretch {\n align-content: stretch !important;\n }\n .align-self-sm-auto {\n align-self: auto !important;\n }\n .align-self-sm-start {\n align-self: flex-start !important;\n }\n .align-self-sm-end {\n align-self: flex-end !important;\n }\n .align-self-sm-center {\n align-self: center !important;\n }\n .align-self-sm-baseline {\n align-self: baseline !important;\n }\n .align-self-sm-stretch {\n align-self: stretch !important;\n }\n .order-sm-first {\n order: -1 !important;\n }\n .order-sm-0 {\n order: 0 !important;\n }\n .order-sm-1 {\n order: 1 !important;\n }\n .order-sm-2 {\n order: 2 !important;\n }\n .order-sm-3 {\n order: 3 !important;\n }\n .order-sm-4 {\n order: 4 !important;\n }\n .order-sm-5 {\n order: 5 !important;\n }\n .order-sm-last {\n order: 6 !important;\n }\n .m-sm-0 {\n margin: 0 !important;\n }\n .m-sm-1 {\n margin: 0.25rem !important;\n }\n .m-sm-2 {\n margin: 0.5rem !important;\n }\n .m-sm-3 {\n margin: 1rem !important;\n }\n .m-sm-4 {\n margin: 1.5rem !important;\n }\n .m-sm-5 {\n margin: 3rem !important;\n }\n .m-sm-auto {\n margin: auto !important;\n }\n .mx-sm-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-sm-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-sm-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-sm-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-sm-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-sm-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-sm-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-sm-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-sm-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-sm-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-sm-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-sm-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-sm-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-sm-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-sm-0 {\n margin-top: 0 !important;\n }\n .mt-sm-1 {\n margin-top: 0.25rem !important;\n }\n .mt-sm-2 {\n margin-top: 0.5rem !important;\n }\n .mt-sm-3 {\n margin-top: 1rem !important;\n }\n .mt-sm-4 {\n margin-top: 1.5rem !important;\n }\n .mt-sm-5 {\n margin-top: 3rem !important;\n }\n .mt-sm-auto {\n margin-top: auto !important;\n }\n .me-sm-0 {\n margin-right: 0 !important;\n }\n .me-sm-1 {\n margin-right: 0.25rem !important;\n }\n .me-sm-2 {\n margin-right: 0.5rem !important;\n }\n .me-sm-3 {\n margin-right: 1rem !important;\n }\n .me-sm-4 {\n margin-right: 1.5rem !important;\n }\n .me-sm-5 {\n margin-right: 3rem !important;\n }\n .me-sm-auto {\n margin-right: auto !important;\n }\n .mb-sm-0 {\n margin-bottom: 0 !important;\n }\n .mb-sm-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-sm-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-sm-3 {\n margin-bottom: 1rem !important;\n }\n .mb-sm-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-sm-5 {\n margin-bottom: 3rem !important;\n }\n .mb-sm-auto {\n margin-bottom: auto !important;\n }\n .ms-sm-0 {\n margin-left: 0 !important;\n }\n .ms-sm-1 {\n margin-left: 0.25rem !important;\n }\n .ms-sm-2 {\n margin-left: 0.5rem !important;\n }\n .ms-sm-3 {\n margin-left: 1rem !important;\n }\n .ms-sm-4 {\n margin-left: 1.5rem !important;\n }\n .ms-sm-5 {\n margin-left: 3rem !important;\n }\n .ms-sm-auto {\n margin-left: auto !important;\n }\n .p-sm-0 {\n padding: 0 !important;\n }\n .p-sm-1 {\n padding: 0.25rem !important;\n }\n .p-sm-2 {\n padding: 0.5rem !important;\n }\n .p-sm-3 {\n padding: 1rem !important;\n }\n .p-sm-4 {\n padding: 1.5rem !important;\n }\n .p-sm-5 {\n padding: 3rem !important;\n }\n .px-sm-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-sm-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-sm-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-sm-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-sm-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-sm-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-sm-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-sm-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-sm-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-sm-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-sm-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-sm-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-sm-0 {\n padding-top: 0 !important;\n }\n .pt-sm-1 {\n padding-top: 0.25rem !important;\n }\n .pt-sm-2 {\n padding-top: 0.5rem !important;\n }\n .pt-sm-3 {\n padding-top: 1rem !important;\n }\n .pt-sm-4 {\n padding-top: 1.5rem !important;\n }\n .pt-sm-5 {\n padding-top: 3rem !important;\n }\n .pe-sm-0 {\n padding-right: 0 !important;\n }\n .pe-sm-1 {\n padding-right: 0.25rem !important;\n }\n .pe-sm-2 {\n padding-right: 0.5rem !important;\n }\n .pe-sm-3 {\n padding-right: 1rem !important;\n }\n .pe-sm-4 {\n padding-right: 1.5rem !important;\n }\n .pe-sm-5 {\n padding-right: 3rem !important;\n }\n .pb-sm-0 {\n padding-bottom: 0 !important;\n }\n .pb-sm-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-sm-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-sm-3 {\n padding-bottom: 1rem !important;\n }\n .pb-sm-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-sm-5 {\n padding-bottom: 3rem !important;\n }\n .ps-sm-0 {\n padding-left: 0 !important;\n }\n .ps-sm-1 {\n padding-left: 0.25rem !important;\n }\n .ps-sm-2 {\n padding-left: 0.5rem !important;\n }\n .ps-sm-3 {\n padding-left: 1rem !important;\n }\n .ps-sm-4 {\n padding-left: 1.5rem !important;\n }\n .ps-sm-5 {\n padding-left: 3rem !important;\n }\n .gap-sm-0 {\n gap: 0 !important;\n }\n .gap-sm-1 {\n gap: 0.25rem !important;\n }\n .gap-sm-2 {\n gap: 0.5rem !important;\n }\n .gap-sm-3 {\n gap: 1rem !important;\n }\n .gap-sm-4 {\n gap: 1.5rem !important;\n }\n .gap-sm-5 {\n gap: 3rem !important;\n }\n .row-gap-sm-0 {\n row-gap: 0 !important;\n }\n .row-gap-sm-1 {\n row-gap: 0.25rem !important;\n }\n .row-gap-sm-2 {\n row-gap: 0.5rem !important;\n }\n .row-gap-sm-3 {\n row-gap: 1rem !important;\n }\n .row-gap-sm-4 {\n row-gap: 1.5rem !important;\n }\n .row-gap-sm-5 {\n row-gap: 3rem !important;\n }\n .column-gap-sm-0 {\n -moz-column-gap: 0 !important;\n column-gap: 0 !important;\n }\n .column-gap-sm-1 {\n -moz-column-gap: 0.25rem !important;\n column-gap: 0.25rem !important;\n }\n .column-gap-sm-2 {\n -moz-column-gap: 0.5rem !important;\n column-gap: 0.5rem !important;\n }\n .column-gap-sm-3 {\n -moz-column-gap: 1rem !important;\n column-gap: 1rem !important;\n }\n .column-gap-sm-4 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n .column-gap-sm-5 {\n -moz-column-gap: 3rem !important;\n column-gap: 3rem !important;\n }\n .text-sm-start {\n text-align: left !important;\n }\n .text-sm-end {\n text-align: right !important;\n }\n .text-sm-center {\n text-align: center !important;\n }\n}\n@media (min-width: 768px) {\n .float-md-start {\n float: left !important;\n }\n .float-md-end {\n float: right !important;\n }\n .float-md-none {\n float: none !important;\n }\n .object-fit-md-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n .object-fit-md-cover {\n -o-object-fit: cover !important;\n object-fit: cover !important;\n }\n .object-fit-md-fill {\n -o-object-fit: fill !important;\n object-fit: fill !important;\n }\n .object-fit-md-scale {\n -o-object-fit: scale-down !important;\n object-fit: scale-down !important;\n }\n .object-fit-md-none {\n -o-object-fit: none !important;\n object-fit: none !important;\n }\n .d-md-inline {\n display: inline !important;\n }\n .d-md-inline-block {\n display: inline-block !important;\n }\n .d-md-block {\n display: block !important;\n }\n .d-md-grid {\n display: grid !important;\n }\n .d-md-inline-grid {\n display: inline-grid !important;\n }\n .d-md-table {\n display: table !important;\n }\n .d-md-table-row {\n display: table-row !important;\n }\n .d-md-table-cell {\n display: table-cell !important;\n }\n .d-md-flex {\n display: flex !important;\n }\n .d-md-inline-flex {\n display: inline-flex !important;\n }\n .d-md-none {\n display: none !important;\n }\n .flex-md-fill {\n flex: 1 1 auto !important;\n }\n .flex-md-row {\n flex-direction: row !important;\n }\n .flex-md-column {\n flex-direction: column !important;\n }\n .flex-md-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-md-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-md-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-md-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-md-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-md-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-md-wrap {\n flex-wrap: wrap !important;\n }\n .flex-md-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-md-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-md-start {\n justify-content: flex-start !important;\n }\n .justify-content-md-end {\n justify-content: flex-end !important;\n }\n .justify-content-md-center {\n justify-content: center !important;\n }\n .justify-content-md-between {\n justify-content: space-between !important;\n }\n .justify-content-md-around {\n justify-content: space-around !important;\n }\n .justify-content-md-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-md-start {\n align-items: flex-start !important;\n }\n .align-items-md-end {\n align-items: flex-end !important;\n }\n .align-items-md-center {\n align-items: center !important;\n }\n .align-items-md-baseline {\n align-items: baseline !important;\n }\n .align-items-md-stretch {\n align-items: stretch !important;\n }\n .align-content-md-start {\n align-content: flex-start !important;\n }\n .align-content-md-end {\n align-content: flex-end !important;\n }\n .align-content-md-center {\n align-content: center !important;\n }\n .align-content-md-between {\n align-content: space-between !important;\n }\n .align-content-md-around {\n align-content: space-around !important;\n }\n .align-content-md-stretch {\n align-content: stretch !important;\n }\n .align-self-md-auto {\n align-self: auto !important;\n }\n .align-self-md-start {\n align-self: flex-start !important;\n }\n .align-self-md-end {\n align-self: flex-end !important;\n }\n .align-self-md-center {\n align-self: center !important;\n }\n .align-self-md-baseline {\n align-self: baseline !important;\n }\n .align-self-md-stretch {\n align-self: stretch !important;\n }\n .order-md-first {\n order: -1 !important;\n }\n .order-md-0 {\n order: 0 !important;\n }\n .order-md-1 {\n order: 1 !important;\n }\n .order-md-2 {\n order: 2 !important;\n }\n .order-md-3 {\n order: 3 !important;\n }\n .order-md-4 {\n order: 4 !important;\n }\n .order-md-5 {\n order: 5 !important;\n }\n .order-md-last {\n order: 6 !important;\n }\n .m-md-0 {\n margin: 0 !important;\n }\n .m-md-1 {\n margin: 0.25rem !important;\n }\n .m-md-2 {\n margin: 0.5rem !important;\n }\n .m-md-3 {\n margin: 1rem !important;\n }\n .m-md-4 {\n margin: 1.5rem !important;\n }\n .m-md-5 {\n margin: 3rem !important;\n }\n .m-md-auto {\n margin: auto !important;\n }\n .mx-md-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-md-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-md-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-md-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-md-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-md-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-md-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-md-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-md-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-md-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-md-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-md-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-md-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-md-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-md-0 {\n margin-top: 0 !important;\n }\n .mt-md-1 {\n margin-top: 0.25rem !important;\n }\n .mt-md-2 {\n margin-top: 0.5rem !important;\n }\n .mt-md-3 {\n margin-top: 1rem !important;\n }\n .mt-md-4 {\n margin-top: 1.5rem !important;\n }\n .mt-md-5 {\n margin-top: 3rem !important;\n }\n .mt-md-auto {\n margin-top: auto !important;\n }\n .me-md-0 {\n margin-right: 0 !important;\n }\n .me-md-1 {\n margin-right: 0.25rem !important;\n }\n .me-md-2 {\n margin-right: 0.5rem !important;\n }\n .me-md-3 {\n margin-right: 1rem !important;\n }\n .me-md-4 {\n margin-right: 1.5rem !important;\n }\n .me-md-5 {\n margin-right: 3rem !important;\n }\n .me-md-auto {\n margin-right: auto !important;\n }\n .mb-md-0 {\n margin-bottom: 0 !important;\n }\n .mb-md-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-md-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-md-3 {\n margin-bottom: 1rem !important;\n }\n .mb-md-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-md-5 {\n margin-bottom: 3rem !important;\n }\n .mb-md-auto {\n margin-bottom: auto !important;\n }\n .ms-md-0 {\n margin-left: 0 !important;\n }\n .ms-md-1 {\n margin-left: 0.25rem !important;\n }\n .ms-md-2 {\n margin-left: 0.5rem !important;\n }\n .ms-md-3 {\n margin-left: 1rem !important;\n }\n .ms-md-4 {\n margin-left: 1.5rem !important;\n }\n .ms-md-5 {\n margin-left: 3rem !important;\n }\n .ms-md-auto {\n margin-left: auto !important;\n }\n .p-md-0 {\n padding: 0 !important;\n }\n .p-md-1 {\n padding: 0.25rem !important;\n }\n .p-md-2 {\n padding: 0.5rem !important;\n }\n .p-md-3 {\n padding: 1rem !important;\n }\n .p-md-4 {\n padding: 1.5rem !important;\n }\n .p-md-5 {\n padding: 3rem !important;\n }\n .px-md-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-md-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-md-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-md-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-md-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-md-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-md-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-md-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-md-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-md-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-md-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-md-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-md-0 {\n padding-top: 0 !important;\n }\n .pt-md-1 {\n padding-top: 0.25rem !important;\n }\n .pt-md-2 {\n padding-top: 0.5rem !important;\n }\n .pt-md-3 {\n padding-top: 1rem !important;\n }\n .pt-md-4 {\n padding-top: 1.5rem !important;\n }\n .pt-md-5 {\n padding-top: 3rem !important;\n }\n .pe-md-0 {\n padding-right: 0 !important;\n }\n .pe-md-1 {\n padding-right: 0.25rem !important;\n }\n .pe-md-2 {\n padding-right: 0.5rem !important;\n }\n .pe-md-3 {\n padding-right: 1rem !important;\n }\n .pe-md-4 {\n padding-right: 1.5rem !important;\n }\n .pe-md-5 {\n padding-right: 3rem !important;\n }\n .pb-md-0 {\n padding-bottom: 0 !important;\n }\n .pb-md-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-md-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-md-3 {\n padding-bottom: 1rem !important;\n }\n .pb-md-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-md-5 {\n padding-bottom: 3rem !important;\n }\n .ps-md-0 {\n padding-left: 0 !important;\n }\n .ps-md-1 {\n padding-left: 0.25rem !important;\n }\n .ps-md-2 {\n padding-left: 0.5rem !important;\n }\n .ps-md-3 {\n padding-left: 1rem !important;\n }\n .ps-md-4 {\n padding-left: 1.5rem !important;\n }\n .ps-md-5 {\n padding-left: 3rem !important;\n }\n .gap-md-0 {\n gap: 0 !important;\n }\n .gap-md-1 {\n gap: 0.25rem !important;\n }\n .gap-md-2 {\n gap: 0.5rem !important;\n }\n .gap-md-3 {\n gap: 1rem !important;\n }\n .gap-md-4 {\n gap: 1.5rem !important;\n }\n .gap-md-5 {\n gap: 3rem !important;\n }\n .row-gap-md-0 {\n row-gap: 0 !important;\n }\n .row-gap-md-1 {\n row-gap: 0.25rem !important;\n }\n .row-gap-md-2 {\n row-gap: 0.5rem !important;\n }\n .row-gap-md-3 {\n row-gap: 1rem !important;\n }\n .row-gap-md-4 {\n row-gap: 1.5rem !important;\n }\n .row-gap-md-5 {\n row-gap: 3rem !important;\n }\n .column-gap-md-0 {\n -moz-column-gap: 0 !important;\n column-gap: 0 !important;\n }\n .column-gap-md-1 {\n -moz-column-gap: 0.25rem !important;\n column-gap: 0.25rem !important;\n }\n .column-gap-md-2 {\n -moz-column-gap: 0.5rem !important;\n column-gap: 0.5rem !important;\n }\n .column-gap-md-3 {\n -moz-column-gap: 1rem !important;\n column-gap: 1rem !important;\n }\n .column-gap-md-4 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n .column-gap-md-5 {\n -moz-column-gap: 3rem !important;\n column-gap: 3rem !important;\n }\n .text-md-start {\n text-align: left !important;\n }\n .text-md-end {\n text-align: right !important;\n }\n .text-md-center {\n text-align: center !important;\n }\n}\n@media (min-width: 992px) {\n .float-lg-start {\n float: left !important;\n }\n .float-lg-end {\n float: right !important;\n }\n .float-lg-none {\n float: none !important;\n }\n .object-fit-lg-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n .object-fit-lg-cover {\n -o-object-fit: cover !important;\n object-fit: cover !important;\n }\n .object-fit-lg-fill {\n -o-object-fit: fill !important;\n object-fit: fill !important;\n }\n .object-fit-lg-scale {\n -o-object-fit: scale-down !important;\n object-fit: scale-down !important;\n }\n .object-fit-lg-none {\n -o-object-fit: none !important;\n object-fit: none !important;\n }\n .d-lg-inline {\n display: inline !important;\n }\n .d-lg-inline-block {\n display: inline-block !important;\n }\n .d-lg-block {\n display: block !important;\n }\n .d-lg-grid {\n display: grid !important;\n }\n .d-lg-inline-grid {\n display: inline-grid !important;\n }\n .d-lg-table {\n display: table !important;\n }\n .d-lg-table-row {\n display: table-row !important;\n }\n .d-lg-table-cell {\n display: table-cell !important;\n }\n .d-lg-flex {\n display: flex !important;\n }\n .d-lg-inline-flex {\n display: inline-flex !important;\n }\n .d-lg-none {\n display: none !important;\n }\n .flex-lg-fill {\n flex: 1 1 auto !important;\n }\n .flex-lg-row {\n flex-direction: row !important;\n }\n .flex-lg-column {\n flex-direction: column !important;\n }\n .flex-lg-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-lg-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-lg-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-lg-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-lg-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-lg-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-lg-wrap {\n flex-wrap: wrap !important;\n }\n .flex-lg-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-lg-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-lg-start {\n justify-content: flex-start !important;\n }\n .justify-content-lg-end {\n justify-content: flex-end !important;\n }\n .justify-content-lg-center {\n justify-content: center !important;\n }\n .justify-content-lg-between {\n justify-content: space-between !important;\n }\n .justify-content-lg-around {\n justify-content: space-around !important;\n }\n .justify-content-lg-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-lg-start {\n align-items: flex-start !important;\n }\n .align-items-lg-end {\n align-items: flex-end !important;\n }\n .align-items-lg-center {\n align-items: center !important;\n }\n .align-items-lg-baseline {\n align-items: baseline !important;\n }\n .align-items-lg-stretch {\n align-items: stretch !important;\n }\n .align-content-lg-start {\n align-content: flex-start !important;\n }\n .align-content-lg-end {\n align-content: flex-end !important;\n }\n .align-content-lg-center {\n align-content: center !important;\n }\n .align-content-lg-between {\n align-content: space-between !important;\n }\n .align-content-lg-around {\n align-content: space-around !important;\n }\n .align-content-lg-stretch {\n align-content: stretch !important;\n }\n .align-self-lg-auto {\n align-self: auto !important;\n }\n .align-self-lg-start {\n align-self: flex-start !important;\n }\n .align-self-lg-end {\n align-self: flex-end !important;\n }\n .align-self-lg-center {\n align-self: center !important;\n }\n .align-self-lg-baseline {\n align-self: baseline !important;\n }\n .align-self-lg-stretch {\n align-self: stretch !important;\n }\n .order-lg-first {\n order: -1 !important;\n }\n .order-lg-0 {\n order: 0 !important;\n }\n .order-lg-1 {\n order: 1 !important;\n }\n .order-lg-2 {\n order: 2 !important;\n }\n .order-lg-3 {\n order: 3 !important;\n }\n .order-lg-4 {\n order: 4 !important;\n }\n .order-lg-5 {\n order: 5 !important;\n }\n .order-lg-last {\n order: 6 !important;\n }\n .m-lg-0 {\n margin: 0 !important;\n }\n .m-lg-1 {\n margin: 0.25rem !important;\n }\n .m-lg-2 {\n margin: 0.5rem !important;\n }\n .m-lg-3 {\n margin: 1rem !important;\n }\n .m-lg-4 {\n margin: 1.5rem !important;\n }\n .m-lg-5 {\n margin: 3rem !important;\n }\n .m-lg-auto {\n margin: auto !important;\n }\n .mx-lg-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-lg-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-lg-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-lg-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-lg-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-lg-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-lg-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-lg-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-lg-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-lg-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-lg-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-lg-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-lg-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-lg-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-lg-0 {\n margin-top: 0 !important;\n }\n .mt-lg-1 {\n margin-top: 0.25rem !important;\n }\n .mt-lg-2 {\n margin-top: 0.5rem !important;\n }\n .mt-lg-3 {\n margin-top: 1rem !important;\n }\n .mt-lg-4 {\n margin-top: 1.5rem !important;\n }\n .mt-lg-5 {\n margin-top: 3rem !important;\n }\n .mt-lg-auto {\n margin-top: auto !important;\n }\n .me-lg-0 {\n margin-right: 0 !important;\n }\n .me-lg-1 {\n margin-right: 0.25rem !important;\n }\n .me-lg-2 {\n margin-right: 0.5rem !important;\n }\n .me-lg-3 {\n margin-right: 1rem !important;\n }\n .me-lg-4 {\n margin-right: 1.5rem !important;\n }\n .me-lg-5 {\n margin-right: 3rem !important;\n }\n .me-lg-auto {\n margin-right: auto !important;\n }\n .mb-lg-0 {\n margin-bottom: 0 !important;\n }\n .mb-lg-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-lg-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-lg-3 {\n margin-bottom: 1rem !important;\n }\n .mb-lg-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-lg-5 {\n margin-bottom: 3rem !important;\n }\n .mb-lg-auto {\n margin-bottom: auto !important;\n }\n .ms-lg-0 {\n margin-left: 0 !important;\n }\n .ms-lg-1 {\n margin-left: 0.25rem !important;\n }\n .ms-lg-2 {\n margin-left: 0.5rem !important;\n }\n .ms-lg-3 {\n margin-left: 1rem !important;\n }\n .ms-lg-4 {\n margin-left: 1.5rem !important;\n }\n .ms-lg-5 {\n margin-left: 3rem !important;\n }\n .ms-lg-auto {\n margin-left: auto !important;\n }\n .p-lg-0 {\n padding: 0 !important;\n }\n .p-lg-1 {\n padding: 0.25rem !important;\n }\n .p-lg-2 {\n padding: 0.5rem !important;\n }\n .p-lg-3 {\n padding: 1rem !important;\n }\n .p-lg-4 {\n padding: 1.5rem !important;\n }\n .p-lg-5 {\n padding: 3rem !important;\n }\n .px-lg-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-lg-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-lg-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-lg-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-lg-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-lg-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-lg-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-lg-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-lg-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-lg-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-lg-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-lg-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-lg-0 {\n padding-top: 0 !important;\n }\n .pt-lg-1 {\n padding-top: 0.25rem !important;\n }\n .pt-lg-2 {\n padding-top: 0.5rem !important;\n }\n .pt-lg-3 {\n padding-top: 1rem !important;\n }\n .pt-lg-4 {\n padding-top: 1.5rem !important;\n }\n .pt-lg-5 {\n padding-top: 3rem !important;\n }\n .pe-lg-0 {\n padding-right: 0 !important;\n }\n .pe-lg-1 {\n padding-right: 0.25rem !important;\n }\n .pe-lg-2 {\n padding-right: 0.5rem !important;\n }\n .pe-lg-3 {\n padding-right: 1rem !important;\n }\n .pe-lg-4 {\n padding-right: 1.5rem !important;\n }\n .pe-lg-5 {\n padding-right: 3rem !important;\n }\n .pb-lg-0 {\n padding-bottom: 0 !important;\n }\n .pb-lg-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-lg-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-lg-3 {\n padding-bottom: 1rem !important;\n }\n .pb-lg-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-lg-5 {\n padding-bottom: 3rem !important;\n }\n .ps-lg-0 {\n padding-left: 0 !important;\n }\n .ps-lg-1 {\n padding-left: 0.25rem !important;\n }\n .ps-lg-2 {\n padding-left: 0.5rem !important;\n }\n .ps-lg-3 {\n padding-left: 1rem !important;\n }\n .ps-lg-4 {\n padding-left: 1.5rem !important;\n }\n .ps-lg-5 {\n padding-left: 3rem !important;\n }\n .gap-lg-0 {\n gap: 0 !important;\n }\n .gap-lg-1 {\n gap: 0.25rem !important;\n }\n .gap-lg-2 {\n gap: 0.5rem !important;\n }\n .gap-lg-3 {\n gap: 1rem !important;\n }\n .gap-lg-4 {\n gap: 1.5rem !important;\n }\n .gap-lg-5 {\n gap: 3rem !important;\n }\n .row-gap-lg-0 {\n row-gap: 0 !important;\n }\n .row-gap-lg-1 {\n row-gap: 0.25rem !important;\n }\n .row-gap-lg-2 {\n row-gap: 0.5rem !important;\n }\n .row-gap-lg-3 {\n row-gap: 1rem !important;\n }\n .row-gap-lg-4 {\n row-gap: 1.5rem !important;\n }\n .row-gap-lg-5 {\n row-gap: 3rem !important;\n }\n .column-gap-lg-0 {\n -moz-column-gap: 0 !important;\n column-gap: 0 !important;\n }\n .column-gap-lg-1 {\n -moz-column-gap: 0.25rem !important;\n column-gap: 0.25rem !important;\n }\n .column-gap-lg-2 {\n -moz-column-gap: 0.5rem !important;\n column-gap: 0.5rem !important;\n }\n .column-gap-lg-3 {\n -moz-column-gap: 1rem !important;\n column-gap: 1rem !important;\n }\n .column-gap-lg-4 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n .column-gap-lg-5 {\n -moz-column-gap: 3rem !important;\n column-gap: 3rem !important;\n }\n .text-lg-start {\n text-align: left !important;\n }\n .text-lg-end {\n text-align: right !important;\n }\n .text-lg-center {\n text-align: center !important;\n }\n}\n@media (min-width: 1200px) {\n .float-xl-start {\n float: left !important;\n }\n .float-xl-end {\n float: right !important;\n }\n .float-xl-none {\n float: none !important;\n }\n .object-fit-xl-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n .object-fit-xl-cover {\n -o-object-fit: cover !important;\n object-fit: cover !important;\n }\n .object-fit-xl-fill {\n -o-object-fit: fill !important;\n object-fit: fill !important;\n }\n .object-fit-xl-scale {\n -o-object-fit: scale-down !important;\n object-fit: scale-down !important;\n }\n .object-fit-xl-none {\n -o-object-fit: none !important;\n object-fit: none !important;\n }\n .d-xl-inline {\n display: inline !important;\n }\n .d-xl-inline-block {\n display: inline-block !important;\n }\n .d-xl-block {\n display: block !important;\n }\n .d-xl-grid {\n display: grid !important;\n }\n .d-xl-inline-grid {\n display: inline-grid !important;\n }\n .d-xl-table {\n display: table !important;\n }\n .d-xl-table-row {\n display: table-row !important;\n }\n .d-xl-table-cell {\n display: table-cell !important;\n }\n .d-xl-flex {\n display: flex !important;\n }\n .d-xl-inline-flex {\n display: inline-flex !important;\n }\n .d-xl-none {\n display: none !important;\n }\n .flex-xl-fill {\n flex: 1 1 auto !important;\n }\n .flex-xl-row {\n flex-direction: row !important;\n }\n .flex-xl-column {\n flex-direction: column !important;\n }\n .flex-xl-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-xl-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-xl-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-xl-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-xl-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-xl-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-xl-wrap {\n flex-wrap: wrap !important;\n }\n .flex-xl-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-xl-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-xl-start {\n justify-content: flex-start !important;\n }\n .justify-content-xl-end {\n justify-content: flex-end !important;\n }\n .justify-content-xl-center {\n justify-content: center !important;\n }\n .justify-content-xl-between {\n justify-content: space-between !important;\n }\n .justify-content-xl-around {\n justify-content: space-around !important;\n }\n .justify-content-xl-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-xl-start {\n align-items: flex-start !important;\n }\n .align-items-xl-end {\n align-items: flex-end !important;\n }\n .align-items-xl-center {\n align-items: center !important;\n }\n .align-items-xl-baseline {\n align-items: baseline !important;\n }\n .align-items-xl-stretch {\n align-items: stretch !important;\n }\n .align-content-xl-start {\n align-content: flex-start !important;\n }\n .align-content-xl-end {\n align-content: flex-end !important;\n }\n .align-content-xl-center {\n align-content: center !important;\n }\n .align-content-xl-between {\n align-content: space-between !important;\n }\n .align-content-xl-around {\n align-content: space-around !important;\n }\n .align-content-xl-stretch {\n align-content: stretch !important;\n }\n .align-self-xl-auto {\n align-self: auto !important;\n }\n .align-self-xl-start {\n align-self: flex-start !important;\n }\n .align-self-xl-end {\n align-self: flex-end !important;\n }\n .align-self-xl-center {\n align-self: center !important;\n }\n .align-self-xl-baseline {\n align-self: baseline !important;\n }\n .align-self-xl-stretch {\n align-self: stretch !important;\n }\n .order-xl-first {\n order: -1 !important;\n }\n .order-xl-0 {\n order: 0 !important;\n }\n .order-xl-1 {\n order: 1 !important;\n }\n .order-xl-2 {\n order: 2 !important;\n }\n .order-xl-3 {\n order: 3 !important;\n }\n .order-xl-4 {\n order: 4 !important;\n }\n .order-xl-5 {\n order: 5 !important;\n }\n .order-xl-last {\n order: 6 !important;\n }\n .m-xl-0 {\n margin: 0 !important;\n }\n .m-xl-1 {\n margin: 0.25rem !important;\n }\n .m-xl-2 {\n margin: 0.5rem !important;\n }\n .m-xl-3 {\n margin: 1rem !important;\n }\n .m-xl-4 {\n margin: 1.5rem !important;\n }\n .m-xl-5 {\n margin: 3rem !important;\n }\n .m-xl-auto {\n margin: auto !important;\n }\n .mx-xl-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-xl-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-xl-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-xl-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-xl-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-xl-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-xl-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-xl-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-xl-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-xl-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-xl-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-xl-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-xl-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-xl-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-xl-0 {\n margin-top: 0 !important;\n }\n .mt-xl-1 {\n margin-top: 0.25rem !important;\n }\n .mt-xl-2 {\n margin-top: 0.5rem !important;\n }\n .mt-xl-3 {\n margin-top: 1rem !important;\n }\n .mt-xl-4 {\n margin-top: 1.5rem !important;\n }\n .mt-xl-5 {\n margin-top: 3rem !important;\n }\n .mt-xl-auto {\n margin-top: auto !important;\n }\n .me-xl-0 {\n margin-right: 0 !important;\n }\n .me-xl-1 {\n margin-right: 0.25rem !important;\n }\n .me-xl-2 {\n margin-right: 0.5rem !important;\n }\n .me-xl-3 {\n margin-right: 1rem !important;\n }\n .me-xl-4 {\n margin-right: 1.5rem !important;\n }\n .me-xl-5 {\n margin-right: 3rem !important;\n }\n .me-xl-auto {\n margin-right: auto !important;\n }\n .mb-xl-0 {\n margin-bottom: 0 !important;\n }\n .mb-xl-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-xl-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-xl-3 {\n margin-bottom: 1rem !important;\n }\n .mb-xl-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-xl-5 {\n margin-bottom: 3rem !important;\n }\n .mb-xl-auto {\n margin-bottom: auto !important;\n }\n .ms-xl-0 {\n margin-left: 0 !important;\n }\n .ms-xl-1 {\n margin-left: 0.25rem !important;\n }\n .ms-xl-2 {\n margin-left: 0.5rem !important;\n }\n .ms-xl-3 {\n margin-left: 1rem !important;\n }\n .ms-xl-4 {\n margin-left: 1.5rem !important;\n }\n .ms-xl-5 {\n margin-left: 3rem !important;\n }\n .ms-xl-auto {\n margin-left: auto !important;\n }\n .p-xl-0 {\n padding: 0 !important;\n }\n .p-xl-1 {\n padding: 0.25rem !important;\n }\n .p-xl-2 {\n padding: 0.5rem !important;\n }\n .p-xl-3 {\n padding: 1rem !important;\n }\n .p-xl-4 {\n padding: 1.5rem !important;\n }\n .p-xl-5 {\n padding: 3rem !important;\n }\n .px-xl-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-xl-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-xl-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-xl-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-xl-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-xl-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-xl-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-xl-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-xl-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-xl-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-xl-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-xl-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-xl-0 {\n padding-top: 0 !important;\n }\n .pt-xl-1 {\n padding-top: 0.25rem !important;\n }\n .pt-xl-2 {\n padding-top: 0.5rem !important;\n }\n .pt-xl-3 {\n padding-top: 1rem !important;\n }\n .pt-xl-4 {\n padding-top: 1.5rem !important;\n }\n .pt-xl-5 {\n padding-top: 3rem !important;\n }\n .pe-xl-0 {\n padding-right: 0 !important;\n }\n .pe-xl-1 {\n padding-right: 0.25rem !important;\n }\n .pe-xl-2 {\n padding-right: 0.5rem !important;\n }\n .pe-xl-3 {\n padding-right: 1rem !important;\n }\n .pe-xl-4 {\n padding-right: 1.5rem !important;\n }\n .pe-xl-5 {\n padding-right: 3rem !important;\n }\n .pb-xl-0 {\n padding-bottom: 0 !important;\n }\n .pb-xl-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-xl-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-xl-3 {\n padding-bottom: 1rem !important;\n }\n .pb-xl-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-xl-5 {\n padding-bottom: 3rem !important;\n }\n .ps-xl-0 {\n padding-left: 0 !important;\n }\n .ps-xl-1 {\n padding-left: 0.25rem !important;\n }\n .ps-xl-2 {\n padding-left: 0.5rem !important;\n }\n .ps-xl-3 {\n padding-left: 1rem !important;\n }\n .ps-xl-4 {\n padding-left: 1.5rem !important;\n }\n .ps-xl-5 {\n padding-left: 3rem !important;\n }\n .gap-xl-0 {\n gap: 0 !important;\n }\n .gap-xl-1 {\n gap: 0.25rem !important;\n }\n .gap-xl-2 {\n gap: 0.5rem !important;\n }\n .gap-xl-3 {\n gap: 1rem !important;\n }\n .gap-xl-4 {\n gap: 1.5rem !important;\n }\n .gap-xl-5 {\n gap: 3rem !important;\n }\n .row-gap-xl-0 {\n row-gap: 0 !important;\n }\n .row-gap-xl-1 {\n row-gap: 0.25rem !important;\n }\n .row-gap-xl-2 {\n row-gap: 0.5rem !important;\n }\n .row-gap-xl-3 {\n row-gap: 1rem !important;\n }\n .row-gap-xl-4 {\n row-gap: 1.5rem !important;\n }\n .row-gap-xl-5 {\n row-gap: 3rem !important;\n }\n .column-gap-xl-0 {\n -moz-column-gap: 0 !important;\n column-gap: 0 !important;\n }\n .column-gap-xl-1 {\n -moz-column-gap: 0.25rem !important;\n column-gap: 0.25rem !important;\n }\n .column-gap-xl-2 {\n -moz-column-gap: 0.5rem !important;\n column-gap: 0.5rem !important;\n }\n .column-gap-xl-3 {\n -moz-column-gap: 1rem !important;\n column-gap: 1rem !important;\n }\n .column-gap-xl-4 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n .column-gap-xl-5 {\n -moz-column-gap: 3rem !important;\n column-gap: 3rem !important;\n }\n .text-xl-start {\n text-align: left !important;\n }\n .text-xl-end {\n text-align: right !important;\n }\n .text-xl-center {\n text-align: center !important;\n }\n}\n@media (min-width: 1400px) {\n .float-xxl-start {\n float: left !important;\n }\n .float-xxl-end {\n float: right !important;\n }\n .float-xxl-none {\n float: none !important;\n }\n .object-fit-xxl-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n .object-fit-xxl-cover {\n -o-object-fit: cover !important;\n object-fit: cover !important;\n }\n .object-fit-xxl-fill {\n -o-object-fit: fill !important;\n object-fit: fill !important;\n }\n .object-fit-xxl-scale {\n -o-object-fit: scale-down !important;\n object-fit: scale-down !important;\n }\n .object-fit-xxl-none {\n -o-object-fit: none !important;\n object-fit: none !important;\n }\n .d-xxl-inline {\n display: inline !important;\n }\n .d-xxl-inline-block {\n display: inline-block !important;\n }\n .d-xxl-block {\n display: block !important;\n }\n .d-xxl-grid {\n display: grid !important;\n }\n .d-xxl-inline-grid {\n display: inline-grid !important;\n }\n .d-xxl-table {\n display: table !important;\n }\n .d-xxl-table-row {\n display: table-row !important;\n }\n .d-xxl-table-cell {\n display: table-cell !important;\n }\n .d-xxl-flex {\n display: flex !important;\n }\n .d-xxl-inline-flex {\n display: inline-flex !important;\n }\n .d-xxl-none {\n display: none !important;\n }\n .flex-xxl-fill {\n flex: 1 1 auto !important;\n }\n .flex-xxl-row {\n flex-direction: row !important;\n }\n .flex-xxl-column {\n flex-direction: column !important;\n }\n .flex-xxl-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-xxl-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-xxl-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-xxl-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-xxl-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-xxl-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-xxl-wrap {\n flex-wrap: wrap !important;\n }\n .flex-xxl-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-xxl-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-xxl-start {\n justify-content: flex-start !important;\n }\n .justify-content-xxl-end {\n justify-content: flex-end !important;\n }\n .justify-content-xxl-center {\n justify-content: center !important;\n }\n .justify-content-xxl-between {\n justify-content: space-between !important;\n }\n .justify-content-xxl-around {\n justify-content: space-around !important;\n }\n .justify-content-xxl-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-xxl-start {\n align-items: flex-start !important;\n }\n .align-items-xxl-end {\n align-items: flex-end !important;\n }\n .align-items-xxl-center {\n align-items: center !important;\n }\n .align-items-xxl-baseline {\n align-items: baseline !important;\n }\n .align-items-xxl-stretch {\n align-items: stretch !important;\n }\n .align-content-xxl-start {\n align-content: flex-start !important;\n }\n .align-content-xxl-end {\n align-content: flex-end !important;\n }\n .align-content-xxl-center {\n align-content: center !important;\n }\n .align-content-xxl-between {\n align-content: space-between !important;\n }\n .align-content-xxl-around {\n align-content: space-around !important;\n }\n .align-content-xxl-stretch {\n align-content: stretch !important;\n }\n .align-self-xxl-auto {\n align-self: auto !important;\n }\n .align-self-xxl-start {\n align-self: flex-start !important;\n }\n .align-self-xxl-end {\n align-self: flex-end !important;\n }\n .align-self-xxl-center {\n align-self: center !important;\n }\n .align-self-xxl-baseline {\n align-self: baseline !important;\n }\n .align-self-xxl-stretch {\n align-self: stretch !important;\n }\n .order-xxl-first {\n order: -1 !important;\n }\n .order-xxl-0 {\n order: 0 !important;\n }\n .order-xxl-1 {\n order: 1 !important;\n }\n .order-xxl-2 {\n order: 2 !important;\n }\n .order-xxl-3 {\n order: 3 !important;\n }\n .order-xxl-4 {\n order: 4 !important;\n }\n .order-xxl-5 {\n order: 5 !important;\n }\n .order-xxl-last {\n order: 6 !important;\n }\n .m-xxl-0 {\n margin: 0 !important;\n }\n .m-xxl-1 {\n margin: 0.25rem !important;\n }\n .m-xxl-2 {\n margin: 0.5rem !important;\n }\n .m-xxl-3 {\n margin: 1rem !important;\n }\n .m-xxl-4 {\n margin: 1.5rem !important;\n }\n .m-xxl-5 {\n margin: 3rem !important;\n }\n .m-xxl-auto {\n margin: auto !important;\n }\n .mx-xxl-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-xxl-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-xxl-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-xxl-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-xxl-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-xxl-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-xxl-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-xxl-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-xxl-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-xxl-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-xxl-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-xxl-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-xxl-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-xxl-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-xxl-0 {\n margin-top: 0 !important;\n }\n .mt-xxl-1 {\n margin-top: 0.25rem !important;\n }\n .mt-xxl-2 {\n margin-top: 0.5rem !important;\n }\n .mt-xxl-3 {\n margin-top: 1rem !important;\n }\n .mt-xxl-4 {\n margin-top: 1.5rem !important;\n }\n .mt-xxl-5 {\n margin-top: 3rem !important;\n }\n .mt-xxl-auto {\n margin-top: auto !important;\n }\n .me-xxl-0 {\n margin-right: 0 !important;\n }\n .me-xxl-1 {\n margin-right: 0.25rem !important;\n }\n .me-xxl-2 {\n margin-right: 0.5rem !important;\n }\n .me-xxl-3 {\n margin-right: 1rem !important;\n }\n .me-xxl-4 {\n margin-right: 1.5rem !important;\n }\n .me-xxl-5 {\n margin-right: 3rem !important;\n }\n .me-xxl-auto {\n margin-right: auto !important;\n }\n .mb-xxl-0 {\n margin-bottom: 0 !important;\n }\n .mb-xxl-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-xxl-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-xxl-3 {\n margin-bottom: 1rem !important;\n }\n .mb-xxl-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-xxl-5 {\n margin-bottom: 3rem !important;\n }\n .mb-xxl-auto {\n margin-bottom: auto !important;\n }\n .ms-xxl-0 {\n margin-left: 0 !important;\n }\n .ms-xxl-1 {\n margin-left: 0.25rem !important;\n }\n .ms-xxl-2 {\n margin-left: 0.5rem !important;\n }\n .ms-xxl-3 {\n margin-left: 1rem !important;\n }\n .ms-xxl-4 {\n margin-left: 1.5rem !important;\n }\n .ms-xxl-5 {\n margin-left: 3rem !important;\n }\n .ms-xxl-auto {\n margin-left: auto !important;\n }\n .p-xxl-0 {\n padding: 0 !important;\n }\n .p-xxl-1 {\n padding: 0.25rem !important;\n }\n .p-xxl-2 {\n padding: 0.5rem !important;\n }\n .p-xxl-3 {\n padding: 1rem !important;\n }\n .p-xxl-4 {\n padding: 1.5rem !important;\n }\n .p-xxl-5 {\n padding: 3rem !important;\n }\n .px-xxl-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-xxl-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-xxl-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-xxl-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-xxl-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-xxl-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-xxl-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-xxl-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-xxl-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-xxl-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-xxl-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-xxl-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-xxl-0 {\n padding-top: 0 !important;\n }\n .pt-xxl-1 {\n padding-top: 0.25rem !important;\n }\n .pt-xxl-2 {\n padding-top: 0.5rem !important;\n }\n .pt-xxl-3 {\n padding-top: 1rem !important;\n }\n .pt-xxl-4 {\n padding-top: 1.5rem !important;\n }\n .pt-xxl-5 {\n padding-top: 3rem !important;\n }\n .pe-xxl-0 {\n padding-right: 0 !important;\n }\n .pe-xxl-1 {\n padding-right: 0.25rem !important;\n }\n .pe-xxl-2 {\n padding-right: 0.5rem !important;\n }\n .pe-xxl-3 {\n padding-right: 1rem !important;\n }\n .pe-xxl-4 {\n padding-right: 1.5rem !important;\n }\n .pe-xxl-5 {\n padding-right: 3rem !important;\n }\n .pb-xxl-0 {\n padding-bottom: 0 !important;\n }\n .pb-xxl-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-xxl-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-xxl-3 {\n padding-bottom: 1rem !important;\n }\n .pb-xxl-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-xxl-5 {\n padding-bottom: 3rem !important;\n }\n .ps-xxl-0 {\n padding-left: 0 !important;\n }\n .ps-xxl-1 {\n padding-left: 0.25rem !important;\n }\n .ps-xxl-2 {\n padding-left: 0.5rem !important;\n }\n .ps-xxl-3 {\n padding-left: 1rem !important;\n }\n .ps-xxl-4 {\n padding-left: 1.5rem !important;\n }\n .ps-xxl-5 {\n padding-left: 3rem !important;\n }\n .gap-xxl-0 {\n gap: 0 !important;\n }\n .gap-xxl-1 {\n gap: 0.25rem !important;\n }\n .gap-xxl-2 {\n gap: 0.5rem !important;\n }\n .gap-xxl-3 {\n gap: 1rem !important;\n }\n .gap-xxl-4 {\n gap: 1.5rem !important;\n }\n .gap-xxl-5 {\n gap: 3rem !important;\n }\n .row-gap-xxl-0 {\n row-gap: 0 !important;\n }\n .row-gap-xxl-1 {\n row-gap: 0.25rem !important;\n }\n .row-gap-xxl-2 {\n row-gap: 0.5rem !important;\n }\n .row-gap-xxl-3 {\n row-gap: 1rem !important;\n }\n .row-gap-xxl-4 {\n row-gap: 1.5rem !important;\n }\n .row-gap-xxl-5 {\n row-gap: 3rem !important;\n }\n .column-gap-xxl-0 {\n -moz-column-gap: 0 !important;\n column-gap: 0 !important;\n }\n .column-gap-xxl-1 {\n -moz-column-gap: 0.25rem !important;\n column-gap: 0.25rem !important;\n }\n .column-gap-xxl-2 {\n -moz-column-gap: 0.5rem !important;\n column-gap: 0.5rem !important;\n }\n .column-gap-xxl-3 {\n -moz-column-gap: 1rem !important;\n column-gap: 1rem !important;\n }\n .column-gap-xxl-4 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n .column-gap-xxl-5 {\n -moz-column-gap: 3rem !important;\n column-gap: 3rem !important;\n }\n .text-xxl-start {\n text-align: left !important;\n }\n .text-xxl-end {\n text-align: right !important;\n }\n .text-xxl-center {\n text-align: center !important;\n }\n}\n@media (min-width: 1200px) {\n .fs-1 {\n font-size: 2.5rem !important;\n }\n .fs-2 {\n font-size: 2rem !important;\n }\n .fs-3 {\n font-size: 1.75rem !important;\n }\n .fs-4 {\n font-size: 1.5rem !important;\n }\n}\n@media print {\n .d-print-inline {\n display: inline !important;\n }\n .d-print-inline-block {\n display: inline-block !important;\n }\n .d-print-block {\n display: block !important;\n }\n .d-print-grid {\n display: grid !important;\n }\n .d-print-inline-grid {\n display: inline-grid !important;\n }\n .d-print-table {\n display: table !important;\n }\n .d-print-table-row {\n display: table-row !important;\n }\n .d-print-table-cell {\n display: table-cell !important;\n }\n .d-print-flex {\n display: flex !important;\n }\n .d-print-inline-flex {\n display: inline-flex !important;\n }\n .d-print-none {\n display: none !important;\n }\n}\n\n/*# sourceMappingURL=bootstrap.css.map */","// stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n\n// Root\n//\n// Ability to the value of the root font sizes, affecting the value of `rem`.\n// null by default, thus nothing is generated.\n\n:root {\n @if $font-size-root != null {\n @include font-size(var(--#{$prefix}root-font-size));\n }\n\n @if $enable-smooth-scroll {\n @media (prefers-reduced-motion: no-preference) {\n scroll-behavior: smooth;\n }\n }\n}\n\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Prevent adjustments of font size after orientation changes in iOS.\n// 4. Change the default tap highlight to be completely transparent in iOS.\n\n// scss-docs-start reboot-body-rules\nbody {\n margin: 0; // 1\n font-family: var(--#{$prefix}body-font-family);\n @include font-size(var(--#{$prefix}body-font-size));\n font-weight: var(--#{$prefix}body-font-weight);\n line-height: var(--#{$prefix}body-line-height);\n color: var(--#{$prefix}body-color);\n text-align: var(--#{$prefix}body-text-align);\n background-color: var(--#{$prefix}body-bg); // 2\n -webkit-text-size-adjust: 100%; // 3\n -webkit-tap-highlight-color: rgba($black, 0); // 4\n}\n// scss-docs-end reboot-body-rules\n\n\n// Content grouping\n//\n// 1. Reset Firefox's gray color\n\nhr {\n margin: $hr-margin-y 0;\n color: $hr-color; // 1\n border: 0;\n border-top: $hr-border-width solid $hr-border-color;\n opacity: $hr-opacity;\n}\n\n\n// Typography\n//\n// 1. Remove top margins from headings\n// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n\n%heading {\n margin-top: 0; // 1\n margin-bottom: $headings-margin-bottom;\n font-family: $headings-font-family;\n font-style: $headings-font-style;\n font-weight: $headings-font-weight;\n line-height: $headings-line-height;\n color: var(--#{$prefix}heading-color);\n}\n\nh1 {\n @extend %heading;\n @include font-size($h1-font-size);\n}\n\nh2 {\n @extend %heading;\n @include font-size($h2-font-size);\n}\n\nh3 {\n @extend %heading;\n @include font-size($h3-font-size);\n}\n\nh4 {\n @extend %heading;\n @include font-size($h4-font-size);\n}\n\nh5 {\n @extend %heading;\n @include font-size($h5-font-size);\n}\n\nh6 {\n @extend %heading;\n @include font-size($h6-font-size);\n}\n\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `<p>`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\n\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n\n// Abbreviations\n//\n// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.\n// 2. Add explicit cursor to indicate changed behavior.\n// 3. Prevent the text-decoration to be skipped.\n\nabbr[title] {\n text-decoration: underline dotted; // 1\n cursor: help; // 2\n text-decoration-skip-ink: none; // 3\n}\n\n\n// Address\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\n\n// Lists\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\n// 1. Undo browser default\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // 1\n}\n\n\n// Blockquote\n\nblockquote {\n margin: 0 0 1rem;\n}\n\n\n// Strong\n//\n// Add the correct font weight in Chrome, Edge, and Safari\n\nb,\nstrong {\n font-weight: $font-weight-bolder;\n}\n\n\n// Small\n//\n// Add the correct font size in all browsers\n\nsmall {\n @include font-size($small-font-size);\n}\n\n\n// Mark\n\nmark {\n padding: $mark-padding;\n color: var(--#{$prefix}highlight-color);\n background-color: var(--#{$prefix}highlight-bg);\n}\n\n\n// Sub and Sup\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n\nsub,\nsup {\n position: relative;\n @include font-size($sub-sup-font-size);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n// Links\n\na {\n color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, 1));\n text-decoration: $link-decoration;\n\n &:hover {\n --#{$prefix}link-color-rgb: var(--#{$prefix}link-hover-color-rgb);\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([class]) {\n &,\n &:hover {\n color: inherit;\n text-decoration: none;\n }\n}\n\n\n// Code\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-code;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\n// 1. Remove browser default top margin\n// 2. Reset browser default of `1em` to use `rem`s\n// 3. Don't allow content to break outside\n\npre {\n display: block;\n margin-top: 0; // 1\n margin-bottom: 1rem; // 2\n overflow: auto; // 3\n @include font-size($code-font-size);\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n @include font-size(inherit);\n color: inherit;\n word-break: normal;\n }\n}\n\ncode {\n @include font-size($code-font-size);\n color: var(--#{$prefix}code-color);\n word-wrap: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n @include font-size($kbd-font-size);\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n\n kbd {\n padding: 0;\n @include font-size(1em);\n font-weight: $nested-kbd-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type styles).\n\nfigure {\n margin: 0 0 1rem;\n}\n\n\n// Images and content\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\n\n// Tables\n//\n// Prevent double borders\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: $table-cell-padding-y;\n padding-bottom: $table-cell-padding-y;\n color: $table-caption-color;\n text-align: left;\n}\n\n// 1. Removes font-weight bold by inheriting\n// 2. Matches default `<td>` alignment by inheriting `text-align`.\n// 3. Fix alignment for Safari\n\nth {\n font-weight: $table-th-font-weight; // 1\n text-align: inherit; // 2\n text-align: -webkit-match-parent; // 3\n}\n\nthead,\ntbody,\ntfoot,\ntr,\ntd,\nth {\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n}\n\n\n// Forms\n//\n// 1. Allow labels to use `margin` for spacing.\n\nlabel {\n display: inline-block; // 1\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n// See https://github.com/twbs/bootstrap/issues/24093\n\nbutton {\n // stylelint-disable-next-line property-disallowed-list\n border-radius: 0;\n}\n\n// Explicitly remove focus outline in Chromium when it shouldn't be\n// visible (e.g. as result of mouse click or touch tap). It already\n// should be doing this automatically, but seems to currently be\n// confused and applies its very visible two-tone outline anyway.\n\nbutton:focus:not(:focus-visible) {\n outline: 0;\n}\n\n// 1. Remove the margin in Firefox and Safari\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // 1\n font-family: inherit;\n @include font-size(inherit);\n line-height: inherit;\n}\n\n// Remove the inheritance of text transform in Firefox\nbutton,\nselect {\n text-transform: none;\n}\n// Set the cursor for non-`<button>` buttons\n//\n// Details at https://github.com/twbs/bootstrap/pull/30562\n[role=\"button\"] {\n cursor: pointer;\n}\n\nselect {\n // Remove the inheritance of word-wrap in Safari.\n // See https://github.com/twbs/bootstrap/issues/24990\n word-wrap: normal;\n\n // Undo the opacity change from Chrome\n &:disabled {\n opacity: 1;\n }\n}\n\n// Remove the dropdown arrow only from text type inputs built with datalists in Chrome.\n// See https://stackoverflow.com/a/54997118\n\n[list]:not([type=\"date\"]):not([type=\"datetime-local\"]):not([type=\"month\"]):not([type=\"week\"]):not([type=\"time\"])::-webkit-calendar-picker-indicator {\n display: none !important;\n}\n\n// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n// controls in Android 4.\n// 2. Correct the inability to style clickable types in iOS and Safari.\n// 3. Opinionated: add \"hand\" cursor to non-disabled button elements.\n\nbutton,\n[type=\"button\"], // 1\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; // 2\n\n @if $enable-button-pointers {\n &:not(:disabled) {\n cursor: pointer; // 3\n }\n }\n}\n\n// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.\n\n::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\n// 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.\n\ntextarea {\n resize: vertical; // 1\n}\n\n// 1. Browsers set a default `min-width: min-content;` on fieldsets,\n// unlike e.g. `<div>`s, which have `min-width: 0;` by default.\n// So we reset that to ensure fieldsets behave more like a standard block element.\n// See https://github.com/twbs/bootstrap/issues/12359\n// and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements\n// 2. Reset the default outline behavior of fieldsets so they don't affect page layout.\n\nfieldset {\n min-width: 0; // 1\n padding: 0; // 2\n margin: 0; // 2\n border: 0; // 2\n}\n\n// 1. By using `float: left`, the legend will behave like a block element.\n// This way the border of a fieldset wraps around the legend if present.\n// 2. Fix wrapping bug.\n// See https://github.com/twbs/bootstrap/issues/29712\n\nlegend {\n float: left; // 1\n width: 100%;\n padding: 0;\n margin-bottom: $legend-margin-bottom;\n @include font-size($legend-font-size);\n font-weight: $legend-font-weight;\n line-height: inherit;\n\n + * {\n clear: left; // 2\n }\n}\n\n// Fix height of inputs with a type of datetime-local, date, month, week, or time\n// See https://github.com/twbs/bootstrap/issues/18842\n\n::-webkit-datetime-edit-fields-wrapper,\n::-webkit-datetime-edit-text,\n::-webkit-datetime-edit-minute,\n::-webkit-datetime-edit-hour-field,\n::-webkit-datetime-edit-day-field,\n::-webkit-datetime-edit-month-field,\n::-webkit-datetime-edit-year-field {\n padding: 0;\n}\n\n::-webkit-inner-spin-button {\n height: auto;\n}\n\n// 1. This overrides the extra rounded corners on search inputs in iOS so that our\n// `.form-control` class can properly style them. Note that this cannot simply\n// be added to `.form-control` as it's not specific enough. For details, see\n// https://github.com/twbs/bootstrap/issues/11586.\n// 2. Correct the outline style in Safari.\n\n[type=\"search\"] {\n -webkit-appearance: textfield; // 1\n outline-offset: -2px; // 2\n}\n\n// 1. A few input types should stay LTR\n// See https://rtlstyling.com/posts/rtl-styling#form-inputs\n// 2. RTL only output\n// See https://rtlcss.com/learn/usage-guide/control-directives/#raw\n\n/* rtl:raw:\n[type=\"tel\"],\n[type=\"url\"],\n[type=\"email\"],\n[type=\"number\"] {\n direction: ltr;\n}\n*/\n\n// Remove the inner padding in Chrome and Safari on macOS.\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n// Remove padding around color pickers in webkit browsers\n\n::-webkit-color-swatch-wrapper {\n padding: 0;\n}\n\n\n// 1. Inherit font family and line height for file input buttons\n// 2. Correct the inability to style clickable types in iOS and Safari.\n\n::file-selector-button {\n font: inherit; // 1\n -webkit-appearance: button; // 2\n}\n\n// Correct element displays\n\noutput {\n display: inline-block;\n}\n\n// Remove border from iframe\n\niframe {\n border: 0;\n}\n\n// Summary\n//\n// 1. Add the correct display in all browsers\n\nsummary {\n display: list-item; // 1\n cursor: pointer;\n}\n\n\n// Progress\n//\n// Add the correct vertical alignment in Chrome, Firefox, and Opera.\n\nprogress {\n vertical-align: baseline;\n}\n\n\n// Hidden attribute\n//\n// Always hide an element with the `hidden` HTML attribute.\n\n[hidden] {\n display: none !important;\n}\n","// stylelint-disable property-disallowed-list\n// Single side border-radius\n\n// Helper function to replace negative values with 0\n@function valid-radius($radius) {\n $return: ();\n @each $value in $radius {\n @if type-of($value) == number {\n $return: append($return, max($value, 0));\n } @else {\n $return: append($return, $value);\n }\n }\n @return $return;\n}\n\n// scss-docs-start border-radius-mixins\n@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {\n @if $enable-rounded {\n border-radius: valid-radius($radius);\n }\n @else if $fallback-border-radius != false {\n border-radius: $fallback-border-radius;\n }\n}\n\n@mixin border-top-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-left-radius: valid-radius($radius);\n border-top-right-radius: valid-radius($radius);\n }\n}\n\n@mixin border-end-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-right-radius: valid-radius($radius);\n border-bottom-right-radius: valid-radius($radius);\n }\n}\n\n@mixin border-bottom-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-bottom-right-radius: valid-radius($radius);\n border-bottom-left-radius: valid-radius($radius);\n }\n}\n\n@mixin border-start-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-left-radius: valid-radius($radius);\n border-bottom-left-radius: valid-radius($radius);\n }\n}\n\n@mixin border-top-start-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-left-radius: valid-radius($radius);\n }\n}\n\n@mixin border-top-end-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-right-radius: valid-radius($radius);\n }\n}\n\n@mixin border-bottom-end-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-bottom-right-radius: valid-radius($radius);\n }\n}\n\n@mixin border-bottom-start-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-bottom-left-radius: valid-radius($radius);\n }\n}\n// scss-docs-end border-radius-mixins\n","//\n// Headings\n//\n.h1 {\n @extend h1;\n}\n\n.h2 {\n @extend h2;\n}\n\n.h3 {\n @extend h3;\n}\n\n.h4 {\n @extend h4;\n}\n\n.h5 {\n @extend h5;\n}\n\n.h6 {\n @extend h6;\n}\n\n\n.lead {\n @include font-size($lead-font-size);\n font-weight: $lead-font-weight;\n}\n\n// Type display classes\n@each $display, $font-size in $display-font-sizes {\n .display-#{$display} {\n @include font-size($font-size);\n font-family: $display-font-family;\n font-style: $display-font-style;\n font-weight: $display-font-weight;\n line-height: $display-line-height;\n }\n}\n\n//\n// Emphasis\n//\n.small {\n @extend small;\n}\n\n.mark {\n @extend mark;\n}\n\n//\n// Lists\n//\n\n.list-unstyled {\n @include list-unstyled();\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n @include list-unstyled();\n}\n.list-inline-item {\n display: inline-block;\n\n &:not(:last-child) {\n margin-right: $list-inline-padding;\n }\n}\n\n\n//\n// Misc\n//\n\n// Builds on `abbr`\n.initialism {\n @include font-size($initialism-font-size);\n text-transform: uppercase;\n}\n\n// Blockquotes\n.blockquote {\n margin-bottom: $blockquote-margin-y;\n @include font-size($blockquote-font-size);\n\n > :last-child {\n margin-bottom: 0;\n }\n}\n\n.blockquote-footer {\n margin-top: -$blockquote-margin-y;\n margin-bottom: $blockquote-margin-y;\n @include font-size($blockquote-footer-font-size);\n color: $blockquote-footer-color;\n\n &::before {\n content: \"\\2014\\00A0\"; // em dash, nbsp\n }\n}\n","// Lists\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n@mixin list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n","// Responsive images (ensure images don't scale beyond their parents)\n//\n// This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.\n// We previously tried the \"images are responsive by default\" approach in Bootstrap v2,\n// and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)\n// which weren't expecting the images within themselves to be involuntarily resized.\n// See also https://github.com/twbs/bootstrap/issues/18178\n.img-fluid {\n @include img-fluid();\n}\n\n\n// Image thumbnails\n.img-thumbnail {\n padding: $thumbnail-padding;\n background-color: $thumbnail-bg;\n border: $thumbnail-border-width solid $thumbnail-border-color;\n @include border-radius($thumbnail-border-radius);\n @include box-shadow($thumbnail-box-shadow);\n\n // Keep them at most 100% wide\n @include img-fluid();\n}\n\n//\n// Figures\n//\n\n.figure {\n // Ensures the caption's text aligns with the image.\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: $spacer * .5;\n line-height: 1;\n}\n\n.figure-caption {\n @include font-size($figure-caption-font-size);\n color: $figure-caption-color;\n}\n","// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n\n@mixin img-fluid {\n // Part 1: Set a maximum relative to the parent\n max-width: 100%;\n // Part 2: Override the height to auto, otherwise images will be stretched\n // when setting a width and height attribute on the img element.\n height: auto;\n}\n","// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n@if $enable-container-classes {\n // Single container class with breakpoint max-widths\n .container,\n // 100% wide container at all breakpoints\n .container-fluid {\n @include make-container();\n }\n\n // Responsive containers that are 100% wide until a breakpoint\n @each $breakpoint, $container-max-width in $container-max-widths {\n .container-#{$breakpoint} {\n @extend .container-fluid;\n }\n\n @include media-breakpoint-up($breakpoint, $grid-breakpoints) {\n %responsive-container-#{$breakpoint} {\n max-width: $container-max-width;\n }\n\n // Extend each breakpoint which is smaller or equal to the current breakpoint\n $extend-breakpoint: true;\n\n @each $name, $width in $grid-breakpoints {\n @if ($extend-breakpoint) {\n .container#{breakpoint-infix($name, $grid-breakpoints)} {\n @extend %responsive-container-#{$breakpoint};\n }\n\n // Once the current breakpoint is reached, stop extending\n @if ($breakpoint == $name) {\n $extend-breakpoint: false;\n }\n }\n }\n }\n }\n}\n","// Container mixins\n\n@mixin make-container($gutter: $container-padding-x) {\n --#{$prefix}gutter-x: #{$gutter};\n --#{$prefix}gutter-y: 0;\n width: 100%;\n padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list\n padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list\n margin-right: auto;\n margin-left: auto;\n}\n","// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl xxl))\n// md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @if not $n {\n @error \"breakpoint `#{$name}` not found in `#{$breakpoints}`\";\n }\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map-get($breakpoints, $name);\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $max: map-get($breakpoints, $name);\n @return if($max and $max > 0, $max - .02, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($lower, $breakpoints);\n $max: breakpoint-max($upper, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($lower, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($upper, $breakpoints) {\n @content;\n }\n }\n}\n\n// Media between the breakpoint's minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n $next: breakpoint-next($name, $breakpoints);\n $max: breakpoint-max($next, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($name, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($next, $breakpoints) {\n @content;\n }\n }\n}\n","// Row\n//\n// Rows contain your columns.\n\n:root {\n @each $name, $value in $grid-breakpoints {\n --#{$prefix}breakpoint-#{$name}: #{$value};\n }\n}\n\n@if $enable-grid-classes {\n .row {\n @include make-row();\n\n > * {\n @include make-col-ready();\n }\n }\n}\n\n@if $enable-cssgrid {\n .grid {\n display: grid;\n grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr);\n grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr);\n gap: var(--#{$prefix}gap, #{$grid-gutter-width});\n\n @include make-cssgrid();\n }\n}\n\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n@if $enable-grid-classes {\n @include make-grid-columns();\n}\n","// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n@mixin make-row($gutter: $grid-gutter-width) {\n --#{$prefix}gutter-x: #{$gutter};\n --#{$prefix}gutter-y: 0;\n display: flex;\n flex-wrap: wrap;\n // TODO: Revisit calc order after https://github.com/react-bootstrap/react-bootstrap/issues/6039 is fixed\n margin-top: calc(-1 * var(--#{$prefix}gutter-y)); // stylelint-disable-line function-disallowed-list\n margin-right: calc(-.5 * var(--#{$prefix}gutter-x)); // stylelint-disable-line function-disallowed-list\n margin-left: calc(-.5 * var(--#{$prefix}gutter-x)); // stylelint-disable-line function-disallowed-list\n}\n\n@mixin make-col-ready() {\n // Add box sizing if only the grid is loaded\n box-sizing: if(variable-exists(include-column-box-sizing) and $include-column-box-sizing, border-box, null);\n // Prevent columns from becoming too narrow when at smaller grid tiers by\n // always setting `width: 100%;`. This works because we set the width\n // later on to override this initial width.\n flex-shrink: 0;\n width: 100%;\n max-width: 100%; // Prevent `.col-auto`, `.col` (& responsive variants) from breaking out the grid\n padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list\n padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list\n margin-top: var(--#{$prefix}gutter-y);\n}\n\n@mixin make-col($size: false, $columns: $grid-columns) {\n @if $size {\n flex: 0 0 auto;\n width: percentage(divide($size, $columns));\n\n } @else {\n flex: 1 1 0;\n max-width: 100%;\n }\n}\n\n@mixin make-col-auto() {\n flex: 0 0 auto;\n width: auto;\n}\n\n@mixin make-col-offset($size, $columns: $grid-columns) {\n $num: divide($size, $columns);\n margin-left: if($num == 0, 0, percentage($num));\n}\n\n// Row columns\n//\n// Specify on a parent element(e.g., .row) to force immediate children into NN\n// number of columns. Supports wrapping to new lines, but does not do a Masonry\n// style grid.\n@mixin row-cols($count) {\n > * {\n flex: 0 0 auto;\n width: percentage(divide(1, $count));\n }\n}\n\n// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `$grid-columns`.\n\n@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {\n @each $breakpoint in map-keys($breakpoints) {\n $infix: breakpoint-infix($breakpoint, $breakpoints);\n\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n // Provide basic `.col-{bp}` classes for equal-width flexbox columns\n .col#{$infix} {\n flex: 1 0 0%; // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4\n }\n\n .row-cols#{$infix}-auto > * {\n @include make-col-auto();\n }\n\n @if $grid-row-columns > 0 {\n @for $i from 1 through $grid-row-columns {\n .row-cols#{$infix}-#{$i} {\n @include row-cols($i);\n }\n }\n }\n\n .col#{$infix}-auto {\n @include make-col-auto();\n }\n\n @if $columns > 0 {\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @include make-col($i, $columns);\n }\n }\n\n // `$columns - 1` because offsetting by the width of an entire row isn't possible\n @for $i from 0 through ($columns - 1) {\n @if not ($infix == \"\" and $i == 0) { // Avoid emitting useless .offset-0\n .offset#{$infix}-#{$i} {\n @include make-col-offset($i, $columns);\n }\n }\n }\n }\n\n // Gutters\n //\n // Make use of `.g-*`, `.gx-*` or `.gy-*` utilities to change spacing between the columns.\n @each $key, $value in $gutters {\n .g#{$infix}-#{$key},\n .gx#{$infix}-#{$key} {\n --#{$prefix}gutter-x: #{$value};\n }\n\n .g#{$infix}-#{$key},\n .gy#{$infix}-#{$key} {\n --#{$prefix}gutter-y: #{$value};\n }\n }\n }\n }\n}\n\n@mixin make-cssgrid($columns: $grid-columns, $breakpoints: $grid-breakpoints) {\n @each $breakpoint in map-keys($breakpoints) {\n $infix: breakpoint-infix($breakpoint, $breakpoints);\n\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n @if $columns > 0 {\n @for $i from 1 through $columns {\n .g-col#{$infix}-#{$i} {\n grid-column: auto / span $i;\n }\n }\n\n // Start with `1` because `0` is an invalid value.\n // Ends with `$columns - 1` because offsetting by the width of an entire row isn't possible.\n @for $i from 1 through ($columns - 1) {\n .g-start#{$infix}-#{$i} {\n grid-column-start: $i;\n }\n }\n }\n }\n }\n}\n","//\n// Basic Bootstrap table\n//\n\n.table {\n // Reset needed for nesting tables\n --#{$prefix}table-color-type: initial;\n --#{$prefix}table-bg-type: initial;\n --#{$prefix}table-color-state: initial;\n --#{$prefix}table-bg-state: initial;\n // End of reset\n --#{$prefix}table-color: #{$table-color};\n --#{$prefix}table-bg: #{$table-bg};\n --#{$prefix}table-border-color: #{$table-border-color};\n --#{$prefix}table-accent-bg: #{$table-accent-bg};\n --#{$prefix}table-striped-color: #{$table-striped-color};\n --#{$prefix}table-striped-bg: #{$table-striped-bg};\n --#{$prefix}table-active-color: #{$table-active-color};\n --#{$prefix}table-active-bg: #{$table-active-bg};\n --#{$prefix}table-hover-color: #{$table-hover-color};\n --#{$prefix}table-hover-bg: #{$table-hover-bg};\n\n width: 100%;\n margin-bottom: $spacer;\n vertical-align: $table-cell-vertical-align;\n border-color: var(--#{$prefix}table-border-color);\n\n // Target th & td\n // We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.\n // We use the universal selectors here to simplify the selector (else we would need 6 different selectors).\n // Another advantage is that this generates less code and makes the selector less specific making it easier to override.\n // stylelint-disable-next-line selector-max-universal\n > :not(caption) > * > * {\n padding: $table-cell-padding-y $table-cell-padding-x;\n // Following the precept of cascades: https://codepen.io/miriamsuzanne/full/vYNgodb\n color: var(--#{$prefix}table-color-state, var(--#{$prefix}table-color-type, var(--#{$prefix}table-color)));\n background-color: var(--#{$prefix}table-bg);\n border-bottom-width: $table-border-width;\n box-shadow: inset 0 0 0 9999px var(--#{$prefix}table-bg-state, var(--#{$prefix}table-bg-type, var(--#{$prefix}table-accent-bg)));\n }\n\n > tbody {\n vertical-align: inherit;\n }\n\n > thead {\n vertical-align: bottom;\n }\n}\n\n.table-group-divider {\n border-top: calc(#{$table-border-width} * 2) solid $table-group-separator-color; // stylelint-disable-line function-disallowed-list\n}\n\n//\n// Change placement of captions with a class\n//\n\n.caption-top {\n caption-side: top;\n}\n\n\n//\n// Condensed table w/ half padding\n//\n\n.table-sm {\n // stylelint-disable-next-line selector-max-universal\n > :not(caption) > * > * {\n padding: $table-cell-padding-y-sm $table-cell-padding-x-sm;\n }\n}\n\n\n// Border versions\n//\n// Add or remove borders all around the table and between all the columns.\n//\n// When borders are added on all sides of the cells, the corners can render odd when\n// these borders do not have the same color or if they are semi-transparent.\n// Therefore we add top and border bottoms to the `tr`s and left and right borders\n// to the `td`s or `th`s\n\n.table-bordered {\n > :not(caption) > * {\n border-width: $table-border-width 0;\n\n // stylelint-disable-next-line selector-max-universal\n > * {\n border-width: 0 $table-border-width;\n }\n }\n}\n\n.table-borderless {\n // stylelint-disable-next-line selector-max-universal\n > :not(caption) > * > * {\n border-bottom-width: 0;\n }\n\n > :not(:first-child) {\n border-top-width: 0;\n }\n}\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n// For rows\n.table-striped {\n > tbody > tr:nth-of-type(#{$table-striped-order}) > * {\n --#{$prefix}table-color-type: var(--#{$prefix}table-striped-color);\n --#{$prefix}table-bg-type: var(--#{$prefix}table-striped-bg);\n }\n}\n\n// For columns\n.table-striped-columns {\n > :not(caption) > tr > :nth-child(#{$table-striped-columns-order}) {\n --#{$prefix}table-color-type: var(--#{$prefix}table-striped-color);\n --#{$prefix}table-bg-type: var(--#{$prefix}table-striped-bg);\n }\n}\n\n// Active table\n//\n// The `.table-active` class can be added to highlight rows or cells\n\n.table-active {\n --#{$prefix}table-color-state: var(--#{$prefix}table-active-color);\n --#{$prefix}table-bg-state: var(--#{$prefix}table-active-bg);\n}\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n > tbody > tr:hover > * {\n --#{$prefix}table-color-state: var(--#{$prefix}table-hover-color);\n --#{$prefix}table-bg-state: var(--#{$prefix}table-hover-bg);\n }\n}\n\n\n// Table variants\n//\n// Table variants set the table cell backgrounds, border colors\n// and the colors of the striped, hovered & active tables\n\n@each $color, $value in $table-variants {\n @include table-variant($color, $value);\n}\n\n// Responsive tables\n//\n// Generate series of `.table-responsive-*` classes for configuring the screen\n// size of where your table will overflow.\n\n@each $breakpoint in map-keys($grid-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n @include media-breakpoint-down($breakpoint) {\n .table-responsive#{$infix} {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n }\n}\n","// scss-docs-start table-variant\n@mixin table-variant($state, $background) {\n .table-#{$state} {\n $color: color-contrast(opaque($body-bg, $background));\n $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));\n $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));\n $active-bg: mix($color, $background, percentage($table-active-bg-factor));\n $table-border-color: mix($color, $background, percentage($table-border-factor));\n\n --#{$prefix}table-color: #{$color};\n --#{$prefix}table-bg: #{$background};\n --#{$prefix}table-border-color: #{$table-border-color};\n --#{$prefix}table-striped-bg: #{$striped-bg};\n --#{$prefix}table-striped-color: #{color-contrast($striped-bg)};\n --#{$prefix}table-active-bg: #{$active-bg};\n --#{$prefix}table-active-color: #{color-contrast($active-bg)};\n --#{$prefix}table-hover-bg: #{$hover-bg};\n --#{$prefix}table-hover-color: #{color-contrast($hover-bg)};\n\n color: var(--#{$prefix}table-color);\n border-color: var(--#{$prefix}table-border-color);\n }\n}\n// scss-docs-end table-variant\n","//\n// Labels\n//\n\n.form-label {\n margin-bottom: $form-label-margin-bottom;\n @include font-size($form-label-font-size);\n font-style: $form-label-font-style;\n font-weight: $form-label-font-weight;\n color: $form-label-color;\n}\n\n// For use with horizontal and inline forms, when you need the label (or legend)\n// text to align with the form controls.\n.col-form-label {\n padding-top: add($input-padding-y, $input-border-width);\n padding-bottom: add($input-padding-y, $input-border-width);\n margin-bottom: 0; // Override the `<legend>` default\n @include font-size(inherit); // Override the `<legend>` default\n font-style: $form-label-font-style;\n font-weight: $form-label-font-weight;\n line-height: $input-line-height;\n color: $form-label-color;\n}\n\n.col-form-label-lg {\n padding-top: add($input-padding-y-lg, $input-border-width);\n padding-bottom: add($input-padding-y-lg, $input-border-width);\n @include font-size($input-font-size-lg);\n}\n\n.col-form-label-sm {\n padding-top: add($input-padding-y-sm, $input-border-width);\n padding-bottom: add($input-padding-y-sm, $input-border-width);\n @include font-size($input-font-size-sm);\n}\n","//\n// Form text\n//\n\n.form-text {\n margin-top: $form-text-margin-top;\n @include font-size($form-text-font-size);\n font-style: $form-text-font-style;\n font-weight: $form-text-font-weight;\n color: $form-text-color;\n}\n","//\n// General form controls (plus a few specific high-level interventions)\n//\n\n.form-control {\n display: block;\n width: 100%;\n padding: $input-padding-y $input-padding-x;\n font-family: $input-font-family;\n @include font-size($input-font-size);\n font-weight: $input-font-weight;\n line-height: $input-line-height;\n color: $input-color;\n appearance: none; // Fix appearance for date inputs in Safari\n background-color: $input-bg;\n background-clip: padding-box;\n border: $input-border-width solid $input-border-color;\n\n // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.\n @include border-radius($input-border-radius, 0);\n\n @include box-shadow($input-box-shadow);\n @include transition($input-transition);\n\n &[type=\"file\"] {\n overflow: hidden; // prevent pseudo element button overlap\n\n &:not(:disabled):not([readonly]) {\n cursor: pointer;\n }\n }\n\n // Customize the `:focus` state to imitate native WebKit styles.\n &:focus {\n color: $input-focus-color;\n background-color: $input-focus-bg;\n border-color: $input-focus-border-color;\n outline: 0;\n @if $enable-shadows {\n @include box-shadow($input-box-shadow, $input-focus-box-shadow);\n } @else {\n // Avoid using mixin so we can pass custom focus shadow properly\n box-shadow: $input-focus-box-shadow;\n }\n }\n\n &::-webkit-date-and-time-value {\n // On Android Chrome, form-control's \"width: 100%\" makes the input width too small\n // Tested under Android 11 / Chrome 89, Android 12 / Chrome 100, Android 13 / Chrome 109\n //\n // On iOS Safari, form-control's \"appearance: none\" + \"width: 100%\" makes the input width too small\n // Tested under iOS 16.2 / Safari 16.2\n min-width: 85px; // Seems to be a good minimum safe width\n\n // Add some height to date inputs on iOS\n // https://github.com/twbs/bootstrap/issues/23307\n // TODO: we can remove this workaround once https://bugs.webkit.org/show_bug.cgi?id=198959 is resolved\n // Multiply line-height by 1em if it has no unit\n height: if(unit($input-line-height) == \"\", $input-line-height * 1em, $input-line-height);\n\n // Android Chrome type=\"date\" is taller than the other inputs\n // because of \"margin: 1px 24px 1px 4px\" inside the shadow DOM\n // Tested under Android 11 / Chrome 89, Android 12 / Chrome 100, Android 13 / Chrome 109\n margin: 0;\n }\n\n // Prevent excessive date input height in Webkit\n // https://github.com/twbs/bootstrap/issues/34433\n &::-webkit-datetime-edit {\n display: block;\n padding: 0;\n }\n\n // Placeholder\n &::placeholder {\n color: $input-placeholder-color;\n // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.\n opacity: 1;\n }\n\n // Disabled inputs\n //\n // HTML5 says that controls under a fieldset > legend:first-child won't be\n // disabled if the fieldset is disabled. Due to implementation difficulty, we\n // don't honor that edge case; we style them as disabled anyway.\n &:disabled {\n color: $input-disabled-color;\n background-color: $input-disabled-bg;\n border-color: $input-disabled-border-color;\n // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.\n opacity: 1;\n }\n\n // File input buttons theming\n &::file-selector-button {\n padding: $input-padding-y $input-padding-x;\n margin: (-$input-padding-y) (-$input-padding-x);\n margin-inline-end: $input-padding-x;\n color: $form-file-button-color;\n @include gradient-bg($form-file-button-bg);\n pointer-events: none;\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n border-inline-end-width: $input-border-width;\n border-radius: 0; // stylelint-disable-line property-disallowed-list\n @include transition($btn-transition);\n }\n\n &:hover:not(:disabled):not([readonly])::file-selector-button {\n background-color: $form-file-button-hover-bg;\n }\n}\n\n// Readonly controls as plain text\n//\n// Apply class to a readonly input to make it appear like regular plain\n// text (without any border, background color, focus indicator)\n\n.form-control-plaintext {\n display: block;\n width: 100%;\n padding: $input-padding-y 0;\n margin-bottom: 0; // match inputs if this class comes on inputs with default margins\n line-height: $input-line-height;\n color: $input-plaintext-color;\n background-color: transparent;\n border: solid transparent;\n border-width: $input-border-width 0;\n\n &:focus {\n outline: 0;\n }\n\n &.form-control-sm,\n &.form-control-lg {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n// Form control sizing\n//\n// Build on `.form-control` with modifier classes to decrease or increase the\n// height and font-size of form controls.\n//\n// Repeated in `_input_group.scss` to avoid Sass extend issues.\n\n.form-control-sm {\n min-height: $input-height-sm;\n padding: $input-padding-y-sm $input-padding-x-sm;\n @include font-size($input-font-size-sm);\n @include border-radius($input-border-radius-sm);\n\n &::file-selector-button {\n padding: $input-padding-y-sm $input-padding-x-sm;\n margin: (-$input-padding-y-sm) (-$input-padding-x-sm);\n margin-inline-end: $input-padding-x-sm;\n }\n}\n\n.form-control-lg {\n min-height: $input-height-lg;\n padding: $input-padding-y-lg $input-padding-x-lg;\n @include font-size($input-font-size-lg);\n @include border-radius($input-border-radius-lg);\n\n &::file-selector-button {\n padding: $input-padding-y-lg $input-padding-x-lg;\n margin: (-$input-padding-y-lg) (-$input-padding-x-lg);\n margin-inline-end: $input-padding-x-lg;\n }\n}\n\n// Make sure textareas don't shrink too much when resized\n// https://github.com/twbs/bootstrap/pull/29124\n// stylelint-disable selector-no-qualifying-type\ntextarea {\n &.form-control {\n min-height: $input-height;\n }\n\n &.form-control-sm {\n min-height: $input-height-sm;\n }\n\n &.form-control-lg {\n min-height: $input-height-lg;\n }\n}\n// stylelint-enable selector-no-qualifying-type\n\n.form-control-color {\n width: $form-color-width;\n height: $input-height;\n padding: $input-padding-y;\n\n &:not(:disabled):not([readonly]) {\n cursor: pointer;\n }\n\n &::-moz-color-swatch {\n border: 0 !important; // stylelint-disable-line declaration-no-important\n @include border-radius($input-border-radius);\n }\n\n &::-webkit-color-swatch {\n border: 0 !important; // stylelint-disable-line declaration-no-important\n @include border-radius($input-border-radius);\n }\n\n &.form-control-sm { height: $input-height-sm; }\n &.form-control-lg { height: $input-height-lg; }\n}\n","// stylelint-disable property-disallowed-list\n@mixin transition($transition...) {\n @if length($transition) == 0 {\n $transition: $transition-base;\n }\n\n @if length($transition) > 1 {\n @each $value in $transition {\n @if $value == null or $value == none {\n @warn \"The keyword 'none' or 'null' must be used as a single argument.\";\n }\n }\n }\n\n @if $enable-transitions {\n @if nth($transition, 1) != null {\n transition: $transition;\n }\n\n @if $enable-reduced-motion and nth($transition, 1) != null and nth($transition, 1) != none {\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n }\n}\n","// Gradients\n\n// scss-docs-start gradient-bg-mixin\n@mixin gradient-bg($color: null) {\n background-color: $color;\n\n @if $enable-gradients {\n background-image: var(--#{$prefix}gradient);\n }\n}\n// scss-docs-end gradient-bg-mixin\n\n// scss-docs-start gradient-mixins\n// Horizontal gradient, from left to right\n//\n// Creates two color stops, start and end, by specifying a color and position for each color stop.\n@mixin gradient-x($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) {\n background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent);\n}\n\n// Vertical gradient, from top to bottom\n//\n// Creates two color stops, start and end, by specifying a color and position for each color stop.\n@mixin gradient-y($start-color: $gray-700, $end-color: $gray-800, $start-percent: null, $end-percent: null) {\n background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent);\n}\n\n@mixin gradient-directional($start-color: $gray-700, $end-color: $gray-800, $deg: 45deg) {\n background-image: linear-gradient($deg, $start-color, $end-color);\n}\n\n@mixin gradient-x-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {\n background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);\n}\n\n@mixin gradient-y-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {\n background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);\n}\n\n@mixin gradient-radial($inner-color: $gray-700, $outer-color: $gray-800) {\n background-image: radial-gradient(circle, $inner-color, $outer-color);\n}\n\n@mixin gradient-striped($color: rgba($white, .15), $angle: 45deg) {\n background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);\n}\n// scss-docs-end gradient-mixins\n","// Select\n//\n// Replaces the browser default select with a custom one, mostly pulled from\n// https://primer.github.io/.\n\n.form-select {\n --#{$prefix}form-select-bg-img: #{escape-svg($form-select-indicator)};\n\n display: block;\n width: 100%;\n padding: $form-select-padding-y $form-select-indicator-padding $form-select-padding-y $form-select-padding-x;\n font-family: $form-select-font-family;\n @include font-size($form-select-font-size);\n font-weight: $form-select-font-weight;\n line-height: $form-select-line-height;\n color: $form-select-color;\n appearance: none;\n background-color: $form-select-bg;\n background-image: var(--#{$prefix}form-select-bg-img), var(--#{$prefix}form-select-bg-icon, none);\n background-repeat: no-repeat;\n background-position: $form-select-bg-position;\n background-size: $form-select-bg-size;\n border: $form-select-border-width solid $form-select-border-color;\n @include border-radius($form-select-border-radius, 0);\n @include box-shadow($form-select-box-shadow);\n @include transition($form-select-transition);\n\n &:focus {\n border-color: $form-select-focus-border-color;\n outline: 0;\n @if $enable-shadows {\n @include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow);\n } @else {\n // Avoid using mixin so we can pass custom focus shadow properly\n box-shadow: $form-select-focus-box-shadow;\n }\n }\n\n &[multiple],\n &[size]:not([size=\"1\"]) {\n padding-right: $form-select-padding-x;\n background-image: none;\n }\n\n &:disabled {\n color: $form-select-disabled-color;\n background-color: $form-select-disabled-bg;\n border-color: $form-select-disabled-border-color;\n }\n\n // Remove outline from select box in FF\n &:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 $form-select-color;\n }\n}\n\n.form-select-sm {\n padding-top: $form-select-padding-y-sm;\n padding-bottom: $form-select-padding-y-sm;\n padding-left: $form-select-padding-x-sm;\n @include font-size($form-select-font-size-sm);\n @include border-radius($form-select-border-radius-sm);\n}\n\n.form-select-lg {\n padding-top: $form-select-padding-y-lg;\n padding-bottom: $form-select-padding-y-lg;\n padding-left: $form-select-padding-x-lg;\n @include font-size($form-select-font-size-lg);\n @include border-radius($form-select-border-radius-lg);\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .form-select {\n --#{$prefix}form-select-bg-img: #{escape-svg($form-select-indicator-dark)};\n }\n }\n}\n","//\n// Check/radio\n//\n\n.form-check {\n display: block;\n min-height: $form-check-min-height;\n padding-left: $form-check-padding-start;\n margin-bottom: $form-check-margin-bottom;\n\n .form-check-input {\n float: left;\n margin-left: $form-check-padding-start * -1;\n }\n}\n\n.form-check-reverse {\n padding-right: $form-check-padding-start;\n padding-left: 0;\n text-align: right;\n\n .form-check-input {\n float: right;\n margin-right: $form-check-padding-start * -1;\n margin-left: 0;\n }\n}\n\n.form-check-input {\n --#{$prefix}form-check-bg: #{$form-check-input-bg};\n\n flex-shrink: 0;\n width: $form-check-input-width;\n height: $form-check-input-width;\n margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height\n vertical-align: top;\n appearance: none;\n background-color: var(--#{$prefix}form-check-bg);\n background-image: var(--#{$prefix}form-check-bg-image);\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n border: $form-check-input-border;\n print-color-adjust: exact; // Keep themed appearance for print\n @include transition($form-check-transition);\n\n &[type=\"checkbox\"] {\n @include border-radius($form-check-input-border-radius);\n }\n\n &[type=\"radio\"] {\n // stylelint-disable-next-line property-disallowed-list\n border-radius: $form-check-radio-border-radius;\n }\n\n &:active {\n filter: $form-check-input-active-filter;\n }\n\n &:focus {\n border-color: $form-check-input-focus-border;\n outline: 0;\n box-shadow: $form-check-input-focus-box-shadow;\n }\n\n &:checked {\n background-color: $form-check-input-checked-bg-color;\n border-color: $form-check-input-checked-border-color;\n\n &[type=\"checkbox\"] {\n @if $enable-gradients {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-checked-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-checked-bg-image)};\n }\n }\n\n &[type=\"radio\"] {\n @if $enable-gradients {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-radio-checked-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-radio-checked-bg-image)};\n }\n }\n }\n\n &[type=\"checkbox\"]:indeterminate {\n background-color: $form-check-input-indeterminate-bg-color;\n border-color: $form-check-input-indeterminate-border-color;\n\n @if $enable-gradients {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-indeterminate-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-indeterminate-bg-image)};\n }\n }\n\n &:disabled {\n pointer-events: none;\n filter: none;\n opacity: $form-check-input-disabled-opacity;\n }\n\n // Use disabled attribute in addition of :disabled pseudo-class\n // See: https://github.com/twbs/bootstrap/issues/28247\n &[disabled],\n &:disabled {\n ~ .form-check-label {\n cursor: default;\n opacity: $form-check-label-disabled-opacity;\n }\n }\n}\n\n.form-check-label {\n color: $form-check-label-color;\n cursor: $form-check-label-cursor;\n}\n\n//\n// Switch\n//\n\n.form-switch {\n padding-left: $form-switch-padding-start;\n\n .form-check-input {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-bg-image)};\n\n width: $form-switch-width;\n margin-left: $form-switch-padding-start * -1;\n background-image: var(--#{$prefix}form-switch-bg);\n background-position: left center;\n @include border-radius($form-switch-border-radius, 0);\n @include transition($form-switch-transition);\n\n &:focus {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-focus-bg-image)};\n }\n\n &:checked {\n background-position: $form-switch-checked-bg-position;\n\n @if $enable-gradients {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-checked-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-checked-bg-image)};\n }\n }\n }\n\n &.form-check-reverse {\n padding-right: $form-switch-padding-start;\n padding-left: 0;\n\n .form-check-input {\n margin-right: $form-switch-padding-start * -1;\n margin-left: 0;\n }\n }\n}\n\n.form-check-inline {\n display: inline-block;\n margin-right: $form-check-inline-margin-end;\n}\n\n.btn-check {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n\n &[disabled],\n &:disabled {\n + .btn {\n pointer-events: none;\n filter: none;\n opacity: $form-check-btn-check-disabled-opacity;\n }\n }\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .form-switch .form-check-input:not(:checked):not(:focus) {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-bg-image-dark)};\n }\n }\n}\n","// Range\n//\n// Style range inputs the same across browsers. Vendor-specific rules for pseudo\n// elements cannot be mixed. As such, there are no shared styles for focus or\n// active states on prefixed selectors.\n\n.form-range {\n width: 100%;\n height: add($form-range-thumb-height, $form-range-thumb-focus-box-shadow-width * 2);\n padding: 0; // Need to reset padding\n appearance: none;\n background-color: transparent;\n\n &:focus {\n outline: 0;\n\n // Pseudo-elements must be split across multiple rulesets to have an effect.\n // No box-shadow() mixin for focus accessibility.\n &::-webkit-slider-thumb { box-shadow: $form-range-thumb-focus-box-shadow; }\n &::-moz-range-thumb { box-shadow: $form-range-thumb-focus-box-shadow; }\n }\n\n &::-moz-focus-outer {\n border: 0;\n }\n\n &::-webkit-slider-thumb {\n width: $form-range-thumb-width;\n height: $form-range-thumb-height;\n margin-top: ($form-range-track-height - $form-range-thumb-height) * .5; // Webkit specific\n appearance: none;\n @include gradient-bg($form-range-thumb-bg);\n border: $form-range-thumb-border;\n @include border-radius($form-range-thumb-border-radius);\n @include box-shadow($form-range-thumb-box-shadow);\n @include transition($form-range-thumb-transition);\n\n &:active {\n @include gradient-bg($form-range-thumb-active-bg);\n }\n }\n\n &::-webkit-slider-runnable-track {\n width: $form-range-track-width;\n height: $form-range-track-height;\n color: transparent; // Why?\n cursor: $form-range-track-cursor;\n background-color: $form-range-track-bg;\n border-color: transparent;\n @include border-radius($form-range-track-border-radius);\n @include box-shadow($form-range-track-box-shadow);\n }\n\n &::-moz-range-thumb {\n width: $form-range-thumb-width;\n height: $form-range-thumb-height;\n appearance: none;\n @include gradient-bg($form-range-thumb-bg);\n border: $form-range-thumb-border;\n @include border-radius($form-range-thumb-border-radius);\n @include box-shadow($form-range-thumb-box-shadow);\n @include transition($form-range-thumb-transition);\n\n &:active {\n @include gradient-bg($form-range-thumb-active-bg);\n }\n }\n\n &::-moz-range-track {\n width: $form-range-track-width;\n height: $form-range-track-height;\n color: transparent;\n cursor: $form-range-track-cursor;\n background-color: $form-range-track-bg;\n border-color: transparent; // Firefox specific?\n @include border-radius($form-range-track-border-radius);\n @include box-shadow($form-range-track-box-shadow);\n }\n\n &:disabled {\n pointer-events: none;\n\n &::-webkit-slider-thumb {\n background-color: $form-range-thumb-disabled-bg;\n }\n\n &::-moz-range-thumb {\n background-color: $form-range-thumb-disabled-bg;\n }\n }\n}\n",".form-floating {\n position: relative;\n\n > .form-control,\n > .form-control-plaintext,\n > .form-select {\n height: $form-floating-height;\n min-height: $form-floating-height;\n line-height: $form-floating-line-height;\n }\n\n > label {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n height: 100%; // allow textareas\n padding: $form-floating-padding-y $form-floating-padding-x;\n overflow: hidden;\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n border: $input-border-width solid transparent; // Required for aligning label's text with the input as it affects inner box model\n transform-origin: 0 0;\n @include transition($form-floating-transition);\n }\n\n > .form-control,\n > .form-control-plaintext {\n padding: $form-floating-padding-y $form-floating-padding-x;\n\n &::placeholder {\n color: transparent;\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped\n &:-webkit-autofill {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n }\n\n > .form-select {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n\n > .form-control:focus,\n > .form-control:not(:placeholder-shown),\n > .form-control-plaintext,\n > .form-select {\n ~ label {\n color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});\n transform: $form-floating-label-transform;\n\n &::after {\n position: absolute;\n inset: $form-floating-padding-y ($form-floating-padding-x * .5);\n z-index: -1;\n height: $form-floating-label-height;\n content: \"\";\n background-color: $input-bg;\n @include border-radius($input-border-radius);\n }\n }\n }\n // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped\n > .form-control:-webkit-autofill {\n ~ label {\n color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});\n transform: $form-floating-label-transform;\n }\n }\n\n > .form-control-plaintext {\n ~ label {\n border-width: $input-border-width 0; // Required to properly position label text - as explained above\n }\n }\n\n > :disabled ~ label,\n > .form-control:disabled ~ label { // Required for `.form-control`s because of specificity\n color: $form-floating-label-disabled-color;\n\n &::after {\n background-color: $input-disabled-bg;\n }\n }\n}\n","//\n// Base styles\n//\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap; // For form validation feedback\n align-items: stretch;\n width: 100%;\n\n > .form-control,\n > .form-select,\n > .form-floating {\n position: relative; // For focus state's z-index\n flex: 1 1 auto;\n width: 1%;\n min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size\n }\n\n // Bring the \"active\" form control to the top of surrounding elements\n > .form-control:focus,\n > .form-select:focus,\n > .form-floating:focus-within {\n z-index: 5;\n }\n\n // Ensure buttons are always above inputs for more visually pleasing borders.\n // This isn't needed for `.input-group-text` since it shares the same border-color\n // as our inputs.\n .btn {\n position: relative;\n z-index: 2;\n\n &:focus {\n z-index: 5;\n }\n }\n}\n\n\n// Textual addons\n//\n// Serves as a catch-all element for any text or radio/checkbox input you wish\n// to prepend or append to an input.\n\n.input-group-text {\n display: flex;\n align-items: center;\n padding: $input-group-addon-padding-y $input-group-addon-padding-x;\n @include font-size($input-font-size); // Match inputs\n font-weight: $input-group-addon-font-weight;\n line-height: $input-line-height;\n color: $input-group-addon-color;\n text-align: center;\n white-space: nowrap;\n background-color: $input-group-addon-bg;\n border: $input-border-width solid $input-group-addon-border-color;\n @include border-radius($input-border-radius);\n}\n\n\n// Sizing\n//\n// Remix the default form control sizing classes into new ones for easier\n// manipulation.\n\n.input-group-lg > .form-control,\n.input-group-lg > .form-select,\n.input-group-lg > .input-group-text,\n.input-group-lg > .btn {\n padding: $input-padding-y-lg $input-padding-x-lg;\n @include font-size($input-font-size-lg);\n @include border-radius($input-border-radius-lg);\n}\n\n.input-group-sm > .form-control,\n.input-group-sm > .form-select,\n.input-group-sm > .input-group-text,\n.input-group-sm > .btn {\n padding: $input-padding-y-sm $input-padding-x-sm;\n @include font-size($input-font-size-sm);\n @include border-radius($input-border-radius-sm);\n}\n\n.input-group-lg > .form-select,\n.input-group-sm > .form-select {\n padding-right: $form-select-padding-x + $form-select-indicator-padding;\n}\n\n\n// Rounded corners\n//\n// These rulesets must come after the sizing ones to properly override sm and lg\n// border-radius values when extending. They're more specific than we'd like\n// with the `.input-group >` part, but without it, we cannot override the sizing.\n\n// stylelint-disable-next-line no-duplicate-selectors\n.input-group {\n &:not(.has-validation) {\n > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),\n > .dropdown-toggle:nth-last-child(n + 3),\n > .form-floating:not(:last-child) > .form-control,\n > .form-floating:not(:last-child) > .form-select {\n @include border-end-radius(0);\n }\n }\n\n &.has-validation {\n > :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),\n > .dropdown-toggle:nth-last-child(n + 4),\n > .form-floating:nth-last-child(n + 3) > .form-control,\n > .form-floating:nth-last-child(n + 3) > .form-select {\n @include border-end-radius(0);\n }\n }\n\n $validation-messages: \"\";\n @each $state in map-keys($form-validation-states) {\n $validation-messages: $validation-messages + \":not(.\" + unquote($state) + \"-tooltip)\" + \":not(.\" + unquote($state) + \"-feedback)\";\n }\n\n > :not(:first-child):not(.dropdown-menu)#{$validation-messages} {\n margin-left: calc(#{$input-border-width} * -1); // stylelint-disable-line function-disallowed-list\n @include border-start-radius(0);\n }\n\n > .form-floating:not(:first-child) > .form-control,\n > .form-floating:not(:first-child) > .form-select {\n @include border-start-radius(0);\n }\n}\n","// This mixin uses an `if()` technique to be compatible with Dart Sass\n// See https://github.com/sass/sass/issues/1873#issuecomment-152293725 for more details\n\n// scss-docs-start form-validation-mixins\n@mixin form-validation-state-selector($state) {\n @if ($state == \"valid\" or $state == \"invalid\") {\n .was-validated #{if(&, \"&\", \"\")}:#{$state},\n #{if(&, \"&\", \"\")}.is-#{$state} {\n @content;\n }\n } @else {\n #{if(&, \"&\", \"\")}.is-#{$state} {\n @content;\n }\n }\n}\n\n@mixin form-validation-state(\n $state,\n $color,\n $icon,\n $tooltip-color: color-contrast($color),\n $tooltip-bg-color: rgba($color, $form-feedback-tooltip-opacity),\n $focus-box-shadow: 0 0 $input-btn-focus-blur $input-focus-width rgba($color, $input-btn-focus-color-opacity),\n $border-color: $color\n) {\n .#{$state}-feedback {\n display: none;\n width: 100%;\n margin-top: $form-feedback-margin-top;\n @include font-size($form-feedback-font-size);\n font-style: $form-feedback-font-style;\n color: $color;\n }\n\n .#{$state}-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%; // Contain to parent when possible\n padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;\n margin-top: .1rem;\n @include font-size($form-feedback-tooltip-font-size);\n line-height: $form-feedback-tooltip-line-height;\n color: $tooltip-color;\n background-color: $tooltip-bg-color;\n @include border-radius($form-feedback-tooltip-border-radius);\n }\n\n @include form-validation-state-selector($state) {\n ~ .#{$state}-feedback,\n ~ .#{$state}-tooltip {\n display: block;\n }\n }\n\n .form-control {\n @include form-validation-state-selector($state) {\n border-color: $border-color;\n\n @if $enable-validation-icons {\n padding-right: $input-height-inner;\n background-image: escape-svg($icon);\n background-repeat: no-repeat;\n background-position: right $input-height-inner-quarter center;\n background-size: $input-height-inner-half $input-height-inner-half;\n }\n\n &:focus {\n border-color: $border-color;\n @if $enable-shadows {\n @include box-shadow($input-box-shadow, $focus-box-shadow);\n } @else {\n // Avoid using mixin so we can pass custom focus shadow properly\n box-shadow: $focus-box-shadow;\n }\n }\n }\n }\n\n // stylelint-disable-next-line selector-no-qualifying-type\n textarea.form-control {\n @include form-validation-state-selector($state) {\n @if $enable-validation-icons {\n padding-right: $input-height-inner;\n background-position: top $input-height-inner-quarter right $input-height-inner-quarter;\n }\n }\n }\n\n .form-select {\n @include form-validation-state-selector($state) {\n border-color: $border-color;\n\n @if $enable-validation-icons {\n &:not([multiple]):not([size]),\n &:not([multiple])[size=\"1\"] {\n --#{$prefix}form-select-bg-icon: #{escape-svg($icon)};\n padding-right: $form-select-feedback-icon-padding-end;\n background-position: $form-select-bg-position, $form-select-feedback-icon-position;\n background-size: $form-select-bg-size, $form-select-feedback-icon-size;\n }\n }\n\n &:focus {\n border-color: $border-color;\n @if $enable-shadows {\n @include box-shadow($form-select-box-shadow, $focus-box-shadow);\n } @else {\n // Avoid using mixin so we can pass custom focus shadow properly\n box-shadow: $focus-box-shadow;\n }\n }\n }\n }\n\n .form-control-color {\n @include form-validation-state-selector($state) {\n @if $enable-validation-icons {\n width: add($form-color-width, $input-height-inner);\n }\n }\n }\n\n .form-check-input {\n @include form-validation-state-selector($state) {\n border-color: $border-color;\n\n &:checked {\n background-color: $color;\n }\n\n &:focus {\n box-shadow: $focus-box-shadow;\n }\n\n ~ .form-check-label {\n color: $color;\n }\n }\n }\n .form-check-inline .form-check-input {\n ~ .#{$state}-feedback {\n margin-left: .5em;\n }\n }\n\n .input-group {\n > .form-control:not(:focus),\n > .form-select:not(:focus),\n > .form-floating:not(:focus-within) {\n @include form-validation-state-selector($state) {\n @if $state == \"valid\" {\n z-index: 3;\n } @else if $state == \"invalid\" {\n z-index: 4;\n }\n }\n }\n }\n}\n// scss-docs-end form-validation-mixins\n","//\n// Base styles\n//\n\n.btn {\n // scss-docs-start btn-css-vars\n --#{$prefix}btn-padding-x: #{$btn-padding-x};\n --#{$prefix}btn-padding-y: #{$btn-padding-y};\n --#{$prefix}btn-font-family: #{$btn-font-family};\n @include rfs($btn-font-size, --#{$prefix}btn-font-size);\n --#{$prefix}btn-font-weight: #{$btn-font-weight};\n --#{$prefix}btn-line-height: #{$btn-line-height};\n --#{$prefix}btn-color: #{$btn-color};\n --#{$prefix}btn-bg: transparent;\n --#{$prefix}btn-border-width: #{$btn-border-width};\n --#{$prefix}btn-border-color: transparent;\n --#{$prefix}btn-border-radius: #{$btn-border-radius};\n --#{$prefix}btn-hover-border-color: transparent;\n --#{$prefix}btn-box-shadow: #{$btn-box-shadow};\n --#{$prefix}btn-disabled-opacity: #{$btn-disabled-opacity};\n --#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);\n // scss-docs-end btn-css-vars\n\n display: inline-block;\n padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);\n font-family: var(--#{$prefix}btn-font-family);\n @include font-size(var(--#{$prefix}btn-font-size));\n font-weight: var(--#{$prefix}btn-font-weight);\n line-height: var(--#{$prefix}btn-line-height);\n color: var(--#{$prefix}btn-color);\n text-align: center;\n text-decoration: if($link-decoration == none, null, none);\n white-space: $btn-white-space;\n vertical-align: middle;\n cursor: if($enable-button-pointers, pointer, null);\n user-select: none;\n border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);\n @include border-radius(var(--#{$prefix}btn-border-radius));\n @include gradient-bg(var(--#{$prefix}btn-bg));\n @include box-shadow(var(--#{$prefix}btn-box-shadow));\n @include transition($btn-transition);\n\n &:hover {\n color: var(--#{$prefix}btn-hover-color);\n text-decoration: if($link-hover-decoration == underline, none, null);\n background-color: var(--#{$prefix}btn-hover-bg);\n border-color: var(--#{$prefix}btn-hover-border-color);\n }\n\n .btn-check + &:hover {\n // override for the checkbox/radio buttons\n color: var(--#{$prefix}btn-color);\n background-color: var(--#{$prefix}btn-bg);\n border-color: var(--#{$prefix}btn-border-color);\n }\n\n &:focus-visible {\n color: var(--#{$prefix}btn-hover-color);\n @include gradient-bg(var(--#{$prefix}btn-hover-bg));\n border-color: var(--#{$prefix}btn-hover-border-color);\n outline: 0;\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n\n .btn-check:focus-visible + & {\n border-color: var(--#{$prefix}btn-hover-border-color);\n outline: 0;\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n\n .btn-check:checked + &,\n :not(.btn-check) + &:active,\n &:first-child:active,\n &.active,\n &.show {\n color: var(--#{$prefix}btn-active-color);\n background-color: var(--#{$prefix}btn-active-bg);\n // Remove CSS gradients if they're enabled\n background-image: if($enable-gradients, none, null);\n border-color: var(--#{$prefix}btn-active-border-color);\n @include box-shadow(var(--#{$prefix}btn-active-shadow));\n\n &:focus-visible {\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n }\n\n .btn-check:checked:focus-visible + & {\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n\n &:disabled,\n &.disabled,\n fieldset:disabled & {\n color: var(--#{$prefix}btn-disabled-color);\n pointer-events: none;\n background-color: var(--#{$prefix}btn-disabled-bg);\n background-image: if($enable-gradients, none, null);\n border-color: var(--#{$prefix}btn-disabled-border-color);\n opacity: var(--#{$prefix}btn-disabled-opacity);\n @include box-shadow(none);\n }\n}\n\n\n//\n// Alternate buttons\n//\n\n// scss-docs-start btn-variant-loops\n@each $color, $value in $theme-colors {\n .btn-#{$color} {\n @if $color == \"light\" {\n @include button-variant(\n $value,\n $value,\n $hover-background: shade-color($value, $btn-hover-bg-shade-amount),\n $hover-border: shade-color($value, $btn-hover-border-shade-amount),\n $active-background: shade-color($value, $btn-active-bg-shade-amount),\n $active-border: shade-color($value, $btn-active-border-shade-amount)\n );\n } @else if $color == \"dark\" {\n @include button-variant(\n $value,\n $value,\n $hover-background: tint-color($value, $btn-hover-bg-tint-amount),\n $hover-border: tint-color($value, $btn-hover-border-tint-amount),\n $active-background: tint-color($value, $btn-active-bg-tint-amount),\n $active-border: tint-color($value, $btn-active-border-tint-amount)\n );\n } @else {\n @include button-variant($value, $value);\n }\n }\n}\n\n@each $color, $value in $theme-colors {\n .btn-outline-#{$color} {\n @include button-outline-variant($value);\n }\n}\n// scss-docs-end btn-variant-loops\n\n\n//\n// Link buttons\n//\n\n// Make a button look and behave like a link\n.btn-link {\n --#{$prefix}btn-font-weight: #{$font-weight-normal};\n --#{$prefix}btn-color: #{$btn-link-color};\n --#{$prefix}btn-bg: transparent;\n --#{$prefix}btn-border-color: transparent;\n --#{$prefix}btn-hover-color: #{$btn-link-hover-color};\n --#{$prefix}btn-hover-border-color: transparent;\n --#{$prefix}btn-active-color: #{$btn-link-hover-color};\n --#{$prefix}btn-active-border-color: transparent;\n --#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};\n --#{$prefix}btn-disabled-border-color: transparent;\n --#{$prefix}btn-box-shadow: 0 0 0 #000; // Can't use `none` as keyword negates all values when used with multiple shadows\n --#{$prefix}btn-focus-shadow-rgb: #{$btn-link-focus-shadow-rgb};\n\n text-decoration: $link-decoration;\n @if $enable-gradients {\n background-image: none;\n }\n\n &:hover,\n &:focus-visible {\n text-decoration: $link-hover-decoration;\n }\n\n &:focus-visible {\n color: var(--#{$prefix}btn-color);\n }\n\n &:hover {\n color: var(--#{$prefix}btn-hover-color);\n }\n\n // No need for an active state here\n}\n\n\n//\n// Button Sizes\n//\n\n.btn-lg {\n @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg);\n}\n\n.btn-sm {\n @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);\n}\n","// Button variants\n//\n// Easily pump out default styles, as well as :hover, :focus, :active,\n// and disabled options for all buttons\n\n// scss-docs-start btn-variant-mixin\n@mixin button-variant(\n $background,\n $border,\n $color: color-contrast($background),\n $hover-background: if($color == $color-contrast-light, shade-color($background, $btn-hover-bg-shade-amount), tint-color($background, $btn-hover-bg-tint-amount)),\n $hover-border: if($color == $color-contrast-light, shade-color($border, $btn-hover-border-shade-amount), tint-color($border, $btn-hover-border-tint-amount)),\n $hover-color: color-contrast($hover-background),\n $active-background: if($color == $color-contrast-light, shade-color($background, $btn-active-bg-shade-amount), tint-color($background, $btn-active-bg-tint-amount)),\n $active-border: if($color == $color-contrast-light, shade-color($border, $btn-active-border-shade-amount), tint-color($border, $btn-active-border-tint-amount)),\n $active-color: color-contrast($active-background),\n $disabled-background: $background,\n $disabled-border: $border,\n $disabled-color: color-contrast($disabled-background)\n) {\n --#{$prefix}btn-color: #{$color};\n --#{$prefix}btn-bg: #{$background};\n --#{$prefix}btn-border-color: #{$border};\n --#{$prefix}btn-hover-color: #{$hover-color};\n --#{$prefix}btn-hover-bg: #{$hover-background};\n --#{$prefix}btn-hover-border-color: #{$hover-border};\n --#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix($color, $border, 15%))};\n --#{$prefix}btn-active-color: #{$active-color};\n --#{$prefix}btn-active-bg: #{$active-background};\n --#{$prefix}btn-active-border-color: #{$active-border};\n --#{$prefix}btn-active-shadow: #{$btn-active-box-shadow};\n --#{$prefix}btn-disabled-color: #{$disabled-color};\n --#{$prefix}btn-disabled-bg: #{$disabled-background};\n --#{$prefix}btn-disabled-border-color: #{$disabled-border};\n}\n// scss-docs-end btn-variant-mixin\n\n// scss-docs-start btn-outline-variant-mixin\n@mixin button-outline-variant(\n $color,\n $color-hover: color-contrast($color),\n $active-background: $color,\n $active-border: $color,\n $active-color: color-contrast($active-background)\n) {\n --#{$prefix}btn-color: #{$color};\n --#{$prefix}btn-border-color: #{$color};\n --#{$prefix}btn-hover-color: #{$color-hover};\n --#{$prefix}btn-hover-bg: #{$active-background};\n --#{$prefix}btn-hover-border-color: #{$active-border};\n --#{$prefix}btn-focus-shadow-rgb: #{to-rgb($color)};\n --#{$prefix}btn-active-color: #{$active-color};\n --#{$prefix}btn-active-bg: #{$active-background};\n --#{$prefix}btn-active-border-color: #{$active-border};\n --#{$prefix}btn-active-shadow: #{$btn-active-box-shadow};\n --#{$prefix}btn-disabled-color: #{$color};\n --#{$prefix}btn-disabled-bg: transparent;\n --#{$prefix}btn-disabled-border-color: #{$color};\n --#{$prefix}gradient: none;\n}\n// scss-docs-end btn-outline-variant-mixin\n\n// scss-docs-start btn-size-mixin\n@mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {\n --#{$prefix}btn-padding-y: #{$padding-y};\n --#{$prefix}btn-padding-x: #{$padding-x};\n @include rfs($font-size, --#{$prefix}btn-font-size);\n --#{$prefix}btn-border-radius: #{$border-radius};\n}\n// scss-docs-end btn-size-mixin\n",".fade {\n @include transition($transition-fade);\n\n &:not(.show) {\n opacity: 0;\n }\n}\n\n// scss-docs-start collapse-classes\n.collapse {\n &:not(.show) {\n display: none;\n }\n}\n\n.collapsing {\n height: 0;\n overflow: hidden;\n @include transition($transition-collapse);\n\n &.collapse-horizontal {\n width: 0;\n height: auto;\n @include transition($transition-collapse-width);\n }\n}\n// scss-docs-end collapse-classes\n","// The dropdown wrapper (`<div>`)\n.dropup,\n.dropend,\n.dropdown,\n.dropstart,\n.dropup-center,\n.dropdown-center {\n position: relative;\n}\n\n.dropdown-toggle {\n white-space: nowrap;\n\n // Generate the caret automatically\n @include caret();\n}\n\n// The dropdown menu\n.dropdown-menu {\n // scss-docs-start dropdown-css-vars\n --#{$prefix}dropdown-zindex: #{$zindex-dropdown};\n --#{$prefix}dropdown-min-width: #{$dropdown-min-width};\n --#{$prefix}dropdown-padding-x: #{$dropdown-padding-x};\n --#{$prefix}dropdown-padding-y: #{$dropdown-padding-y};\n --#{$prefix}dropdown-spacer: #{$dropdown-spacer};\n @include rfs($dropdown-font-size, --#{$prefix}dropdown-font-size);\n --#{$prefix}dropdown-color: #{$dropdown-color};\n --#{$prefix}dropdown-bg: #{$dropdown-bg};\n --#{$prefix}dropdown-border-color: #{$dropdown-border-color};\n --#{$prefix}dropdown-border-radius: #{$dropdown-border-radius};\n --#{$prefix}dropdown-border-width: #{$dropdown-border-width};\n --#{$prefix}dropdown-inner-border-radius: #{$dropdown-inner-border-radius};\n --#{$prefix}dropdown-divider-bg: #{$dropdown-divider-bg};\n --#{$prefix}dropdown-divider-margin-y: #{$dropdown-divider-margin-y};\n --#{$prefix}dropdown-box-shadow: #{$dropdown-box-shadow};\n --#{$prefix}dropdown-link-color: #{$dropdown-link-color};\n --#{$prefix}dropdown-link-hover-color: #{$dropdown-link-hover-color};\n --#{$prefix}dropdown-link-hover-bg: #{$dropdown-link-hover-bg};\n --#{$prefix}dropdown-link-active-color: #{$dropdown-link-active-color};\n --#{$prefix}dropdown-link-active-bg: #{$dropdown-link-active-bg};\n --#{$prefix}dropdown-link-disabled-color: #{$dropdown-link-disabled-color};\n --#{$prefix}dropdown-item-padding-x: #{$dropdown-item-padding-x};\n --#{$prefix}dropdown-item-padding-y: #{$dropdown-item-padding-y};\n --#{$prefix}dropdown-header-color: #{$dropdown-header-color};\n --#{$prefix}dropdown-header-padding-x: #{$dropdown-header-padding-x};\n --#{$prefix}dropdown-header-padding-y: #{$dropdown-header-padding-y};\n // scss-docs-end dropdown-css-vars\n\n position: absolute;\n z-index: var(--#{$prefix}dropdown-zindex);\n display: none; // none by default, but block on \"open\" of the menu\n min-width: var(--#{$prefix}dropdown-min-width);\n padding: var(--#{$prefix}dropdown-padding-y) var(--#{$prefix}dropdown-padding-x);\n margin: 0; // Override default margin of ul\n @include font-size(var(--#{$prefix}dropdown-font-size));\n color: var(--#{$prefix}dropdown-color);\n text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)\n list-style: none;\n background-color: var(--#{$prefix}dropdown-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}dropdown-border-width) solid var(--#{$prefix}dropdown-border-color);\n @include border-radius(var(--#{$prefix}dropdown-border-radius));\n @include box-shadow(var(--#{$prefix}dropdown-box-shadow));\n\n &[data-bs-popper] {\n top: 100%;\n left: 0;\n margin-top: var(--#{$prefix}dropdown-spacer);\n }\n\n @if $dropdown-padding-y == 0 {\n > .dropdown-item:first-child,\n > li:first-child .dropdown-item {\n @include border-top-radius(var(--#{$prefix}dropdown-inner-border-radius));\n }\n > .dropdown-item:last-child,\n > li:last-child .dropdown-item {\n @include border-bottom-radius(var(--#{$prefix}dropdown-inner-border-radius));\n }\n\n }\n}\n\n// scss-docs-start responsive-breakpoints\n// We deliberately hardcode the `bs-` prefix because we check\n// this custom property in JS to determine Popper's positioning\n\n@each $breakpoint in map-keys($grid-breakpoints) {\n @include media-breakpoint-up($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n .dropdown-menu#{$infix}-start {\n --bs-position: start;\n\n &[data-bs-popper] {\n right: auto;\n left: 0;\n }\n }\n\n .dropdown-menu#{$infix}-end {\n --bs-position: end;\n\n &[data-bs-popper] {\n right: 0;\n left: auto;\n }\n }\n }\n}\n// scss-docs-end responsive-breakpoints\n\n// Allow for dropdowns to go bottom up (aka, dropup-menu)\n// Just add .dropup after the standard .dropdown class and you're set.\n.dropup {\n .dropdown-menu[data-bs-popper] {\n top: auto;\n bottom: 100%;\n margin-top: 0;\n margin-bottom: var(--#{$prefix}dropdown-spacer);\n }\n\n .dropdown-toggle {\n @include caret(up);\n }\n}\n\n.dropend {\n .dropdown-menu[data-bs-popper] {\n top: 0;\n right: auto;\n left: 100%;\n margin-top: 0;\n margin-left: var(--#{$prefix}dropdown-spacer);\n }\n\n .dropdown-toggle {\n @include caret(end);\n &::after {\n vertical-align: 0;\n }\n }\n}\n\n.dropstart {\n .dropdown-menu[data-bs-popper] {\n top: 0;\n right: 100%;\n left: auto;\n margin-top: 0;\n margin-right: var(--#{$prefix}dropdown-spacer);\n }\n\n .dropdown-toggle {\n @include caret(start);\n &::before {\n vertical-align: 0;\n }\n }\n}\n\n\n// Dividers (basically an `<hr>`) within the dropdown\n.dropdown-divider {\n height: 0;\n margin: var(--#{$prefix}dropdown-divider-margin-y) 0;\n overflow: hidden;\n border-top: 1px solid var(--#{$prefix}dropdown-divider-bg);\n opacity: 1; // Revisit in v6 to de-dupe styles that conflict with <hr> element\n}\n\n// Links, buttons, and more within the dropdown menu\n//\n// `<button>`-specific styles are denoted with `// For <button>s`\n.dropdown-item {\n display: block;\n width: 100%; // For `<button>`s\n padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);\n clear: both;\n font-weight: $font-weight-normal;\n color: var(--#{$prefix}dropdown-link-color);\n text-align: inherit; // For `<button>`s\n text-decoration: if($link-decoration == none, null, none);\n white-space: nowrap; // prevent links from randomly breaking onto new lines\n background-color: transparent; // For `<button>`s\n border: 0; // For `<button>`s\n @include border-radius(var(--#{$prefix}dropdown-item-border-radius, 0));\n\n &:hover,\n &:focus {\n color: var(--#{$prefix}dropdown-link-hover-color);\n text-decoration: if($link-hover-decoration == underline, none, null);\n @include gradient-bg(var(--#{$prefix}dropdown-link-hover-bg));\n }\n\n &.active,\n &:active {\n color: var(--#{$prefix}dropdown-link-active-color);\n text-decoration: none;\n @include gradient-bg(var(--#{$prefix}dropdown-link-active-bg));\n }\n\n &.disabled,\n &:disabled {\n color: var(--#{$prefix}dropdown-link-disabled-color);\n pointer-events: none;\n background-color: transparent;\n // Remove CSS gradients if they're enabled\n background-image: if($enable-gradients, none, null);\n }\n}\n\n.dropdown-menu.show {\n display: block;\n}\n\n// Dropdown section headers\n.dropdown-header {\n display: block;\n padding: var(--#{$prefix}dropdown-header-padding-y) var(--#{$prefix}dropdown-header-padding-x);\n margin-bottom: 0; // for use with heading elements\n @include font-size($font-size-sm);\n color: var(--#{$prefix}dropdown-header-color);\n white-space: nowrap; // as with > li > a\n}\n\n// Dropdown text\n.dropdown-item-text {\n display: block;\n padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);\n color: var(--#{$prefix}dropdown-link-color);\n}\n\n// Dark dropdowns\n.dropdown-menu-dark {\n // scss-docs-start dropdown-dark-css-vars\n --#{$prefix}dropdown-color: #{$dropdown-dark-color};\n --#{$prefix}dropdown-bg: #{$dropdown-dark-bg};\n --#{$prefix}dropdown-border-color: #{$dropdown-dark-border-color};\n --#{$prefix}dropdown-box-shadow: #{$dropdown-dark-box-shadow};\n --#{$prefix}dropdown-link-color: #{$dropdown-dark-link-color};\n --#{$prefix}dropdown-link-hover-color: #{$dropdown-dark-link-hover-color};\n --#{$prefix}dropdown-divider-bg: #{$dropdown-dark-divider-bg};\n --#{$prefix}dropdown-link-hover-bg: #{$dropdown-dark-link-hover-bg};\n --#{$prefix}dropdown-link-active-color: #{$dropdown-dark-link-active-color};\n --#{$prefix}dropdown-link-active-bg: #{$dropdown-dark-link-active-bg};\n --#{$prefix}dropdown-link-disabled-color: #{$dropdown-dark-link-disabled-color};\n --#{$prefix}dropdown-header-color: #{$dropdown-dark-header-color};\n // scss-docs-end dropdown-dark-css-vars\n}\n","// scss-docs-start caret-mixins\n@mixin caret-down($width: $caret-width) {\n border-top: $width solid;\n border-right: $width solid transparent;\n border-bottom: 0;\n border-left: $width solid transparent;\n}\n\n@mixin caret-up($width: $caret-width) {\n border-top: 0;\n border-right: $width solid transparent;\n border-bottom: $width solid;\n border-left: $width solid transparent;\n}\n\n@mixin caret-end($width: $caret-width) {\n border-top: $width solid transparent;\n border-right: 0;\n border-bottom: $width solid transparent;\n border-left: $width solid;\n}\n\n@mixin caret-start($width: $caret-width) {\n border-top: $width solid transparent;\n border-right: $width solid;\n border-bottom: $width solid transparent;\n}\n\n@mixin caret(\n $direction: down,\n $width: $caret-width,\n $spacing: $caret-spacing,\n $vertical-align: $caret-vertical-align\n) {\n @if $enable-caret {\n &::after {\n display: inline-block;\n margin-left: $spacing;\n vertical-align: $vertical-align;\n content: \"\";\n @if $direction == down {\n @include caret-down($width);\n } @else if $direction == up {\n @include caret-up($width);\n } @else if $direction == end {\n @include caret-end($width);\n }\n }\n\n @if $direction == start {\n &::after {\n display: none;\n }\n\n &::before {\n display: inline-block;\n margin-right: $spacing;\n vertical-align: $vertical-align;\n content: \"\";\n @include caret-start($width);\n }\n }\n\n &:empty::after {\n margin-left: 0;\n }\n }\n}\n// scss-docs-end caret-mixins\n","// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle; // match .btn alignment given font-size hack above\n\n > .btn {\n position: relative;\n flex: 1 1 auto;\n }\n\n // Bring the hover, focused, and \"active\" buttons to the front to overlay\n // the borders properly\n > .btn-check:checked + .btn,\n > .btn-check:focus + .btn,\n > .btn:hover,\n > .btn:focus,\n > .btn:active,\n > .btn.active {\n z-index: 1;\n }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n\n .input-group {\n width: auto;\n }\n}\n\n.btn-group {\n @include border-radius($btn-border-radius);\n\n // Prevent double borders when buttons are next to each other\n > :not(.btn-check:first-child) + .btn,\n > .btn-group:not(:first-child) {\n margin-left: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list\n }\n\n // Reset rounded corners\n > .btn:not(:last-child):not(.dropdown-toggle),\n > .btn.dropdown-toggle-split:first-child,\n > .btn-group:not(:last-child) > .btn {\n @include border-end-radius(0);\n }\n\n // The left radius should be 0 if the button is:\n // - the \"third or more\" child\n // - the second child and the previous element isn't `.btn-check` (making it the first child visually)\n // - part of a btn-group which isn't the first child\n > .btn:nth-child(n + 3),\n > :not(.btn-check) + .btn,\n > .btn-group:not(:first-child) > .btn {\n @include border-start-radius(0);\n }\n}\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-sm > .btn { @extend .btn-sm; }\n.btn-group-lg > .btn { @extend .btn-lg; }\n\n\n//\n// Split button dropdowns\n//\n\n.dropdown-toggle-split {\n padding-right: $btn-padding-x * .75;\n padding-left: $btn-padding-x * .75;\n\n &::after,\n .dropup &::after,\n .dropend &::after {\n margin-left: 0;\n }\n\n .dropstart &::before {\n margin-right: 0;\n }\n}\n\n.btn-sm + .dropdown-toggle-split {\n padding-right: $btn-padding-x-sm * .75;\n padding-left: $btn-padding-x-sm * .75;\n}\n\n.btn-lg + .dropdown-toggle-split {\n padding-right: $btn-padding-x-lg * .75;\n padding-left: $btn-padding-x-lg * .75;\n}\n\n\n// The clickable button for toggling the menu\n// Set the same inset shadow as the :active state\n.btn-group.show .dropdown-toggle {\n @include box-shadow($btn-active-box-shadow);\n\n // Show no shadow for `.btn-link` since it has no other button styles.\n &.btn-link {\n @include box-shadow(none);\n }\n}\n\n\n//\n// Vertical button groups\n//\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n\n > .btn,\n > .btn-group {\n width: 100%;\n }\n\n > .btn:not(:first-child),\n > .btn-group:not(:first-child) {\n margin-top: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list\n }\n\n // Reset rounded corners\n > .btn:not(:last-child):not(.dropdown-toggle),\n > .btn-group:not(:last-child) > .btn {\n @include border-bottom-radius(0);\n }\n\n > .btn ~ .btn,\n > .btn-group:not(:first-child) > .btn {\n @include border-top-radius(0);\n }\n}\n","// Base class\n//\n// Kickstart any navigation component with a set of style resets. Works with\n// `<nav>`s, `<ul>`s or `<ol>`s.\n\n.nav {\n // scss-docs-start nav-css-vars\n --#{$prefix}nav-link-padding-x: #{$nav-link-padding-x};\n --#{$prefix}nav-link-padding-y: #{$nav-link-padding-y};\n @include rfs($nav-link-font-size, --#{$prefix}nav-link-font-size);\n --#{$prefix}nav-link-font-weight: #{$nav-link-font-weight};\n --#{$prefix}nav-link-color: #{$nav-link-color};\n --#{$prefix}nav-link-hover-color: #{$nav-link-hover-color};\n --#{$prefix}nav-link-disabled-color: #{$nav-link-disabled-color};\n // scss-docs-end nav-css-vars\n\n display: flex;\n flex-wrap: wrap;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.nav-link {\n display: block;\n padding: var(--#{$prefix}nav-link-padding-y) var(--#{$prefix}nav-link-padding-x);\n @include font-size(var(--#{$prefix}nav-link-font-size));\n font-weight: var(--#{$prefix}nav-link-font-weight);\n color: var(--#{$prefix}nav-link-color);\n text-decoration: if($link-decoration == none, null, none);\n background: none;\n border: 0;\n @include transition($nav-link-transition);\n\n &:hover,\n &:focus {\n color: var(--#{$prefix}nav-link-hover-color);\n text-decoration: if($link-hover-decoration == underline, none, null);\n }\n\n &:focus-visible {\n outline: 0;\n box-shadow: $nav-link-focus-box-shadow;\n }\n\n // Disabled state lightens text\n &.disabled,\n &:disabled {\n color: var(--#{$prefix}nav-link-disabled-color);\n pointer-events: none;\n cursor: default;\n }\n}\n\n//\n// Tabs\n//\n\n.nav-tabs {\n // scss-docs-start nav-tabs-css-vars\n --#{$prefix}nav-tabs-border-width: #{$nav-tabs-border-width};\n --#{$prefix}nav-tabs-border-color: #{$nav-tabs-border-color};\n --#{$prefix}nav-tabs-border-radius: #{$nav-tabs-border-radius};\n --#{$prefix}nav-tabs-link-hover-border-color: #{$nav-tabs-link-hover-border-color};\n --#{$prefix}nav-tabs-link-active-color: #{$nav-tabs-link-active-color};\n --#{$prefix}nav-tabs-link-active-bg: #{$nav-tabs-link-active-bg};\n --#{$prefix}nav-tabs-link-active-border-color: #{$nav-tabs-link-active-border-color};\n // scss-docs-end nav-tabs-css-vars\n\n border-bottom: var(--#{$prefix}nav-tabs-border-width) solid var(--#{$prefix}nav-tabs-border-color);\n\n .nav-link {\n margin-bottom: calc(-1 * var(--#{$prefix}nav-tabs-border-width)); // stylelint-disable-line function-disallowed-list\n border: var(--#{$prefix}nav-tabs-border-width) solid transparent;\n @include border-top-radius(var(--#{$prefix}nav-tabs-border-radius));\n\n &:hover,\n &:focus {\n // Prevents active .nav-link tab overlapping focus outline of previous/next .nav-link\n isolation: isolate;\n border-color: var(--#{$prefix}nav-tabs-link-hover-border-color);\n }\n }\n\n .nav-link.active,\n .nav-item.show .nav-link {\n color: var(--#{$prefix}nav-tabs-link-active-color);\n background-color: var(--#{$prefix}nav-tabs-link-active-bg);\n border-color: var(--#{$prefix}nav-tabs-link-active-border-color);\n }\n\n .dropdown-menu {\n // Make dropdown border overlap tab border\n margin-top: calc(-1 * var(--#{$prefix}nav-tabs-border-width)); // stylelint-disable-line function-disallowed-list\n // Remove the top rounded corners here since there is a hard edge above the menu\n @include border-top-radius(0);\n }\n}\n\n\n//\n// Pills\n//\n\n.nav-pills {\n // scss-docs-start nav-pills-css-vars\n --#{$prefix}nav-pills-border-radius: #{$nav-pills-border-radius};\n --#{$prefix}nav-pills-link-active-color: #{$nav-pills-link-active-color};\n --#{$prefix}nav-pills-link-active-bg: #{$nav-pills-link-active-bg};\n // scss-docs-end nav-pills-css-vars\n\n .nav-link {\n @include border-radius(var(--#{$prefix}nav-pills-border-radius));\n }\n\n .nav-link.active,\n .show > .nav-link {\n color: var(--#{$prefix}nav-pills-link-active-color);\n @include gradient-bg(var(--#{$prefix}nav-pills-link-active-bg));\n }\n}\n\n\n//\n// Underline\n//\n\n.nav-underline {\n // scss-docs-start nav-underline-css-vars\n --#{$prefix}nav-underline-gap: #{$nav-underline-gap};\n --#{$prefix}nav-underline-border-width: #{$nav-underline-border-width};\n --#{$prefix}nav-underline-link-active-color: #{$nav-underline-link-active-color};\n // scss-docs-end nav-underline-css-vars\n\n gap: var(--#{$prefix}nav-underline-gap);\n\n .nav-link {\n padding-right: 0;\n padding-left: 0;\n border-bottom: var(--#{$prefix}nav-underline-border-width) solid transparent;\n\n &:hover,\n &:focus {\n border-bottom-color: currentcolor;\n }\n }\n\n .nav-link.active,\n .show > .nav-link {\n font-weight: $font-weight-bold;\n color: var(--#{$prefix}nav-underline-link-active-color);\n border-bottom-color: currentcolor;\n }\n}\n\n\n//\n// Justified variants\n//\n\n.nav-fill {\n > .nav-link,\n .nav-item {\n flex: 1 1 auto;\n text-align: center;\n }\n}\n\n.nav-justified {\n > .nav-link,\n .nav-item {\n flex-basis: 0;\n flex-grow: 1;\n text-align: center;\n }\n}\n\n.nav-fill,\n.nav-justified {\n .nav-item .nav-link {\n width: 100%; // Make sure button will grow\n }\n}\n\n\n// Tabbable tabs\n//\n// Hide tabbable panes to start, show them when `.active`\n\n.tab-content {\n > .tab-pane {\n display: none;\n }\n > .active {\n display: block;\n }\n}\n","// Navbar\n//\n// Provide a static navbar from which we expand to create full-width, fixed, and\n// other navbar variations.\n\n.navbar {\n // scss-docs-start navbar-css-vars\n --#{$prefix}navbar-padding-x: #{if($navbar-padding-x == null, 0, $navbar-padding-x)};\n --#{$prefix}navbar-padding-y: #{$navbar-padding-y};\n --#{$prefix}navbar-color: #{$navbar-light-color};\n --#{$prefix}navbar-hover-color: #{$navbar-light-hover-color};\n --#{$prefix}navbar-disabled-color: #{$navbar-light-disabled-color};\n --#{$prefix}navbar-active-color: #{$navbar-light-active-color};\n --#{$prefix}navbar-brand-padding-y: #{$navbar-brand-padding-y};\n --#{$prefix}navbar-brand-margin-end: #{$navbar-brand-margin-end};\n --#{$prefix}navbar-brand-font-size: #{$navbar-brand-font-size};\n --#{$prefix}navbar-brand-color: #{$navbar-light-brand-color};\n --#{$prefix}navbar-brand-hover-color: #{$navbar-light-brand-hover-color};\n --#{$prefix}navbar-nav-link-padding-x: #{$navbar-nav-link-padding-x};\n --#{$prefix}navbar-toggler-padding-y: #{$navbar-toggler-padding-y};\n --#{$prefix}navbar-toggler-padding-x: #{$navbar-toggler-padding-x};\n --#{$prefix}navbar-toggler-font-size: #{$navbar-toggler-font-size};\n --#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-light-toggler-icon-bg)};\n --#{$prefix}navbar-toggler-border-color: #{$navbar-light-toggler-border-color};\n --#{$prefix}navbar-toggler-border-radius: #{$navbar-toggler-border-radius};\n --#{$prefix}navbar-toggler-focus-width: #{$navbar-toggler-focus-width};\n --#{$prefix}navbar-toggler-transition: #{$navbar-toggler-transition};\n // scss-docs-end navbar-css-vars\n\n position: relative;\n display: flex;\n flex-wrap: wrap; // allow us to do the line break for collapsing content\n align-items: center;\n justify-content: space-between; // space out brand from logo\n padding: var(--#{$prefix}navbar-padding-y) var(--#{$prefix}navbar-padding-x);\n @include gradient-bg();\n\n // Because flex properties aren't inherited, we need to redeclare these first\n // few properties so that content nested within behave properly.\n // The `flex-wrap` property is inherited to simplify the expanded navbars\n %container-flex-properties {\n display: flex;\n flex-wrap: inherit;\n align-items: center;\n justify-content: space-between;\n }\n\n > .container,\n > .container-fluid {\n @extend %container-flex-properties;\n }\n\n @each $breakpoint, $container-max-width in $container-max-widths {\n > .container#{breakpoint-infix($breakpoint, $container-max-widths)} {\n @extend %container-flex-properties;\n }\n }\n}\n\n\n// Navbar brand\n//\n// Used for brand, project, or site names.\n\n.navbar-brand {\n padding-top: var(--#{$prefix}navbar-brand-padding-y);\n padding-bottom: var(--#{$prefix}navbar-brand-padding-y);\n margin-right: var(--#{$prefix}navbar-brand-margin-end);\n @include font-size(var(--#{$prefix}navbar-brand-font-size));\n color: var(--#{$prefix}navbar-brand-color);\n text-decoration: if($link-decoration == none, null, none);\n white-space: nowrap;\n\n &:hover,\n &:focus {\n color: var(--#{$prefix}navbar-brand-hover-color);\n text-decoration: if($link-hover-decoration == underline, none, null);\n }\n}\n\n\n// Navbar nav\n//\n// Custom navbar navigation (doesn't require `.nav`, but does make use of `.nav-link`).\n\n.navbar-nav {\n // scss-docs-start navbar-nav-css-vars\n --#{$prefix}nav-link-padding-x: 0;\n --#{$prefix}nav-link-padding-y: #{$nav-link-padding-y};\n @include rfs($nav-link-font-size, --#{$prefix}nav-link-font-size);\n --#{$prefix}nav-link-font-weight: #{$nav-link-font-weight};\n --#{$prefix}nav-link-color: var(--#{$prefix}navbar-color);\n --#{$prefix}nav-link-hover-color: var(--#{$prefix}navbar-hover-color);\n --#{$prefix}nav-link-disabled-color: var(--#{$prefix}navbar-disabled-color);\n // scss-docs-end navbar-nav-css-vars\n\n display: flex;\n flex-direction: column; // cannot use `inherit` to get the `.navbar`s value\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n\n .nav-link {\n &.active,\n &.show {\n color: var(--#{$prefix}navbar-active-color);\n }\n }\n\n .dropdown-menu {\n position: static;\n }\n}\n\n\n// Navbar text\n//\n//\n\n.navbar-text {\n padding-top: $nav-link-padding-y;\n padding-bottom: $nav-link-padding-y;\n color: var(--#{$prefix}navbar-color);\n\n a,\n a:hover,\n a:focus {\n color: var(--#{$prefix}navbar-active-color);\n }\n}\n\n\n// Responsive navbar\n//\n// Custom styles for responsive collapsing and toggling of navbar contents.\n// Powered by the collapse Bootstrap JavaScript plugin.\n\n// When collapsed, prevent the toggleable navbar contents from appearing in\n// the default flexbox row orientation. Requires the use of `flex-wrap: wrap`\n// on the `.navbar` parent.\n.navbar-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n // For always expanded or extra full navbars, ensure content aligns itself\n // properly vertically. Can be easily overridden with flex utilities.\n align-items: center;\n}\n\n// Button for toggling the navbar when in its collapsed state\n.navbar-toggler {\n padding: var(--#{$prefix}navbar-toggler-padding-y) var(--#{$prefix}navbar-toggler-padding-x);\n @include font-size(var(--#{$prefix}navbar-toggler-font-size));\n line-height: 1;\n color: var(--#{$prefix}navbar-color);\n background-color: transparent; // remove default button style\n border: var(--#{$prefix}border-width) solid var(--#{$prefix}navbar-toggler-border-color); // remove default button style\n @include border-radius(var(--#{$prefix}navbar-toggler-border-radius));\n @include transition(var(--#{$prefix}navbar-toggler-transition));\n\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n text-decoration: none;\n outline: 0;\n box-shadow: 0 0 0 var(--#{$prefix}navbar-toggler-focus-width);\n }\n}\n\n// Keep as a separate element so folks can easily override it with another icon\n// or image file as needed.\n.navbar-toggler-icon {\n display: inline-block;\n width: 1.5em;\n height: 1.5em;\n vertical-align: middle;\n background-image: var(--#{$prefix}navbar-toggler-icon-bg);\n background-repeat: no-repeat;\n background-position: center;\n background-size: 100%;\n}\n\n.navbar-nav-scroll {\n max-height: var(--#{$prefix}scroll-height, 75vh);\n overflow-y: auto;\n}\n\n// scss-docs-start navbar-expand-loop\n// Generate series of `.navbar-expand-*` responsive classes for configuring\n// where your navbar collapses.\n.navbar-expand {\n @each $breakpoint in map-keys($grid-breakpoints) {\n $next: breakpoint-next($breakpoint, $grid-breakpoints);\n $infix: breakpoint-infix($next, $grid-breakpoints);\n\n // stylelint-disable-next-line scss/selector-no-union-class-name\n &#{$infix} {\n @include media-breakpoint-up($next) {\n flex-wrap: nowrap;\n justify-content: flex-start;\n\n .navbar-nav {\n flex-direction: row;\n\n .dropdown-menu {\n position: absolute;\n }\n\n .nav-link {\n padding-right: var(--#{$prefix}navbar-nav-link-padding-x);\n padding-left: var(--#{$prefix}navbar-nav-link-padding-x);\n }\n }\n\n .navbar-nav-scroll {\n overflow: visible;\n }\n\n .navbar-collapse {\n display: flex !important; // stylelint-disable-line declaration-no-important\n flex-basis: auto;\n }\n\n .navbar-toggler {\n display: none;\n }\n\n .offcanvas {\n // stylelint-disable declaration-no-important\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n @include box-shadow(none);\n @include transition(none);\n // stylelint-enable declaration-no-important\n\n .offcanvas-header {\n display: none;\n }\n\n .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n }\n }\n }\n }\n}\n// scss-docs-end navbar-expand-loop\n\n// Navbar themes\n//\n// Styles for switching between navbars with light or dark background.\n\n.navbar-light {\n @include deprecate(\"`.navbar-light`\", \"v5.2.0\", \"v6.0.0\", true);\n}\n\n.navbar-dark,\n.navbar[data-bs-theme=\"dark\"] {\n // scss-docs-start navbar-dark-css-vars\n --#{$prefix}navbar-color: #{$navbar-dark-color};\n --#{$prefix}navbar-hover-color: #{$navbar-dark-hover-color};\n --#{$prefix}navbar-disabled-color: #{$navbar-dark-disabled-color};\n --#{$prefix}navbar-active-color: #{$navbar-dark-active-color};\n --#{$prefix}navbar-brand-color: #{$navbar-dark-brand-color};\n --#{$prefix}navbar-brand-hover-color: #{$navbar-dark-brand-hover-color};\n --#{$prefix}navbar-toggler-border-color: #{$navbar-dark-toggler-border-color};\n --#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-dark-toggler-icon-bg)};\n // scss-docs-end navbar-dark-css-vars\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .navbar-toggler-icon {\n --#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-dark-toggler-icon-bg)};\n }\n }\n}\n","//\n// Base styles\n//\n\n.card {\n // scss-docs-start card-css-vars\n --#{$prefix}card-spacer-y: #{$card-spacer-y};\n --#{$prefix}card-spacer-x: #{$card-spacer-x};\n --#{$prefix}card-title-spacer-y: #{$card-title-spacer-y};\n --#{$prefix}card-title-color: #{$card-title-color};\n --#{$prefix}card-subtitle-color: #{$card-subtitle-color};\n --#{$prefix}card-border-width: #{$card-border-width};\n --#{$prefix}card-border-color: #{$card-border-color};\n --#{$prefix}card-border-radius: #{$card-border-radius};\n --#{$prefix}card-box-shadow: #{$card-box-shadow};\n --#{$prefix}card-inner-border-radius: #{$card-inner-border-radius};\n --#{$prefix}card-cap-padding-y: #{$card-cap-padding-y};\n --#{$prefix}card-cap-padding-x: #{$card-cap-padding-x};\n --#{$prefix}card-cap-bg: #{$card-cap-bg};\n --#{$prefix}card-cap-color: #{$card-cap-color};\n --#{$prefix}card-height: #{$card-height};\n --#{$prefix}card-color: #{$card-color};\n --#{$prefix}card-bg: #{$card-bg};\n --#{$prefix}card-img-overlay-padding: #{$card-img-overlay-padding};\n --#{$prefix}card-group-margin: #{$card-group-margin};\n // scss-docs-end card-css-vars\n\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106\n height: var(--#{$prefix}card-height);\n color: var(--#{$prefix}body-color);\n word-wrap: break-word;\n background-color: var(--#{$prefix}card-bg);\n background-clip: border-box;\n border: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);\n @include border-radius(var(--#{$prefix}card-border-radius));\n @include box-shadow(var(--#{$prefix}card-box-shadow));\n\n > hr {\n margin-right: 0;\n margin-left: 0;\n }\n\n > .list-group {\n border-top: inherit;\n border-bottom: inherit;\n\n &:first-child {\n border-top-width: 0;\n @include border-top-radius(var(--#{$prefix}card-inner-border-radius));\n }\n\n &:last-child {\n border-bottom-width: 0;\n @include border-bottom-radius(var(--#{$prefix}card-inner-border-radius));\n }\n }\n\n // Due to specificity of the above selector (`.card > .list-group`), we must\n // use a child selector here to prevent double borders.\n > .card-header + .list-group,\n > .list-group + .card-footer {\n border-top: 0;\n }\n}\n\n.card-body {\n // Enable `flex-grow: 1` for decks and groups so that card blocks take up\n // as much space as possible, ensuring footers are aligned to the bottom.\n flex: 1 1 auto;\n padding: var(--#{$prefix}card-spacer-y) var(--#{$prefix}card-spacer-x);\n color: var(--#{$prefix}card-color);\n}\n\n.card-title {\n margin-bottom: var(--#{$prefix}card-title-spacer-y);\n color: var(--#{$prefix}card-title-color);\n}\n\n.card-subtitle {\n margin-top: calc(-.5 * var(--#{$prefix}card-title-spacer-y)); // stylelint-disable-line function-disallowed-list\n margin-bottom: 0;\n color: var(--#{$prefix}card-subtitle-color);\n}\n\n.card-text:last-child {\n margin-bottom: 0;\n}\n\n.card-link {\n &:hover {\n text-decoration: if($link-hover-decoration == underline, none, null);\n }\n\n + .card-link {\n margin-left: var(--#{$prefix}card-spacer-x);\n }\n}\n\n//\n// Optional textual caps\n//\n\n.card-header {\n padding: var(--#{$prefix}card-cap-padding-y) var(--#{$prefix}card-cap-padding-x);\n margin-bottom: 0; // Removes the default margin-bottom of <hN>\n color: var(--#{$prefix}card-cap-color);\n background-color: var(--#{$prefix}card-cap-bg);\n border-bottom: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);\n\n &:first-child {\n @include border-radius(var(--#{$prefix}card-inner-border-radius) var(--#{$prefix}card-inner-border-radius) 0 0);\n }\n}\n\n.card-footer {\n padding: var(--#{$prefix}card-cap-padding-y) var(--#{$prefix}card-cap-padding-x);\n color: var(--#{$prefix}card-cap-color);\n background-color: var(--#{$prefix}card-cap-bg);\n border-top: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);\n\n &:last-child {\n @include border-radius(0 0 var(--#{$prefix}card-inner-border-radius) var(--#{$prefix}card-inner-border-radius));\n }\n}\n\n\n//\n// Header navs\n//\n\n.card-header-tabs {\n margin-right: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n margin-bottom: calc(-1 * var(--#{$prefix}card-cap-padding-y)); // stylelint-disable-line function-disallowed-list\n margin-left: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n border-bottom: 0;\n\n .nav-link.active {\n background-color: var(--#{$prefix}card-bg);\n border-bottom-color: var(--#{$prefix}card-bg);\n }\n}\n\n.card-header-pills {\n margin-right: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n margin-left: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n}\n\n// Card image\n.card-img-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--#{$prefix}card-img-overlay-padding);\n @include border-radius(var(--#{$prefix}card-inner-border-radius));\n}\n\n.card-img,\n.card-img-top,\n.card-img-bottom {\n width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch\n}\n\n.card-img,\n.card-img-top {\n @include border-top-radius(var(--#{$prefix}card-inner-border-radius));\n}\n\n.card-img,\n.card-img-bottom {\n @include border-bottom-radius(var(--#{$prefix}card-inner-border-radius));\n}\n\n\n//\n// Card groups\n//\n\n.card-group {\n // The child selector allows nested `.card` within `.card-group`\n // to display properly.\n > .card {\n margin-bottom: var(--#{$prefix}card-group-margin);\n }\n\n @include media-breakpoint-up(sm) {\n display: flex;\n flex-flow: row wrap;\n // The child selector allows nested `.card` within `.card-group`\n // to display properly.\n > .card {\n // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4\n flex: 1 0 0%;\n margin-bottom: 0;\n\n + .card {\n margin-left: 0;\n border-left: 0;\n }\n\n // Handle rounded corners\n @if $enable-rounded {\n &:not(:last-child) {\n @include border-end-radius(0);\n\n .card-img-top,\n .card-header {\n // stylelint-disable-next-line property-disallowed-list\n border-top-right-radius: 0;\n }\n .card-img-bottom,\n .card-footer {\n // stylelint-disable-next-line property-disallowed-list\n border-bottom-right-radius: 0;\n }\n }\n\n &:not(:first-child) {\n @include border-start-radius(0);\n\n .card-img-top,\n .card-header {\n // stylelint-disable-next-line property-disallowed-list\n border-top-left-radius: 0;\n }\n .card-img-bottom,\n .card-footer {\n // stylelint-disable-next-line property-disallowed-list\n border-bottom-left-radius: 0;\n }\n }\n }\n }\n }\n}\n","//\n// Base styles\n//\n\n.accordion {\n // scss-docs-start accordion-css-vars\n --#{$prefix}accordion-color: #{$accordion-color};\n --#{$prefix}accordion-bg: #{$accordion-bg};\n --#{$prefix}accordion-transition: #{$accordion-transition};\n --#{$prefix}accordion-border-color: #{$accordion-border-color};\n --#{$prefix}accordion-border-width: #{$accordion-border-width};\n --#{$prefix}accordion-border-radius: #{$accordion-border-radius};\n --#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};\n --#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};\n --#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};\n --#{$prefix}accordion-btn-color: #{$accordion-button-color};\n --#{$prefix}accordion-btn-bg: #{$accordion-button-bg};\n --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};\n --#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};\n --#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};\n --#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};\n --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};\n --#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};\n --#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};\n --#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};\n --#{$prefix}accordion-active-color: #{$accordion-button-active-color};\n --#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};\n // scss-docs-end accordion-css-vars\n}\n\n.accordion-button {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);\n @include font-size($font-size-base);\n color: var(--#{$prefix}accordion-btn-color);\n text-align: left; // Reset button style\n background-color: var(--#{$prefix}accordion-btn-bg);\n border: 0;\n @include border-radius(0);\n overflow-anchor: none;\n @include transition(var(--#{$prefix}accordion-transition));\n\n &:not(.collapsed) {\n color: var(--#{$prefix}accordion-active-color);\n background-color: var(--#{$prefix}accordion-active-bg);\n box-shadow: inset 0 calc(-1 * var(--#{$prefix}accordion-border-width)) 0 var(--#{$prefix}accordion-border-color); // stylelint-disable-line function-disallowed-list\n\n &::after {\n background-image: var(--#{$prefix}accordion-btn-active-icon);\n transform: var(--#{$prefix}accordion-btn-icon-transform);\n }\n }\n\n // Accordion icon\n &::after {\n flex-shrink: 0;\n width: var(--#{$prefix}accordion-btn-icon-width);\n height: var(--#{$prefix}accordion-btn-icon-width);\n margin-left: auto;\n content: \"\";\n background-image: var(--#{$prefix}accordion-btn-icon);\n background-repeat: no-repeat;\n background-size: var(--#{$prefix}accordion-btn-icon-width);\n @include transition(var(--#{$prefix}accordion-btn-icon-transition));\n }\n\n &:hover {\n z-index: 2;\n }\n\n &:focus {\n z-index: 3;\n outline: 0;\n box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);\n }\n}\n\n.accordion-header {\n margin-bottom: 0;\n}\n\n.accordion-item {\n color: var(--#{$prefix}accordion-color);\n background-color: var(--#{$prefix}accordion-bg);\n border: var(--#{$prefix}accordion-border-width) solid var(--#{$prefix}accordion-border-color);\n\n &:first-of-type {\n @include border-top-radius(var(--#{$prefix}accordion-border-radius));\n\n > .accordion-header .accordion-button {\n @include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));\n }\n }\n\n &:not(:first-of-type) {\n border-top: 0;\n }\n\n // Only set a border-radius on the last item if the accordion is collapsed\n &:last-of-type {\n @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));\n\n > .accordion-header .accordion-button {\n &.collapsed {\n @include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));\n }\n }\n\n > .accordion-collapse {\n @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));\n }\n }\n}\n\n.accordion-body {\n padding: var(--#{$prefix}accordion-body-padding-y) var(--#{$prefix}accordion-body-padding-x);\n}\n\n\n// Flush accordion items\n//\n// Remove borders and border-radius to keep accordion items edge-to-edge.\n\n.accordion-flush {\n > .accordion-item {\n border-right: 0;\n border-left: 0;\n @include border-radius(0);\n\n &:first-child { border-top: 0; }\n &:last-child { border-bottom: 0; }\n\n // stylelint-disable selector-max-class\n > .accordion-header .accordion-button {\n &,\n &.collapsed {\n @include border-radius(0);\n }\n }\n // stylelint-enable selector-max-class\n\n > .accordion-collapse {\n @include border-radius(0);\n }\n }\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .accordion-button::after {\n --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};\n --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};\n }\n }\n}\n",".breadcrumb {\n // scss-docs-start breadcrumb-css-vars\n --#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};\n --#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};\n --#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};\n @include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);\n --#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};\n --#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};\n --#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};\n --#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};\n --#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};\n // scss-docs-end breadcrumb-css-vars\n\n display: flex;\n flex-wrap: wrap;\n padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);\n margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);\n @include font-size(var(--#{$prefix}breadcrumb-font-size));\n list-style: none;\n background-color: var(--#{$prefix}breadcrumb-bg);\n @include border-radius(var(--#{$prefix}breadcrumb-border-radius));\n}\n\n.breadcrumb-item {\n // The separator between breadcrumbs (by default, a forward-slash: \"/\")\n + .breadcrumb-item {\n padding-left: var(--#{$prefix}breadcrumb-item-padding-x);\n\n &::before {\n float: left; // Suppress inline spacings and underlining of the separator\n padding-right: var(--#{$prefix}breadcrumb-item-padding-x);\n color: var(--#{$prefix}breadcrumb-divider-color);\n content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{\"/* rtl:\"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{\"*/\"};\n }\n }\n\n &.active {\n color: var(--#{$prefix}breadcrumb-item-active-color);\n }\n}\n",".pagination {\n // scss-docs-start pagination-css-vars\n --#{$prefix}pagination-padding-x: #{$pagination-padding-x};\n --#{$prefix}pagination-padding-y: #{$pagination-padding-y};\n @include rfs($pagination-font-size, --#{$prefix}pagination-font-size);\n --#{$prefix}pagination-color: #{$pagination-color};\n --#{$prefix}pagination-bg: #{$pagination-bg};\n --#{$prefix}pagination-border-width: #{$pagination-border-width};\n --#{$prefix}pagination-border-color: #{$pagination-border-color};\n --#{$prefix}pagination-border-radius: #{$pagination-border-radius};\n --#{$prefix}pagination-hover-color: #{$pagination-hover-color};\n --#{$prefix}pagination-hover-bg: #{$pagination-hover-bg};\n --#{$prefix}pagination-hover-border-color: #{$pagination-hover-border-color};\n --#{$prefix}pagination-focus-color: #{$pagination-focus-color};\n --#{$prefix}pagination-focus-bg: #{$pagination-focus-bg};\n --#{$prefix}pagination-focus-box-shadow: #{$pagination-focus-box-shadow};\n --#{$prefix}pagination-active-color: #{$pagination-active-color};\n --#{$prefix}pagination-active-bg: #{$pagination-active-bg};\n --#{$prefix}pagination-active-border-color: #{$pagination-active-border-color};\n --#{$prefix}pagination-disabled-color: #{$pagination-disabled-color};\n --#{$prefix}pagination-disabled-bg: #{$pagination-disabled-bg};\n --#{$prefix}pagination-disabled-border-color: #{$pagination-disabled-border-color};\n // scss-docs-end pagination-css-vars\n\n display: flex;\n @include list-unstyled();\n}\n\n.page-link {\n position: relative;\n display: block;\n padding: var(--#{$prefix}pagination-padding-y) var(--#{$prefix}pagination-padding-x);\n @include font-size(var(--#{$prefix}pagination-font-size));\n color: var(--#{$prefix}pagination-color);\n text-decoration: if($link-decoration == none, null, none);\n background-color: var(--#{$prefix}pagination-bg);\n border: var(--#{$prefix}pagination-border-width) solid var(--#{$prefix}pagination-border-color);\n @include transition($pagination-transition);\n\n &:hover {\n z-index: 2;\n color: var(--#{$prefix}pagination-hover-color);\n text-decoration: if($link-hover-decoration == underline, none, null);\n background-color: var(--#{$prefix}pagination-hover-bg);\n border-color: var(--#{$prefix}pagination-hover-border-color);\n }\n\n &:focus {\n z-index: 3;\n color: var(--#{$prefix}pagination-focus-color);\n background-color: var(--#{$prefix}pagination-focus-bg);\n outline: $pagination-focus-outline;\n box-shadow: var(--#{$prefix}pagination-focus-box-shadow);\n }\n\n &.active,\n .active > & {\n z-index: 3;\n color: var(--#{$prefix}pagination-active-color);\n @include gradient-bg(var(--#{$prefix}pagination-active-bg));\n border-color: var(--#{$prefix}pagination-active-border-color);\n }\n\n &.disabled,\n .disabled > & {\n color: var(--#{$prefix}pagination-disabled-color);\n pointer-events: none;\n background-color: var(--#{$prefix}pagination-disabled-bg);\n border-color: var(--#{$prefix}pagination-disabled-border-color);\n }\n}\n\n.page-item {\n &:not(:first-child) .page-link {\n margin-left: $pagination-margin-start;\n }\n\n @if $pagination-margin-start == calc(#{$pagination-border-width} * -1) {\n &:first-child {\n .page-link {\n @include border-start-radius(var(--#{$prefix}pagination-border-radius));\n }\n }\n\n &:last-child {\n .page-link {\n @include border-end-radius(var(--#{$prefix}pagination-border-radius));\n }\n }\n } @else {\n // Add border-radius to all pageLinks in case they have left margin\n .page-link {\n @include border-radius(var(--#{$prefix}pagination-border-radius));\n }\n }\n}\n\n\n//\n// Sizing\n//\n\n.pagination-lg {\n @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $pagination-border-radius-lg);\n}\n\n.pagination-sm {\n @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $pagination-border-radius-sm);\n}\n","// Pagination\n\n// scss-docs-start pagination-mixin\n@mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {\n --#{$prefix}pagination-padding-x: #{$padding-x};\n --#{$prefix}pagination-padding-y: #{$padding-y};\n @include rfs($font-size, --#{$prefix}pagination-font-size);\n --#{$prefix}pagination-border-radius: #{$border-radius};\n}\n// scss-docs-end pagination-mixin\n","// Base class\n//\n// Requires one of the contextual, color modifier classes for `color` and\n// `background-color`.\n\n.badge {\n // scss-docs-start badge-css-vars\n --#{$prefix}badge-padding-x: #{$badge-padding-x};\n --#{$prefix}badge-padding-y: #{$badge-padding-y};\n @include rfs($badge-font-size, --#{$prefix}badge-font-size);\n --#{$prefix}badge-font-weight: #{$badge-font-weight};\n --#{$prefix}badge-color: #{$badge-color};\n --#{$prefix}badge-border-radius: #{$badge-border-radius};\n // scss-docs-end badge-css-vars\n\n display: inline-block;\n padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x);\n @include font-size(var(--#{$prefix}badge-font-size));\n font-weight: var(--#{$prefix}badge-font-weight);\n line-height: 1;\n color: var(--#{$prefix}badge-color);\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n @include border-radius(var(--#{$prefix}badge-border-radius));\n @include gradient-bg();\n\n // Empty badges collapse automatically\n &:empty {\n display: none;\n }\n}\n\n// Quick fix for badges in buttons\n.btn .badge {\n position: relative;\n top: -1px;\n}\n","//\n// Base styles\n//\n\n.alert {\n // scss-docs-start alert-css-vars\n --#{$prefix}alert-bg: transparent;\n --#{$prefix}alert-padding-x: #{$alert-padding-x};\n --#{$prefix}alert-padding-y: #{$alert-padding-y};\n --#{$prefix}alert-margin-bottom: #{$alert-margin-bottom};\n --#{$prefix}alert-color: inherit;\n --#{$prefix}alert-border-color: transparent;\n --#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color);\n --#{$prefix}alert-border-radius: #{$alert-border-radius};\n --#{$prefix}alert-link-color: inherit;\n // scss-docs-end alert-css-vars\n\n position: relative;\n padding: var(--#{$prefix}alert-padding-y) var(--#{$prefix}alert-padding-x);\n margin-bottom: var(--#{$prefix}alert-margin-bottom);\n color: var(--#{$prefix}alert-color);\n background-color: var(--#{$prefix}alert-bg);\n border: var(--#{$prefix}alert-border);\n @include border-radius(var(--#{$prefix}alert-border-radius));\n}\n\n// Headings for larger alerts\n.alert-heading {\n // Specified to prevent conflicts of changing $headings-color\n color: inherit;\n}\n\n// Provide class for links that match alerts\n.alert-link {\n font-weight: $alert-link-font-weight;\n color: var(--#{$prefix}alert-link-color);\n}\n\n\n// Dismissible alerts\n//\n// Expand the right padding and account for the close button's positioning.\n\n.alert-dismissible {\n padding-right: $alert-dismissible-padding-r;\n\n // Adjust close link position\n .btn-close {\n position: absolute;\n top: 0;\n right: 0;\n z-index: $stretched-link-z-index + 1;\n padding: $alert-padding-y * 1.25 $alert-padding-x;\n }\n}\n\n\n// scss-docs-start alert-modifiers\n// Generate contextual modifier classes for colorizing the alert\n@each $state in map-keys($theme-colors) {\n .alert-#{$state} {\n --#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);\n --#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);\n --#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);\n --#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);\n }\n}\n// scss-docs-end alert-modifiers\n","// Disable animation if transitions are disabled\n\n// scss-docs-start progress-keyframes\n@if $enable-transitions {\n @keyframes progress-bar-stripes {\n 0% { background-position-x: $progress-height; }\n }\n}\n// scss-docs-end progress-keyframes\n\n.progress,\n.progress-stacked {\n // scss-docs-start progress-css-vars\n --#{$prefix}progress-height: #{$progress-height};\n @include rfs($progress-font-size, --#{$prefix}progress-font-size);\n --#{$prefix}progress-bg: #{$progress-bg};\n --#{$prefix}progress-border-radius: #{$progress-border-radius};\n --#{$prefix}progress-box-shadow: #{$progress-box-shadow};\n --#{$prefix}progress-bar-color: #{$progress-bar-color};\n --#{$prefix}progress-bar-bg: #{$progress-bar-bg};\n --#{$prefix}progress-bar-transition: #{$progress-bar-transition};\n // scss-docs-end progress-css-vars\n\n display: flex;\n height: var(--#{$prefix}progress-height);\n overflow: hidden; // force rounded corners by cropping it\n @include font-size(var(--#{$prefix}progress-font-size));\n background-color: var(--#{$prefix}progress-bg);\n @include border-radius(var(--#{$prefix}progress-border-radius));\n @include box-shadow(var(--#{$prefix}progress-box-shadow));\n}\n\n.progress-bar {\n display: flex;\n flex-direction: column;\n justify-content: center;\n overflow: hidden;\n color: var(--#{$prefix}progress-bar-color);\n text-align: center;\n white-space: nowrap;\n background-color: var(--#{$prefix}progress-bar-bg);\n @include transition(var(--#{$prefix}progress-bar-transition));\n}\n\n.progress-bar-striped {\n @include gradient-striped();\n background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height);\n}\n\n.progress-stacked > .progress {\n overflow: visible;\n}\n\n.progress-stacked > .progress > .progress-bar {\n width: 100%;\n}\n\n@if $enable-transitions {\n .progress-bar-animated {\n animation: $progress-bar-animation-timing progress-bar-stripes;\n\n @if $enable-reduced-motion {\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n }\n }\n}\n","// Base class\n//\n// Easily usable on <ul>, <ol>, or <div>.\n\n.list-group {\n // scss-docs-start list-group-css-vars\n --#{$prefix}list-group-color: #{$list-group-color};\n --#{$prefix}list-group-bg: #{$list-group-bg};\n --#{$prefix}list-group-border-color: #{$list-group-border-color};\n --#{$prefix}list-group-border-width: #{$list-group-border-width};\n --#{$prefix}list-group-border-radius: #{$list-group-border-radius};\n --#{$prefix}list-group-item-padding-x: #{$list-group-item-padding-x};\n --#{$prefix}list-group-item-padding-y: #{$list-group-item-padding-y};\n --#{$prefix}list-group-action-color: #{$list-group-action-color};\n --#{$prefix}list-group-action-hover-color: #{$list-group-action-hover-color};\n --#{$prefix}list-group-action-hover-bg: #{$list-group-hover-bg};\n --#{$prefix}list-group-action-active-color: #{$list-group-action-active-color};\n --#{$prefix}list-group-action-active-bg: #{$list-group-action-active-bg};\n --#{$prefix}list-group-disabled-color: #{$list-group-disabled-color};\n --#{$prefix}list-group-disabled-bg: #{$list-group-disabled-bg};\n --#{$prefix}list-group-active-color: #{$list-group-active-color};\n --#{$prefix}list-group-active-bg: #{$list-group-active-bg};\n --#{$prefix}list-group-active-border-color: #{$list-group-active-border-color};\n // scss-docs-end list-group-css-vars\n\n display: flex;\n flex-direction: column;\n\n // No need to set list-style: none; since .list-group-item is block level\n padding-left: 0; // reset padding because ul and ol\n margin-bottom: 0;\n @include border-radius(var(--#{$prefix}list-group-border-radius));\n}\n\n.list-group-numbered {\n list-style-type: none;\n counter-reset: section;\n\n > .list-group-item::before {\n // Increments only this instance of the section counter\n content: counters(section, \".\") \". \";\n counter-increment: section;\n }\n}\n\n// Interactive list items\n//\n// Use anchor or button elements instead of `li`s or `div`s to create interactive\n// list items. Includes an extra `.active` modifier class for selected items.\n\n.list-group-item-action {\n width: 100%; // For `<button>`s (anchors become 100% by default though)\n color: var(--#{$prefix}list-group-action-color);\n text-align: inherit; // For `<button>`s (anchors inherit)\n\n // Hover state\n &:hover,\n &:focus {\n z-index: 1; // Place hover/focus items above their siblings for proper border styling\n color: var(--#{$prefix}list-group-action-hover-color);\n text-decoration: none;\n background-color: var(--#{$prefix}list-group-action-hover-bg);\n }\n\n &:active {\n color: var(--#{$prefix}list-group-action-active-color);\n background-color: var(--#{$prefix}list-group-action-active-bg);\n }\n}\n\n// Individual list items\n//\n// Use on `li`s or `div`s within the `.list-group` parent.\n\n.list-group-item {\n position: relative;\n display: block;\n padding: var(--#{$prefix}list-group-item-padding-y) var(--#{$prefix}list-group-item-padding-x);\n color: var(--#{$prefix}list-group-color);\n text-decoration: if($link-decoration == none, null, none);\n background-color: var(--#{$prefix}list-group-bg);\n border: var(--#{$prefix}list-group-border-width) solid var(--#{$prefix}list-group-border-color);\n\n &:first-child {\n @include border-top-radius(inherit);\n }\n\n &:last-child {\n @include border-bottom-radius(inherit);\n }\n\n &.disabled,\n &:disabled {\n color: var(--#{$prefix}list-group-disabled-color);\n pointer-events: none;\n background-color: var(--#{$prefix}list-group-disabled-bg);\n }\n\n // Include both here for `<a>`s and `<button>`s\n &.active {\n z-index: 2; // Place active items above their siblings for proper border styling\n color: var(--#{$prefix}list-group-active-color);\n background-color: var(--#{$prefix}list-group-active-bg);\n border-color: var(--#{$prefix}list-group-active-border-color);\n }\n\n // stylelint-disable-next-line scss/selector-no-redundant-nesting-selector\n & + .list-group-item {\n border-top-width: 0;\n\n &.active {\n margin-top: calc(-1 * var(--#{$prefix}list-group-border-width)); // stylelint-disable-line function-disallowed-list\n border-top-width: var(--#{$prefix}list-group-border-width);\n }\n }\n}\n\n// Horizontal\n//\n// Change the layout of list group items from vertical (default) to horizontal.\n\n@each $breakpoint in map-keys($grid-breakpoints) {\n @include media-breakpoint-up($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n .list-group-horizontal#{$infix} {\n flex-direction: row;\n\n > .list-group-item {\n &:first-child:not(:last-child) {\n @include border-bottom-start-radius(var(--#{$prefix}list-group-border-radius));\n @include border-top-end-radius(0);\n }\n\n &:last-child:not(:first-child) {\n @include border-top-end-radius(var(--#{$prefix}list-group-border-radius));\n @include border-bottom-start-radius(0);\n }\n\n &.active {\n margin-top: 0;\n }\n\n + .list-group-item {\n border-top-width: var(--#{$prefix}list-group-border-width);\n border-left-width: 0;\n\n &.active {\n margin-left: calc(-1 * var(--#{$prefix}list-group-border-width)); // stylelint-disable-line function-disallowed-list\n border-left-width: var(--#{$prefix}list-group-border-width);\n }\n }\n }\n }\n }\n}\n\n\n// Flush list items\n//\n// Remove borders and border-radius to keep list group items edge-to-edge. Most\n// useful within other components (e.g., cards).\n\n.list-group-flush {\n @include border-radius(0);\n\n > .list-group-item {\n border-width: 0 0 var(--#{$prefix}list-group-border-width);\n\n &:last-child {\n border-bottom-width: 0;\n }\n }\n}\n\n\n// scss-docs-start list-group-modifiers\n// List group contextual variants\n//\n// Add modifier classes to change text and background color on individual items.\n// Organizationally, this must come after the `:hover` states.\n\n@each $state in map-keys($theme-colors) {\n .list-group-item-#{$state} {\n --#{$prefix}list-group-color: var(--#{$prefix}#{$state}-text-emphasis);\n --#{$prefix}list-group-bg: var(--#{$prefix}#{$state}-bg-subtle);\n --#{$prefix}list-group-border-color: var(--#{$prefix}#{$state}-border-subtle);\n --#{$prefix}list-group-action-hover-color: var(--#{$prefix}emphasis-color);\n --#{$prefix}list-group-action-hover-bg: var(--#{$prefix}#{$state}-border-subtle);\n --#{$prefix}list-group-action-active-color: var(--#{$prefix}emphasis-color);\n --#{$prefix}list-group-action-active-bg: var(--#{$prefix}#{$state}-border-subtle);\n --#{$prefix}list-group-active-color: var(--#{$prefix}#{$state}-bg-subtle);\n --#{$prefix}list-group-active-bg: var(--#{$prefix}#{$state}-text-emphasis);\n --#{$prefix}list-group-active-border-color: var(--#{$prefix}#{$state}-text-emphasis);\n }\n}\n// scss-docs-end list-group-modifiers\n","// Transparent background and border properties included for button version.\n// iOS requires the button element instead of an anchor tag.\n// If you want the anchor version, it requires `href=\"#\"`.\n// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile\n\n.btn-close {\n // scss-docs-start close-css-vars\n --#{$prefix}btn-close-color: #{$btn-close-color};\n --#{$prefix}btn-close-bg: #{ escape-svg($btn-close-bg) };\n --#{$prefix}btn-close-opacity: #{$btn-close-opacity};\n --#{$prefix}btn-close-hover-opacity: #{$btn-close-hover-opacity};\n --#{$prefix}btn-close-focus-shadow: #{$btn-close-focus-shadow};\n --#{$prefix}btn-close-focus-opacity: #{$btn-close-focus-opacity};\n --#{$prefix}btn-close-disabled-opacity: #{$btn-close-disabled-opacity};\n --#{$prefix}btn-close-white-filter: #{$btn-close-white-filter};\n // scss-docs-end close-css-vars\n\n box-sizing: content-box;\n width: $btn-close-width;\n height: $btn-close-height;\n padding: $btn-close-padding-y $btn-close-padding-x;\n color: var(--#{$prefix}btn-close-color);\n background: transparent var(--#{$prefix}btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements\n border: 0; // for button elements\n @include border-radius();\n opacity: var(--#{$prefix}btn-close-opacity);\n\n // Override <a>'s hover style\n &:hover {\n color: var(--#{$prefix}btn-close-color);\n text-decoration: none;\n opacity: var(--#{$prefix}btn-close-hover-opacity);\n }\n\n &:focus {\n outline: 0;\n box-shadow: var(--#{$prefix}btn-close-focus-shadow);\n opacity: var(--#{$prefix}btn-close-focus-opacity);\n }\n\n &:disabled,\n &.disabled {\n pointer-events: none;\n user-select: none;\n opacity: var(--#{$prefix}btn-close-disabled-opacity);\n }\n}\n\n@mixin btn-close-white() {\n filter: var(--#{$prefix}btn-close-white-filter);\n}\n\n.btn-close-white {\n @include btn-close-white();\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .btn-close {\n @include btn-close-white();\n }\n }\n}\n",".toast {\n // scss-docs-start toast-css-vars\n --#{$prefix}toast-zindex: #{$zindex-toast};\n --#{$prefix}toast-padding-x: #{$toast-padding-x};\n --#{$prefix}toast-padding-y: #{$toast-padding-y};\n --#{$prefix}toast-spacing: #{$toast-spacing};\n --#{$prefix}toast-max-width: #{$toast-max-width};\n @include rfs($toast-font-size, --#{$prefix}toast-font-size);\n --#{$prefix}toast-color: #{$toast-color};\n --#{$prefix}toast-bg: #{$toast-background-color};\n --#{$prefix}toast-border-width: #{$toast-border-width};\n --#{$prefix}toast-border-color: #{$toast-border-color};\n --#{$prefix}toast-border-radius: #{$toast-border-radius};\n --#{$prefix}toast-box-shadow: #{$toast-box-shadow};\n --#{$prefix}toast-header-color: #{$toast-header-color};\n --#{$prefix}toast-header-bg: #{$toast-header-background-color};\n --#{$prefix}toast-header-border-color: #{$toast-header-border-color};\n // scss-docs-end toast-css-vars\n\n width: var(--#{$prefix}toast-max-width);\n max-width: 100%;\n @include font-size(var(--#{$prefix}toast-font-size));\n color: var(--#{$prefix}toast-color);\n pointer-events: auto;\n background-color: var(--#{$prefix}toast-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-border-color);\n box-shadow: var(--#{$prefix}toast-box-shadow);\n @include border-radius(var(--#{$prefix}toast-border-radius));\n\n &.showing {\n opacity: 0;\n }\n\n &:not(.show) {\n display: none;\n }\n}\n\n.toast-container {\n --#{$prefix}toast-zindex: #{$zindex-toast};\n\n position: absolute;\n z-index: var(--#{$prefix}toast-zindex);\n width: max-content;\n max-width: 100%;\n pointer-events: none;\n\n > :not(:last-child) {\n margin-bottom: var(--#{$prefix}toast-spacing);\n }\n}\n\n.toast-header {\n display: flex;\n align-items: center;\n padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x);\n color: var(--#{$prefix}toast-header-color);\n background-color: var(--#{$prefix}toast-header-bg);\n background-clip: padding-box;\n border-bottom: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-header-border-color);\n @include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));\n\n .btn-close {\n margin-right: calc(-.5 * var(--#{$prefix}toast-padding-x)); // stylelint-disable-line function-disallowed-list\n margin-left: var(--#{$prefix}toast-padding-x);\n }\n}\n\n.toast-body {\n padding: var(--#{$prefix}toast-padding-x);\n word-wrap: break-word;\n}\n","// stylelint-disable function-disallowed-list\n\n// .modal-open - body class for killing the scroll\n// .modal - container to scroll within\n// .modal-dialog - positioning shell for the actual modal\n// .modal-content - actual modal w/ bg and corners and stuff\n\n\n// Container that the modal scrolls within\n.modal {\n // scss-docs-start modal-css-vars\n --#{$prefix}modal-zindex: #{$zindex-modal};\n --#{$prefix}modal-width: #{$modal-md};\n --#{$prefix}modal-padding: #{$modal-inner-padding};\n --#{$prefix}modal-margin: #{$modal-dialog-margin};\n --#{$prefix}modal-color: #{$modal-content-color};\n --#{$prefix}modal-bg: #{$modal-content-bg};\n --#{$prefix}modal-border-color: #{$modal-content-border-color};\n --#{$prefix}modal-border-width: #{$modal-content-border-width};\n --#{$prefix}modal-border-radius: #{$modal-content-border-radius};\n --#{$prefix}modal-box-shadow: #{$modal-content-box-shadow-xs};\n --#{$prefix}modal-inner-border-radius: #{$modal-content-inner-border-radius};\n --#{$prefix}modal-header-padding-x: #{$modal-header-padding-x};\n --#{$prefix}modal-header-padding-y: #{$modal-header-padding-y};\n --#{$prefix}modal-header-padding: #{$modal-header-padding}; // Todo in v6: Split this padding into x and y\n --#{$prefix}modal-header-border-color: #{$modal-header-border-color};\n --#{$prefix}modal-header-border-width: #{$modal-header-border-width};\n --#{$prefix}modal-title-line-height: #{$modal-title-line-height};\n --#{$prefix}modal-footer-gap: #{$modal-footer-margin-between};\n --#{$prefix}modal-footer-bg: #{$modal-footer-bg};\n --#{$prefix}modal-footer-border-color: #{$modal-footer-border-color};\n --#{$prefix}modal-footer-border-width: #{$modal-footer-border-width};\n // scss-docs-end modal-css-vars\n\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--#{$prefix}modal-zindex);\n display: none;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n // Prevent Chrome on Windows from adding a focus outline. For details, see\n // https://github.com/twbs/bootstrap/pull/10951.\n outline: 0;\n // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a\n // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342\n // See also https://github.com/twbs/bootstrap/issues/17695\n}\n\n// Shell div to position the modal with bottom padding\n.modal-dialog {\n position: relative;\n width: auto;\n margin: var(--#{$prefix}modal-margin);\n // allow clicks to pass through for custom click handling to close modal\n pointer-events: none;\n\n // When fading in the modal, animate it to slide down\n .modal.fade & {\n @include transition($modal-transition);\n transform: $modal-fade-transform;\n }\n .modal.show & {\n transform: $modal-show-transform;\n }\n\n // When trying to close, animate focus to scale\n .modal.modal-static & {\n transform: $modal-scale-transform;\n }\n}\n\n.modal-dialog-scrollable {\n height: calc(100% - var(--#{$prefix}modal-margin) * 2);\n\n .modal-content {\n max-height: 100%;\n overflow: hidden;\n }\n\n .modal-body {\n overflow-y: auto;\n }\n}\n\n.modal-dialog-centered {\n display: flex;\n align-items: center;\n min-height: calc(100% - var(--#{$prefix}modal-margin) * 2);\n}\n\n// Actual modal\n.modal-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%; // Ensure `.modal-content` extends the full width of the parent `.modal-dialog`\n // counteract the pointer-events: none; in the .modal-dialog\n color: var(--#{$prefix}modal-color);\n pointer-events: auto;\n background-color: var(--#{$prefix}modal-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}modal-border-width) solid var(--#{$prefix}modal-border-color);\n @include border-radius(var(--#{$prefix}modal-border-radius));\n @include box-shadow(var(--#{$prefix}modal-box-shadow));\n // Remove focus outline from opened modal\n outline: 0;\n}\n\n// Modal background\n.modal-backdrop {\n // scss-docs-start modal-backdrop-css-vars\n --#{$prefix}backdrop-zindex: #{$zindex-modal-backdrop};\n --#{$prefix}backdrop-bg: #{$modal-backdrop-bg};\n --#{$prefix}backdrop-opacity: #{$modal-backdrop-opacity};\n // scss-docs-end modal-backdrop-css-vars\n\n @include overlay-backdrop(var(--#{$prefix}backdrop-zindex), var(--#{$prefix}backdrop-bg), var(--#{$prefix}backdrop-opacity));\n}\n\n// Modal header\n// Top section of the modal w/ title and dismiss\n.modal-header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n padding: var(--#{$prefix}modal-header-padding);\n border-bottom: var(--#{$prefix}modal-header-border-width) solid var(--#{$prefix}modal-header-border-color);\n @include border-top-radius(var(--#{$prefix}modal-inner-border-radius));\n\n .btn-close {\n padding: calc(var(--#{$prefix}modal-header-padding-y) * .5) calc(var(--#{$prefix}modal-header-padding-x) * .5);\n margin: calc(-.5 * var(--#{$prefix}modal-header-padding-y)) calc(-.5 * var(--#{$prefix}modal-header-padding-x)) calc(-.5 * var(--#{$prefix}modal-header-padding-y)) auto;\n }\n}\n\n// Title text within header\n.modal-title {\n margin-bottom: 0;\n line-height: var(--#{$prefix}modal-title-line-height);\n}\n\n// Modal body\n// Where all modal content resides (sibling of .modal-header and .modal-footer)\n.modal-body {\n position: relative;\n // Enable `flex-grow: 1` so that the body take up as much space as possible\n // when there should be a fixed height on `.modal-dialog`.\n flex: 1 1 auto;\n padding: var(--#{$prefix}modal-padding);\n}\n\n// Footer (for actions)\n.modal-footer {\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center; // vertically center\n justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items\n padding: calc(var(--#{$prefix}modal-padding) - var(--#{$prefix}modal-footer-gap) * .5);\n background-color: var(--#{$prefix}modal-footer-bg);\n border-top: var(--#{$prefix}modal-footer-border-width) solid var(--#{$prefix}modal-footer-border-color);\n @include border-bottom-radius(var(--#{$prefix}modal-inner-border-radius));\n\n // Place margin between footer elements\n // This solution is far from ideal because of the universal selector usage,\n // but is needed to fix https://github.com/twbs/bootstrap/issues/24800\n > * {\n margin: calc(var(--#{$prefix}modal-footer-gap) * .5); // Todo in v6: replace with gap on parent class\n }\n}\n\n// Scale up the modal\n@include media-breakpoint-up(sm) {\n .modal {\n --#{$prefix}modal-margin: #{$modal-dialog-margin-y-sm-up};\n --#{$prefix}modal-box-shadow: #{$modal-content-box-shadow-sm-up};\n }\n\n // Automatically set modal's width for larger viewports\n .modal-dialog {\n max-width: var(--#{$prefix}modal-width);\n margin-right: auto;\n margin-left: auto;\n }\n\n .modal-sm {\n --#{$prefix}modal-width: #{$modal-sm};\n }\n}\n\n@include media-breakpoint-up(lg) {\n .modal-lg,\n .modal-xl {\n --#{$prefix}modal-width: #{$modal-lg};\n }\n}\n\n@include media-breakpoint-up(xl) {\n .modal-xl {\n --#{$prefix}modal-width: #{$modal-xl};\n }\n}\n\n// scss-docs-start modal-fullscreen-loop\n@each $breakpoint in map-keys($grid-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n $postfix: if($infix != \"\", $infix + \"-down\", \"\");\n\n @include media-breakpoint-down($breakpoint) {\n .modal-fullscreen#{$postfix} {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n\n .modal-content {\n height: 100%;\n border: 0;\n @include border-radius(0);\n }\n\n .modal-header,\n .modal-footer {\n @include border-radius(0);\n }\n\n .modal-body {\n overflow-y: auto;\n }\n }\n }\n}\n// scss-docs-end modal-fullscreen-loop\n","// Shared between modals and offcanvases\n@mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) {\n position: fixed;\n top: 0;\n left: 0;\n z-index: $zindex;\n width: 100vw;\n height: 100vh;\n background-color: $backdrop-bg;\n\n // Fade for backdrop\n &.fade { opacity: 0; }\n &.show { opacity: $backdrop-opacity; }\n}\n","// Base class\n.tooltip {\n // scss-docs-start tooltip-css-vars\n --#{$prefix}tooltip-zindex: #{$zindex-tooltip};\n --#{$prefix}tooltip-max-width: #{$tooltip-max-width};\n --#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};\n --#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};\n --#{$prefix}tooltip-margin: #{$tooltip-margin};\n @include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);\n --#{$prefix}tooltip-color: #{$tooltip-color};\n --#{$prefix}tooltip-bg: #{$tooltip-bg};\n --#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};\n --#{$prefix}tooltip-opacity: #{$tooltip-opacity};\n --#{$prefix}tooltip-arrow-width: #{$tooltip-arrow-width};\n --#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height};\n // scss-docs-end tooltip-css-vars\n\n z-index: var(--#{$prefix}tooltip-zindex);\n display: block;\n margin: var(--#{$prefix}tooltip-margin);\n @include deprecate(\"`$tooltip-margin`\", \"v5\", \"v5.x\", true);\n // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.\n // So reset our font and text properties to avoid inheriting weird values.\n @include reset-text();\n @include font-size(var(--#{$prefix}tooltip-font-size));\n // Allow breaking very long words so they don't overflow the tooltip's bounds\n word-wrap: break-word;\n opacity: 0;\n\n &.show { opacity: var(--#{$prefix}tooltip-opacity); }\n\n .tooltip-arrow {\n display: block;\n width: var(--#{$prefix}tooltip-arrow-width);\n height: var(--#{$prefix}tooltip-arrow-height);\n\n &::before {\n position: absolute;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n }\n }\n}\n\n.bs-tooltip-top .tooltip-arrow {\n bottom: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n\n &::before {\n top: -1px;\n border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list\n border-top-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-end .tooltip-arrow {\n left: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n width: var(--#{$prefix}tooltip-arrow-height);\n height: var(--#{$prefix}tooltip-arrow-width);\n\n &::before {\n right: -1px;\n border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list\n border-right-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:end:ignore */\n\n.bs-tooltip-bottom .tooltip-arrow {\n top: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n\n &::before {\n bottom: -1px;\n border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list\n border-bottom-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-start .tooltip-arrow {\n right: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n width: var(--#{$prefix}tooltip-arrow-height);\n height: var(--#{$prefix}tooltip-arrow-width);\n\n &::before {\n left: -1px;\n border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list\n border-left-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:end:ignore */\n\n.bs-tooltip-auto {\n &[data-popper-placement^=\"top\"] {\n @extend .bs-tooltip-top;\n }\n &[data-popper-placement^=\"right\"] {\n @extend .bs-tooltip-end;\n }\n &[data-popper-placement^=\"bottom\"] {\n @extend .bs-tooltip-bottom;\n }\n &[data-popper-placement^=\"left\"] {\n @extend .bs-tooltip-start;\n }\n}\n\n// Wrapper for the tooltip content\n.tooltip-inner {\n max-width: var(--#{$prefix}tooltip-max-width);\n padding: var(--#{$prefix}tooltip-padding-y) var(--#{$prefix}tooltip-padding-x);\n color: var(--#{$prefix}tooltip-color);\n text-align: center;\n background-color: var(--#{$prefix}tooltip-bg);\n @include border-radius(var(--#{$prefix}tooltip-border-radius));\n}\n","@mixin reset-text {\n font-family: $font-family-base;\n // We deliberately do NOT reset font-size or overflow-wrap / word-wrap.\n font-style: normal;\n font-weight: $font-weight-normal;\n line-height: $line-height-base;\n text-align: left; // Fallback for where `start` is not supported\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n white-space: normal;\n word-spacing: normal;\n line-break: auto;\n}\n",".popover {\n // scss-docs-start popover-css-vars\n --#{$prefix}popover-zindex: #{$zindex-popover};\n --#{$prefix}popover-max-width: #{$popover-max-width};\n @include rfs($popover-font-size, --#{$prefix}popover-font-size);\n --#{$prefix}popover-bg: #{$popover-bg};\n --#{$prefix}popover-border-width: #{$popover-border-width};\n --#{$prefix}popover-border-color: #{$popover-border-color};\n --#{$prefix}popover-border-radius: #{$popover-border-radius};\n --#{$prefix}popover-inner-border-radius: #{$popover-inner-border-radius};\n --#{$prefix}popover-box-shadow: #{$popover-box-shadow};\n --#{$prefix}popover-header-padding-x: #{$popover-header-padding-x};\n --#{$prefix}popover-header-padding-y: #{$popover-header-padding-y};\n @include rfs($popover-header-font-size, --#{$prefix}popover-header-font-size);\n --#{$prefix}popover-header-color: #{$popover-header-color};\n --#{$prefix}popover-header-bg: #{$popover-header-bg};\n --#{$prefix}popover-body-padding-x: #{$popover-body-padding-x};\n --#{$prefix}popover-body-padding-y: #{$popover-body-padding-y};\n --#{$prefix}popover-body-color: #{$popover-body-color};\n --#{$prefix}popover-arrow-width: #{$popover-arrow-width};\n --#{$prefix}popover-arrow-height: #{$popover-arrow-height};\n --#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);\n // scss-docs-end popover-css-vars\n\n z-index: var(--#{$prefix}popover-zindex);\n display: block;\n max-width: var(--#{$prefix}popover-max-width);\n // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.\n // So reset our font and text properties to avoid inheriting weird values.\n @include reset-text();\n @include font-size(var(--#{$prefix}popover-font-size));\n // Allow breaking very long words so they don't overflow the popover's bounds\n word-wrap: break-word;\n background-color: var(--#{$prefix}popover-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);\n @include border-radius(var(--#{$prefix}popover-border-radius));\n @include box-shadow(var(--#{$prefix}popover-box-shadow));\n\n .popover-arrow {\n display: block;\n width: var(--#{$prefix}popover-arrow-width);\n height: var(--#{$prefix}popover-arrow-height);\n\n &::before,\n &::after {\n position: absolute;\n display: block;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n border-width: 0;\n }\n }\n}\n\n.bs-popover-top {\n > .popover-arrow {\n bottom: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list\n\n &::before,\n &::after {\n border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list\n }\n\n &::before {\n bottom: 0;\n border-top-color: var(--#{$prefix}popover-arrow-border);\n }\n\n &::after {\n bottom: var(--#{$prefix}popover-border-width);\n border-top-color: var(--#{$prefix}popover-bg);\n }\n }\n}\n\n/* rtl:begin:ignore */\n.bs-popover-end {\n > .popover-arrow {\n left: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list\n width: var(--#{$prefix}popover-arrow-height);\n height: var(--#{$prefix}popover-arrow-width);\n\n &::before,\n &::after {\n border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list\n }\n\n &::before {\n left: 0;\n border-right-color: var(--#{$prefix}popover-arrow-border);\n }\n\n &::after {\n left: var(--#{$prefix}popover-border-width);\n border-right-color: var(--#{$prefix}popover-bg);\n }\n }\n}\n\n/* rtl:end:ignore */\n\n.bs-popover-bottom {\n > .popover-arrow {\n top: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list\n\n &::before,\n &::after {\n border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list\n }\n\n &::before {\n top: 0;\n border-bottom-color: var(--#{$prefix}popover-arrow-border);\n }\n\n &::after {\n top: var(--#{$prefix}popover-border-width);\n border-bottom-color: var(--#{$prefix}popover-bg);\n }\n }\n\n // This will remove the popover-header's border just below the arrow\n .popover-header::before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: var(--#{$prefix}popover-arrow-width);\n margin-left: calc(-.5 * var(--#{$prefix}popover-arrow-width)); // stylelint-disable-line function-disallowed-list\n content: \"\";\n border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);\n }\n}\n\n/* rtl:begin:ignore */\n.bs-popover-start {\n > .popover-arrow {\n right: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list\n width: var(--#{$prefix}popover-arrow-height);\n height: var(--#{$prefix}popover-arrow-width);\n\n &::before,\n &::after {\n border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list\n }\n\n &::before {\n right: 0;\n border-left-color: var(--#{$prefix}popover-arrow-border);\n }\n\n &::after {\n right: var(--#{$prefix}popover-border-width);\n border-left-color: var(--#{$prefix}popover-bg);\n }\n }\n}\n\n/* rtl:end:ignore */\n\n.bs-popover-auto {\n &[data-popper-placement^=\"top\"] {\n @extend .bs-popover-top;\n }\n &[data-popper-placement^=\"right\"] {\n @extend .bs-popover-end;\n }\n &[data-popper-placement^=\"bottom\"] {\n @extend .bs-popover-bottom;\n }\n &[data-popper-placement^=\"left\"] {\n @extend .bs-popover-start;\n }\n}\n\n// Offset the popover to account for the popover arrow\n.popover-header {\n padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);\n margin-bottom: 0; // Reset the default from Reboot\n @include font-size(var(--#{$prefix}popover-header-font-size));\n color: var(--#{$prefix}popover-header-color);\n background-color: var(--#{$prefix}popover-header-bg);\n border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);\n @include border-top-radius(var(--#{$prefix}popover-inner-border-radius));\n\n &:empty {\n display: none;\n }\n}\n\n.popover-body {\n padding: var(--#{$prefix}popover-body-padding-y) var(--#{$prefix}popover-body-padding-x);\n color: var(--#{$prefix}popover-body-color);\n}\n","// Notes on the classes:\n//\n// 1. .carousel.pointer-event should ideally be pan-y (to allow for users to scroll vertically)\n// even when their scroll action started on a carousel, but for compatibility (with Firefox)\n// we're preventing all actions instead\n// 2. The .carousel-item-start and .carousel-item-end is used to indicate where\n// the active slide is heading.\n// 3. .active.carousel-item is the current slide.\n// 4. .active.carousel-item-start and .active.carousel-item-end is the current\n// slide in its in-transition state. Only one of these occurs at a time.\n// 5. .carousel-item-next.carousel-item-start and .carousel-item-prev.carousel-item-end\n// is the upcoming slide in transition.\n\n.carousel {\n position: relative;\n}\n\n.carousel.pointer-event {\n touch-action: pan-y;\n}\n\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n @include clearfix();\n}\n\n.carousel-item {\n position: relative;\n display: none;\n float: left;\n width: 100%;\n margin-right: -100%;\n backface-visibility: hidden;\n @include transition($carousel-transition);\n}\n\n.carousel-item.active,\n.carousel-item-next,\n.carousel-item-prev {\n display: block;\n}\n\n.carousel-item-next:not(.carousel-item-start),\n.active.carousel-item-end {\n transform: translateX(100%);\n}\n\n.carousel-item-prev:not(.carousel-item-end),\n.active.carousel-item-start {\n transform: translateX(-100%);\n}\n\n\n//\n// Alternate transitions\n//\n\n.carousel-fade {\n .carousel-item {\n opacity: 0;\n transition-property: opacity;\n transform: none;\n }\n\n .carousel-item.active,\n .carousel-item-next.carousel-item-start,\n .carousel-item-prev.carousel-item-end {\n z-index: 1;\n opacity: 1;\n }\n\n .active.carousel-item-start,\n .active.carousel-item-end {\n z-index: 0;\n opacity: 0;\n @include transition(opacity 0s $carousel-transition-duration);\n }\n}\n\n\n//\n// Left/right controls for nav\n//\n\n.carousel-control-prev,\n.carousel-control-next {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n // Use flex for alignment (1-3)\n display: flex; // 1. allow flex styles\n align-items: center; // 2. vertically center contents\n justify-content: center; // 3. horizontally center contents\n width: $carousel-control-width;\n padding: 0;\n color: $carousel-control-color;\n text-align: center;\n background: none;\n border: 0;\n opacity: $carousel-control-opacity;\n @include transition($carousel-control-transition);\n\n // Hover/focus state\n &:hover,\n &:focus {\n color: $carousel-control-color;\n text-decoration: none;\n outline: 0;\n opacity: $carousel-control-hover-opacity;\n }\n}\n.carousel-control-prev {\n left: 0;\n background-image: if($enable-gradients, linear-gradient(90deg, rgba($black, .25), rgba($black, .001)), null);\n}\n.carousel-control-next {\n right: 0;\n background-image: if($enable-gradients, linear-gradient(270deg, rgba($black, .25), rgba($black, .001)), null);\n}\n\n// Icons for within\n.carousel-control-prev-icon,\n.carousel-control-next-icon {\n display: inline-block;\n width: $carousel-control-icon-width;\n height: $carousel-control-icon-width;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 100% 100%;\n}\n\n.carousel-control-prev-icon {\n background-image: escape-svg($carousel-control-prev-icon-bg) #{\"/*rtl:\" + escape-svg($carousel-control-next-icon-bg) + \"*/\"};\n}\n.carousel-control-next-icon {\n background-image: escape-svg($carousel-control-next-icon-bg) #{\"/*rtl:\" + escape-svg($carousel-control-prev-icon-bg) + \"*/\"};\n}\n\n// Optional indicator pips/controls\n//\n// Add a container (such as a list) with the following class and add an item (ideally a focusable control,\n// like a button) with data-bs-target for each slide your carousel holds.\n\n.carousel-indicators {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n padding: 0;\n // Use the .carousel-control's width as margin so we don't overlay those\n margin-right: $carousel-control-width;\n margin-bottom: 1rem;\n margin-left: $carousel-control-width;\n\n [data-bs-target] {\n box-sizing: content-box;\n flex: 0 1 auto;\n width: $carousel-indicator-width;\n height: $carousel-indicator-height;\n padding: 0;\n margin-right: $carousel-indicator-spacer;\n margin-left: $carousel-indicator-spacer;\n text-indent: -999px;\n cursor: pointer;\n background-color: $carousel-indicator-active-bg;\n background-clip: padding-box;\n border: 0;\n // Use transparent borders to increase the hit area by 10px on top and bottom.\n border-top: $carousel-indicator-hit-area-height solid transparent;\n border-bottom: $carousel-indicator-hit-area-height solid transparent;\n opacity: $carousel-indicator-opacity;\n @include transition($carousel-indicator-transition);\n }\n\n .active {\n opacity: $carousel-indicator-active-opacity;\n }\n}\n\n\n// Optional captions\n//\n//\n\n.carousel-caption {\n position: absolute;\n right: (100% - $carousel-caption-width) * .5;\n bottom: $carousel-caption-spacer;\n left: (100% - $carousel-caption-width) * .5;\n padding-top: $carousel-caption-padding-y;\n padding-bottom: $carousel-caption-padding-y;\n color: $carousel-caption-color;\n text-align: center;\n}\n\n// Dark mode carousel\n\n@mixin carousel-dark() {\n .carousel-control-prev-icon,\n .carousel-control-next-icon {\n filter: $carousel-dark-control-icon-filter;\n }\n\n .carousel-indicators [data-bs-target] {\n background-color: $carousel-dark-indicator-active-bg;\n }\n\n .carousel-caption {\n color: $carousel-dark-caption-color;\n }\n}\n\n.carousel-dark {\n @include carousel-dark();\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n @if $color-mode-type == \"media-query\" {\n .carousel {\n @include carousel-dark();\n }\n } @else {\n .carousel,\n &.carousel {\n @include carousel-dark();\n }\n }\n }\n}\n","// scss-docs-start clearfix\n@mixin clearfix() {\n &::after {\n display: block;\n clear: both;\n content: \"\";\n }\n}\n// scss-docs-end clearfix\n","//\n// Rotating border\n//\n\n.spinner-grow,\n.spinner-border {\n display: inline-block;\n width: var(--#{$prefix}spinner-width);\n height: var(--#{$prefix}spinner-height);\n vertical-align: var(--#{$prefix}spinner-vertical-align);\n // stylelint-disable-next-line property-disallowed-list\n border-radius: 50%;\n animation: var(--#{$prefix}spinner-animation-speed) linear infinite var(--#{$prefix}spinner-animation-name);\n}\n\n// scss-docs-start spinner-border-keyframes\n@keyframes spinner-border {\n to { transform: rotate(360deg) #{\"/* rtl:ignore */\"}; }\n}\n// scss-docs-end spinner-border-keyframes\n\n.spinner-border {\n // scss-docs-start spinner-border-css-vars\n --#{$prefix}spinner-width: #{$spinner-width};\n --#{$prefix}spinner-height: #{$spinner-height};\n --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};\n --#{$prefix}spinner-border-width: #{$spinner-border-width};\n --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};\n --#{$prefix}spinner-animation-name: spinner-border;\n // scss-docs-end spinner-border-css-vars\n\n border: var(--#{$prefix}spinner-border-width) solid currentcolor;\n border-right-color: transparent;\n}\n\n.spinner-border-sm {\n // scss-docs-start spinner-border-sm-css-vars\n --#{$prefix}spinner-width: #{$spinner-width-sm};\n --#{$prefix}spinner-height: #{$spinner-height-sm};\n --#{$prefix}spinner-border-width: #{$spinner-border-width-sm};\n // scss-docs-end spinner-border-sm-css-vars\n}\n\n//\n// Growing circle\n//\n\n// scss-docs-start spinner-grow-keyframes\n@keyframes spinner-grow {\n 0% {\n transform: scale(0);\n }\n 50% {\n opacity: 1;\n transform: none;\n }\n}\n// scss-docs-end spinner-grow-keyframes\n\n.spinner-grow {\n // scss-docs-start spinner-grow-css-vars\n --#{$prefix}spinner-width: #{$spinner-width};\n --#{$prefix}spinner-height: #{$spinner-height};\n --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};\n --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};\n --#{$prefix}spinner-animation-name: spinner-grow;\n // scss-docs-end spinner-grow-css-vars\n\n background-color: currentcolor;\n opacity: 0;\n}\n\n.spinner-grow-sm {\n --#{$prefix}spinner-width: #{$spinner-width-sm};\n --#{$prefix}spinner-height: #{$spinner-height-sm};\n}\n\n@if $enable-reduced-motion {\n @media (prefers-reduced-motion: reduce) {\n .spinner-border,\n .spinner-grow {\n --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed * 2};\n }\n }\n}\n","// stylelint-disable function-disallowed-list\n\n%offcanvas-css-vars {\n // scss-docs-start offcanvas-css-vars\n --#{$prefix}offcanvas-zindex: #{$zindex-offcanvas};\n --#{$prefix}offcanvas-width: #{$offcanvas-horizontal-width};\n --#{$prefix}offcanvas-height: #{$offcanvas-vertical-height};\n --#{$prefix}offcanvas-padding-x: #{$offcanvas-padding-x};\n --#{$prefix}offcanvas-padding-y: #{$offcanvas-padding-y};\n --#{$prefix}offcanvas-color: #{$offcanvas-color};\n --#{$prefix}offcanvas-bg: #{$offcanvas-bg-color};\n --#{$prefix}offcanvas-border-width: #{$offcanvas-border-width};\n --#{$prefix}offcanvas-border-color: #{$offcanvas-border-color};\n --#{$prefix}offcanvas-box-shadow: #{$offcanvas-box-shadow};\n --#{$prefix}offcanvas-transition: #{transform $offcanvas-transition-duration ease-in-out};\n --#{$prefix}offcanvas-title-line-height: #{$offcanvas-title-line-height};\n // scss-docs-end offcanvas-css-vars\n}\n\n@each $breakpoint in map-keys($grid-breakpoints) {\n $next: breakpoint-next($breakpoint, $grid-breakpoints);\n $infix: breakpoint-infix($next, $grid-breakpoints);\n\n .offcanvas#{$infix} {\n @extend %offcanvas-css-vars;\n }\n}\n\n@each $breakpoint in map-keys($grid-breakpoints) {\n $next: breakpoint-next($breakpoint, $grid-breakpoints);\n $infix: breakpoint-infix($next, $grid-breakpoints);\n\n .offcanvas#{$infix} {\n @include media-breakpoint-down($next) {\n position: fixed;\n bottom: 0;\n z-index: var(--#{$prefix}offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--#{$prefix}offcanvas-color);\n visibility: hidden;\n background-color: var(--#{$prefix}offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n @include box-shadow(var(--#{$prefix}offcanvas-box-shadow));\n @include transition(var(--#{$prefix}offcanvas-transition));\n\n &.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--#{$prefix}offcanvas-width);\n border-right: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);\n transform: translateX(-100%);\n }\n\n &.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--#{$prefix}offcanvas-width);\n border-left: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);\n transform: translateX(100%);\n }\n\n &.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--#{$prefix}offcanvas-height);\n max-height: 100%;\n border-bottom: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);\n transform: translateY(-100%);\n }\n\n &.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--#{$prefix}offcanvas-height);\n max-height: 100%;\n border-top: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);\n transform: translateY(100%);\n }\n\n &.showing,\n &.show:not(.hiding) {\n transform: none;\n }\n\n &.showing,\n &.hiding,\n &.show {\n visibility: visible;\n }\n }\n\n @if not ($infix == \"\") {\n @include media-breakpoint-up($next) {\n --#{$prefix}offcanvas-height: auto;\n --#{$prefix}offcanvas-border-width: 0;\n background-color: transparent !important; // stylelint-disable-line declaration-no-important\n\n .offcanvas-header {\n display: none;\n }\n\n .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n // Reset `background-color` in case `.bg-*` classes are used in offcanvas\n background-color: transparent !important; // stylelint-disable-line declaration-no-important\n }\n }\n }\n }\n}\n\n.offcanvas-backdrop {\n @include overlay-backdrop($zindex-offcanvas-backdrop, $offcanvas-backdrop-bg, $offcanvas-backdrop-opacity);\n}\n\n.offcanvas-header {\n display: flex;\n align-items: center;\n padding: var(--#{$prefix}offcanvas-padding-y) var(--#{$prefix}offcanvas-padding-x);\n\n .btn-close {\n padding: calc(var(--#{$prefix}offcanvas-padding-y) * .5) calc(var(--#{$prefix}offcanvas-padding-x) * .5);\n margin: calc(-.5 * var(--#{$prefix}offcanvas-padding-y)) calc(-.5 * var(--#{$prefix}offcanvas-padding-x)) calc(-.5 * var(--#{$prefix}offcanvas-padding-y)) auto;\n }\n}\n\n.offcanvas-title {\n margin-bottom: 0;\n line-height: var(--#{$prefix}offcanvas-title-line-height);\n}\n\n.offcanvas-body {\n flex-grow: 1;\n padding: var(--#{$prefix}offcanvas-padding-y) var(--#{$prefix}offcanvas-padding-x);\n overflow-y: auto;\n}\n",".placeholder {\n display: inline-block;\n min-height: 1em;\n vertical-align: middle;\n cursor: wait;\n background-color: currentcolor;\n opacity: $placeholder-opacity-max;\n\n &.btn::before {\n display: inline-block;\n content: \"\";\n }\n}\n\n// Sizing\n.placeholder-xs {\n min-height: .6em;\n}\n\n.placeholder-sm {\n min-height: .8em;\n}\n\n.placeholder-lg {\n min-height: 1.2em;\n}\n\n// Animation\n.placeholder-glow {\n .placeholder {\n animation: placeholder-glow 2s ease-in-out infinite;\n }\n}\n\n@keyframes placeholder-glow {\n 50% {\n opacity: $placeholder-opacity-min;\n }\n}\n\n.placeholder-wave {\n mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%);\n mask-size: 200% 100%;\n animation: placeholder-wave 2s linear infinite;\n}\n\n@keyframes placeholder-wave {\n 100% {\n mask-position: -200% 0%;\n }\n}\n","// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251\n@each $color, $value in $theme-colors {\n .text-bg-#{$color} {\n color: color-contrast($value) if($enable-important-utilities, !important, null);\n background-color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);\n }\n}\n","// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251\n@each $color, $value in $theme-colors {\n .link-#{$color} {\n color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);\n text-decoration-color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);\n\n @if $link-shade-percentage != 0 {\n &:hover,\n &:focus {\n $hover-color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));\n color: RGBA(#{to-rgb($hover-color)}, var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);\n text-decoration-color: RGBA(to-rgb($hover-color), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);\n }\n }\n }\n}\n\n// One-off special link helper as a bridge until v6\n.link-body-emphasis {\n color: RGBA(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-opacity, 1)) if($enable-important-utilities, !important, null);\n text-decoration-color: RGBA(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-underline-opacity, 1)) if($enable-important-utilities, !important, null);\n\n @if $link-shade-percentage != 0 {\n &:hover,\n &:focus {\n color: RGBA(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-opacity, .75)) if($enable-important-utilities, !important, null);\n text-decoration-color: RGBA(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}link-underline-opacity, .75)) if($enable-important-utilities, !important, null);\n }\n }\n}\n",".focus-ring:focus {\n outline: 0;\n // By default, there is no `--bs-focus-ring-x`, `--bs-focus-ring-y`, or `--bs-focus-ring-blur`, but we provide CSS variables with fallbacks to initial `0` values\n box-shadow: var(--#{$prefix}focus-ring-x, 0) var(--#{$prefix}focus-ring-y, 0) var(--#{$prefix}focus-ring-blur, 0) var(--#{$prefix}focus-ring-width) var(--#{$prefix}focus-ring-color);\n}\n",".icon-link {\n display: inline-flex;\n gap: $icon-link-gap;\n align-items: center;\n text-decoration-color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, .5));\n text-underline-offset: $icon-link-underline-offset;\n backface-visibility: hidden;\n\n > .bi {\n flex-shrink: 0;\n width: $icon-link-icon-size;\n height: $icon-link-icon-size;\n fill: currentcolor;\n @include transition($icon-link-icon-transition);\n }\n}\n\n.icon-link-hover {\n &:hover,\n &:focus-visible {\n > .bi {\n transform: var(--#{$prefix}icon-link-transform, $icon-link-icon-transform);\n }\n }\n}\n","// Credit: Nicolas Gallagher and SUIT CSS.\n\n.ratio {\n position: relative;\n width: 100%;\n\n &::before {\n display: block;\n padding-top: var(--#{$prefix}aspect-ratio);\n content: \"\";\n }\n\n > * {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n}\n\n@each $key, $ratio in $aspect-ratios {\n .ratio-#{$key} {\n --#{$prefix}aspect-ratio: #{$ratio};\n }\n}\n","// Shorthand\n\n.fixed-top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n z-index: $zindex-fixed;\n}\n\n.fixed-bottom {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: $zindex-fixed;\n}\n\n// Responsive sticky top and bottom\n@each $breakpoint in map-keys($grid-breakpoints) {\n @include media-breakpoint-up($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n .sticky#{$infix}-top {\n position: sticky;\n top: 0;\n z-index: $zindex-sticky;\n }\n\n .sticky#{$infix}-bottom {\n position: sticky;\n bottom: 0;\n z-index: $zindex-sticky;\n }\n }\n}\n","// scss-docs-start stacks\n.hstack {\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n}\n\n.vstack {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n align-self: stretch;\n}\n// scss-docs-end stacks\n","//\n// Visually hidden\n//\n\n.visually-hidden,\n.visually-hidden-focusable:not(:focus):not(:focus-within) {\n @include visually-hidden();\n}\n","// stylelint-disable declaration-no-important\n\n// Hide content visually while keeping it accessible to assistive technologies\n//\n// See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/\n// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/\n\n@mixin visually-hidden() {\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n\n // Fix for positioned table caption that could become anonymous cells\n &:not(caption) {\n position: absolute !important;\n }\n}\n\n// Use to only display content when it's focused, or one of its child elements is focused\n// (i.e. when focus is within the element/container that the class was applied to)\n//\n// Useful for \"Skip to main content\" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1\n\n@mixin visually-hidden-focusable() {\n &:not(:focus):not(:focus-within) {\n @include visually-hidden();\n }\n}\n","//\n// Stretched link\n//\n\n.stretched-link {\n &::#{$stretched-link-pseudo-element} {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: $stretched-link-z-index;\n content: \"\";\n }\n}\n","//\n// Text truncation\n//\n\n.text-truncate {\n @include text-truncate();\n}\n","// Text truncate\n// Requires inline-block or block for proper styling\n\n@mixin text-truncate() {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n",".vr {\n display: inline-block;\n align-self: stretch;\n width: $vr-border-width;\n min-height: 1em;\n background-color: currentcolor;\n opacity: $hr-opacity;\n}\n","// Utility generator\n// Used to generate utilities & print utilities\n@mixin generate-utility($utility, $infix: \"\", $is-rfs-media-query: false) {\n $values: map-get($utility, values);\n\n // If the values are a list or string, convert it into a map\n @if type-of($values) == \"string\" or type-of(nth($values, 1)) != \"list\" {\n $values: zip($values, $values);\n }\n\n @each $key, $value in $values {\n $properties: map-get($utility, property);\n\n // Multiple properties are possible, for example with vertical or horizontal margins or paddings\n @if type-of($properties) == \"string\" {\n $properties: append((), $properties);\n }\n\n // Use custom class if present\n $property-class: if(map-has-key($utility, class), map-get($utility, class), nth($properties, 1));\n $property-class: if($property-class == null, \"\", $property-class);\n\n // Use custom CSS variable name if present, otherwise default to `class`\n $css-variable-name: if(map-has-key($utility, css-variable-name), map-get($utility, css-variable-name), map-get($utility, class));\n\n // State params to generate pseudo-classes\n $state: if(map-has-key($utility, state), map-get($utility, state), ());\n\n $infix: if($property-class == \"\" and str-slice($infix, 1, 1) == \"-\", str-slice($infix, 2), $infix);\n\n // Don't prefix if value key is null (e.g. with shadow class)\n $property-class-modifier: if($key, if($property-class == \"\" and $infix == \"\", \"\", \"-\") + $key, \"\");\n\n @if map-get($utility, rfs) {\n // Inside the media query\n @if $is-rfs-media-query {\n $val: rfs-value($value);\n\n // Do not render anything if fluid and non fluid values are the same\n $value: if($val == rfs-fluid-value($value), null, $val);\n }\n @else {\n $value: rfs-fluid-value($value);\n }\n }\n\n $is-css-var: map-get($utility, css-var);\n $is-local-vars: map-get($utility, local-vars);\n $is-rtl: map-get($utility, rtl);\n\n @if $value != null {\n @if $is-rtl == false {\n /* rtl:begin:remove */\n }\n\n @if $is-css-var {\n .#{$property-class + $infix + $property-class-modifier} {\n --#{$prefix}#{$css-variable-name}: #{$value};\n }\n\n @each $pseudo in $state {\n .#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {\n --#{$prefix}#{$css-variable-name}: #{$value};\n }\n }\n } @else {\n .#{$property-class + $infix + $property-class-modifier} {\n @each $property in $properties {\n @if $is-local-vars {\n @each $local-var, $variable in $is-local-vars {\n --#{$prefix}#{$local-var}: #{$variable};\n }\n }\n #{$property}: $value if($enable-important-utilities, !important, null);\n }\n }\n\n @each $pseudo in $state {\n .#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {\n @each $property in $properties {\n @if $is-local-vars {\n @each $local-var, $variable in $is-local-vars {\n --#{$prefix}#{$local-var}: #{$variable};\n }\n }\n #{$property}: $value if($enable-important-utilities, !important, null);\n }\n }\n }\n }\n\n @if $is-rtl == false {\n /* rtl:end:remove */\n }\n }\n }\n}\n","// Loop over each breakpoint\n@each $breakpoint in map-keys($grid-breakpoints) {\n\n // Generate media query if needed\n @include media-breakpoint-up($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n // Loop over each utility property\n @each $key, $utility in $utilities {\n // The utility can be disabled with `false`, thus check if the utility is a map first\n // Only proceed if responsive media queries are enabled or if it's the base media query\n @if type-of($utility) == \"map\" and (map-get($utility, responsive) or $infix == \"\") {\n @include generate-utility($utility, $infix);\n }\n }\n }\n}\n\n// RFS rescaling\n@media (min-width: $rfs-mq-value) {\n @each $breakpoint in map-keys($grid-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n @if (map-get($grid-breakpoints, $breakpoint) < $rfs-breakpoint) {\n // Loop over each utility property\n @each $key, $utility in $utilities {\n // The utility can be disabled with `false`, thus check if the utility is a map first\n // Only proceed if responsive media queries are enabled or if it's the base media query\n @if type-of($utility) == \"map\" and map-get($utility, rfs) and (map-get($utility, responsive) or $infix == \"\") {\n @include generate-utility($utility, $infix, true);\n }\n }\n }\n }\n}\n\n\n// Print utilities\n@media print {\n @each $key, $utility in $utilities {\n // The utility can be disabled with `false`, thus check if the utility is a map first\n // Then check if the utility needs print styles\n @if type-of($utility) == \"map\" and map-get($utility, print) == true {\n @include generate-utility($utility, \"-print\");\n }\n }\n}\n"],"sourceRoot":""}]); // Exports ___CSS_LOADER_EXPORT___.locals = {}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/App.css": /*!****************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/App.css ***! \****************************************************************************************************************************************************************************************************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js"); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `.App { text-align: center; } .App-logo { height: 40vmin; pointer-events: none; } @media (prefers-reduced-motion: no-preference) { .App-logo { animation: App-logo-spin infinite 20s linear; } } .App-header { background-color: #282c34; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: calc(10px + 2vmin); color: white; } .App-link { color: #61dafb; } @keyframes App-logo-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } `, "",{"version":3,"sources":["webpack://./src/App.css"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,cAAc;EACd,oBAAoB;AACtB;;AAEA;EACE;IACE,4CAA4C;EAC9C;AACF;;AAEA;EACE,yBAAyB;EACzB,iBAAiB;EACjB,aAAa;EACb,sBAAsB;EACtB,mBAAmB;EACnB,uBAAuB;EACvB,6BAA6B;EAC7B,YAAY;AACd;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE;IACE,uBAAuB;EACzB;EACA;IACE,yBAAyB;EAC3B;AACF","sourcesContent":[".App {\r\n text-align: center;\r\n}\r\n\r\n.App-logo {\r\n height: 40vmin;\r\n pointer-events: none;\r\n}\r\n\r\n@media (prefers-reduced-motion: no-preference) {\r\n .App-logo {\r\n animation: App-logo-spin infinite 20s linear;\r\n }\r\n}\r\n\r\n.App-header {\r\n background-color: #282c34;\r\n min-height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n font-size: calc(10px + 2vmin);\r\n color: white;\r\n}\r\n\r\n.App-link {\r\n color: #61dafb;\r\n}\r\n\r\n@keyframes App-logo-spin {\r\n from {\r\n transform: rotate(0deg);\r\n }\r\n to {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n"],"sourceRoot":""}]); // Exports ___CSS_LOADER_EXPORT___.locals = {}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/index.css": /*!******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/index.css ***! \******************************************************************************************************************************************************************************************************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js"); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } `, "",{"version":3,"sources":["webpack://./src/index.css"],"names":[],"mappings":"AAAA;EACE,SAAS;EACT;;cAEY;EACZ,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE;aACW;AACb","sourcesContent":["body {\r\n margin: 0;\r\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\r\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\r\n sans-serif;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\ncode {\r\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\r\n monospace;\r\n}\r\n"],"sourceRoot":""}]); // Exports ___CSS_LOADER_EXPORT___.locals = {}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/layout/style.css": /*!*************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/layout/style.css ***! \*************************************************************************************************************************************************************************************************************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js"); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); ___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap);"]); // Module ___CSS_LOADER_EXPORT___.push([module.id, `body { background-color: rgba(212, 169, 61, 0.753); color: #110803; } .Logoimg{ width: 250px; height: 250px; border-radius: 50%; /* margin-right: -20px; */ } .titleword{ text-align: right; /* margin-right: 20%; */ position: relative; top: 0px; } .logotitle{ display: flex; justify-content: center; align-items: center; gap: 130px; margin-left: -50px; margin-top: 25px; margin-bottom: 25px; } .titleword{ font-size:430%; font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif } .Logotitle{ position: absolute; top: 90px; left: 50px; color: #885311; font-family: 'Cinzel', serif; } .tmaintxt{ font-size: 135px; height: 100px; } .tmaintxt2{ font-size: 135px; position: relative; top: 20px; } .tsubtext1{ font-size: 50px; position: absolute; top: 35px; left: 95px; } .tsubtext2{ top: -220px; left: 95px; font-size: 35px; position: relative; } /* ========================================= Navbar Style ================================== */ .Navbox { display: flex; justify-content: space-evenly; background-color: #0e0801; padding: 20px 0; border-bottom: 3px solid #D1A87C; box-shadow: 0 4px 8px rgba(255, 193, 193, 0.1); } .nav{ gap: 45px; display: flex; justify-content: center; } .navlinks { text-decoration: none; font-size: 28px; font-family: 'Cinzel', serif; color: #ff9d51; transition: color 0.3s ease, transform 0.2s ease; } .navlinks:hover { color: #473506; transform: scale(1.15); } /* ============================================== Footer style ===================================== */ .FooterBox { background-color: #2E2E2E; padding: 20px 0; text-align: center; border-top: 3px solid #D1A87C; } .footertxt { font-family: 'Cinzel', serif; font-size: 25px; font-weight: 600; margin: 0; letter-spacing: 2px; color: #D1A87C; } /* =============================================== Home page stye ======================================== */ .homemain { text-align: center; padding: 50px 20px; background-color: #FDF8F2; } .cta-button { background-color: #D1A87C; color: #fff; padding: 10px 20px; border: none; cursor: pointer; font-family: 'Cinzel', serif; text-decoration: none; } .Aboutshop, .collections, .visit-us { padding: 40px 20px; background-color: #fff; border-bottom: 2px solid #D1A87C; width: 90%; margin: auto; } .Aboutshoptitle{ font-size: 40px; } .Aboutshopcont{ font-size: 24px; text-align: justify; width: 100%; } .collection-cards { display: flex; justify-content: space-around; margin-top: 30px; gap: 20px; } .card { background-color: #FDF8F2; padding: 20px; border: 2px solid #D1A87C; text-align: center; font-family: 'Times New Roman', serif; } .addresscont{ font-size: 25px; } /* ======================================================== About us style ============================== */ .about-us-page { padding: 40px 20px; background-color: #fff; text-align: justify; } .section-title { color: #090603; font-family: 'Cinzel', serif; } .shop-history, .owner-info, .our-partners { margin-bottom: 40px; font-size: 18px; line-height: 1.6; } .shop-history p, .owner-info p, .our-partners p { color: #583737; } .owner-info, .our-partners { background-color: #F9F9F9; padding: 20px; border-radius: 8px; } .shop-history { background-color: #F2F2F2; padding: 20px; border-radius: 8px; } .shop-history, .owner-info, .our-partners { transition: color 0.3s ease, transform 0.2s ease; } .shop-history:hover, .owner-info:hover, .our-partners:hover { transform: scale(1.02); } /* ============================================ Product page style ================================= */ .product-page { padding: 40px 20px; background-color: #f9f9f9; } .product-pagetitle{ text-align: center; margin-bottom: 50px; font-family: 'Cinzel', serif; color: #e2b84d; } .product-container { display: flex; justify-content: center; align-items: flex-start; gap: 70px; margin-bottom: 40px; } .product-image { text-align: center; } .product-img { max-width: 300px; height: 300px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .product-details { width: 800px; margin-left: 0px; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .product-name { font-size: 24px; font-weight: bold; color: #333; margin-bottom: 20px; } .product-table { width: 100%; border-collapse: collapse; } .product-table td { padding: 10px; font-size: 18px; border-bottom: 1px solid #5e3434; } .prodtitle { font-weight: bold; color: #555; } .prodvalue { color: #777; } .differentiateline{ width: 90%; margin: auto; margin-bottom: 40px; border: 2px solid #885311; } /* =================================== Contact page style =============================== */ .Contactbox{ display: flex; align-items: center; flex-direction: column; } .Contactform { width: 92%; margin-top: 30px; margin-bottom: 40px; font-size: 20px; line-height: 1.6; color: #555; background-color: #F2F2F2; padding: 40px; border-radius: 8px; } .formbox{ display: flex; flex-direction: column; gap: 20px; } .inputboxform{ width: 300px; border: 2px solid #885311; border-radius: 8px; text-indent: 8px; } .inputboxform2{ width: 300px; height: 100px !important; border: 2px solid #885311; border-radius: 8px; text-indent: 8px; } .inputboxform::placeholder{ opacity: 50%; } .inputboxform2::placeholder{ opacity: 50%; } .formsubbutton { background-color: #D4AF37; color: white; padding: 12px 30px; border: 2px solid #D4AF37; border-radius: 25px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; text-align: center; margin-top: 10px; width: 150px; font-size: 23px; margin-left: 30px; margin-bottom: 20px; } .formsubbutton:hover { background-color: #C68E17; transform: translateY(-2px); } .Clocation { width: 92%; margin-top: 30px; margin-bottom: 40px; font-size: 20px; line-height: 1.6; color: #555; background-color: #F2F2F2; padding: 20px; border-radius: 8px; display: flex; gap: 50px; } .Cvisit{ margin-top: 50px; } `, "",{"version":3,"sources":["webpack://./src/layout/style.css"],"names":[],"mappings":"AAAA;IACI,2CAA2C;IAC3C,cAAc;EAChB;;AAEF;IACI,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,yBAAyB;AAC7B;AACA;EACE,iBAAiB;EACjB,uBAAuB;EACvB,kBAAkB;EAClB,QAAQ;AACV;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,UAAU;EACV,kBAAkB;EAClB,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd;AACF;;;AAMA;;IAEI,kBAAkB;IAClB,SAAS;IACT,UAAU;IACV,cAAc;EAChB,4BAA4B;;;AAG9B;;AAEA;IACI,gBAAgB;IAChB,aAAa;AACjB;AACA;IACI,gBAAgB;IAChB,kBAAkB;IAClB,SAAS;AACb;;AAEA;IACI,eAAe;IACf,kBAAkB;IAClB,SAAS;IACT,UAAU;AACd;;AAEA;IACI,WAAW;IACX,UAAU;IACV,eAAe;IACf,kBAAkB;AACtB;;AAEA,8FAA8F;;AAE9F;IACI,aAAa;IACb,6BAA6B;IAC7B,yBAAyB;IACzB,eAAe;IACf,gCAAgC;IAChC,8CAA8C;AAClD;AACA;EACE,SAAS;EACT,aAAa;EACb,uBAAuB;AACzB;;AAEA;IACI,qBAAqB;IACrB,eAAe;IACf,4BAA4B;IAC5B,cAAc;IACd,gDAAgD;AACpD;;AAEA;IACI,cAAc;IACd,sBAAsB;AAC1B;;;AAGA,sGAAsG;;AAEtG;IACI,yBAAyB;IACzB,eAAe;IACf,kBAAkB;IAClB,6BAA6B;AACjC;;AAEA;IACI,4BAA4B;IAC5B,eAAe;IACf,gBAAgB;IAChB,SAAS;IACT,mBAAmB;IACnB,cAAc;AAClB;;AAEA,4GAA4G;;;AAG5G;IACI,kBAAkB;IAClB,kBAAkB;IAClB,yBAAyB;EAC3B;;EAEA;IACE,yBAAyB;IACzB,WAAW;IACX,kBAAkB;IAClB,YAAY;IACZ,eAAe;IACf,4BAA4B;IAC5B,qBAAqB;EACvB;;EAEA;;;IAGE,kBAAkB;IAClB,sBAAsB;IACtB,gCAAgC;IAChC,UAAU;IACV,YAAY;EACd;;EAEA;IACE,eAAe;EACjB;;EAEA;IACE,eAAe;IACf,mBAAmB;IACnB,WAAW;EACb;;EAEA;IACE,aAAa;IACb,6BAA6B;IAC7B,gBAAgB;IAChB,SAAS;EACX;;EAEA;IACE,yBAAyB;IACzB,aAAa;IACb,yBAAyB;IACzB,kBAAkB;IAClB,qCAAqC;EACvC;;EAEA;IACE,eAAe;EACjB;;AAEF,2GAA2G;;EAEzG;IACE,kBAAkB;IAClB,sBAAsB;IACtB,mBAAmB;EACrB;;EAEA;IACE,cAAc;IACd,4BAA4B;EAC9B;;EAEA;IACE,mBAAmB;IACnB,eAAe;IACf,gBAAgB;EAClB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,yBAAyB;IACzB,aAAa;IACb,kBAAkB;EACpB;;EAEA;IACE,yBAAyB;IACzB,aAAa;IACb,kBAAkB;EACpB;;;AAGF;;;EAGE,gDAAgD;AAClD;;;AAGA;;;EAGE,sBAAsB;AACxB;;;AAGA,sGAAsG;;;AAGtG;IACI,kBAAkB;IAClB,yBAAyB;EAC3B;;EAEA;IACE,kBAAkB;IAClB,mBAAmB;IACnB,4BAA4B;IAC5B,cAAc;EAChB;;EAEA;IACE,aAAa;IACb,uBAAuB;IACvB,uBAAuB;IACvB,SAAS;IACT,mBAAmB;;EAErB;;EAEA;IACE,kBAAkB;EACpB;;EAEA;IACE,gBAAgB;IAChB,aAAa;IACb,kBAAkB;IAClB,wCAAwC;EAC1C;;EAEA;IACE,YAAY;IACZ,gBAAgB;IAChB,yBAAyB;IACzB,aAAa;IACb,kBAAkB;IAClB,wCAAwC;EAC1C;;EAEA;IACE,eAAe;IACf,iBAAiB;IACjB,WAAW;IACX,mBAAmB;EACrB;;EAEA;IACE,WAAW;IACX,yBAAyB;EAC3B;;EAEA;IACE,aAAa;IACb,eAAe;IACf,gCAAgC;EAClC;;EAEA;IACE,iBAAiB;IACjB,WAAW;EACb;;EAEA;IACE,WAAW;EACb;;EAEA;IACE,UAAU;IACV,YAAY;IACZ,mBAAmB;IACnB,yBAAyB;EAC3B;;;EAGA,2FAA2F;;EAE3F;IACE,aAAa;IACb,mBAAmB;IACnB,sBAAsB;EACxB;;EAEA;IACE,UAAU;IACV,gBAAgB;IAChB,mBAAmB;IACnB,eAAe;IACf,gBAAgB;IAChB,WAAW;IACX,yBAAyB;IACzB,aAAa;IACb,kBAAkB;EACpB;;EAEA;IACE,aAAa;IACb,sBAAsB;IACtB,SAAS;EACX;;EAEA;IACE,YAAY;IACZ,yBAAyB;IACzB,kBAAkB;IAClB,gBAAgB;EAClB;EACA;IACE,YAAY;IACZ,wBAAwB;IACxB,yBAAyB;IACzB,kBAAkB;IAClB,gBAAgB;EAClB;;EAEA;IACE,YAAY;EACd;EACA;IACE,YAAY;EACd;;EAEA;;IAEE,yBAAyB;IACzB,YAAY;IACZ,kBAAkB;IAClB,yBAAyB;IACzB,mBAAmB;IACnB,eAAe;IACf,iBAAiB;IACjB,eAAe;IACf,2DAA2D;IAC3D,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,eAAe;IACf,iBAAiB;IACjB,mBAAmB;EACrB;;EAEA;IACE,yBAAyB;IACzB,2BAA2B;EAC7B;;EAEA;IACE,UAAU;IACV,gBAAgB;IAChB,mBAAmB;IACnB,eAAe;IACf,gBAAgB;IAChB,WAAW;IACX,yBAAyB;IACzB,aAAa;IACb,kBAAkB;IAClB,aAAa;IACb,SAAS;EACX;;EAEA;IACE,gBAAgB;EAClB","sourcesContent":["body {\r\n background-color: rgba(212, 169, 61, 0.753); \r\n color: #110803; \r\n }\r\n\r\n.Logoimg{\r\n width: 250px;\r\n height: 250px;\r\n border-radius: 50%;\r\n /* margin-right: -20px; */\r\n}\r\n.titleword{\r\n text-align: right;\r\n /* margin-right: 20%; */\r\n position: relative;\r\n top: 0px;\r\n}\r\n.logotitle{\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n gap: 130px;\r\n margin-left: -50px;\r\n margin-top: 25px;\r\n margin-bottom: 25px;\r\n}\r\n\r\n.titleword{\r\n font-size:430%;\r\n font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif\r\n}\r\n\r\n\r\n@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');\r\n\r\n\r\n.Logotitle{\r\n \r\n position: absolute;\r\n top: 90px;\r\n left: 50px;\r\n color: #885311;\r\n font-family: 'Cinzel', serif;\r\n\r\n\r\n}\r\n\r\n.tmaintxt{\r\n font-size: 135px;\r\n height: 100px;\r\n}\r\n.tmaintxt2{\r\n font-size: 135px;\r\n position: relative;\r\n top: 20px;\r\n}\r\n\r\n.tsubtext1{\r\n font-size: 50px;\r\n position: absolute;\r\n top: 35px;\r\n left: 95px;\r\n}\r\n\r\n.tsubtext2{\r\n top: -220px;\r\n left: 95px;\r\n font-size: 35px;\r\n position: relative;\r\n}\r\n\r\n/* ========================================= Navbar Style ================================== */\r\n\r\n.Navbox {\r\n display: flex;\r\n justify-content: space-evenly;\r\n background-color: #0e0801; \r\n padding: 20px 0; \r\n border-bottom: 3px solid #D1A87C; \r\n box-shadow: 0 4px 8px rgba(255, 193, 193, 0.1);\r\n}\r\n.nav{\r\n gap: 45px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n\r\n.navlinks {\r\n text-decoration: none;\r\n font-size: 28px;\r\n font-family: 'Cinzel', serif; \r\n color: #ff9d51; \r\n transition: color 0.3s ease, transform 0.2s ease; \r\n}\r\n\r\n.navlinks:hover {\r\n color: #473506; \r\n transform: scale(1.15); \r\n}\r\n\r\n\r\n/* ============================================== Footer style ===================================== */\r\n\r\n.FooterBox {\r\n background-color: #2E2E2E; \r\n padding: 20px 0; \r\n text-align: center; \r\n border-top: 3px solid #D1A87C; \r\n}\r\n\r\n.footertxt {\r\n font-family: 'Cinzel', serif; \r\n font-size: 25px; \r\n font-weight: 600; \r\n margin: 0; \r\n letter-spacing: 2px; \r\n color: #D1A87C; \r\n}\r\n\r\n/* =============================================== Home page stye ======================================== */\r\n\r\n\r\n.homemain {\r\n text-align: center;\r\n padding: 50px 20px;\r\n background-color: #FDF8F2;\r\n }\r\n \r\n .cta-button {\r\n background-color: #D1A87C;\r\n color: #fff;\r\n padding: 10px 20px;\r\n border: none;\r\n cursor: pointer;\r\n font-family: 'Cinzel', serif;\r\n text-decoration: none;\r\n }\r\n \r\n .Aboutshop,\r\n .collections,\r\n .visit-us {\r\n padding: 40px 20px;\r\n background-color: #fff;\r\n border-bottom: 2px solid #D1A87C;\r\n width: 90%;\r\n margin: auto;\r\n }\r\n\r\n .Aboutshoptitle{\r\n font-size: 40px;\r\n }\r\n\r\n .Aboutshopcont{\r\n font-size: 24px;\r\n text-align: justify;\r\n width: 100%;\r\n }\r\n \r\n .collection-cards {\r\n display: flex;\r\n justify-content: space-around;\r\n margin-top: 30px;\r\n gap: 20px;\r\n }\r\n \r\n .card {\r\n background-color: #FDF8F2;\r\n padding: 20px;\r\n border: 2px solid #D1A87C;\r\n text-align: center;\r\n font-family: 'Times New Roman', serif;\r\n }\r\n\r\n .addresscont{\r\n font-size: 25px;\r\n }\r\n \r\n/* ======================================================== About us style ============================== */\r\n\r\n .about-us-page {\r\n padding: 40px 20px;\r\n background-color: #fff;\r\n text-align: justify;\r\n }\r\n \r\n .section-title {\r\n color: #090603; \r\n font-family: 'Cinzel', serif;\r\n }\r\n \r\n .shop-history, .owner-info, .our-partners {\r\n margin-bottom: 40px;\r\n font-size: 18px;\r\n line-height: 1.6;\r\n }\r\n \r\n .shop-history p, .owner-info p, .our-partners p {\r\n color: #583737;\r\n }\r\n \r\n .owner-info, .our-partners {\r\n background-color: #F9F9F9;\r\n padding: 20px;\r\n border-radius: 8px;\r\n }\r\n \r\n .shop-history {\r\n background-color: #F2F2F2;\r\n padding: 20px;\r\n border-radius: 8px;\r\n }\r\n \r\n\r\n.shop-history,\r\n.owner-info,\r\n.our-partners {\r\n transition: color 0.3s ease, transform 0.2s ease;\r\n}\r\n\r\n\r\n.shop-history:hover,\r\n.owner-info:hover,\r\n.our-partners:hover {\r\n transform: scale(1.02); \r\n}\r\n\r\n\r\n/* ============================================ Product page style ================================= */\r\n\r\n\r\n.product-page {\r\n padding: 40px 20px;\r\n background-color: #f9f9f9;\r\n }\r\n\r\n .product-pagetitle{\r\n text-align: center;\r\n margin-bottom: 50px;\r\n font-family: 'Cinzel', serif;\r\n color: #e2b84d; \r\n }\r\n \r\n .product-container {\r\n display: flex;\r\n justify-content: center;\r\n align-items: flex-start;\r\n gap: 70px;\r\n margin-bottom: 40px;\r\n \r\n }\r\n \r\n .product-image {\r\n text-align: center;\r\n }\r\n \r\n .product-img {\r\n max-width: 300px;\r\n height: 300px;\r\n border-radius: 8px;\r\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\r\n }\r\n \r\n .product-details {\r\n width: 800px;\r\n margin-left: 0px;\r\n background-color: #ffffff;\r\n padding: 20px;\r\n border-radius: 8px;\r\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\r\n }\r\n \r\n .product-name {\r\n font-size: 24px;\r\n font-weight: bold;\r\n color: #333;\r\n margin-bottom: 20px;\r\n }\r\n \r\n .product-table {\r\n width: 100%;\r\n border-collapse: collapse;\r\n }\r\n \r\n .product-table td {\r\n padding: 10px;\r\n font-size: 18px;\r\n border-bottom: 1px solid #5e3434;\r\n }\r\n \r\n .prodtitle {\r\n font-weight: bold;\r\n color: #555;\r\n }\r\n \r\n .prodvalue {\r\n color: #777;\r\n }\r\n\r\n .differentiateline{\r\n width: 90%;\r\n margin: auto;\r\n margin-bottom: 40px;\r\n border: 2px solid #885311;\r\n }\r\n\r\n\r\n /* =================================== Contact page style =============================== */\r\n \r\n .Contactbox{\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n }\r\n\r\n .Contactform {\r\n width: 92%;\r\n margin-top: 30px;\r\n margin-bottom: 40px;\r\n font-size: 20px;\r\n line-height: 1.6;\r\n color: #555;\r\n background-color: #F2F2F2;\r\n padding: 40px;\r\n border-radius: 8px;\r\n }\r\n\r\n .formbox{\r\n display: flex;\r\n flex-direction: column;\r\n gap: 20px;\r\n }\r\n\r\n .inputboxform{\r\n width: 300px;\r\n border: 2px solid #885311;\r\n border-radius: 8px;\r\n text-indent: 8px;\r\n }\r\n .inputboxform2{\r\n width: 300px;\r\n height: 100px !important;\r\n border: 2px solid #885311;\r\n border-radius: 8px;\r\n text-indent: 8px;\r\n }\r\n\r\n .inputboxform::placeholder{\r\n opacity: 50%;\r\n }\r\n .inputboxform2::placeholder{\r\n opacity: 50%;\r\n }\r\n\r\n .formsubbutton {\r\n\r\n background-color: #D4AF37; \r\n color: white;\r\n padding: 12px 30px; \r\n border: 2px solid #D4AF37; \r\n border-radius: 25px; \r\n font-size: 18px;\r\n font-weight: bold;\r\n cursor: pointer;\r\n transition: background-color 0.3s ease, transform 0.2s ease;\r\n text-align: center; \r\n margin-top: 10px; \r\n width: 150px;\r\n font-size: 23px;\r\n margin-left: 30px;\r\n margin-bottom: 20px; \r\n }\r\n \r\n .formsubbutton:hover {\r\n background-color: #C68E17; \r\n transform: translateY(-2px); \r\n }\r\n \r\n .Clocation {\r\n width: 92%;\r\n margin-top: 30px;\r\n margin-bottom: 40px;\r\n font-size: 20px;\r\n line-height: 1.6;\r\n color: #555;\r\n background-color: #F2F2F2;\r\n padding: 20px;\r\n border-radius: 8px;\r\n display: flex;\r\n gap: 50px;\r\n }\r\n \r\n .Cvisit{\r\n margin-top: 50px;\r\n }\r\n \r\n "],"sourceRoot":""}]); // Exports ___CSS_LOADER_EXPORT___.locals = {}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js": /*!****************************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! \****************************************************************************/ /***/ ((module) => { "use strict"; var stylesInDOM = []; function getIndexByIdentifier(identifier) { var result = -1; for (var i = 0; i < stylesInDOM.length; i++) { if (stylesInDOM[i].identifier === identifier) { result = i; break; } } return result; } function modulesToDom(list, options) { var idCountMap = {}; var identifiers = []; for (var i = 0; i < list.length; i++) { var item = list[i]; var id = options.base ? item[0] + options.base : item[0]; var count = idCountMap[id] || 0; var identifier = "".concat(id, " ").concat(count); idCountMap[id] = count + 1; var indexByIdentifier = getIndexByIdentifier(identifier); var obj = { css: item[1], media: item[2], sourceMap: item[3], supports: item[4], layer: item[5] }; if (indexByIdentifier !== -1) { stylesInDOM[indexByIdentifier].references++; stylesInDOM[indexByIdentifier].updater(obj); } else { var updater = addElementStyle(obj, options); options.byIndex = i; stylesInDOM.splice(i, 0, { identifier: identifier, updater: updater, references: 1 }); } identifiers.push(identifier); } return identifiers; } function addElementStyle(obj, options) { var api = options.domAPI(options); api.update(obj); var updater = function updater(newObj) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) { return; } api.update(obj = newObj); } else { api.remove(); } }; return updater; } module.exports = function (list, options) { options = options || {}; list = list || []; var lastIdentifiers = modulesToDom(list, options); return function update(newList) { newList = newList || []; for (var i = 0; i < lastIdentifiers.length; i++) { var identifier = lastIdentifiers[i]; var index = getIndexByIdentifier(identifier); stylesInDOM[index].references--; } var newLastIdentifiers = modulesToDom(newList, options); for (var _i = 0; _i < lastIdentifiers.length; _i++) { var _identifier = lastIdentifiers[_i]; var _index = getIndexByIdentifier(_identifier); if (stylesInDOM[_index].references === 0) { stylesInDOM[_index].updater(); stylesInDOM.splice(_index, 1); } } lastIdentifiers = newLastIdentifiers; }; }; /***/ }), /***/ "./node_modules/style-loader/dist/runtime/insertBySelector.js": /*!********************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/insertBySelector.js ***! \********************************************************************/ /***/ ((module) => { "use strict"; var memo = {}; /* istanbul ignore next */ function getTarget(target) { if (typeof memo[target] === "undefined") { var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) { try { // This will throw an exception if access to iframe is blocked // due to cross-origin restrictions styleTarget = styleTarget.contentDocument.head; } catch (e) { // istanbul ignore next styleTarget = null; } } memo[target] = styleTarget; } return memo[target]; } /* istanbul ignore next */ function insertBySelector(insert, style) { var target = getTarget(insert); if (!target) { throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."); } target.appendChild(style); } module.exports = insertBySelector; /***/ }), /***/ "./node_modules/style-loader/dist/runtime/insertStyleElement.js": /*!**********************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/insertStyleElement.js ***! \**********************************************************************/ /***/ ((module) => { "use strict"; /* istanbul ignore next */ function insertStyleElement(options) { var element = document.createElement("style"); options.setAttributes(element, options.attributes); options.insert(element, options.options); return element; } module.exports = insertStyleElement; /***/ }), /***/ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js": /*!**********************************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /* istanbul ignore next */ function setAttributesWithoutAttributes(styleElement) { var nonce = true ? __webpack_require__.nc : 0; if (nonce) { styleElement.setAttribute("nonce", nonce); } } module.exports = setAttributesWithoutAttributes; /***/ }), /***/ "./node_modules/style-loader/dist/runtime/styleDomAPI.js": /*!***************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/styleDomAPI.js ***! \***************************************************************/ /***/ ((module) => { "use strict"; /* istanbul ignore next */ function apply(styleElement, options, obj) { var css = ""; if (obj.supports) { css += "@supports (".concat(obj.supports, ") {"); } if (obj.media) { css += "@media ".concat(obj.media, " {"); } var needLayer = typeof obj.layer !== "undefined"; if (needLayer) { css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {"); } css += obj.css; if (needLayer) { css += "}"; } if (obj.media) { css += "}"; } if (obj.supports) { css += "}"; } var sourceMap = obj.sourceMap; if (sourceMap && typeof btoa !== "undefined") { css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */"); } // For old IE /* istanbul ignore if */ options.styleTagTransform(css, styleElement, options.options); } function removeStyleElement(styleElement) { // istanbul ignore if if (styleElement.parentNode === null) { return false; } styleElement.parentNode.removeChild(styleElement); } /* istanbul ignore next */ function domAPI(options) { if (typeof document === "undefined") { return { update: function update() {}, remove: function remove() {} }; } var styleElement = options.insertStyleElement(options); return { update: function update(obj) { apply(styleElement, options, obj); }, remove: function remove() { removeStyleElement(styleElement); } }; } module.exports = domAPI; /***/ }), /***/ "./node_modules/style-loader/dist/runtime/styleTagTransform.js": /*!*********************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/styleTagTransform.js ***! \*********************************************************************/ /***/ ((module) => { "use strict"; /* istanbul ignore next */ function styleTagTransform(css, styleElement) { if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css; } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild); } styleElement.appendChild(document.createTextNode(css)); } } module.exports = styleTagTransform; /***/ }), /***/ "./node_modules/bootstrap/dist/css/bootstrap.min.css": /*!***********************************************************!*\ !*** ./node_modules/bootstrap/dist/css/bootstrap.min.css ***! \***********************************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/style-loader/dist/runtime/styleDomAPI.js"); /* harmony import */ var _style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../style-loader/dist/runtime/insertBySelector.js */ "./node_modules/style-loader/dist/runtime/insertBySelector.js"); /* harmony import */ var _style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"); /* harmony import */ var _style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/style-loader/dist/runtime/insertStyleElement.js"); /* harmony import */ var _style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/style-loader/dist/runtime/styleTagTransform.js"); /* harmony import */ var _style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../../source-map-loader/dist/cjs.js!./bootstrap.min.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css"); var options = {}; options.styleTagTransform = (_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default()); options.setAttributes = (_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default()); options.insert = _style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head"); options.domAPI = (_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default()); options.insertStyleElement = (_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default()); var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"], options); if (true) { if (!_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) { var isEqualLocals = function isEqualLocals(a, b, isNamedExport) { if (!a && b || a && !b) { return false; } var p; for (p in a) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (a[p] !== b[p]) { return false; } } for (p in b) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (!a[p]) { return false; } } return true; }; var isNamedExport = !_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; var oldLocals = isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; module.hot.accept( /*! !!../../../css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../../source-map-loader/dist/cjs.js!./bootstrap.min.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css", __WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../../source-map-loader/dist/cjs.js!./bootstrap.min.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css"); (function () { if (!isEqualLocals(oldLocals, isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) { module.hot.invalidate(); return; } oldLocals = isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; update(_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"]); })(__WEBPACK_OUTDATED_DEPENDENCIES__); } ) } module.hot.dispose(function() { update(); }); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_source_map_loader_dist_cjs_js_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined); /***/ }), /***/ "./src/App.css": /*!*********************!*\ !*** ./src/App.css ***! \*********************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/style-loader/dist/runtime/styleDomAPI.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/style-loader/dist/runtime/insertBySelector.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/style-loader/dist/runtime/insertStyleElement.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/style-loader/dist/runtime/styleTagTransform.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../node_modules/source-map-loader/dist/cjs.js!./App.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/App.css"); var options = {}; options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default()); options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default()); options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head"); options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default()); options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default()); var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"], options); if (true) { if (!_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) { var isEqualLocals = function isEqualLocals(a, b, isNamedExport) { if (!a && b || a && !b) { return false; } var p; for (p in a) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (a[p] !== b[p]) { return false; } } for (p in b) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (!a[p]) { return false; } } return true; }; var isNamedExport = !_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; var oldLocals = isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; module.hot.accept( /*! !!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../node_modules/source-map-loader/dist/cjs.js!./App.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/App.css", __WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../node_modules/source-map-loader/dist/cjs.js!./App.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/App.css"); (function () { if (!isEqualLocals(oldLocals, isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) { module.hot.invalidate(); return; } oldLocals = isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; update(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"]); })(__WEBPACK_OUTDATED_DEPENDENCIES__); } ) } module.hot.dispose(function() { update(); }); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_App_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined); /***/ }), /***/ "./src/index.css": /*!***********************!*\ !*** ./src/index.css ***! \***********************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/style-loader/dist/runtime/styleDomAPI.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/style-loader/dist/runtime/insertBySelector.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/style-loader/dist/runtime/insertStyleElement.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/style-loader/dist/runtime/styleTagTransform.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../node_modules/source-map-loader/dist/cjs.js!./index.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/index.css"); var options = {}; options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default()); options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default()); options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head"); options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default()); options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default()); var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"], options); if (true) { if (!_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) { var isEqualLocals = function isEqualLocals(a, b, isNamedExport) { if (!a && b || a && !b) { return false; } var p; for (p in a) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (a[p] !== b[p]) { return false; } } for (p in b) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (!a[p]) { return false; } } return true; }; var isNamedExport = !_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; var oldLocals = isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; module.hot.accept( /*! !!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../node_modules/source-map-loader/dist/cjs.js!./index.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/index.css", __WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../node_modules/source-map-loader/dist/cjs.js!./index.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/index.css"); (function () { if (!isEqualLocals(oldLocals, isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) { module.hot.invalidate(); return; } oldLocals = isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; update(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"]); })(__WEBPACK_OUTDATED_DEPENDENCIES__); } ) } module.hot.dispose(function() { update(); }); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_index_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined); /***/ }), /***/ "./src/layout/style.css": /*!******************************!*\ !*** ./src/layout/style.css ***! \******************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/style-loader/dist/runtime/styleDomAPI.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/style-loader/dist/runtime/insertBySelector.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/style-loader/dist/runtime/insertStyleElement.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/style-loader/dist/runtime/styleTagTransform.js"); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../node_modules/source-map-loader/dist/cjs.js!./style.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/layout/style.css"); var options = {}; options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default()); options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default()); options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head"); options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default()); options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default()); var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"], options); if (true) { if (!_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) { var isEqualLocals = function isEqualLocals(a, b, isNamedExport) { if (!a && b || a && !b) { return false; } var p; for (p in a) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (a[p] !== b[p]) { return false; } } for (p in b) { if (isNamedExport && p === "default") { // eslint-disable-next-line no-continue continue; } if (!a[p]) { return false; } } return true; }; var isNamedExport = !_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; var oldLocals = isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; module.hot.accept( /*! !!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../node_modules/source-map-loader/dist/cjs.js!./style.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/layout/style.css", __WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../node_modules/source-map-loader/dist/cjs.js!./style.css */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./src/layout/style.css"); (function () { if (!isEqualLocals(oldLocals, isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) { module.hot.invalidate(); return; } oldLocals = isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; update(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"]); })(__WEBPACK_OUTDATED_DEPENDENCIES__); } ) } module.hot.dispose(function() { update(); }); } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_node_modules_source_map_loader_dist_cjs_js_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined); /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e": /*!******************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e ***! \******************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e": /*!*********************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e ***! \*********************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e": /*!******************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e ***! \******************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e": /*!***********************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e ***! \***********************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e": /*!*****************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e ***! \*****************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e": /*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e ***! \****************************************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e": /*!************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e ***! \************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e": /*!*************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e ***! \*************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e": /*!*********************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e ***! \*********************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e": /*!*********************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e ***! \*********************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e": /*!****************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e ***! \****************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e": /*!****************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e ***! \****************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e": /*!********************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e ***! \********************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e": /*!**************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e ***! \**************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e": /*!******************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e ***! \******************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e": /*!***************************************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e ***! \***************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"; /***/ }), /***/ "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e": /*!**********************************************************************************************************************************************************************************************************************************************************!*\ !*** data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e ***! \**********************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e"; /***/ }), /***/ "./src/Assests/diamond1.jpeg": /*!***********************************!*\ !*** ./src/Assests/diamond1.jpeg ***! \***********************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIQEBESEhMVFREVGBgVGRIWFhcWGRYaGBYWHhgWFhgZHygsHR8lHhsWITEiJSkuLi4uGB8zODMtNyktLisBCgoKDg0OGxAQGi0fHyUrLS8tLTctKy8tLS0tNS0tLS0uLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAMEBBQMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABQYCAwQBB//EADUQAAEDAwMDAwMDBAEEAwAAAAEAAhEDEiEEMUEFIlETMmEGcYFCUrEjkaHw0RRicvFTweH/xAAYAQEBAQEBAAAAAAAAAAAAAAAAAgEDBP/EACERAQEAAwEAAgIDAQAAAAAAAAABAhEhMQNBBBIyQlFx/9oADAMBAAIRAxEAPwD7UiIgIiICIiAiIgIiICLXXrBjS52wyef7BY6PUCrTZUAIDwHAGJE+YQbkREBERAREQEREBEWrS6ltVgewgtPI8gwQfkHCDaiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIi8cYEnbyghfq/UW6ZzR7nkNA+2TngQMngSc7Kt/TPUzp2HM04utJ7jJgYgQ75yDaNyRHR9SdWFWpY0S1oIBmbp3NoPwYnx8hReloAnciLSY2MkG3yfb/AOUQdsGLO7XLzS49K+o6dcua5ppvbEtcQd5xjnnwZEEqYpvDgC0gg5BBkGfBXzb/AKJzb3uIeXDsLWnucWluCMx7jBAAFMGJyurVV3HNsNiW2w4EuZc0YJmGhxgiBM5zGTKzHrbjLlx9BRUnpfUKraTWl7xl5AN2B6jhTbNuxhsZyD+FJUutVDfaQ4AXYaXEEj2uyLQDGTHIgKplzaLO6WRFWdP1esH9xLmQR7WyCM3CIFsAzO2+VoPXHv2fG8wMB0Ota3BmY5jY4ggjZlss0tT6jW7kD7kBc2t6pSpDucJgm0ZPbv8AbjdUbV1H+o59QVC1zQBnIhwa5jriJ7iNsS+OClenUIawtkNc6XQ0i4A0xLhAySM8SJJO8zLd0q46m0lX+qnV6Tgxhpgh1r7pL7cENgYkyJ3xjyun6Brt9KrSBm15cOBDtw0cAH+VU2aB7ZD3ucAXNAEfqkiYMEug45k48d3Repf9PVDjkHBAkl4MRx4Mzt2rMd+0ys8j6Qi1aXUNqsD2GWnn/wCj8rauiBERAREQEREBERAREQEREBERAREQEREBV76k1jnTRYGm6BEnuyZ9uRaBP3j5ib1laxhcBJ2A2knbPCo3qGrUApvNxuOCbXAsdHdyZBHO4BIiDlEXX0rajmA5ba9xmXDJbOBuMsHyI+y32ENEuABAgEkiJklxM7DySCGwB526OpbUk3ENdcZ/UCHEtBjIgx8Qpjq3Q3W36YEsfa4ge5rZBtA/b/c5d8ERedjpj3lcbHuBcHAh0SXHcOe60VHjfFrQBMZ2jbuYGvaXAtDXuPc4XWCwAG6PcYgAgxPwVHaXBaAwOaXATJvAAgEy0WwBicZ/J6DbTDS17m8mABBaXOuc44cQ7H3gZuBVIStNoBYTTcLfTfA77Ra4U2wctIdIj5/trZpWFrmttB9OwlzXA5Lg+D5F0ZBjC01aj2G0CXC4tBa5rzi4PIIgkQ4Aydgtrq5Ln0wHbPDbhJhzAbsDLnG6PgGInGjOn02mxxtcAA5zLT3C0hpmB4HPyV6KTbWgNcTaxuAG5D5pPJP8ytB1BkmGtgPJAIcCLGgtIGwNphw2khKupMElrsXtIqTD2sAgFvLg9wEgcf2SSeFtrbW9stYxrpqAj3kOAhtN5O1xu3wozX6qHPJJLmme45gtLHNdGAQ4Eg5iAPvv1NWGhzyXC0Na5shjgwEmScucDsIGYyOOWvQbRY5wIJIDrnjt7T2gAzcN4cB5MHhs0hX6i8tL5tIDoGwlrDOCIBhxif0SAsCIMjFSQ2fdggdwI5zJH5M5Uj03otavVvpuYGjd4gsy0FwAA7iXGfGBtlSnWqTGGnp6QywSX4lxgyXZ4HnAk7KO3e1cmrGH071A0n2gf03ulwdgg2sAdxGB44jcSboCvl+nqW2eBi0ZAc+RzOAXHbgRB3F9+ntUH0Q0AiyG7gyI7TI+P9GyuISiIi0EREBERAREQEREBERAREQEREBERBG/ULy3TVI8Qfzx+TA/Kqmla2k8uHc9pL7vNrnudBJw23Mu/ZAyrV9Q03OoGPIn5BkfyWn8KpdOwXNByDfiHAG5plwEYkuHcczJUf2V/Vv6tp2MqXnNMtvYBMm8t3BmYho/JClega803GhVgS6G52wcRwDGDzJWjRlldhobOZ3Uy+2cj2FxJJOQZjkfZaaFMvIY/tqXGwnA+WOMY9pg+XHGxVMT+o6JRe4vttfvIxmCJj8mfM5UFr9BVpvMgkQGtc0OMjJIG8Ek5HJbgKQ6d1R1INZX4HujLd8ETnbxtG6nKNVr2hzSC07EbLMsf2bjlpTdPLGMY6HbS10ugkk2tcCIAB2n9GPnoY5puEWkt9sOcHwXgAQMNGQSPJ4gid6h0ptY3XOY+IuaeD8eflczuiuERUnBB/TvMHt3MGM8eMRutRm91F6ZxL6bZce0H25hhutZcZIGJJ4H99NRkMhoYIAILsucJORMlsQd8985iFIUek1XOF4DcyTIcMAgQAZzI8RHPPY7oTSABUcGie0BoGSZ24/zgZgQpx3fW5STxXKxfUqXC5xPYQxrpABJbDWja0mSDBdb4Ur0z6ekTWHbxTGD8FxB4wAOLR5Kn9LpmUmhjBDRxJP+SuDqfWBTltMXVNsZAMgEGMk74A4W/r3Z+3NHUdWzR0YYACPa3Jj5P+d1WdXRLaVzyS6qHBvBDcOLo8uMDxE7lS+n0BdfX1E2gXWu9xicGdhEY/4kxWrqvq1H13RY21wbk5xYNjExJ+ATytS5DQljnPG0C4tGNi+CZiIjwQTIGZn/AKMqktqNmQIJxEEgY3M5uH4GIiYV1N2bTtIJkOLjbNVwtzgENmMgcqT+kADWqulskQWt2wRBHwRBypvsVPKtiIitIiIgIiICIiAiIgIiICIiAiIgIiIOLrNO6hU+Bdz+kzGPMR+VTaencxjWi8gCLXe0su/cbWibeZPPJi+VaYc0tdkOBBHwVTdVRFOq5hh7pIY6AXTbuA7E8EYGC6RkLnlzKVc/jplQqki4OBdcLSLGNwXQ90SQC4Bp3M7+RJ19MNSxtRgBqtmYPugkT4mQf+Y3iXNEgmHCQ+w3PJEi5p917xLIGAJJXRota9rpkEsaLologNNtK0bvDi4RAw0D9pVpden1Dav9OsCHh1ranIMmGn843I/tKyq6KtQn03OLd+xnPiwHOBvySuzW6JmpYXNw/a6TuCJxz9/suPT6ytp4bUYSOAS3AG5BB29u5xn7oxvo9dghtSmW8EzEHF0z8+CV10urUnECSJncRsJz4/Kwpa3T1LXENDznuAJBkiLvuPPhbB0unjcgCACcDH+fMnnK0YDrVEgkOJgTAGft9/g5XO/rotJawgwCJmIJiSAJgedvnaeij0Wk3eXYLYdBwfxuuqlpmU5IEYguJJwOJJ2QQj6dfVAThoPBgff/ALo2kRtsu/SdKpUe92XDJJJgZmY+F7rus06YMdzsQ3aZnk/b+FDzqNbJgCmMTMNHN0EEnEH8RsUDV612sqimwRTEnJjkZJPieJ3WquWixjIAaYbHY4uIAdXEEAwA8fM85C3al9NjTSpOtkQX5mo4tBABM2kGJHE7bBcQwLZdaIucdwW3H0wQAQ6PAgyfusHJUuP7S2G4AaXWAgtd2+642uIGSW+Cp36Wab33BwcBABk47TMuM7OaYOxL/wAQ+oa43jBcSXObgC8iA0sJuEF2bDgP85Vi+mKQNP1Z9+w/a0w4D7wWg/8AiFN9i55U0iIrQIiICIiAiIgIiICIiAiIgIi4+odQbRAu3M8xtEoOxFB0PqFpJBaYmAfbju2u92w28qba4EAjIOQVkuzWnqr31DoT3PB/pvID2TE+Y+CBsIyPkxYVo1umFVhYTE5B8EbH/wDFmU3G43VVDRuJAc7Du/JIDWnIfAMyYLsu5DvEL2tSuLbxuHdtUgui3tdYGTdGzeYyBKainUZWILA+oCBdZ6oY0BhkAD5bGxJO4jO+j2mbnS4Gmyk9zBN5JcHZNrpiBgdpwVmN3G5TRpqrmGWu4JDi0MbFTM7nuNu39wBtOUNfSrth0RLiJ2Ibs7O0j+CoUhsWuLHdzJDQX3BoNpAcMuJhsY3ztC1VKJkdzg4jFwms6XQbARDRI8Zj5BVJTep6IHHsIa3HYWAgQI7Rwud/TKwf25E4ddHAAJAjOOB5C1abXvDjD7gHsvbHtntc2XYkH5HtJ4IPZS61kB9NwdmcGQRdDY+bTyVo5xptTfgvHdNxfLecwDJG3bx/Guh0is5/eS0Z7r7iZGwGZHmd5KkD1yjaHB2C0uOR2gSO6PkQtT+pveHWNjDRJxa5xGJMcXbA+38IFHptKjmq4O4gtAbnORnkfZcer6re0WEMpi2Hfpu7uyRsDgT/AGBzGFN/qVXyXuAMkAGm9jmh2wDrnO3jcfC0MuIuOHgAFxL2PkPBZ6lHkxGfEnENnBrqtcA9vdFoY6n3VGhrXCfTe3OIkzJxuBlNXhoutDS0sYahy4C4055aXQ6XSNtsydxaXXuaRgVAGS6+XAX3ACQYmII34G2pzH0yfQDi7DQGk3gDZlYEcunMyMTgQjXPpg41wwYyC2pcXA5DX2uG4IqNI39sSMEXPS6cU2Bo458nklQn09oZDXk9jfY3OxAI32ABB5JMcNCsKnH/AFuX+CIuXqGubRaC7mYExsCcn/d1aXUig2fUTbnAtwDAntxMEy7B84U1TeHAOGxErJdmtMkRFoIiICIiAiIgIiICgPqkuFlpI+wMwCLmggGbhAjn4mVPri6oKZY4PtLg0uAJE7ccx9ll8bFQFUn04qA4AMgtGWsEEt2ktcY2z8CbvpZsZJkwNxH+FVukVaLnn1GMa3JknA3hpBO2+P8A0rYx4cAQQQcgjII8hZjNNyu2SIipKC69oXd1VocRu5rSATbHbn9LoaPIIlRunrH9Ic2mCGl/YwgtMF5fl1RvvEluTP3VsrU7mubtIInxPKrzaBovNzXXT2vAkNvJBiREEuJ3uExkRHO8q52OdoL+0GCe5lKTADhIf6knYueRPkfZbaLZLBT9sljmtc0EuIALr3OnDZFpAIt/C03XyHl1U+n6gaZJbfBBcCSBjgTOfBK36hzBAda6zZ1S8Ah+WwGggGOc8H4FxLVVuNNwdcGkBrSZtBBHc5zCMYIGDMczByrEtY51/dU3faR/VYZw2+WiCc7bznBzo0rQGxXa4uLLhdkSH3kmOJxEfAyFX+ra6ym+oAIaAAIABkwyQIxJud5J+ETllMZbfIkKGpcH3XHuc1zpkgw5zoa0EHckxzMgYhdzSA1tRzgC4mq5j3S1wvIFhJxuYbtkbSvk3Rev1RqCXuLmVCA6Tx5+CNxHiF9N6bqod7i0sDsgQXRBt3wHCXZkA3YnJ1x+D8jH5pdc0kXsdHtlkOe11Q2SDFzSASSYg/pnOVx0qJB7nNc5o/URcW7gMc0wXTcWmAZJF2F1VGwZLCIM31ru4vAwYBB4x8cRC11GCqG72SaQa0F9ptdD6Z8TcQP42WO7yuyzcGNqd/Y9wBFzXdoEQ5xHGAMZWqjQqPqsHpRVzdUFrIiwh3b7p25jMDkKFY57HPFQM7GlwBdLgRaN4hsiQNypvo/TzT73+4iA2ZtBImT5wBA2A3O6m3fIuTXa7tHpxTYGjPJPknf/AHwtyIrQKE+py4MaWut3yAcbd0gGP95U2uXqAplhFS3YkAkAyAfbPKykUx1UwwB4kHMtLbIAuDrfbtFo5IlXXp4PpMnx4iBwB8AYVX6ZVpGrD2Ma0kneAIE4BOxPnOQrbRe1zQWkFvBG0fEKcZpWV2zREVpEREBERAREQEREBU7repHqvOHz2jAwAW3NyN9yPO/yrN1LWCiy7EnAmY2JJMcAA/fA5VV09NzwXEzgwIgGXgEO37oAw0YJt8KMu8VjzrQ8vBa97mlrW2Q0t9okmDvkT3A/pzuCLL9MuAo2B11p/sHZAB5G/wDlQ1GgXXB5DmlxugW4jJxiCBGT5Odll0rVuoVO/YxfIIjAkk8mO7kFoMbLNTHrd28W5ERdEC16iiHtLTseRuPBHyDBWxEFX1uhqU2WFl1P1Gulpjd7bs7tkSMh0TghGasvZIqPERVLnkXEAOJDMEDsE5nduArJqKIe0tOx/wAeCPsYKgdT0yu0FrQ14nHtxce5wDiC05JiXCeMrn3H/i+ZNbaAaxgseHuDiT6mBeYF3HtjaJwMqvdV0gq0qlOA0uaBBOAQRIIHzgx/nYzeneC0sbi+03GbWMIECSDu8EeRAnC0a7TB4eQ6CTaAGz2gGHO/7iA3bjxkipd9c88JZcb9vnGg+lKoqAPbaxpy5xEETmCDP8fcK86LvqFwBgXkxEhttpIun9xwQZmI4R3TLWh4hzSCQwXOOJuuB8wf8qRoacSQ1wLgG1Q4gC+IkPxwGvgADeZVW7cfg/Hx+Hf6/bqFInAuaXUyLnnctIbUDmmYhoHjjc5GmvqS4v7Xuu7oDgA5zYbIdE9zNhG0icLJkPcSGBznb03H2ucReDDozbMcAeMqS0PT6hsNTDWZDMfuugwTzHJJt4UW75Hpk12sum9NcKnrVMP3jG9tsmPiREncmfEsiKpNMt2IiLWCqf1BqR6zjN2DTAibSB3DI+Cf9hWTX6oUqZeY+JMCfk8DknwCqlSvqF7if3uHaWy7EB8kx2k4AkAA7mFGXeKx51zn1BY65trJAaLMA92fMDtwcWtOysX0s5opuYHT3FwH7Q7iTuZ3+6i6NBxc4Egi6CACInkD7ANgxJ+cLzp+odp6gMGLctgkxd+7nEWmTMEHgrNTHrd28XBF4DORkeV6uiBERAREQEREBERBW/qnvqUqchpAuBLiBJuImCJj0zA5JG0SuCvVDWh3xEE29roJd2DJm4kj9x2kT2/VRioxxDcNEFxgE3E2k8CQwEna75UD1um51OqxhBdYWNAkzaWAweZgCJ3HEyeePtb8mVxw3Jvh07qNOtcKTgWiaZLiewZBJxtJmeDGfcu3V6f1ZBLg2w1ASYuaBBY2RBczxkZb+KR9F9Pq06lRzmua0NIMgiSSMAHc4Vx1dUEOuN7SZBJhxuuLpaDyTGQMlp5AVZzlcfxPly+TGZZTVXXQVb6THHeM/cYP+QuhcfR2xQpDw2J8wT3fnf8AK7Fs8dr6IiLWCIiCN1fSQ4ksdYTMiCR3e6IIIJ5g/hRRYWuNN9QtIDqYOQ0SGFo3EXBu87yOSDZ1ya3QMq5Mh0RcImPBBBBH3+VFx+4uZfVQlV3cHGKbXkPbU/8AjFMOEYAuJmIB2K86ZpKtWO9zQwAw6Za915I7SMw4SJjI/HdS+n2giX4G1rGtI+xMx+IUrp6DabQ1gho4/kknc/KatvTck459F09tPJNz890RvuQPnyST8rsRFUmk27ERFrBERBX/AKqh/pUzABN2XFoJ9oa4jghzpHOByox1S1jXTc4ZyQ26e17haNyCTiYBHwpH6tA/pkgQA7uPBLmcjbxMiJmRuILqYc5tQNLbixzWhpJEkE9rtiO4gZ2K5z+VbndYbaen9Tp1HFtJwdbLXAkwJPc+My2D8xkzyZCrpjVtaHGCMEkw6GmaYMCTda8RMTtkqhfSHTKzNSXOa5rRcHyCJkbCdzJBj4V1r1pbJIe0tBlxgy4S4BoMkdgbmN5VZTjz/ifLl8mP7ZTV2t/Rat2npEcNtnzbgH8gA/ldyjvp9gbp2AbC4CdyL3QSpFbj5Hoy9ERFrBERAREQEREHB1jQ+tTEAF7Tc3+HD8gn8wqlUqhpe17SA3tMG2HENLTkYaYJgk5AGdxfFy67QMrAXTIkBw3g7gzuD4Ki432KlnlVOs304NrnZtB2JJAIgFvh0WngSStvSdC6ubXDsaYfUGA6LcNwIy0bbXEzspaj9N0w6S6fgANJH7ScwPtCmWNAAAEACABwBwmrfW7k8etAAAGAMQvURWgREQEREBERAREQEREBERAREQcnVNJ6tOABc0h7Z/c0yP77flU+o4UnFj2kMaO/Npgtta4mMDsgnIl07ZV7XNrdG2sAHTI2cNxO8f8ACjLH7ipfqqk9oZDyHEduR2nuBIDcHbaP1QOFl03Rvrksc3AP9R42ywXNbAAG5wJkwcQVMM+m6YdJdjaGtDTHicx+IUzSphrQ1ohowAOE1b63cnj2mwNAAEACAFkiK0CIiAiIgIiICIiAiIgIiICIiAixLliaiDYi1eqnqoNqLT6qeqg3ItPqp6qDci0+qvfVQbUWv1FkHIMkREBERAREQEREBERAREQEREBERAREQEREBERB4QvLVkiDGwLywLNEGHphPTCzRBh6YT0ws0QYemF7YFkiDGwL2F6iAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiIP/Z"; /***/ }), /***/ "./src/Assests/diamondring.jpeg": /*!**************************************!*\ !*** ./src/Assests/diamondring.jpeg ***! \**************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMWFRUWFxYaFhgXFRsYGhgXFxUXGxUYGhgZHyoiGRolGxcYIjUhJikrLi4uGx8zODMtNygwLisBCgoKDg0OGhAQGy0lHSUtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rLS0tLS0tLS0tLf/AABEIAMoA+QMBIgACEQEDEQH/xAAcAAEAAwEBAQEBAAAAAAAAAAAABAUGAwcCAQj/xABAEAACAQIEAwUFBQYGAQUAAAABAgADEQQSITEFQVEGEyJhcTJCgZGhUmKxwdEUIzNDcuEHgpLC8PEVNIOistL/xAAXAQEBAQEAAAAAAAAAAAAAAAAAAQID/8QAHhEBAQEAAgIDAQAAAAAAAAAAAAERITECYRJBUXH/2gAMAwEAAhEDEQA/APcYiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIicMVi0pi7sBA7xM3W7YUgSER6hBIsoF7gAtp0AYEnYXlfW7Z1cxUUEVrqMr1De73y3yrZRodSbWBO1r6+NT5RtImHxnbOvSJFSnSW19+9FwNyPBqNJ+p23q6Xw6EG9j3jKCV3Clk8RHQajnrHxp8o28TM4btbcXajYdVqpb5vlEtE4ylrslVB1NMsP8AVTzD6yZTYsokTD8ToucqVUZvshhm/wBO4kTtDxPuVQZspqOFL6HIvvPY6G2g16+UYuraJn8bRamv7RRxBIAuRUqF6dQc/wCk9CsscNxak1JarMtNW+2wFiN1uTuCDGJqfEgLxvDHbEUT/wC6n6ykxfH1bEmm9Tu6C6Bla2dxfMC41UA7AWvY/BhrVRM03Gko1EC1xXpuQCMwZ6V9AwZfaS+4bXmCdppYsNIiJFIiICIiAiIgIiICIiAiIgIiUfaXi5pL3dM/vXGh+wv2vXp/aWTUtxw7Q9pO6JpUbNU947rT9ereXz6HL4PFgu7VizFbXLBjdmtkVdgSdumqjnPynhmCnICzf7idyfU3MqsT2cCXUPUcVbEZwLg5iFUkHYsVUD3BfMTpfeYxv3Vrw3G0zVd6ji6hnYKRnp+J2Cm+jZUuba28tJww2KSpWL1FK964FixGraWGU2qaczzY28vjF8GqJTRr3sWXLkXbkumwFyQD5kb2Nc3Aa1TvMQK5K5QWZc4LIR4WAsAuZCLrmO+5sRAvO01VXq0qKqxfI3iVACCxIVSh5KFLA2voD1Ms+C4SkVNrZH0YtdLLY6KASPER+O51OToVajWUUiEBdQ91Yl/bACmwVgDmyjNprtt8h6+GdVRRZ87gbuCjWAqFzYaXAtbMD8A5XjXzhcJRao1UU8w8V1s1Oo6qfCC1twMt2GvM7XmgxmDq0qZr0nI8OdwpUMBYnkQzE2J9q5sTpKTBYmnRJNNBmdWs+Vi4QmxpkbWuPX0Fr3GI47Tq0GpXVXqJ4r2zasDSZyD4A1tQT65RrF4JNSsDxmo1WnSxAWqHcIFej7pFg4c7HNa6tc2O/V2kpk1qaUlA0cNTvZQARqoJyi+ug3sBM7wXhVWricOqBgyPnrPZytNLBguY6d5q2+oIGwFj+f4kBqhp1qBqBG71M2UhEbVabBralhc+WnWERMepoZ2RRe5u2ZnXQ2so/l38gBNRg+EI+HBq0Si4hUY3580zfeF7gnXXSxl/iuHnIwpIrsUBXNaytpvprcFviB6zL0qLu1OlndVz5GNWs5zX948r5rAAADWalwsQMN2ZrE1aKKXVHKhxa6sVDC4J0BBHlodRJ/FqDaUlNNK+a9XMcwp02VCuZAfGSFe2wvfxaTKU8RUfEFab1LuwQksbsQQi3PM+s23EMfisBUelVY1MNlLJWYXZRsFuurPey2PUG4Ez9tRnMRxHB4NlQMFXP4siaAsdD3a+I730vPY8LXV0V0YMpFwQbgiZHHcaQ4U0qDBi4ak1/bSo9Mm7r7o3Nxfykfg/HUwj0cOzM6vlRbAtkAFhUY+6twB9dgZLLVkxu4iJhSIiAiIgIiICIiAiIgIiIHDG4kU0Lnly6nkJharM7s7asxufyHoJfcermo+RfZXc8s39v1kGlhE95mPpYfjebnDHlyzWLx5XEU0UFgDZgLW7w2yhjfw+0OWv1EbifET3quzXDva3djwopGQAqQRe99bC+a5Oom8oUMPzDH1sfwE71OFYKoCGpUzffSxPxEtIywepiGqMtu6o0g7KqkMxYFhax9s5bbmwAPvThR46P2ZspHfFCo18QzFBooNi1mJtcsANjsdZU7I4RhYIbGwsKj2sNhbNa2u0rKPYRKLK+GcoVN1DePUeb3b/AOUnByoeDmn3qUny95ZQVAsFYC4UKwzG17H+kjkJ9doa1N66oNWNNL2p+2zWKgpe4W3IbhrcgZ14t2TxbVDUNYNc3YAd0TcgnxIpB1A0I1tvIuIwlairfu1q3NMn3nUUyPCCosFyXG45cpcqbFvwvhTd1Uok92zVHYKFJRdhcKNAotYAcz/mOawtCjTqK5GbMT/DKZCmQmpYEbg2a9wugHpP4Jx5lRgxsqsC5UnwrazMwI8VxqQttvgYVLs4+RHqIRSLJUZxYLlVw2VVUXbMBl8Vrg7QtbfD4WnhsG1MHw1NsqhCqVAqrpsDaw5a321mHGKy1nwAoYgioSF7wU6aVMouGQ1agDFdxlufDe2k1yGpi0NUMiIpJZSSX0GpY7Cw921tN537PYmliLPQV6tNXt3jgqrMm5UNa4U21tuNL8sW2U1W8W7TfsiVcQtilJTdSbB7aKpPIljoeV+fOnHaEY6niCMOaJyK4s3eK5AzanKLGwH1Mp+1fEQrjDiucNXzBqrMldStOxsFKIS92ttobHWWHBeJOrZO+/bgVu7jDrRCL7t6hUuxudiOZHWbt0xH7G4KkcZ3jvoi96Rv4ibD13LetpqTVZ2JJB8VxdQcig+G19CRv6yJw/F0jjO6GDpi+H7ysaVkClntSBsNWORrDzJlvTGHJX2gpubXII/EWEis5jeIOeKYSh3LpTLm71PEKxKlmK6kW05m/UCabiXC6TErnNGmbhmZgBcg6Lm56E+gMz+L4g68TpUVV6tAFWVhc/yyTYqLE30+MoO2vEs2LIrs1RqLeGgFNOkg05nx1SftBQG5G1o5vSxqsP2hWxSti6yHalUUKEsdKZItdidBbWaPsfxWrWR1rWLU2ADiwzqfZJA2bQzzzEIqBEqAMfbGVRkuCGQoL+GwZdD5WOumk7Icfo0QRVDoKhFqrAZNBoGsbpuTc6eYls4Zl5b+J8owIBBBB1BGoI5ET6nNsiIgIiICIiAiIgJ8VnyqW6An5Cfc44xL03A3Km3ygZdnvPlmCi5IA6mcFqSJjSTU12UAD4gEn6/SdHOJqYpSdL+ttPrrLscHbk4+RmcpTVcDxmdMh9pfqvL9PlM2tSOH/jqq7EfA/rPv9orp7Skj0v8AhLeJNXFWnGFO4kfGYXD1ueU+g/Ay3rYZG9pQfUfnK6vwJD7DMv1H11+ssqWM/iOzdRdUFOsvMA5SfUXsR8Zw4txWs4FGogpjTkUOm3hbcehMuKvD8RT1XxD7p1+R/vOL8TJGSsgYc1qL+us1rLG43BOWVkbKQbsQtw621B6Hofxm04DxNaNCnTyWUKoUKNST5cySZFq4CjU/hu1I9L5l+Z1H19J0oV6OFUVK7DvCGWmtwb5V9wgWJI52FheTy5ixmO2FKo7qlanZgSUuuYsT0cDQeQPS8s6PBRh0SlTqC7FWqsBe6WJIW/U2UE7Ak2vvpkalUpg1iiDcL3gPXUseczNHA4jvO/o1AyVM4OFxD5WTKx7tla1yeeXbLs2xnGXyvprpJ4xko1MPSvlq10qFRr4hRGZrt1Cso111lDx7HmigORij3XPTIz06m62UghgQDobbHqLTcVxatXxSUcRRopVoMxRqdRn0ek4qXDILe0m19jLWhw7EhSx7nLnHsszHL53Ua3/Gdp7RH7GUsRUwZqFrVAziixFs5AspqBfdzkgjy8pF7Rf+OxLVzWwxbE0rLUFNm74G37vRR4lItZrFbTTDj4puKbqWzAd2Ka6ncNcX622HOVtDFZsSWdDSqn20t7diBTYsNwoPytttLzaXyxQYDsx3aKuXKiKotoWLbvcgC93za/hLKngibJkzF7gLoL2Unc6DQTavRTKCdlHznn3a3EnvSoNjSTvDem7LmOy3UaFQNdjrbS0u6xH5wvG1cMb4ZsybtQc+E35o26H4W6ibngPH6OKByEq6+3TbR19RzHmNJl6/B1pqxOZqtg3hUp4TcWG4IUgnW9r30vrRE3LVM3d1KNV0WoDlfwaM5HJC2YWJN7GSyVrcetRMnwHtcCVo4qyVDotQaJUPIfcc9DoeXSayYsxqXSIiRSIiAiIgIiIGS4xg+7qG3stcr+Y+Erao1v10+X/PpNvjsIKqFT8D0PWY/E4cqxRxY/8ALETcusWZUVdDJ+DrlGDDcf8ACJEy6TtRhY2eFrh1DD/o9J1mXwOMNNr7g7jr/eaSjWDgMpuDMNOkREBOdairCzKGHmLzpECoxPZ+mfYJQ/MfI/rKniHCK6owBLLa90YhhbpbUHlp1mtiXUyPIKPDcOtdsRiab4gHUWAzLYWvpYubc73k1a9JalV6IfJiKLU2NYnvUuDlCNmJUZrX2I35S87VYYJW8K6OuYjzzG+ny+soKlEfZtc2Pppm+Nj9Z07Ycqnaw0xQapQXEDLnWvcITQqaAqwFlfN4WQkAMp5FTLurWUlKiVGyVQpZWYeEU8zEMqk5WsB8hznOhg6R1K8rDXle9vS99JOoYKjqBdTbwm5IB5XHSTDVIrVO879Hyub5DbUJso10NxrbTfeSafEKzujVyrOoIDKuUHMCNPW/wnHF0ihCspU208x1B5/CfmBoEuGI2va/L+/lNI2FfHhaD1GYIlKmSWO2fLpfrY2+JnmVKlVpkVqlSqzZAGU1VdGZwLrc2bPnJJ0sCDobgC/7VVmr0qWHpa0w7GqFqIHbu1LG6tfw6Gw/pOtspncDwanChrEl7hiSP3RA1WzalQNORNhbQzKqSp2nNTJTRibNY3azk5gEYZrAqQbBdSNb7XnLD4Zqrmgcoz1XUAuzMqAOzZyRepd8zAgDTT0+sXhkIYqCxpurqEXwmkts4NuYewtoAGT2jcD5oVu4qLXdgSEITIuitlN2FwTtaw5lraDWOovdTON8MSjROX96FRs6ZvCe70qAZh4TYG1/CTbbNcWXZvtI9ApSr5jQdEam7/xKQdQVWoNbrYjXdedxqK+vx81mfLm7rLYsBmW1QALnOyNq18x8gdNfzAcIepRzs4QKWy2IYstO62ZTvcX0B0todLR32fx6grAi4NwdjP2eb9lu0/cO1Goc1FXyk3v3TFQwI+1TswJ+zfW2ono6m+o1BmLMal1+xESKREQEREBIXFOHiqvRh7J/I+UmxAwOJRqTEMp09of7l6/n67yKJBAINwdQRNVxLh6Vls2hGzDcfqPKYrHYSrhnJtdSdQNm6lSdA3kdDztvN9s9LJehnfC4pqRuNuY5H/nWRsE61UDIbi9uliNwQdQR0OscTfJTZugMitDwjjVHEZxScFqZy1Ev4kJFwGHK42OxlhP517PJV7x8ZSqNTrtUdg45rewRgdGQhR4Tpz3AM9b7KdtkrkUcQBRxGwH8uoetMnYn7B16FrXksNa+IiRSIiBC4pwxK4Aa4K6qw3F9/h5eUgYPszSQ3Yl9b22W9ragb8+dtZeRLtTHBMHTAsKaAf0iU3GODH26Q9VH4gflNBEaWMnhcQB4KqXF9VYfXXYyVW4QMpaiQQR7J3Hof1l5icKtQWYX6HmPQyqqYOpSOZCWX6/Ec5dTGPx3BmDMyoATl8Laap7A2011v1Mq24nUoIyBSzEuWBJQ/vXCBdD0Ghsw1G+89LpYunU0cAHr/eQONdmKddbEBunUeh5zW72nXTz7C4WoXpkklqhAu75wqVbMpLqD4tFGUg3JGx20vEOE0wMpC2CkMXBW7hb3ub5gfTS40Ep+Mdn69NhlAyZgbjMuXVdwp0tYnNrbytr9Y/i9TFOadPMGUNV8YUgoHvbUAqVyg2GbnrvddIiV6HcllVVAUAkWyHxICAQNGUNpmJHUWBubCh2hSjQFPMGZBm2UG7VG72ouY3PiawXQ632OnXguENXNUd8qghTcsxu6KQcxFwLsNDewPMCV/FeEKmSslMjLVufD7Ht5DdjYWcaDLbrHZ0+MIarqFDMznvGW1PQZyt3sBouqqbndfnqezPFHoOMNXFkNgjA3WnUP8q51yMb5b6j2TylPwLFKjVXqmwKsoGfZdS1QAbEkWABJOpFwDOWNxmdi2YFWdWCaMWdQwDDmQRc8h9BHZ09SiUXZTiDvT7msb1qQszfbX3WP3rWzDkSOol7ObZERAREQEREBOWJw6upVxcGdYgYXjHAq2Hc18O39QOqsByqAfRxqPTQ57tL2oV8M65TTq5bFDyvzBGjL5/hPW5le03Y2liFJQBW6bC/l09NjNS/rOMD2Twg7oDoBLbGcESoLEStw6vgnNOupVft8gPvD3f6tRpuNpq8PUDAEG4O0tIjcI43isLZKgOIoja5/eqPJj7foxv8Ae5TZ8K4vRxAvSe5HtKdGX+pTqPXY8pnBTE5tw1SQwurDZlJVh6MNRIrbRKTCYvEIt3XvkHvLYVB6ror+oykW2Ms8HjKdUXpsGtvyIPRlOqnyImVSIiICIiAiIgQcbwxX1HhbqOfqJWivVoGzDT5g+k0E+alMMLEXB5GWVMQqGNp1BY2B6H8jM72j7Kk2qUL+G96Ybw6kMSqnQG9+l8zdTexx/CWTxU7kdOY/X8ZzwXF2XRtR5/rNT0zfbGYbjn7MGpk2dy2rXC57AKGAW4CgZQSdzrprPujQrVavd6KxW5LtnQAeJcpQ+I5W56XudNQdfxvhNPFKXpFUrhWCOUBKtlOVhfYhrG/lbncYzD1mwVTPXBpsFtlC3ykkd4Q2gqAgAAi1y3ukEAPjjXB0V8yvUNh4O7sCxKDRTlOa4JGW19SOekjsvWQOjBlFNVNrNpcrbMMzE5gMzka+niE51cbWq1HzJ+7IptT56rVJR6LaAA3AuDuNZ+L2aNLmwaz1e6UjUhjdb38V3Kjc6gaa3l+hZJxHJWXEUizAuS4JBDAqisy25sqDrqq9J6JSqBgGU3BAIPUEXBnm+BwqLRQIpUFFNiCCCygm6n2ddcvIkjlNd2SxF6JQ702I/wAp1X8x8JPKHjeV5ERMNkREBERAREQERECJxHh1OuuWotxyPMeh5Tz7ifZbE4ImphT3lLUmnbbr4R7J8103JWemRLLiWPNuD9oKdYhb5Kn2G/2nZvx8hL+k079pOxuHxd2I7uryqINb9WGzeu/nMdif2/h38dP2nDj+ampUfe5j/Np96a4qdPSuG+x8ZxxvCkc51ulQbOuh9DbceUq+yvabDYhLU6gvzB0I9Ry/CaQGZvCqpMVWpaVV7xftoNfiux9Rb0k/D4lHF0YH8R6jcfGdpDxHDUY5hdG+0psfpIqZEru8rU/aAqr1Hhb5bH6TvhcfTfQGx+ydD8jv8IEqIiAiIgJWcT4StTxLZX+h9fPzlnEDGZnptY3UiTqz08TT7uoFze4zLcA+Y6fGXWPwK1RY6EbNzH6jymXxGFam1m3+h8xNy6xeGf4hw18LWpmrlFJCHBHskqSyoouMoBFyNspk1+ICrVYqpVVzKTltmvcuuo1UnK3K11IsQb2PEqP7VQbDswUkqVcgECzAlTcHRlut9xmvIq8Iej7dr67bW3+unwAlibw/C95cdkzao46oD/pNvzlMJd9mF/eE/cP/ANhF6J200RE5uhERAREQEREBERAREQEREDIcf/w+w1du9olsLX3FSloL9WTQH4WJ6ykPF+KcN/8AVUP2qgP59DVgOrpb5mw/qM9KiXUxnez3bTCYsDuqqluanRh6qdflcec0KsDtMv2h7AYLFku1M0qu4q0T3b36m3hY+ZBMohwjjGB/gVlx1Ie7U8FYDoCTZtOZJ9I4OXoj7SmxSKTtcTPYL/EWnfusVSqYapzFRSPjruPPSW9HHU6utN1b03+UuGpFKu6bMSPsnXTyJ1+suKNXMARqDsR+h2lIRJ/B30ZehuPRtfxvJRPzj/vSfU/CLyJWpgbEr6SKmRKWpjKi7Nf4Azg3Gao5IfUH8jLg0MjY7CCotjvyPQylPHavRPkf/wBSLW47WPvBfRf1vGI4V6ZUkHQidnxWdLHdRb1EiJiGYksSTvcz5bSbjnXNRrNF2Wo+F36kAfDf8RKCghJsBcnQepItNrgsOKaKg5D68/rJ5NeMd4iJhsiIgIiICIiAiIgIiICIiAiIgIiIEbH4ClWXJVppUXo6hh8L7GZTGf4d0b5sNVqYdugJdPkTf6/CbSJdMYE4PieH3C4hBzXU/I2b5AyVwvtSiORVpvTJABFuYOmhseZm0nHE4VKgs6K4+8Afxl39THDC8Wo1PYqKfK9j8jPnF4gdZAxPZPDtqoamfutp8mv9JBqdl6y/w69x0a6/hcRwcutet5yG7TjV4XjF3Un+kq303kciuvto3xpkfnLia7VWnBzPg4jqD+E5tXJ2EuJqRR0nVjPnC4Kq/sox87WHzOkv+HcBNw1Uj+kfmf0jpM19dnuHWHeMN/ZH5y9gRMWtyYRESKREQEREBERAREQEREBERAREQEREBERAREQEREBERAET8An7EBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERA//Z"; /***/ }), /***/ "./src/Assests/gold1.jpeg": /*!********************************!*\ !*** ./src/Assests/gold1.jpeg ***! \********************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxITEhUSEhMVFRUXGBgVFxgYFRcVGBcXFxUWFxUZFxgYHSggHR8lHRUVITEiJSkrLi8uFx8zODMtNygtMCsBCgoKDg0OGhAQGi0lHyIyLy8vLS0tLS0rNS0wNSstNi0tNS0tLy0tLy03MS81Ly0tLS8wLy0tLy0tLS0rLS0tLf/AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABgECBAUHAwj/xABNEAACAQIEAwUEBAkHCgcAAAABAhEAAwQSITEFIkEGE1FhcQcygZEjQqGxFDNSYnKSssHTCBdDgrPC0SRTVHODk6Kj0vAWNFVjlMPh/8QAGgEBAAIDAQAAAAAAAAAAAAAAAAEEAgMFBv/EACkRAQACAgICAQIFBQAAAAAAAAABAgMRBCESMUEiMlFhcdHwEyOBkfH/2gAMAwEAAhEDEQA/AO3xSKupQW5aZaupQWVfSlApSlApSsPiWOFoDbMxyoCdzEn4AAmgyL15U1YgDzNa+9xhR7qO/wAIH26/ZWILJY5mOY+J/d4Dyq/uay0jalzi9yNLaj1Yn7gKx34vifybXyb/AKqyDZq02adDFPG8SPq2j6Bh/eqn/iO+N7Cn0uFfvU17tYrybD1PSFydrVH4yxcX9Eqw+8H7K2GD49hrphboB2hpQn0DAT8K074XyrBxPDlO4qNQnadFaoRXP8Jxa9gzublnrbJmB42ydj5bHy3qf4e8rqroZVgGUjYgiQfkaiY0letVpSoClKUClKUFKtFXEUigplFKrlFKCtKUoFKUoFKUoFKUoFc77c8RYm5cs8z4K9bZ0G5tmzz6dY70n+qalPaPjy4e077kAwOrNHKo/eelcQtcVvpdN8XSLxJJY6q4YlirjwkmOgmPAjGt4mZ18JmsxDqnZ/tfhsQq5bgDEDlJg/DxqRLcU7GvnvHXsLdfMyvgrx1Jtrnsuerd3Mjfe2Y9a9sHxfiVn8RfTEKP83cVz8bb5XHpBrPaHf4q0iuJJ7VMbZ0v2I/SV7X7Qis2x7aF+tYb+q6H99NmnXStWla5gntisHe1cHwB+41R/a/h/wAlvjA+802jTpjLWNeArmv86T3dLGGu3D+apf8AZmvPE8Y4rdEstrCJ1e+4BA8kEtPqBU7NJF2t4ras2yWI8ANyT0AHU1ufZbiWW22EfR7du1eYTOQ32ukp5Rk++uW2sVaRy9otj8Uv9Nc5bFk+Kg6D11PhWx7E8auYXG967s4ugreb8onUEL4L0G8E+NY2tqNprG5073SsfCYtbgBBBkAjzBEiPhWRUVtFo3CZjXspSlSgpSlApSlApSlApSlApSrHcAEnQDUmgvqy5cVfeIHqYrW38Q7dSo8BofiR+77a1+IWJI3qdI23h4hZG923+uv+Ned/HIV5GViTGjKQNJMmdNPvqD3uGNeeHdo8AYHxithjsOlq0qW7YCqdwQpDGJaZjXTXf5VW5WaMVevbdhx+ctD22xLEIrEH35jYkd3tqdtfnUAxgqcdtRopnZ2U6g+8Dl6kj8Ud48hUDxr1HEn+1DLP9zSY1jBHTwOo+RrSX72v+Oo+3b4Vt8c1aC8sk+tWGlk2uL3k913A/Nuuo+UkVeeP3T7zMf0ltXP2krVtVhNBt04zH1LZ9cLh/wDprOw/aO8PcNq35izaX9m2ajYrIsrRCX2+O4lwA+NuR4Ih+/k+6sixhrTGWW5ebxvXC3/CsD5zWl4bb2qUcPSpSy7VgsApgKNlUBVHoo0FZNrCgGsnDJWY2HhWMgQCfsqZ9Ee017LYs/gtpgJhLfkNAq+Z2+2dqmStIkbHWoPgcGqWGtscpt27WoIUrlaAw0lfxY3kaRJFU7Q9psTgsPauLaW4vu3AxJZTGhkED1EaE6VzuLk1bxn5Wc1NxuE6pXPODe1O1d0eyR+i4J/VYD76mvDeL2b4+jeTuVIysPgenmNK6GlVnUpSgUpSgUpSgUpSgoawOMXIVFn33C/IF/7lZ5rS9qXhLT7Zb1v/AIpt/wB+guUxWNfNejXQKwcTe0rJCuDHN5mfWBv1nfL0P3ViY+HVyWYhY2g5QQCSPu5YOvSK98DdnqfHruWjxjp4T9k4i4lc1xWJUlUA3/IRuux200mTXI5VvK8xK9hjUdNN2jXPYYka5O9A2AykTpMBoFwwBp471zjFxEzv5iul3cg+jzM7MksZnl1Q8gUkcrkwNOUSYOnKMbdZSVJ1BIPqND91b+FbqasORXuJa7FKI1O86yI//a0sLlJM76ban/CthibxAia1KXmgidNum1XVYvWgJOsaZfOax69r1yQAJgeNeVEC1l4cVirWVYqRvuHHapJgGqLcPfapFgXolK8ANPOs22pYoPFwp9MwJJjpAOvStVw69Glb7hNoNdBJGVAXPqeUayCNM0MDoctY5beNJllSN2hKbNz6J4Dg50QwFBWFBnSAyksPLmMaVZxTB99hntEscw0zSSSQHU+B1j3ZGny8rQt3/o0ulXttnzD6xYtmUqD7s66+KwTGuzV+VtTCsAZnokHrG4J0679a5FbdxaFy0fDiN3hUPnHLrpECKmfAMSwVZJDDVWG4I0kV6Yjh3OwHRiPkazMBgsu1dyHPlOuAcS7+yHOjglHH5y7/AAIIYeTCtiGqMdixD4lOk23+LKyn+zFSmKxlK0NSauiqRUBrSkHxpQXUpSgVou29ucDfP5AW7/unW5/cre1jcSwwu2blo7OjIfRlK/voIkmOBUN4gH7K1+MxtaHgfEi1hJ3Ayn1GleOOxlZI0kuAxQjVgJQgSyKM2diBqBGk+8T5da0HaXiJCr3bFkd7aMNCAM5AKKevOoM6QvzsbEIbNguly5zcqqXHNN0aTKnaYXw1jSca5bbEWL1pkCNl9xSSUDghTIkaEISCQBI00FcLLuck7/GXWxRqkSy7VkW7zh3DnKXjR8qgEAEqYkrn2P1R1qF9uMKUvl+lyWmI5hy3NI05hPow1NSnhuKVktXLFom0FzXrrDmLIACCSdAWziB5Vre19sXMO4AJaw2+VoCoFB5ixBJRrTRy+6x1rLjXmmT9UZ6+VXNcY+hrAtbGvXFk142tjXYcyVDVKuNW0QqKyLRrwFetug2fDnOlSLBXKivD7lb7B3aJSvBXamPBUAtAtoXHeiR9UFdgwjVSIZWE95BErUB4cDcdLQMZ2CyTAA+sSegAkz5VPjnKXBYVSwi2itl1yKXuA91Ox7u2SOqTpVLm3+mKws8eve1q3rrA9ziT7y5eRhALZ8p0jRgVMax0qQcPxjd2yXCufR4B6BwDJJmY1mANz51psECVUGyLRuM10rqCOULLhyJ5rjGMwPKSDpFeHD3Pfu62TzPmNwO0Zc+mvuhgVgidNJrl7ms7/ddmItGv2bK8v0j/AKTftHxrJsisG/c+kf8ASP3+p+81k2rlekpP0w49vbc9kV+kxLedtPiqlv74qS1oOxifQu/+cvO36sWv/rrf1E+0lKUqApSlApSlApSlBwPiROHxmKsbAXXZR+a5zr9jCsDGYutx7YrHc8RW6Nr1pST4ssofsVPnUIxOL0omEowV/PhQc5thLoDuFJhe8RmkzHu3HgQNpnTTN4W1oXbmWSjGDcuQeZuYESAsAhf1TtUX7LXhc760QrSA0FQeUgo+sgqvMmY66A6VKcY7kI1+8q95bVVtLJa2WBYkSYBiPSPlx+TXV5dPBbdIY+GtjvL2Gu3ClsOuJtgMOZmfNcVfqscykEzGtXLFw96qHu3CyYGdhEJ10zW5TfcCnFbyRZxxtl+7k3F5ugKXlZpOgMNGhMHwr3vswYm8vdo4Cogyqe6yB2ZUWCCrcwMfUHjWqfxbHKe0PDWsXmtkGBqp8UPunz8DHUGtZa2NdY7U8BOIw5ZV+nshiSFYB8p+kjlyhGXnUljJJHjXKlG9dTj5fOv5udmx+NlhpFVBmkVYaVBXqlebGKol3xoMvBPW3wtytDhm1recIwr3ri20nUiWgsEWQC7ZQTlE6momYiNymI2m/Y9Mq3MUy5goKW1mCzcsiCpBVpCHQ+8TpEje3LVtwcMbjC5bYMTOZX7xnNwtsTJZx5QDrFVw/d95asq2RbcqgN3lJAIuQSPqDONSdbja6V52b14KjYi0O8t5ETkUvneRbAZJzBswmNvGuNmyTe0y6WOnjGm3wl9VLKMxCL3YYEiVRWYnYgczt1BGRTrXjwfDBSSyXEdTrJy2ydIKvGxVSZ1Gx0FY+JXu+8+u2QBsoXma40kCGjmyOdlMMs9K9uzt+2FXu7rlJkZ+WEiAAwLCRngGNYAjWtGpbPiZh7X7/wBI/wCm37RrIXEQCfAVoreIkz4mfnWfh071ktD+kZUPoxAY/BZPwr0kdQ40+3SuzVjJhbKkQcgZh+c/O32sa2VAKVikpSlApSlBSaTVtU/76UHpSvOq0HLf5QWAzYOziANbVwqf0XE/egHxrhhxkivqnttwz8JwGIsxJNsso8WTnT7VivkJ2I5T0MUS3nZnHZcWm0NKaqGEsJTQkfXCdRU0u90qsiWne6rySZbKt1gJGU8oUM/Q6qfCuW2bhVlYbggj1GorrHCsW+a2bKIPwkC3mKBFRSr3kA1y755bTVvhVDl11MWXONbqYZnBrIZbyu4hyLiygKo0ZHE77yQPM6VZgHJdrZXvMSmfumYjIoYMQ07bDKTHpE64VvDlcqPeabbKbhtsSHn3gIEncHbdtN6whjQXuILgD2idTySkhgSCM/OCoafdKjaqXjM7XNxDcWLjC4qj+iZbdwMQygaPAIkShyupjUGOlaTtX2VGuKsQ6vNx1BDHWS1xQGJIJ0I3B8tpDgVs3IPJYhSC0avc0WTBmRvHp0ivLB4k2itu8pRri5xBi25khmX8hzvI0PWs8d7Vnyr/AKa8lIt1Lll+yMuZfX1FYfNqa7LiLNtrdy0bY7tzmdVVLbh8xcuCQxJ1jQnT5VHn7K4O6X7l3ss6qFRhNtXlFYFnhzMswMdDv0uV5lJ+7pVtxbR67c6OaNetUVa67jewWFbDrcsv3Ztwrs+uZJ1cyYDekDp4GsfC9nsHbL93aa8YDK1whcjDKQsqe6YaNm0O+21ZW5dIhjHHtLnvCOF3bzRbXNG56KOpY9AK6h2a4L+DJlSDeeFa5tlkCVRtJQgyJ0LATtW0s48C3zsitmyqBlGwhVWApaAY2+IrDxi953tu7byG2c4IuIuq/SK1xY1zMN/OapZeRbJ16hZx4Yp+cvK6our3JQpcw5LKWY+4SATkYc2YM3mWbrFZt3GogAdZ7nopUnOBKsFOxGqggRJ0ivFbqkKwVUKqCx2jUlSZ1O8ajlBnqKu4dibF6HUyFaQCy5MiE7HKCZ6T4AeVV5jfbfvXSuIZycpvomJZ2vtmLMG1QC2GgxFsKusRNZeIxRVbz5lBQG0MhyDMVTPlyLBBN22Ttqi67g64Ylu9uLesoUQNfViJgXUIJUqZHusPQCRrWBxvENbsWbTe+3O+r9JbWQFIzXHggbADTat2Gk2yREtWW0RSXph79TL2f4fvMUG6WkZ/6zci/Ybn6tc6w1+ux+zHA5MKbxGt1iR+gkov25z/AFq7e3LTClKVApNU0oRpVKC6POlU18qUF1KUoFKUoKZa+SPaPwP8F4jiLIELnzJ+i3Mv2EV9cVwz+UXwaHsYtR7wNp/VdVn1DH9Wg4oLcVMOydw3LL2lOW4k5WC8wDHMvPmBChwxIjXMKiE1n8DxgtXlZoynlaQDykjWD4EA/CtOanlRtxW8bOh425hsyrazOt1Wa4zgwSMoZQCfDXp7lajtAl3ulvWrYt/gZSyXWSzKyggkjdBI3/LI8ZkWGS69lsNbAtg5rr3DAkludSJ2MkgT9asMG1dlbrHuAHDwVXOozIGVnjKQVAk/mzM1zK2is7dG1fKNMDgfFUxGmgeAGQhnmSZZixOZRy6jVdtdJkNnFqHD3Rn5SFEgg5gPccHY+Pl8K5PjLZtXTlzDK0oSIbLMo3xEH41I+EdsSITECRIOdRrvuy7eGqidNjNbsvGn7qemrHyI+26U3sWuQKme3mcuwhbqkSSyKmg6yIIOnwquL4o6o8hnt2nXuyjqxgQcwttMQxggE6qarw/G2LwBR7baCdeYSSTtzaDQBgfd10NeGBt27t5O6QwDmDLcVkdo1C5YzayJKwI9Kr/rDd18Nhjca1qyrNZuhLjAGCGCmRlBk8iyQevTym2/jibgQ5basOVkhrmaYMrdjResTM6TWfgc/dulwEqwUtP5ZYAx8C2vkPCtRg8faBKHkdTIVj3eZQQcyi3qy+8JzHUHSseviER+azD2i6r3ir31s5+9Kq1wtHUDUKc0Q8AaelZZJHOTlCrD/kqF1zkGCfrc2oGXTWtZxXtZh7crJuttChMpImcw1U6ganmEyN9IRxjjd3EEZ4VB7qCYHqTq3xNbaYMmT31DC+alPXtvOL8bfFOuFwubIzQSq8zzOeAupT3mg761KeHW8Ph8OLiWsiKRacjnZirsWZ8wEGQkgjSI6VDeyPD7rF71plVrYMA/0mgzqCPd0K6+frU7uYn6UYcFA/43MQCGLXIcMGkQcpAnQadazzxFdUr6j+doxTNvqn3KgDBLWHOI7xSSwPOAltW6qRI1FkHLpzGov2gx4fENGgX6MCWIGWc0F9YzFo20ipFxLiuQX8TmClVyWwGNuSCVLIEA3uFgwmOUGRXN0v8AnW/iU7m0tPIt8JTwa2126lpPedlRfViAJ8ta+mMDhVtW0tJoqKqL6KAB91cL9iHDu+xpukSthC/9d5RPs7w/1a73V5TKUpQUqgHlV1KCmtKrSgUpSgUpSgVEvanwX8K4bfQCWQd6vqkk/wDDmHxqW1RlBEHUHQ0HxEwgxSpH7QuBnB4+9ZjlDEp5q2q/YRUcqEpx2av9/ZCAlXQqCVyKSE/F5urAqotxB1rf3GDjvsPZa3YVXFwxlGbNluK4mVk5jI6xXNeD8QNi6LgEjZhpzLIJGoOugIPiBXSsNfW4Em4GskHMOU5s0FXYqoKlmV5A2YVzOTj8bb+J/n/HQ49/KNfMNV2s4Jcvqb6hR3NsSOrKAAFGVfqwYzb5oFc/dYrqDvku52KgG99GQwkKYyZvnlI65h11rC7SdmVvjvbEC7rmWMq3CMg12Ft+br729ZYOR46rb1+LHNh8vqq51Up7L8Qvsbdm1A7vO2YmFCMVzd4o9+DtqDLb+Ecv2GRirKVYbgiCPUVNPZzgp7y4+iOwsgxpmylyJ8Yj5VZ5Ex/TmZaMMT56SrtDcxFzCXLlq4rZFl1UtnCxqULCFMT0b1Bg1y7jfERfuB8mXlVYzFpyjUknqfIAeUzXXsZw9rawCMzKUAAkmRAEDfaT4CdBtXE1StHEiu518NnImelFFZWAwD37qWbcZnJAkwNASSfgDWRwfg93EPltrpIzMfdUHqflU/4fwnD4W0QrHvGXM92EciUBDKAYCSTAOpIOhAmt2bPFI1Htrx4pvP5PfheCsWFVmtmxl+hcy2RmkDORJkzyhoHveVe1t7qoUvHO0ZrcMHT32yKryTou6kiAdd6w8EM7o725wlxAtsGWZio5XOv0ZOUFTrsZEnT1xuPSxZ712H0eqAMqMQSCmSQZz5Cp8gx9Odbczr5lejURv4hGe3nEsq28GjFgvO8XFdSYyqYUaFgO8IJ3udKiCsfA1ZjMY9x2uOZZjJP3QOgGgjyrN4DgrmJv2sOnvXXW2DEwWYDN6AST5A118dPCsQ5l7eVtvoz2IcH7nh4vMObEMbn+zXkt/Awzj/WV0KvDA4RLVtLVsQltVRR4KoCqPkBXvWxgUpSgUpSgUpSgUpSgVQmhqk0FZqtWgzSaDjX8obs9mS1jUGq/RP6alD+0PlXCK+ye0vClxeGu4dv6RSB5Nup+YFfIfFeHPZvNaZSGUkR6HWoGFUo7IcZyHuLhlGPLJbKCZDCMwGoJgmYaNNaji4djI2gT/hVFtN4VhkxxeupbKXmk7h1fEEsBmJdABkACGCpB5gQQrRoynbQjz8bNt7IUI4vZ2JyBVzWkkuAxfRlXlEGDJ0rR9ke0pH0d6WUjLmJMMIiGkwp254Ogg1KL3CweeyQUgiCchGxUAnpJHiB0IArkXpbHPjb06db1yRuHhcw9jFIRcVbmUkSPeQ7lQYDprrEkedYXBcClgEWWW62b8W7jqoBMLqGGUgdCDWResarbde6YMHa4Mq3DBkTG4nQ5SR+7Fv335rqutx830K5Sl0gBcwZoA3PUQQJpG9aievwTqN7mP8trdwd5QgcjLILXC/0hMQUhcoCnyPU9KwU7IYK27FgWEyoL8oEnKoAhm0iZml/iV4mbiKHCzke7lQqMudkCrze8PeIPlV9+6XurbLg23UaWQEcHUNLKx0Gh0P1qj649Tr9GP0z7jbJfF20ZLCLzbBEOVtdmCrGWC2/KNhG1Y+H1cXi5CjOpQoCytoDcu5m5jAaZiJG9Vs23cWlCILlv63IzuD49AT5k7TGlX8Ue1bVrmIYKrNPuklyBOXTUkNOkZRFYxOp1X2ymOu/T0uXQi3SCO4EsGaHAEFlJyD3ARAgSdAIkTzvtLxp8Vc5QwtKWyLLNuxJbXaZ0GyjQVk8a402JMlcttTyrALHrzsAM2pMDpJ9TrbmIAiB0J1023FdLj8fw+q3tRz5vLqvpgudK6/8AyeezOe9cx9wctod1b/1jjnI/RQgf7Q1zB8KbrItsEuzKoA3OYwB8yK+r+xnAlwODs4YRKLLkfWuNzXD+sTHkBVtVbylUBpNSK0q3NVZoK0qk0zUFaVbmFKC6lKUFDVGq6qRQUUUjSqxVaC2K4b7c+zBt3FxttTkuStyANHjfTxAn1BrulYXGeF28TZexdEo4g+IPQjzBg0HxqrgH6xEEax18Kqt0AAa6HQwCft2rf9tuy93A4l7Nwbaq3RlPusPI/YQR0qNNUJe6YgabyJ2AO/rtW54L2muYcBVJZYgo2oOgEAzIGm2q+Kmo/Ssb0i0amGVbTWdw6S/bWwbf0iXM5jMkK06iTLcvjrpvoo6ZOBxS3O7NzKDdBuIoDrFuVABckpJ1B1H1YGunLganfYTAMbD3RLHMQqkkooEAmNgSWMnwHmao5+PSldwt4c1rTpJ+LXbSwLtzmBgKGBYkwVXbWdYWJMCsJuMYZDluXFV1jMJIIJggCYnXKScp6yN4we3uGAsW76KbN1SEfISkqSQNvzhI+NQHG4trrtcf3mid+gCjck7AVhj40ZO5llfPNOtJfxXtyZC4dFygalwwk6EQAw2jqNfCKh+Px9y65uXXLsdJMbeAA0A8hXgTXkzDwq7iwUx/bCpfLa/uWfgb0iOorzfUFY1zGNPHrNYaE7jSpF2T4Rfxl9LNsAljG2g8SfICSfSt7U6T7D+yWe7+GXF5LR5J63I0P9UGfUrXcyKweA8JTC2Ldi3sgierHdmPmTJrYUFhWmWr6UFkUC1fSgsC/wDelIq+kUFkjwpV9KBSlKBSlKBSlKBSlKCNduuyNriFjI0LdWTaeNid1b80wJ+B6V8vdo+zl7C3ntXVKsp1B+wg9Qeh619jVHO2nY+xxC3lfkuqD3d0CSvkw+svl8oNB8jhY0pUq7Z9isTg7mS6kAnkYa27nXkbx/NMEeFRRrLDQiKhKorqnYnEW7ViytuO8ZQ722IVnLtGdddQQAB6DaK5XaIBGYyJExvE6x5xXXV4Zhbq2nNtXVAvdsNgPqrIiR4D7BVPmWiIiJWeNG5mXh28vpdw7q0C4F7xbaEEqEIksAdAAW+ek6RypjXXn4ZhrIvG3aVBcnvmbNlyAy4JPuzO2nj0iuP3RLHLOWTE7xOk/CnEtExMQciNTEy8yaoBVUQnQVJOzXZS/irot2rbOx1gbKPynJ0UeZq6qtZwbhFy+6oilixAAAkknYAV9O+zfsQnD7MsAcQ4GcjUIN8inw8T1PoKr2B7B2uHoHaHxBEF40QHdbc/a258hpUxoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKV5YrELbRrjmFRS7HwVQST8hQcW7X+1/GWMZfsYdMN3dq41oF0uMxKHKxJFwD3gelaZfbhxEbpg/8AdXf3Xq5rxXGG7duXSINx3uH1dix++sAtQdXxftlxV5DbvWMFcRtCrWbrKfgbtQfHY63cYsERFP1BnIH6LOzNHqTWkt7V7phnPl60S9nt2jsSvqJ+0Vs+zmJuWryC3dgMSsBtMzqUVihIVoLAwfCtJctuvp5VtOyuLw6YlXxU5ArZWC58j6ZWKfWGhEeda8v2T1tlT7oe/aDGXr9xhcunKCBkLwoKgKSEBIEkExrE71rrWCUbsT5KP3mvXtNirFzF3buGXLaLAqMuQTAzELrlBaTHnWGuLapxxEVjrRadzLbYG9btuC1nMo3UXMjN5Z8rQPQT5iuicH9rq4W2LVjhdq2nguIaSfFmNolj5kk1yj8MncA1U4gHp9tbGDsJ9vj/APp4/wDkn+DUj7Ce1tcfilwtzDdwzhjbbve8DMozFSCixyhiD5RXzq98T1r3wHEWtXEuW2KujB0YdGUgqfmKD7PpWk7Gdokx+EtYlIBYRcWZyXF0dfnt4gg9a3dQFKUoFKUoFKoTSgrSqT5UoKTSaZaZaBNJplploE1cKtAq6gVBvbNxJrPDLgUA966WTJI5WksNOhClT5MdqnNQn2u8BxONwAs4VO8uC6j5cypKgODBcgfWHWg+asQ5PS0von+JJrFayfyl/VqZN7KuN/6H/wA/Dfxas/mn43/of/Pw/wDFolFsHhZM5hp5V6vabUZto2HQ71KcP7K+NKf/ACZj/X4b+LV7+y7jUyuD3Ea38N8/xtBErdkMpGed+nTpWNZwoMjNrEj4b1Nj7LeMhcowZ2j8fhv4tY6eyjjYMjB/8/D/AMSgi54cPyogCdJ1NWHh4Ezc0Hl4/GpkfZfxvWMHvuDfwxH9rVF9l3GxP+RDXp32Gj5d7QREYFcp5wdd4P8AjV/4AANYJifrAfOali+zDjYn/Ihr077DR/a1d/NjxuIOC8p77DT8+9qRFmwaDdAY353Hyr0WxZ0m1v8A+64+OxqT/wA2fGuuC+PfYaf7WvQezPjJPNgo8++w38WiEj9iHGBZxRwqq6riAxylxcVXtKTmBgESoYEQZhddNe6Vxj2a9ieIYfiKX8Thu7tqlwZjdstqUKjRHJ1k9K7PUBSlKBSlKC2qTVfKgHjQM4pVZpQVpSlApSlApSlApSlApSlAryalKC9KupSgUpSgUpSgUpSgUpSgUpSgUpSgterBSlB6UpSg/9k="; /***/ }), /***/ "./src/Assests/gold2.jpeg": /*!********************************!*\ !*** ./src/Assests/gold2.jpeg ***! \********************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; module.exports = __webpack_require__.p + "static/media/gold2.0e89024fae96e0a971e5.jpeg"; /***/ }), /***/ "./src/Assests/goldring.jpeg": /*!***********************************!*\ !*** ./src/Assests/goldring.jpeg ***! \***********************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMSEBMTExMWFhIVFhUWFxcYFhcWHxgXFxgYFhcVFhoYHSghGBomHBsYIjEhKiktLy4uFx8zODcsNygtLisBCgoKDg0OGxAQGjIlICU3LTctLy81LS0uNTAvLy8tLzIxLTUvLS01Ni0tLS0tLy4tLS8tMjUtLS0tLy0vNS0tL//AABEIALABHgMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABAUCAwYBB//EAD0QAAEDAgQEBAMGAwgDAQAAAAEAAhEDIQQSMUEFIlFhEzJxgQZCkSNSYqGx8MHR4RRDcoKSosLxM1OyFf/EABkBAQADAQEAAAAAAAAAAAAAAAACAwQBBf/EADARAAICAQMCBAQGAgMAAAAAAAABAgMREiExBEETIlHwMmFxsRSBkaHB0SPhBRUz/9oADAMBAAIRAxEAPwD7UiIgCIiAIiIAiIgCIiAIiIAiLXXrtYMz3Bo6kwuNpbsGxFBp8XouNn+5BA+pEKaCoxsjP4Xk64tco9REUzgREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAERaMbim0mF7tBt1OwC5KSiss6ll4Rq4nxFtFsm7j5W9T/Ad1xOLxlSu4vJkCb7W1ayxA9T+a9xVZ+IqOJmNHFoJjpTbsPWfzMrHD4ccxeWkAjyxzMORuTJeQCDaDmcOhg4owfUvXP4ey9fmy9tVbLnuzUKcAmY/GZDXAZm7zmJgEHMGmbAq1wHGqlKGxLSYAII9mjU+2ihVGNjNEGSeXkIlrud0wCYdBMbwImTjVaZ8sONjbKQQRBLbt5h8gsN/wAWiarrjqe2CtapPB1WE+IqThLpb+Y9LbqfheIUqlmPBPS4P0K42lQA1uf07Bb2OIIIMEXC8/8A7GWrZbfuX/h1jnc7RFpwdbPTa7qL+uh/Nbl6sWmsoytYeAiIunAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAuK+IuImtWFKmbXjsNHVD+g/7V/wDEnEBRom8Eg+w39zp7rjsBQIBe9oL35SBGbkzNGQDqZjWNekLFd/msVS4W8v4RfX5I6+/Y2MogZQzMQ1odykuBnOCAScuZwMZpsJ9VthtyCDl0DJkh8AFuSL2gdBeIK89zM3zZjyuEElov0A1hoPRZVHBpJImm2WnaQ6YOVsSSYaAdvW+zgpIxeQcp84ljpA8o3GpDWmAATqCSNSpmGpG2pJsOv/ZUTC0yTzRNi6NBHlpjsB+7rp+G020clWp8xIHYRM+q8a2b6mzCflXvJtjHw4/NnrOBOyy48x2G39VW47AmjczBIH1XWjHU4nO2O5j8lTfE9dlSgRTIc7M0wOytv6WuNblFlddsnLDJfA//AAN9XfqrBQOCwKLRvzW9yp639P8A+Ufoiiz4mERFcQCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiKLxLECnSe5xgBpJ9AJKjOSjFtnUsvBx/HcT4+JyDyM5ne1wPpJ9wsqtIDMdAwwQ2GAAuaJM6ww/7rLVwymB9o+znHOcxic3lDSD5ZLADFx2VhiKWaGOEmYMw0HRw5LgknXs13aaOmg4w1S5e7LbZZeFwivykNAN3EeG6LWtBlxmQLDYknvGGLqZZkeW0Dd8w1rfrHSSFNeCWl4uGtDRLYu08oDTE5iJLukGLSq+m3NVjUU7k9ajv5CT/AJmqvrrdFelcslRDVLL7FrwTAjV5GVvM87Enb6/kIU/iGIFeA0lsGxtPfXQ6bbqDUePDDc+XmnoD1JOvb0HdRamEZFhTImZ20Mk2gDTcFU9NGOjSpJNkrW9WWieOHttJJiNYOnr1UPE4KmDlFoP3JgmSIggl2nWBbRaPGqNjI8t0JDxmBmw3BknQN91I/tTHmHDI8iRM5TaMx+70k+klaV4kH5nlfIq8rWxjQ4cwCRUENsSHuABiA4ySdjIm0+i20amKYAW1HEZRALQ6TbUzAEER1v0WGXLY/es3UOm8kixA6RsFJouFNniOD2uD3ZsrYnMS0Nhsy285rDQ20V2YtakR34JOB43VJAqUwWxeo05WtsPNnjv9Cp9TjdIaS43HKC64aHEEiwMERe82XP1nOq525rh4AY9hADHQ02GrDIvcguk6W2+FSY54e5ogCWSSAwFpk5nWNnNJkxy9LuOWc5Lg8foh0EkHl1aY5gXC+mgn9mJuExtOq0Opva4ESIM2XK1MTRAHn+zOWAJkwWw6wkGRcnbVe0WNLXGlUIyuaQKbQ0taPkcHbT26Xsu5GDsUVPwnixdFOqIqaZoLWudqQ3NBJAjYK4UkyIREXQEREAREQBERAEREAREQBERAEREAREQBct8cYkxRoj+8qAuj7jCP+Rb7ArqCVxeOeKnES4uhlENp2vzP1Mb3cR7dlRf5sQ9X/ssr2zL0JtPlyDytEg6kkXFMwBHe4GhXgcYLvKX8oBubAlpDTY8gJg/eMla6YBbnBguOSXgZoEBp6XGY9JcsqbRnECLTbUk8zxeAPK31/W8gY4+sKVGpUcItmcJNnxFmkfd0iyi4PBPp0BNqzzmPLmguMunSYHKL7BYcTqZqtKnFpNZw9MuT0uWW/CVIGIfNiZ+q8e+6LvzJZS2NkINV4Xc0VWNeMtQNcCBIcxzbEEyHsItsqw8FptdmpmpRdAPnLmiZiHNuP8wKvP7XfnEHWdPeNFpqM5QQ5xiIiTcOBDnNm/tO5Vq/DXbYw/0I5tr77FcyrXp2qN8RszmbAJItmgctS2u6256bqQgywNOYACCSfnESzcRMcxE3W9oJLhZpB5jmBaZEtAbEdNbjU62rcW97ageDDrCDy5xdstefmMaP12Jkhd03dPuvNEZhbzsyWzFuYcmWWktEaAFxGXJ0sQdtCb2Cl8aquGVogAcsulkEzP2gMCTrIjlCj4PE0zBALXAyREC0zynyEEQYtbaVqrYwtc7I0sBLnECmWOLjJLgRUBE3OadhYrRRZCyTlEqsjKKwy8ZWyNc7nFR8w10Xe0GXANlocWkaEA5NBChNdFUEl1RoaSJBkZpByx3Ilpk29Fg3F5m0+WWx80mYNwQNHSWw6d3Duo9cjM+JhxLeV0aw7KAfnFokEW2gRfDdZK36EhzS2m1kjI7SDn8jthE36gmL7QBAr0srnOYD9nyhwziC1sw0GAWnfpG4kKfhHjNPhlzWgEyyctg3KyLTmkkG/vZantPgtbnDmmCWtdm8hAhrHDQ7nXTqpNZ2Zw3U6grU87cwqHlJYWkte0zFxAZ5dDsekrquD4zxaTXEjMLOgg39R9fdcnw54bVqhr3NaWtI5WANDCGtLSBlvJmJm8K1+GasVarBdvK4GGgHzAluXbl3vprqYLb8iTOkREVhAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgMKzwBJ0/cr5/wB7pq4iYNRz6hm8NdIDWAa8952Ft7dR8YYnw8JVIMEsc0erhkH5uVFw+kWU6QlsAAgkZiQJfUaNwMzW6bwNAJzrzXfRfct4r+v8E00RytJIbBbmJkl2lOexAf65lnQbIt/elpE+YZiC7XSGRBHQa6rCpmGYNJaHZackS48zQ10iAIOYX9bre6r4bXVC0gU6b6jmkknPGQQNBLQ6I6q2yWmLZCKy8FTRYaleu8XlxY3/DSmf9+f6BdH8PMaaRjzTzfw9oUD4UwuWJuWMEnq53mPuc31WrHF2FxBLTFOqMvpJ5T7GW+4Xj1x0RVz4eff6myb1NwRL+InBw5RmqM5mi14IJYfUAjtKgYbCeI1r6Rs4BzZ6G4vsVOw2GJKj8LqjDYl+Hf5H5qtE/nUp/WXD1d0XHHXLVLhnU8LCNAqOY/mGVw1kAyDHmHzCw5hBtvoouOoSABl5qhOZ73HlflY4gGQTmc6GwYAvEXj/FPGy94ZS8w0PT1W/BOc+mH6FpGbWWPiJO4HRw2t1Cso6zTJw5SIzoytXDKEGKrTInO+lLZiLsMdQNdBEQLQFPxtMHM4tOYua4ATDZEiS4RmAiwmJNlI4jVLmZXyOYutEGxIabWaIFhr+Ey0aqNUPZnI5mAteHZrCQ5zso1IguG/MdhB2xcIz1x4l9+xTLU1pfKMfhisHUnU3GX080tl3Ny5XBpMXhrSDfed1YeHls2k6AMxkbtNxbR/exvBJtHP49jqNYVKbrloIkEkfPlMDWIAECAOmVdDhOI0qt3OFOplLSMxymbESLsdmeBcCD2hXLyPD4K3uayclMzVIa4lha0ubsXgN38S8fsEbKMtqAtpZqbQDJaCJcC1waBGV05SdJ73iWME77PKwAAC/ieMLcwD5NpuMwnXdeNwrWZxVcxxcCWtY7Ly3c5rnCwh2XmF/RT1I5hmvA4VzKZkgveYaGk5QLCBDZYJix3m91YcAwxFZz4ABaIbFxrmGYEh1zHURfZVOKxRe7yOLQM0CJblFmtGotmMCQ4De63U8UaGJpNkBgJD+XLmfVMzEwDAk980KD2R1HZIiK0gEREAREQBERAEREAREQBERAEREAREQHK/HhmkGbE05/1z/wAVqowX+aIBAIhxJmm1kD5Ww0/Wes7/AItbL2D8VP8AUqBUeQSQ3a5p8xOY1NibEjm15YPtlo3sm/mXT+GKNtNxaW7WLyIlxBl2W3lgm0dvRbMeR4bmj56jGG4MimA4yRrYOErTQpmR22F3AZmiXHazYkRrMlYvMlo253+7nE/o5Q66emvHqdoWZHQ/DzPs3O6u/Qf9qk+M+MMD20SJbfOekiIlXeAeW0GBvndJHa55iouL4Ayo3v11k9T3We3V+HVcPRZ+5ZDHiOUjT8O8TGQ03mXsAId9+mfK8d9j39Quc+J+LCs8Mb5mulrhcscNHd+43EjdTsTwJ9NkNPlksPSdWn8J/rsFH+HOEB5J3BhwOoPQ/wA9wQRqsM5WySrwaIqCbmavhfh4rFxjnDoe2Zyu192kEEHcELu6PCQ0Ats8COxG7XdQqXiPBamHc3F4YZqrBFSlp41LUt6ZxctJ3J6ldDwniVPE0m1aRljvYgizmuBu1wMgg6EL0el6aMdpLcz3WOW64KDi3Bmva4tby/NT3afwrjqpfh3iTLTZjyTBvOR52PR37P1atRk5m2d+o6H+a5/i/Cm1mvLWztUpnr1HQ799R37bS4NuK+q7P6e/oRhYns/1OZFNtQcsZmyQx0ABxIlztJNgBcC1iIAWBwFLM0tmmW3hwIMNflAJOkucCOu+gUd+EdTgZj4QPnuSxupmNdhIjuYmNrcVVAawgGWy9jhmEzGUAiC6xeSbC2motpsk45juv3/ojOKzh7fY20sO5kmYySBM3yeHLjA1DqYB7k7ZVu/sjshbTAdkzhoEGHNEhlvLynL6a2UPDcYzVWsdTpNOV2R2QEOa6MwaYAEkCW627JWx9R3KKgbe4AyAPbdwIiDMddDN1KvqfEyoLdeuxydThjUX7yykG87jlY6JMtAYRBvq5oAGt4J10quMS4AyJgEGNYAl7R0iR7G4hYYXEZ6bHZSRJ+zBiKkwddBYx2tut2QuY6eYwJBuAMx+zHpIBP1Csg9Sz37kZLGx2vDMT4lGm/7zR9dD+alKg+DKs4csmTTe5s/vvKv1bHgg+QiIunAiIgCIiAIiIAiIgCIiAIiIAiIgOb+KWc9M/ip//cE/moDm3IiDBBtkJvVJ9TpMb+q6D4gwRq0iG+YXHtf9QFRMpFw0gkSQGyJ5ZGTS0G0Xza2WavyWSi++6LZbxTNTap8QAEuvOWMps4k8xgE9fe610tGn8Df0Ul9I8oN42PNMR8o9HXEiZWoti3QAfRZv+R+GJb0/LJ1Ko4BszoIPZTcPjSpPCA2pRAImJB/h+SquPFlEhtM5qh0b07k7BZ8OEFNPYnlSlpwZcYxxqZaFPzv8xGzf4E/vRYYzA1MK9tejzQA17dM4+6en4XbGxsVM+HOGFjfEfeo+8/x7dh09SrpzQRBuDqFpq6dzjrltJ8fIrlYovSuO55w7HMr0xUpmWn2IIsWuGzgbEKl4hgH4Wq7FYZpcx98RQHzxbxafSoB/qAjpEfE4epg6prUQXU3R4jJ82w10eBo7ccp2IvW8Vpuoiqwy0+xBGocDcEGxB0V3iKSantJe8ojp0vMd0zUON0nUhUpuDmuEj+o2O0dlzdTib3Vs9Mw/SNnD7rh0/RQMeyaj30W2eZewWzH7zNg/8joYsRK+HsM0jO12YzebEHoQbg9l51nUWWySz+hojXGCbLHG0BUaajWlrxeozcfib1Hf+oXO4vDCCIphmRzWlzZyOcQYmeVhMyR/hvIK7SqWkCbOGhFiFzuMowTMFrp2tfUEdD+4VrtdU9a/Mgo6lhlFiKVyZaASPL8rnND80beYAtHyjsF5TqEy14cHgQ8Agctx4gO4F79L7BWdabZpIbmI5S4kFsHTV069QR1KrMXSc0gtk1KQJFozst4lO+41jYR0V1ySa6iv8/ocg8/4pfkbhUyE1CSCP/IQ6YbPLH3Y8wPrrMqY/NIjTcja0Zh1J1HSVEphrg0tHKQL5bNYRAM7uEOEdrrdw6Qzw3TNMht9curZ7xY92lTvscY+LDv7TIQjl6JF58G1D4mIZtyEWIGmgnpMHuupXKfBjOeq6+jRf8h9AurWyPcoYREUjgREQBERAEREAREQBERAEREAXhK9RAYOcqvFsaDmy37K2IWDqIOyjKEZfEjqbXBzlbFtnmadhOthoD1GvXVR8QWuhzSCO23qNl0zsCw7LX/+ZT+6qL+n8SGlMshZpeTnMPiX0zLHEH96gqtxvEsj7DM8mXH+f8l2DeDUx1PqV6OC0fuhZqOiaebHsuxZO9P4Tn8J8Q1XahXeFx7nahSmcNpjRoW9lBo0C9IzGIOYQRIOoXOcU4Y6kXPpyabvO2fYHs4aB24sdo6kNQhUX0RtW/PqWQscGcZwLCw4uzZhMdCOzhsf2JF1ZcT4W1x8ak7w6432f2eN/VZcS4M5rvFoEh241t0j5m9tRsq9nE83K8ZX9Nj3ad/TVeU4eEtE17+TNalr80WYt4iSclQZKnTZ3dp3UzBcPdWP4dz+91qo4A4g5Ykbk7d1b4fDV8NZp8aj902e30Pze/5JTU5PVNPT797HJyS2XJz+OwppvdTJuLtd+h/n7qtxkkyJzjmaCQTILi/NJ0ygt910vxBiG1A10EOFiCIMH9b/AKlc9XZYkAaZiYHy/eJ+WNt4Wnp5xjY6uYvgrsTcVLuV2BIFR1MAEZfFpyM0NqGHACdQcvuCVKwD81XsQAYHQi8A6mXHqSfRYUMPNYEfJ4rDMeWoGvEgW1zW7rsOCcDbTd4hzZiBAdBI72H0G36SqreidPo/25E5LKmTeC8OFCnlGpJcZ1voD6D+Knoi9BLBlCIi6AiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIvCEB4XLB1YBZEKNWpEoD1+PaFS8WdQqgzZ3Xr69++qkYjh7iq2vwV5UJ1xmsSWTsZOLyjHhXFn0DlBFWnrlkBw/wnf3V8eP03Nlpg7tIgj1C5Or8PVNlspcMxDbeYfiH8VkdFsFiuWV6P+y7xISeZLc2cR4marw0db+iwbSDiASADqTsNCdDtK3NwVX/ANcehXj+GVXWiAslfS3+IpSRdK2vThE/gfhU7nmeYknsALdFesxjSudwvBnhW+HwRC9hLBjbyWLagKylamU4WwNXThkiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgPISF6iA8yplC9RAeZQmVeogPIXqIgCIiAIiIAiIgCIiAIiID//2Q=="; /***/ }), /***/ "./src/Assests/platinumring.jpeg": /*!***************************************!*\ !*** ./src/Assests/platinumring.jpeg ***! \***************************************/ /***/ ((module) => { "use strict"; module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxETEhUSEhIQFhIWFxUXFhYVEhUQFRUWFRYZFxYWFRUYHSghGBolGxUVITEhJikrLi4uFx8zODMtNygtLisBCgoKDQ0OFQ4PFSsdHR0tLS0rNy03KzctKy03LSsrLTcrLS0tLSstKystKysrKy0rNystKy0rKysrKysrKysrK//AABEIAK4BIgMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABAUCAwYBB//EAEAQAAIBAgMFBAYHBwQDAQAAAAECAAMRBBIhBTFBUWETInGBBjJCkaGxIzNSYnLB0RSCkqKywvAkQ5PhFWPSB//EABYBAQEBAAAAAAAAAAAAAAAAAAABAv/EABgRAQEAAwAAAAAAAAAAAAAAAAARARJh/9oADAMBAAIRAxEAPwD7jERAREQEREBERAREQEREBExdwNSQPE2mKVlO5gfAwNkTwGewEREBERARE11q6oLswUDeSbCBsiRcNtCk5srAnXQgqdN9gd8lQEREBERAREQEREBERAREQIFTefExPalrnxM9gTYiICIiAiIgIiICIiAkWrit+Xdz/TnMMVWucg3cT+QnMVvSam9U0MMlSuyHK/ZD6OmeIao1lv562gdDfMbjfz4+8zwou71z94kgeUq8dtqlTIp5+8SAAoZ21O8hQbDrJWJxYpr8za/uA3nkIEllCglmygC5CAUwAOJblIY2jUIvRXTg9SowQ+DG7HoyoVPAzV2bVCM65m0K09Cqkahn4MwOuuikC2ozHkfSn0hxNKs1DIFZbHM3ezKdzJwset9x4iB3mHx1X23pHwBPx0+UsqNcEXNvI3nxNfSDF3v2nlkS3ynQ7B9MGDBaot1Hqn37oH1GacVXCAEkAFlW55sQo+JE0bPxauoIOhmnbS5ly5C9sr2UgN3W0y30JG/XpArts7WZbi7KBfvIpfMNfWyglF0He0FzbMJX0SysvaFXbMM+WrV7MHIQVzsLvq41trmG7dNW2PSHD0lQh3ZmZQFy5Qlz3mfMBlICPoSDcWNt4rth7Set2j2UZFcs6BlsWXR8lTMBUAv3lOvG+lrUiz7cjL3qCW9tTUVXfMtgNCFHe1JB0JPA2bL9KrEi7VLOaZpqUrFWXh2oOUMSctnK336cabatWmKhWv31qH6RQcjlXUi6rYgg6ruBABswGkmeiXYVqArnEKXoM/1rs60U7yKwDNamCgNiultL+tdSO7pYwG33t3Hhf5AyTOU9FMPR7QthyOysz+361Rj3kVtysBmBHAiwAbXq5FIiICIiAiIgIiICIiBUV0OZtDvPzns8rnvN4nnz8YhFvERCkREBERAREQEj42vlXTed35mSJT4ysGbp+kBUOWw1u2bXkFt8Tf4GVv7O1iGZaVME92nYXudTcaC51vvN90sKxugPEEdN/dP6yp2jVw9P6TEOz3NkpkBgzad1aa61Gvw3W384HuHa4/09NFXcarXC+AO9/D4TPD7ObtQczM9t7aD8QQeqB79dwkNquLquj1AKFEHN2Js9Z0ANjUINqa3sAovrpqL26zZ2GyjM3rtqenIQNuFwyoLDfxPEzmf/ANE2MKtAVgPpKOvU0z648tG8jznWzCrTDKVYXBBBHMEWMD4omCnjYHpOiw+CylkO9GZT+6SPykkYCBq9E9rNScUqh7raKTzGuX3AkeBnbbUouyCpSa1RAbcQw4qR5XnGY/ZDNSbJ9Yozp+NO8vvIt4Ezp/Rja3a0EYK5JAIsOY4k6DwveBQoqV61cVVpdqrUQVIy9oFUVEdWIuwubWAOqHrafhNoUUzpVp9l4qAAo9UDLplsOGmp6iavS3ZNJqRavQU09LKrk1AxNxk0GXXXeQLAgaTitmbSo0a9MM2L7J1YKuKqKyDUW3mwOm/w5wOn9Ido4MlXzU7AEXakahqcbJTBGci+8hgM26V+wsaC4ajhV7Nsqd8Uz2hXM2YqoCiwAsQCB77cvtbaSPjaiq6mmXAAX6RM5Vbiwqqt76Zug8Z0GzdrkMiU6FSoTZXapUahkUmxppZHKtfeL3J9oaQPpmzSWXtCqqWG4G4sCbG8myow22FUBatGrh7aDOqtTAH/ALaZZFH4iPCWqOCLggg7iNQfCBlERAREQEREBERAREQKmvTOZt28/OJnWY5jqu88esQiziIhSIiAiIgIiIEfG1cq+On+eUoKldARmZRfUAsBc9L7/wDuTdu19Qo/zj8hOJoYdWqVTiAzO1Sotr5WK2IporEWAyWJ3EgnfxDtML3gyneb28xcfKQqaUlftyqdoFy52GqL6zWubADXhPcE5W1gx3DQ3Om7U755i6QLin7LMS3SmO86nobBP3xAl7KoF2DODfSo4O8E+oh6qtr9QTxl9I2Ap2S53t3j4n/qwkmAiIgcbjqQXFVRwJVv4lF/jebnZEUs3DgNSbcAJltykf2u4GhpKSfBnEjth1P0lY/R20W9jUHU+ynhq3QesGnBYqpiLlaZ7MaEXsng9Q6E/dF7cpdHGrTHeqqtuFMD4s17+QEraZrYgAUwKVAaA5bCw4U0HD3CbaGzqSVALZ2D0+8/eJDdNw15CBuO16dQWWjUqjqrVV/SaXR23YBPOlT/ADnVAT2BxrYCifrdm0vEYdb+9Ree4XB4QNennpOCDZiagzDcSr6jyInYzXWoI4syqw5EA/OBV9vVA1Rai/aonXrekxv/AAsx6SDTxG9qDAa6gDS/J6ZtY+4yxq7Iy60XKH7JJZD+Y/zSV+IqDOFxCFKm5aqmxI6NuYfdN/CBbbN2h2mjDK/K9weqn8jr85PlBTp2IDEa+o40Vjy+63TjwJ1AuaDnc2/nzgboiICIiAiIgIiIFVWrpmN+Z4Hn4RN1Rxc+JnsCdERAREQEREBETXiKmVGbkCfcIHJ7RxZaox4AkC+7XQf51myiGYgDNbd49APfIdCgXbpfh8h5ye9XL3Etm1B15b1X/NYGdSsqXAIzW1I4X4L+s92cgck8yKY8B3qluhGT+GV+EQMHW5zHVdTa43acNxB/FLj0ep91Ois38THL/LAvYiICCYkTaeIyITa/IcSeAHibDzgV20q41ZvVXhz4hfzPiBxM5apje0fPUBZAdFva/U9Okn7YcsVpXvxc8+LHzPzkcYfpAs6W36NrHOv7tx/LeYUMYtTEEo11+gN9RqXcbj+GVVXCyZ6P0LVP+D4PWMDt4iICIiAmrE4dKilXUMp4H5jkes2xA56pSNA5H79BtATrb7rfkfzljg69iKbm9wTTc+2BvUn7a/Ea8GtMr0VdSrC6kWIlDSplWOHdiCLNSfiPst4g3BHHUbjA6BTMpV0cbqGbu8HF9FYGx15A8eWstICIiAiIgIiIFbVpd499t54jn4RJDpqfHlECVERAREQEREBIe1vqXHMW95AkyQtsn6I+K/1CBztGoQikXBa9+dha9upJ3yNU9UVKZBB7yEA37uhGXmDuHQSQzgdmG0UlwWv6vesCeGW41vw+OrD0TTd6W5XOZPu1QO8vg36QNeLqaCrT3MM4trY37yjnZr+8TqNjqe8SLHugjkQLke8zkMLVCV/2Z9EqHtaF+a27al/D3gOk7XZ40Y83b8oEuIiAlNtyrZkHAd4+VyP5lWXM5r0oazj8H5wKLB189ZxxCgnwJsPlLdKU5vYBP7dWQ8aSEeQpn++dQ4IPG33bE33m4I5EQNVSjNmw6f0u7c3wWkGHxqze6ELc2JtfTcdOEy9G6erN1fzBcqp/gpp74F/ERAREQEREBKr0go9wVR61M3/dOjD5HylrMK1MMpU7iCD4EWgcP6YGoVplDanV0e28ugBXXqt/+MTsNk4g1KNNzvKi/iNG+IMoKVPtMMUb1kIPmDY/AmXOwUy0gvIn46/nAsYiICIiAiIgUWJxCh2GU+sf9wjjyiTao1PiYmZljTqwiImmyIiAiIgJB20PoW/dPuYSdI+0UvScfdPwF4HNV1UqBwPaX96m/wAbzDGUgVUXNwLBuN1JAPjYDXwM8JBHg3LgUH/wZsxCXAPVviFOnvMCFtXZYxDUQxKstWlVDpoVqI/eK33BgGB6OZ1+zjdT+Jpz+Wz0z97+4H+6X2zNzjk5+QgTYiICc56XL9WeZI+F50c53adM1lq1BuT1Oopm7EePeHhaBQNgTTxVLEAd0rTDeBQU2Pla/lOnXDlnOXKd99QAVIA0IN8xtv4W6TThKtM0xnIC5d53b9R8R7xN2x8QtW+VmvTIWxuO7vUgAjQ2trygYekNbsaV1AzEhUG67AFlXzKhf3pL9H8KKdEKN2gH4UARfgt/OU22ia2MSmNVojMeI7RipUHkQeycHkHnUUqYVQo3AAe6BnERAREQEREBETTi64RGc7gL+PIeZ0gUWC31hwzv/WZc7NHc8zOewLnK5O86nxJuZ0eBS1NQd9r+/WBIiIgIiICIiBX1d58TPZ5V3nxM9gT4iICIiAiIgJ4RPYgca3dZk10BHnTa/wAVZvcZsz909Mp+an+pTM/ShDSqCqFJGjWA9YqLOviUJA6mQjVAI1ulxduBRxYNflqjeAgSaj92/Ig+8W+aToME/wBI/wB4Kw/P5icujHVTv1Xz3r/MtvOXGz8R3aT8r028BoP7TAv4iaMZikpIXc2Ue8ngAOJMDRtXE5VCKe++g6D2m8vmRNmBpBVCgaWtKGhiS7mo+87h9leA/wA4y6wtaBRnC5GehbT1qY+0p9kX4208QDNOFovTYVKZufOzqeB8fgfCdBtbBGooZPrE1Xhfmp6H9JW4XFKL1CD2ZJ7UcaTg957cFvfMOBu32jAz9HsOCzOTdyczkixzG9lt9kFnI5Z9NJfyrxODsRUpmzW3jUEciOImWG2uhOWp3H6nut+FvyOvjAsoiICIiAiJhUqBRdiAOZNhAznNbW2gKr9mh+jQkseDMOA6A/HwkjbVerUQrTuiH1nPdYjjb7I67/CVKYbs1FMDvtbQD1R7Itz4nqbcIE7ZOHzm3C9z4CdLIuzsL2aAceP6SVAREQEREBERAr6u8+JnsyqUzc6cTECbERAREQEREBERAibTwYqoV0B3qTrZhuP5ec4SxUmhUGq5goPtIdWp9SupH3W+7r9GlTtzYdPELr3X4MNDpuvbkdx3iBxwxF11JuO6x429ir46C/3lPMSy2PiwS1JrDPc24Coo76+BHeHS0p9pbBxlPgzEXy1EGYMOTqN3jb3ESgbarBrG9Oulu6dL5fVynmOB62MD6ljtvU8PSVquYse6oUElyBz3DTibTjsb6QGu4eocoHqoNVXz4nr8pKwO2aONomm/db2hbVHHtAcunW3Izn9obGr0rkqWTg6AuhHMkep4Nbz3wLzD7VX7Q98tsPtmmNWqIP3h8p88yNuFyeS/SH+FbmTsPsXEtqV7FONSuttPuUPWc/iyjx3QOyr+kpqsKNAE31JuUuo3m+9KY4tv4AXImGHxKoxam/e0vwFQjebezwAA3BQNdDKOnTyIaOHz2Nu0rOb1KhHFmAHWwFgOAknDYMqIHTYDGW+pF19qgSFK9aJOg/AbDdYrrmyxVOnWUlDcDRgQVZTvs6HVT0IEoUQjW5B5iSji9QaguQLCojZKqjlcakfd1B4iBihxFH6qowUey3fTwAPqjwIllhvSGruekh6oxX3KQfnNNPGE7mo1RppU/wBPU63ZVKsf3Vmz9sp+3hcUOqqlcHl9S7H4QLCntsH/AGq3kEI/qkY+lVIsVSnWZgbGwQAHlmzfK8wxO0V7MrQp1+0NwC9CqmUnexuuu++kibIwa0RqrEjpk+NTLAuqGJxFT2UpjqTUb8gPjNlVKdOz1WLNwzd4k8kQcegEqsZtzLpnp0xwC/S1D4XsqnyaaKGGxFY3VWpqdDUq3NRhyAOtundEDbtDapJAAOa/cpizG/AtbQsOAGg36mxFjsfZpT6SrrVPmEHIcz1/w7tmbJp0dVBLne7asf0HQSfAREQEREBERAREQIjgXPeO/rE2sgvuHuiBuiIgIiICIiAiIgJ4TPCZHr1IGnaGOCAmfO/SOv8AtB76qwG64Bt4X3TpNqOXNuEqWwV4HH/+NysHpl0cbirfre46S+wG1cSu/XqLofdqD8PCWabOHKWmA2Ut90CHh8djKmgLgcyZY4bYLN3qrFj8JfYTBqo3SYBaBUJslQNBNNbAgS6qPINfWBRYnTcJW1qLNvnSPh7zAYLpA5cbNHXyJEHBuPVqOPMGdYuzekz/APEwOOZcRwqn3SK9CuTrVJHK1p3DbG8JGq7II4QIfo/jadPRkRW+0EFz4tvnX0qgYXBBHScm2zukk4JnpHS9uXCB00TRhcQHF+PKb4CIiAiIgIiICIiBHZzc6GJqqFrnfvPCIE2IiAiIgIiICeT2eQMWkHGHSTmkDEQKmpSmHYyayT0U4EWlQlvg6Fppo0hLKksDO0xczIzW0DS8wFO83hJsVIGlKE2rTEziB5lntonsDy0WnsQNT0QeEjVMIJOnloECnSym4k5GvMSsLA2REQEREBERAREQIr1tTpE01d58TPYH/9k="; /***/ }), /***/ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js": /*!***************************************************************************************!*\ !*** ./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js ***! \***************************************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { /* global __react_refresh_library__ */ const safeThis = __webpack_require__(/*! core-js-pure/features/global-this */ "./node_modules/core-js-pure/features/global-this.js"); const RefreshRuntime = __webpack_require__(/*! react-refresh/runtime */ "./node_modules/react-refresh/runtime.js"); if (true) { if (typeof safeThis !== 'undefined') { var $RefreshInjected$ = '__reactRefreshInjected'; // Namespace the injected flag (if necessary) for monorepo compatibility if (false) {} // Only inject the runtime if it hasn't been injected if (!safeThis[$RefreshInjected$]) { // Inject refresh runtime into global scope RefreshRuntime.injectIntoGlobalHook(safeThis); // Mark the runtime as injected to prevent double-injection safeThis[$RefreshInjected$] = true; } } } /***/ }), /***/ "./node_modules/core-js-pure/actual/global-this.js": /*!*********************************************************!*\ !*** ./node_modules/core-js-pure/actual/global-this.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var parent = __webpack_require__(/*! ../stable/global-this */ "./node_modules/core-js-pure/stable/global-this.js"); module.exports = parent; /***/ }), /***/ "./node_modules/core-js-pure/es/global-this.js": /*!*****************************************************!*\ !*** ./node_modules/core-js-pure/es/global-this.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; __webpack_require__(/*! ../modules/es.global-this */ "./node_modules/core-js-pure/modules/es.global-this.js"); module.exports = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); /***/ }), /***/ "./node_modules/core-js-pure/features/global-this.js": /*!***********************************************************!*\ !*** ./node_modules/core-js-pure/features/global-this.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; module.exports = __webpack_require__(/*! ../full/global-this */ "./node_modules/core-js-pure/full/global-this.js"); /***/ }), /***/ "./node_modules/core-js-pure/full/global-this.js": /*!*******************************************************!*\ !*** ./node_modules/core-js-pure/full/global-this.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; // TODO: remove from `core-js@4` __webpack_require__(/*! ../modules/esnext.global-this */ "./node_modules/core-js-pure/modules/esnext.global-this.js"); var parent = __webpack_require__(/*! ../actual/global-this */ "./node_modules/core-js-pure/actual/global-this.js"); module.exports = parent; /***/ }), /***/ "./node_modules/core-js-pure/internals/a-callable.js": /*!***********************************************************!*\ !*** ./node_modules/core-js-pure/internals/a-callable.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js-pure/internals/try-to-string.js"); var $TypeError = TypeError; // `Assert: IsCallable(argument) is true` module.exports = function (argument) { if (isCallable(argument)) return argument; throw new $TypeError(tryToString(argument) + ' is not a function'); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/an-object.js": /*!**********************************************************!*\ !*** ./node_modules/core-js-pure/internals/an-object.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js"); var $String = String; var $TypeError = TypeError; // `Assert: Type(argument) is Object` module.exports = function (argument) { if (isObject(argument)) return argument; throw new $TypeError($String(argument) + ' is not an object'); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/classof-raw.js": /*!************************************************************!*\ !*** ./node_modules/core-js-pure/internals/classof-raw.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js"); var toString = uncurryThis({}.toString); var stringSlice = uncurryThis(''.slice); module.exports = function (it) { return stringSlice(toString(it), 8, -1); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/create-non-enumerable-property.js": /*!*******************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/create-non-enumerable-property.js ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js"); var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js-pure/internals/object-define-property.js"); var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js-pure/internals/create-property-descriptor.js"); module.exports = DESCRIPTORS ? function (object, key, value) { return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/create-property-descriptor.js": /*!***************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/create-property-descriptor.js ***! \***************************************************************************/ /***/ ((module) => { "use strict"; module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/define-global-property.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/define-global-property.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty = Object.defineProperty; module.exports = function (key, value) { try { defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); } catch (error) { globalThis[key] = value; } return value; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/descriptors.js": /*!************************************************************!*\ !*** ./node_modules/core-js-pure/internals/descriptors.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); // Detect IE8's incomplete defineProperty implementation module.exports = !fails(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; }); /***/ }), /***/ "./node_modules/core-js-pure/internals/document-create-element.js": /*!************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/document-create-element.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js"); var document = globalThis.document; // typeof document.createElement is 'object' in old IE var EXISTS = isObject(document) && isObject(document.createElement); module.exports = function (it) { return EXISTS ? document.createElement(it) : {}; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/environment-user-agent.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/environment-user-agent.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var navigator = globalThis.navigator; var userAgent = navigator && navigator.userAgent; module.exports = userAgent ? String(userAgent) : ''; /***/ }), /***/ "./node_modules/core-js-pure/internals/environment-v8-version.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/environment-v8-version.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/core-js-pure/internals/environment-user-agent.js"); var process = globalThis.process; var Deno = globalThis.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; if (v8) { match = v8.split('.'); // in old Chrome, versions of V8 isn't V8 = Chrome / 10 // but their correct versions are not interesting for us version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); } // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` // so check `userAgent` even if `.v8` exists, but 0 if (!version && userAgent) { match = userAgent.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent.match(/Chrome\/(\d+)/); if (match) version = +match[1]; } } module.exports = version; /***/ }), /***/ "./node_modules/core-js-pure/internals/export.js": /*!*******************************************************!*\ !*** ./node_modules/core-js-pure/internals/export.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js-pure/internals/function-apply.js"); var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js-pure/internals/function-uncurry-this-clause.js"); var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js").f); var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js-pure/internals/is-forced.js"); var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js-pure/internals/path.js"); var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js-pure/internals/function-bind-context.js"); var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js-pure/internals/create-non-enumerable-property.js"); var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js-pure/internals/has-own-property.js"); // add debugging info __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js-pure/internals/shared-store.js"); var wrapConstructor = function (NativeConstructor) { var Wrapper = function (a, b, c) { if (this instanceof Wrapper) { switch (arguments.length) { case 0: return new NativeConstructor(); case 1: return new NativeConstructor(a); case 2: return new NativeConstructor(a, b); } return new NativeConstructor(a, b, c); } return apply(NativeConstructor, this, arguments); }; Wrapper.prototype = NativeConstructor.prototype; return Wrapper; }; /* options.target - name of the target object options.global - target is the global object options.stat - export as static methods of target options.proto - export as prototype methods of target options.real - real prototype method for the `pure` version options.forced - export even if the native feature is available options.bind - bind methods to the target, required for the `pure` version options.wrap - wrap constructors to preventing global pollution, required for the `pure` version options.unsafe - use the simple assignment of property instead of delete + defineProperty options.sham - add a flag to not completely full polyfills options.enumerable - export as enumerable property options.dontCallGetSet - prevent calling a getter on target options.name - the .name of the function if it does not match the key */ module.exports = function (options, source) { var TARGET = options.target; var GLOBAL = options.global; var STATIC = options.stat; var PROTO = options.proto; var nativeSource = GLOBAL ? globalThis : STATIC ? globalThis[TARGET] : globalThis[TARGET] && globalThis[TARGET].prototype; var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET]; var targetPrototype = target.prototype; var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE; var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor; for (key in source) { FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contains in native USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key); targetProperty = target[key]; if (USE_NATIVE) if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(nativeSource, key); nativeProperty = descriptor && descriptor.value; } else nativeProperty = nativeSource[key]; // export native or implementation sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key]; if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue; // bind methods to global for calling from export context if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, globalThis); // wrap global constructors for prevent changes in this version else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty); // make static versions for prototype methods else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty); // default case else resultProperty = sourceProperty; // add a flag to not completely full polyfills if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) { createNonEnumerableProperty(resultProperty, 'sham', true); } createNonEnumerableProperty(target, key, resultProperty); if (PROTO) { VIRTUAL_PROTOTYPE = TARGET + 'Prototype'; if (!hasOwn(path, VIRTUAL_PROTOTYPE)) { createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {}); } // export virtual prototype methods createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty); // export real prototype methods if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) { createNonEnumerableProperty(targetPrototype, key, sourceProperty); } } } }; /***/ }), /***/ "./node_modules/core-js-pure/internals/fails.js": /*!******************************************************!*\ !*** ./node_modules/core-js-pure/internals/fails.js ***! \******************************************************/ /***/ ((module) => { "use strict"; module.exports = function (exec) { try { return !!exec(); } catch (error) { return true; } }; /***/ }), /***/ "./node_modules/core-js-pure/internals/function-apply.js": /*!***************************************************************!*\ !*** ./node_modules/core-js-pure/internals/function-apply.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js"); var FunctionPrototype = Function.prototype; var apply = FunctionPrototype.apply; var call = FunctionPrototype.call; // eslint-disable-next-line es/no-reflect -- safe module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { return call.apply(apply, arguments); }); /***/ }), /***/ "./node_modules/core-js-pure/internals/function-bind-context.js": /*!**********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/function-bind-context.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js-pure/internals/function-uncurry-this-clause.js"); var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js-pure/internals/a-callable.js"); var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js"); var bind = uncurryThis(uncurryThis.bind); // optional / simple context binding module.exports = function (fn, that) { aCallable(fn); return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function /* ...args */ () { return fn.apply(that, arguments); }; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/function-bind-native.js": /*!*********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/function-bind-native.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); module.exports = !fails(function () { // eslint-disable-next-line es/no-function-prototype-bind -- safe var test = function () {/* empty */}.bind(); // eslint-disable-next-line no-prototype-builtins -- safe return typeof test != 'function' || test.hasOwnProperty('prototype'); }); /***/ }), /***/ "./node_modules/core-js-pure/internals/function-call.js": /*!**************************************************************!*\ !*** ./node_modules/core-js-pure/internals/function-call.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js"); var call = Function.prototype.call; module.exports = NATIVE_BIND ? call.bind(call) : function () { return call.apply(call, arguments); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/function-uncurry-this-clause.js": /*!*****************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/function-uncurry-this-clause.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js-pure/internals/classof-raw.js"); var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js"); module.exports = function (fn) { // Nashorn bug: // https://github.com/zloirock/core-js/issues/1128 // https://github.com/zloirock/core-js/issues/1130 if (classofRaw(fn) === 'Function') return uncurryThis(fn); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/function-uncurry-this.js": /*!**********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/function-uncurry-this.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js-pure/internals/function-bind-native.js"); var FunctionPrototype = Function.prototype; var call = FunctionPrototype.call; var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { return function () { return call.apply(fn, arguments); }; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/get-built-in.js": /*!*************************************************************!*\ !*** ./node_modules/core-js-pure/internals/get-built-in.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js-pure/internals/path.js"); var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); var aFunction = function (variable) { return isCallable(variable) ? variable : undefined; }; module.exports = function (namespace, method) { return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(globalThis[namespace]) : path[namespace] && path[namespace][method] || globalThis[namespace] && globalThis[namespace][method]; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/get-method.js": /*!***********************************************************!*\ !*** ./node_modules/core-js-pure/internals/get-method.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js-pure/internals/a-callable.js"); var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js-pure/internals/is-null-or-undefined.js"); // `GetMethod` abstract operation // https://tc39.es/ecma262/#sec-getmethod module.exports = function (V, P) { var func = V[P]; return isNullOrUndefined(func) ? undefined : aCallable(func); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/global-this.js": /*!************************************************************!*\ !*** ./node_modules/core-js-pure/internals/global-this.js ***! \************************************************************/ /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; var check = function (it) { return it && it.Math === Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 module.exports = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || check(typeof this == 'object' && this) || // eslint-disable-next-line no-new-func -- fallback function () { return this; }() || Function('return this')(); /***/ }), /***/ "./node_modules/core-js-pure/internals/has-own-property.js": /*!*****************************************************************!*\ !*** ./node_modules/core-js-pure/internals/has-own-property.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js"); var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js-pure/internals/to-object.js"); var hasOwnProperty = uncurryThis({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty // eslint-disable-next-line es/no-object-hasown -- safe module.exports = Object.hasOwn || function hasOwn(it, key) { return hasOwnProperty(toObject(it), key); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/ie8-dom-define.js": /*!***************************************************************!*\ !*** ./node_modules/core-js-pure/internals/ie8-dom-define.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js"); var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js-pure/internals/document-create-element.js"); // Thanks to IE8 for its funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); /***/ }), /***/ "./node_modules/core-js-pure/internals/indexed-object.js": /*!***************************************************************!*\ !*** ./node_modules/core-js-pure/internals/indexed-object.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js"); var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js-pure/internals/classof-raw.js"); var $Object = Object; var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe return !$Object('z').propertyIsEnumerable(0); }) ? function (it) { return classof(it) === 'String' ? split(it, '') : $Object(it); } : $Object; /***/ }), /***/ "./node_modules/core-js-pure/internals/is-callable.js": /*!************************************************************!*\ !*** ./node_modules/core-js-pure/internals/is-callable.js ***! \************************************************************/ /***/ ((module) => { "use strict"; // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/is-forced.js": /*!**********************************************************!*\ !*** ./node_modules/core-js-pure/internals/is-forced.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; }; var normalize = isForced.normalize = function (string) { return String(string).replace(replacement, '.').toLowerCase(); }; var data = isForced.data = {}; var NATIVE = isForced.NATIVE = 'N'; var POLYFILL = isForced.POLYFILL = 'P'; module.exports = isForced; /***/ }), /***/ "./node_modules/core-js-pure/internals/is-null-or-undefined.js": /*!*********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/is-null-or-undefined.js ***! \*********************************************************************/ /***/ ((module) => { "use strict"; // we can't use just `it == null` since of `document.all` special case // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec module.exports = function (it) { return it === null || it === undefined; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/is-object.js": /*!**********************************************************!*\ !*** ./node_modules/core-js-pure/internals/is-object.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); module.exports = function (it) { return typeof it == 'object' ? it !== null : isCallable(it); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/is-pure.js": /*!********************************************************!*\ !*** ./node_modules/core-js-pure/internals/is-pure.js ***! \********************************************************/ /***/ ((module) => { "use strict"; module.exports = true; /***/ }), /***/ "./node_modules/core-js-pure/internals/is-symbol.js": /*!**********************************************************!*\ !*** ./node_modules/core-js-pure/internals/is-symbol.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js-pure/internals/get-built-in.js"); var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js-pure/internals/object-is-prototype-of.js"); var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js-pure/internals/use-symbol-as-uid.js"); var $Object = Object; module.exports = USE_SYMBOL_AS_UID ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn('Symbol'); return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/object-define-property.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/object-define-property.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js"); var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js-pure/internals/ie8-dom-define.js"); var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/core-js-pure/internals/v8-prototype-define-bug.js"); var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js-pure/internals/an-object.js"); var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js-pure/internals/to-property-key.js"); var $TypeError = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var ENUMERABLE = 'enumerable'; var CONFIGURABLE = 'configurable'; var WRITABLE = 'writable'; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { anObject(O); P = toPropertyKey(P); anObject(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); if (current && current[WRITABLE]) { O[P] = Attributes.value; Attributes = { configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], writable: false }; } } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPropertyKey(P); anObject(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) {/* empty */} if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js": /*!***********************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js ***! \***********************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js"); var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js-pure/internals/function-call.js"); var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js-pure/internals/object-property-is-enumerable.js"); var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js-pure/internals/create-property-descriptor.js"); var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js-pure/internals/to-indexed-object.js"); var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js-pure/internals/to-property-key.js"); var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js-pure/internals/has-own-property.js"); var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js-pure/internals/ie8-dom-define.js"); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPropertyKey(P); if (IE8_DOM_DEFINE) try { return $getOwnPropertyDescriptor(O, P); } catch (error) {/* empty */} if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/object-is-prototype-of.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/object-is-prototype-of.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js"); module.exports = uncurryThis({}.isPrototypeOf); /***/ }), /***/ "./node_modules/core-js-pure/internals/object-property-is-enumerable.js": /*!******************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/object-property-is-enumerable.js ***! \******************************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; var $propertyIsEnumerable = {}.propertyIsEnumerable; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor(this, V); return !!descriptor && descriptor.enumerable; } : $propertyIsEnumerable; /***/ }), /***/ "./node_modules/core-js-pure/internals/ordinary-to-primitive.js": /*!**********************************************************************!*\ !*** ./node_modules/core-js-pure/internals/ordinary-to-primitive.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js-pure/internals/function-call.js"); var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js-pure/internals/is-callable.js"); var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js"); var $TypeError = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive module.exports = function (input, pref) { var fn, val; if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; throw new $TypeError("Can't convert object to primitive value"); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/path.js": /*!*****************************************************!*\ !*** ./node_modules/core-js-pure/internals/path.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; module.exports = {}; /***/ }), /***/ "./node_modules/core-js-pure/internals/require-object-coercible.js": /*!*************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/require-object-coercible.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js-pure/internals/is-null-or-undefined.js"); var $TypeError = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); return it; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/shared-store.js": /*!*************************************************************!*\ !*** ./node_modules/core-js-pure/internals/shared-store.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js-pure/internals/is-pure.js"); var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js-pure/internals/define-global-property.js"); var SHARED = '__core-js_shared__'; var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); (store.versions || (store.versions = [])).push({ version: '3.39.0', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); /***/ }), /***/ "./node_modules/core-js-pure/internals/shared.js": /*!*******************************************************!*\ !*** ./node_modules/core-js-pure/internals/shared.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js-pure/internals/shared-store.js"); module.exports = function (key, value) { return store[key] || (store[key] = value || {}); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/symbol-constructor-detection.js": /*!*****************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/symbol-constructor-detection.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "./node_modules/core-js-pure/internals/environment-v8-version.js"); var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var $String = globalThis.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing module.exports = !!Object.getOwnPropertySymbols && !fails(function () { var symbol = Symbol('symbol detection'); // Chrome 38 Symbol has incorrect toString conversion // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, // of course, fail. return !$String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances !Symbol.sham && V8_VERSION && V8_VERSION < 41; }); /***/ }), /***/ "./node_modules/core-js-pure/internals/to-indexed-object.js": /*!******************************************************************!*\ !*** ./node_modules/core-js-pure/internals/to-indexed-object.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; // toObject with fallback for non-array-like ES3 strings var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js-pure/internals/indexed-object.js"); var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js-pure/internals/require-object-coercible.js"); module.exports = function (it) { return IndexedObject(requireObjectCoercible(it)); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/to-object.js": /*!**********************************************************!*\ !*** ./node_modules/core-js-pure/internals/to-object.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js-pure/internals/require-object-coercible.js"); var $Object = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject module.exports = function (argument) { return $Object(requireObjectCoercible(argument)); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/to-primitive.js": /*!*************************************************************!*\ !*** ./node_modules/core-js-pure/internals/to-primitive.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js-pure/internals/function-call.js"); var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js-pure/internals/is-object.js"); var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js-pure/internals/is-symbol.js"); var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js-pure/internals/get-method.js"); var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "./node_modules/core-js-pure/internals/ordinary-to-primitive.js"); var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js-pure/internals/well-known-symbol.js"); var $TypeError = TypeError; var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive module.exports = function (input, pref) { if (!isObject(input) || isSymbol(input)) return input; var exoticToPrim = getMethod(input, TO_PRIMITIVE); var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; result = call(exoticToPrim, input, pref); if (!isObject(result) || isSymbol(result)) return result; throw new $TypeError("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/to-property-key.js": /*!****************************************************************!*\ !*** ./node_modules/core-js-pure/internals/to-property-key.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js-pure/internals/to-primitive.js"); var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js-pure/internals/is-symbol.js"); // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey module.exports = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; /***/ }), /***/ "./node_modules/core-js-pure/internals/try-to-string.js": /*!**************************************************************!*\ !*** ./node_modules/core-js-pure/internals/try-to-string.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; var $String = String; module.exports = function (argument) { try { return $String(argument); } catch (error) { return 'Object'; } }; /***/ }), /***/ "./node_modules/core-js-pure/internals/uid.js": /*!****************************************************!*\ !*** ./node_modules/core-js-pure/internals/uid.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js-pure/internals/function-uncurry-this.js"); var id = 0; var postfix = Math.random(); var toString = uncurryThis(1.0.toString); module.exports = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); }; /***/ }), /***/ "./node_modules/core-js-pure/internals/use-symbol-as-uid.js": /*!******************************************************************!*\ !*** ./node_modules/core-js-pure/internals/use-symbol-as-uid.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /* eslint-disable es/no-symbol -- required for testing */ var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js-pure/internals/symbol-constructor-detection.js"); module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == 'symbol'; /***/ }), /***/ "./node_modules/core-js-pure/internals/v8-prototype-define-bug.js": /*!************************************************************************!*\ !*** ./node_modules/core-js-pure/internals/v8-prototype-define-bug.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js-pure/internals/descriptors.js"); var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js-pure/internals/fails.js"); // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 module.exports = DESCRIPTORS && fails(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () {/* empty */}, 'prototype', { value: 42, writable: false }).prototype !== 42; }); /***/ }), /***/ "./node_modules/core-js-pure/internals/well-known-symbol.js": /*!******************************************************************!*\ !*** ./node_modules/core-js-pure/internals/well-known-symbol.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js-pure/internals/shared.js"); var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js-pure/internals/has-own-property.js"); var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js-pure/internals/uid.js"); var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js-pure/internals/symbol-constructor-detection.js"); var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js-pure/internals/use-symbol-as-uid.js"); var Symbol = globalThis.Symbol; var WellKnownSymbolsStore = shared('wks'); var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; module.exports = function (name) { if (!hasOwn(WellKnownSymbolsStore, name)) { WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) ? Symbol[name] : createWellKnownSymbol('Symbol.' + name); } return WellKnownSymbolsStore[name]; }; /***/ }), /***/ "./node_modules/core-js-pure/modules/es.global-this.js": /*!*************************************************************!*\ !*** ./node_modules/core-js-pure/modules/es.global-this.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js-pure/internals/export.js"); var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/core-js-pure/internals/global-this.js"); // `globalThis` object // https://tc39.es/ecma262/#sec-globalthis $({ global: true, forced: globalThis.globalThis !== globalThis }, { globalThis: globalThis }); /***/ }), /***/ "./node_modules/core-js-pure/modules/esnext.global-this.js": /*!*****************************************************************!*\ !*** ./node_modules/core-js-pure/modules/esnext.global-this.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; // TODO: Remove from `core-js@4` __webpack_require__(/*! ../modules/es.global-this */ "./node_modules/core-js-pure/modules/es.global-this.js"); /***/ }), /***/ "./node_modules/core-js-pure/stable/global-this.js": /*!*********************************************************!*\ !*** ./node_modules/core-js-pure/stable/global-this.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var parent = __webpack_require__(/*! ../es/global-this */ "./node_modules/core-js-pure/es/global-this.js"); module.exports = parent; /***/ }), /***/ "./node_modules/axios/lib/adapters/adapters.js": /*!*****************************************************!*\ !*** ./node_modules/axios/lib/adapters/adapters.js ***! \*****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "./node_modules/axios/lib/helpers/null.js"); /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "./node_modules/axios/lib/adapters/xhr.js"); /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "./node_modules/axios/lib/adapters/fetch.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); const knownAdapters = { http: _http_js__WEBPACK_IMPORTED_MODULE_0__["default"], xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"], fetch: _fetch_js__WEBPACK_IMPORTED_MODULE_2__["default"] }; _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, value) => { if (fn) { try { Object.defineProperty(fn, 'name', { value }); } catch (e) { // eslint-disable-next-line no-empty } Object.defineProperty(fn, 'adapterName', { value }); } }); const renderReason = reason => `- ${reason}`; const isResolvedHandle = adapter => _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ getAdapter: adapters => { adapters = _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isArray(adapters) ? adapters : [adapters]; const { length } = adapters; let nameOrAdapter; let adapter; const rejectedReasons = {}; for (let i = 0; i < length; i++) { nameOrAdapter = adapters[i]; let id; adapter = nameOrAdapter; if (!isResolvedHandle(nameOrAdapter)) { adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()]; if (adapter === undefined) { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](`Unknown adapter '${id}'`); } } if (adapter) { break; } rejectedReasons[id || '#' + i] = adapter; } if (!adapter) { const reasons = Object.entries(rejectedReasons).map(([id, state]) => `adapter ${id} ` + (state === false ? 'is not supported by the environment' : 'is not available in the build')); let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified'; throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](`There is no suitable adapter to dispatch the request ` + s, 'ERR_NOT_SUPPORT'); } return adapter; }, adapters: knownAdapters }); /***/ }), /***/ "./node_modules/axios/lib/adapters/fetch.js": /*!**************************************************!*\ !*** ./node_modules/axios/lib/adapters/fetch.js ***! \**************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "./node_modules/axios/lib/helpers/composeSignals.js"); /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "./node_modules/axios/lib/helpers/trackStream.js"); /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/axios/lib/helpers/progressEventReducer.js"); /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/axios/lib/helpers/resolveConfig.js"); /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/axios/lib/core/settle.js"); const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function'; const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function'; // used only inside the fetch adapter const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? (encoder => str => encoder.encode(str))(new TextEncoder()) : async str => new Uint8Array(await new Response(str).arrayBuffer())); const test = (fn, ...args) => { try { return !!fn(...args); } catch (e) { return false; } }; const supportsRequestStream = isReadableStreamSupported && test(() => { let duplexAccessed = false; const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, { body: new ReadableStream(), method: 'POST', get duplex() { duplexAccessed = true; return 'half'; } }).headers.has('Content-Type'); return duplexAccessed && !hasContentType; }); const DEFAULT_CHUNK_SIZE = 64 * 1024; const supportsResponseStream = isReadableStreamSupported && test(() => _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isReadableStream(new Response('').body)); const resolvers = { stream: supportsResponseStream && (res => res.body) }; isFetchSupported && (res => { ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => { !resolvers[type] && (resolvers[type] = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(res[type]) ? res => res[type]() : (_, config) => { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](`Response type '${type}' is not supported`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT, config); }); }); })(new Response()); const getBodyLength = async body => { if (body == null) { return 0; } if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isBlob(body)) { return body.size; } if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isSpecCompliantForm(body)) { const _request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, { method: 'POST', body }); return (await _request.arrayBuffer()).byteLength; } if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBuffer(body)) { return body.byteLength; } if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isURLSearchParams(body)) { body = body + ''; } if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(body)) { return (await encodeText(body)).byteLength; } }; const resolveBodyLength = async (headers, body) => { const length = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(headers.getContentLength()); return length == null ? getBodyLength(body) : length; }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isFetchSupported && (async config => { let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = 'same-origin', fetchOptions } = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config); responseType = responseType ? (responseType + '').toLowerCase() : 'text'; let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout); let request; const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => { composedSignal.unsubscribe(); }); let requestContentLength; try { if (onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) { let _request = new Request(url, { method: 'POST', body: data, duplex: "half" }); let contentTypeHeader; if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) { headers.setContentType(contentTypeHeader); } if (_request.body) { const [onProgress, flush] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(requestContentLength, (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onUploadProgress))); data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush); } } if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(withCredentials)) { withCredentials = withCredentials ? 'include' : 'omit'; } // Cloudflare Workers throws when credentials are defined // see https://github.com/cloudflare/workerd/issues/902 const isCredentialsSupported = "credentials" in Request.prototype; request = new Request(url, { ...fetchOptions, signal: composedSignal, method: method.toUpperCase(), headers: headers.normalize().toJSON(), body: data, duplex: "half", credentials: isCredentialsSupported ? withCredentials : undefined }); let response = await fetch(request); const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) { const options = {}; ['status', 'statusText', 'headers'].forEach(prop => { options[prop] = response[prop]; }); const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(response.headers.get('content-length')); const [onProgress, flush] = onDownloadProgress && (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(responseContentLength, (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)) || []; response = new Response((0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => { flush && flush(); unsubscribe && unsubscribe(); }), options); } responseType = responseType || 'text'; let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].findKey(resolvers, responseType) || 'text'](response, config); !isStreamResponse && unsubscribe && unsubscribe(); return await new Promise((resolve, reject) => { (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, { data: responseData, headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__["default"].from(response.headers), status: response.status, statusText: response.statusText, config, request }); }); } catch (err) { unsubscribe && unsubscribe(); if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) { throw Object.assign(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK, config, request), { cause: err.cause || err }); } throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request); } })); /***/ }), /***/ "./node_modules/axios/lib/adapters/xhr.js": /*!************************************************!*\ !*** ./node_modules/axios/lib/adapters/xhr.js ***! \************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "./node_modules/axios/lib/core/settle.js"); /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/axios/lib/defaults/transitional.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js"); /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/axios/lib/helpers/parseProtocol.js"); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/axios/lib/helpers/progressEventReducer.js"); /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/axios/lib/helpers/resolveConfig.js"); const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported && function (config) { return new Promise(function dispatchXhrRequest(resolve, reject) { const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])(config); let requestData = _config.data; const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(_config.headers).normalize(); let { responseType, onUploadProgress, onDownloadProgress } = _config; let onCanceled; let uploadThrottled, downloadThrottled; let flushUpload, flushDownload; function done() { flushUpload && flushUpload(); // flush events flushDownload && flushDownload(); // flush events _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); _config.signal && _config.signal.removeEventListener('abort', onCanceled); } let request = new XMLHttpRequest(); request.open(_config.method.toUpperCase(), _config.url, true); // Set the request timeout in MS request.timeout = _config.timeout; function onloadend() { if (!request) { return; } // Prepare the response const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from('getAllResponseHeaders' in request && request.getAllResponseHeaders()); const responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response; const response = { data: responseData, status: request.status, statusText: request.statusText, headers: responseHeaders, config, request }; (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(function _resolve(value) { resolve(value); done(); }, function _reject(err) { reject(err); done(); }, response); // Clean up request request = null; } if ('onloadend' in request) { // Use onloadend if available request.onloadend = onloadend; } else { // Listen for ready state to emulate onloadend request.onreadystatechange = function handleLoad() { if (!request || request.readyState !== 4) { return; } // The request errored out and we didn't get a response, this will be // handled by onerror instead // With one exception: request that using file: protocol, most browsers // will return status as 0 even though it's a successful request if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) { return; } // readystate handler is calling before onerror or ontimeout handlers, // so we should call onloadend on the next 'tick' setTimeout(onloadend); }; } // Handle browser request cancellation (as opposed to a manual cancellation) request.onabort = function handleAbort() { if (!request) { return; } reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request)); // Clean up request request = null; }; // Handle low level network errors request.onerror = function handleError() { // Real errors are hidden from us by the browser // onerror should only fire if it's a network error reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request)); // Clean up request request = null; }; // Handle timeout request.ontimeout = function handleTimeout() { let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded'; const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"]; if (_config.timeoutErrorMessage) { timeoutErrorMessage = _config.timeoutErrorMessage; } reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](timeoutErrorMessage, transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request)); // Clean up request request = null; }; // Remove Content-Type if data is undefined requestData === undefined && requestHeaders.setContentType(null); // Add headers to the request if ('setRequestHeader' in request) { _utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) { request.setRequestHeader(key, val); }); } // Add withCredentials to request if needed if (!_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].isUndefined(_config.withCredentials)) { request.withCredentials = !!_config.withCredentials; } // Add responseType to request if needed if (responseType && responseType !== 'json') { request.responseType = _config.responseType; } // Handle progress if needed if (onDownloadProgress) { [downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onDownloadProgress, true); request.addEventListener('progress', downloadThrottled); } // Not all browsers support upload events if (onUploadProgress && request.upload) { [uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress); request.upload.addEventListener('progress', uploadThrottled); request.upload.addEventListener('loadend', flushUpload); } if (_config.cancelToken || _config.signal) { // Handle cancellation // eslint-disable-next-line func-names onCanceled = cancel => { if (!request) { return; } reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel); request.abort(); request = null; }; _config.cancelToken && _config.cancelToken.subscribe(onCanceled); if (_config.signal) { _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled); } } const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url); if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) { reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST, config)); return; } // Send the request request.send(requestData || null); }); }); /***/ }), /***/ "./node_modules/axios/lib/axios.js": /*!*****************************************!*\ !*** ./node_modules/axios/lib/axios.js ***! \*****************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/axios/lib/helpers/bind.js"); /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "./node_modules/axios/lib/core/Axios.js"); /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "./node_modules/axios/lib/core/mergeConfig.js"); /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "./node_modules/axios/lib/defaults/index.js"); /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "./node_modules/axios/lib/helpers/formDataToJSON.js"); /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js"); /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "./node_modules/axios/lib/cancel/CancelToken.js"); /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "./node_modules/axios/lib/cancel/isCancel.js"); /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "./node_modules/axios/lib/env/data.js"); /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "./node_modules/axios/lib/helpers/toFormData.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "./node_modules/axios/lib/helpers/spread.js"); /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "./node_modules/axios/lib/helpers/isAxiosError.js"); /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "./node_modules/axios/lib/adapters/adapters.js"); /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "./node_modules/axios/lib/helpers/HttpStatusCode.js"); /** * Create an instance of Axios * * @param {Object} defaultConfig The default config for the instance * * @returns {Axios} A new instance of Axios */ function createInstance(defaultConfig) { const context = new _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"](defaultConfig); const instance = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.request, context); // Copy axios.prototype to instance _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, { allOwnKeys: true }); // Copy context to instance _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, { allOwnKeys: true }); // Factory for creating new instances instance.create = function create(instanceConfig) { return createInstance((0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(defaultConfig, instanceConfig)); }; return instance; } // Create the default instance to be exported const axios = createInstance(_defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]); // Expose Axios class to allow class inheritance axios.Axios = _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"]; // Expose Cancel & CancelToken axios.CanceledError = _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__["default"]; axios.CancelToken = _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__["default"]; axios.isCancel = _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__["default"]; axios.VERSION = _env_data_js__WEBPACK_IMPORTED_MODULE_8__.VERSION; axios.toFormData = _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__["default"]; // Expose AxiosError class axios.AxiosError = _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__["default"]; // alias for CanceledError for backward compatibility axios.Cancel = axios.CanceledError; // Expose all/spread axios.all = function all(promises) { return Promise.all(promises); }; axios.spread = _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__["default"]; // Expose isAxiosError axios.isAxiosError = _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__["default"]; // Expose mergeConfig axios.mergeConfig = _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"]; axios.AxiosHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__["default"]; axios.formToJSON = thing => (0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__["default"])(_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isHTMLForm(thing) ? new FormData(thing) : thing); axios.getAdapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__["default"].getAdapter; axios.HttpStatusCode = _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__["default"]; axios.default = axios; // this module should only have a default export /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (axios); /***/ }), /***/ "./node_modules/axios/lib/cancel/CancelToken.js": /*!******************************************************!*\ !*** ./node_modules/axios/lib/cancel/CancelToken.js ***! \******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js"); /** * A `CancelToken` is an object that can be used to request cancellation of an operation. * * @param {Function} executor The executor function. * * @returns {CancelToken} */ class CancelToken { constructor(executor) { if (typeof executor !== 'function') { throw new TypeError('executor must be a function.'); } let resolvePromise; this.promise = new Promise(function promiseExecutor(resolve) { resolvePromise = resolve; }); const token = this; // eslint-disable-next-line func-names this.promise.then(cancel => { if (!token._listeners) return; let i = token._listeners.length; while (i-- > 0) { token._listeners[i](cancel); } token._listeners = null; }); // eslint-disable-next-line func-names this.promise.then = onfulfilled => { let _resolve; // eslint-disable-next-line func-names const promise = new Promise(resolve => { token.subscribe(resolve); _resolve = resolve; }).then(onfulfilled); promise.cancel = function reject() { token.unsubscribe(_resolve); }; return promise; }; executor(function cancel(message, config, request) { if (token.reason) { // Cancellation has already been requested return; } token.reason = new _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__["default"](message, config, request); resolvePromise(token.reason); }); } /** * Throws a `CanceledError` if cancellation has been requested. */ throwIfRequested() { if (this.reason) { throw this.reason; } } /** * Subscribe to the cancel signal */ subscribe(listener) { if (this.reason) { listener(this.reason); return; } if (this._listeners) { this._listeners.push(listener); } else { this._listeners = [listener]; } } /** * Unsubscribe from the cancel signal */ unsubscribe(listener) { if (!this._listeners) { return; } const index = this._listeners.indexOf(listener); if (index !== -1) { this._listeners.splice(index, 1); } } toAbortSignal() { const controller = new AbortController(); const abort = err => { controller.abort(err); }; this.subscribe(abort); controller.signal.unsubscribe = () => this.unsubscribe(abort); return controller.signal; } /** * Returns an object that contains a new `CancelToken` and a function that, when called, * cancels the `CancelToken`. */ static source() { let cancel; const token = new CancelToken(function executor(c) { cancel = c; }); return { token, cancel }; } } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CancelToken); /***/ }), /***/ "./node_modules/axios/lib/cancel/CanceledError.js": /*!********************************************************!*\ !*** ./node_modules/axios/lib/cancel/CanceledError.js ***! \********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /** * A `CanceledError` is an object that is thrown when an operation is canceled. * * @param {string=} message The message. * @param {Object=} config The config. * @param {Object=} request The request. * * @returns {CanceledError} The created error. */ function CanceledError(message, config, request) { // eslint-disable-next-line no-eq-null,eqeqeq _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(this, message == null ? 'canceled' : message, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_CANCELED, config, request); this.name = 'CanceledError'; } _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].inherits(CanceledError, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"], { __CANCEL__: true }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CanceledError); /***/ }), /***/ "./node_modules/axios/lib/cancel/isCancel.js": /*!***************************************************!*\ !*** ./node_modules/axios/lib/cancel/isCancel.js ***! \***************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ isCancel) /* harmony export */ }); function isCancel(value) { return !!(value && value.__CANCEL__); } /***/ }), /***/ "./node_modules/axios/lib/core/Axios.js": /*!**********************************************!*\ !*** ./node_modules/axios/lib/core/Axios.js ***! \**********************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "./node_modules/axios/lib/helpers/buildURL.js"); /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "./node_modules/axios/lib/core/InterceptorManager.js"); /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "./node_modules/axios/lib/core/dispatchRequest.js"); /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "./node_modules/axios/lib/core/mergeConfig.js"); /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "./node_modules/axios/lib/core/buildFullPath.js"); /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "./node_modules/axios/lib/helpers/validator.js"); /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); const validators = _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].validators; /** * Create a new instance of Axios * * @param {Object} instanceConfig The default config for the instance * * @return {Axios} A new instance of Axios */ class Axios { constructor(instanceConfig) { this.defaults = instanceConfig; this.interceptors = { request: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](), response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"]() }; } /** * Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Object} config * * @returns {Promise} The Promise to be fulfilled */ async request(configOrUrl, config) { try { return await this._request(configOrUrl, config); } catch (err) { if (err instanceof Error) { let dummy = {}; Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error(); // slice off the Error: ... line const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : ''; try { if (!err.stack) { err.stack = stack; // match without the 2 top stack lines } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) { err.stack += '\n' + stack; } } catch (e) { // ignore the case where "stack" is an un-writable property } } throw err; } } _request(configOrUrl, config) { /*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API if (typeof configOrUrl === 'string') { config = config || {}; config.url = configOrUrl; } else { config = configOrUrl || {}; } config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this.defaults, config); const { transitional, paramsSerializer, headers } = config; if (transitional !== undefined) { _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(transitional, { silentJSONParsing: validators.transitional(validators.boolean), forcedJSONParsing: validators.transitional(validators.boolean), clarifyTimeoutError: validators.transitional(validators.boolean) }, false); } if (paramsSerializer != null) { if (_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(paramsSerializer)) { config.paramsSerializer = { serialize: paramsSerializer }; } else { _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(paramsSerializer, { encode: validators.function, serialize: validators.function }, true); } } _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(config, { baseUrl: validators.spelling('baseURL'), withXsrfToken: validators.spelling('withXSRFToken') }, true); // Set config.method config.method = (config.method || this.defaults.method || 'get').toLowerCase(); // Flatten headers let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(headers.common, headers[config.method]); headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], method => { delete headers[method]; }); config.headers = _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].concat(contextHeaders, headers); // filter out skipped interceptors const requestInterceptorChain = []; let synchronousRequestInterceptors = true; this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { return; } synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); }); const responseInterceptorChain = []; this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); }); let promise; let i = 0; let len; if (!synchronousRequestInterceptors) { const chain = [_dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__["default"].bind(this), undefined]; chain.unshift.apply(chain, requestInterceptorChain); chain.push.apply(chain, responseInterceptorChain); len = chain.length; promise = Promise.resolve(config); while (i < len) { promise = promise.then(chain[i++], chain[i++]); } return promise; } len = requestInterceptorChain.length; let newConfig = config; i = 0; while (i < len) { const onFulfilled = requestInterceptorChain[i++]; const onRejected = requestInterceptorChain[i++]; try { newConfig = onFulfilled(newConfig); } catch (error) { onRejected.call(this, error); break; } } try { promise = _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__["default"].call(this, newConfig); } catch (error) { return Promise.reject(error); } i = 0; len = responseInterceptorChain.length; while (i < len) { promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); } return promise; } getUri(config) { config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this.defaults, config); const fullPath = (0,_buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__["default"])(config.baseURL, config.url); return (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__["default"])(fullPath, config.params, config.paramsSerializer); } } // Provide aliases for supported request methods _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { /*eslint func-names:0*/ Axios.prototype[method] = function (url, config) { return this.request((0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, { method, url, data: (config || {}).data })); }; }); _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) { /*eslint func-names:0*/ function generateHTTPMethod(isForm) { return function httpMethod(url, data, config) { return this.request((0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, { method, headers: isForm ? { 'Content-Type': 'multipart/form-data' } : {}, url, data })); }; } Axios.prototype[method] = generateHTTPMethod(); Axios.prototype[method + 'Form'] = generateHTTPMethod(true); }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Axios); /***/ }), /***/ "./node_modules/axios/lib/core/AxiosError.js": /*!***************************************************!*\ !*** ./node_modules/axios/lib/core/AxiosError.js ***! \***************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /** * Create an Error with the specified message, config, error code, request and response. * * @param {string} message The error message. * @param {string} [code] The error code (for example, 'ECONNABORTED'). * @param {Object} [config] The config. * @param {Object} [request] The request. * @param {Object} [response] The response. * * @returns {Error} The created error. */ function AxiosError(message, code, config, request, response) { Error.call(this); if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } else { this.stack = new Error().stack; } this.message = message; this.name = 'AxiosError'; code && (this.code = code); config && (this.config = config); request && (this.request = request); if (response) { this.response = response; this.status = response.status ? response.status : null; } } _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, { toJSON: function toJSON() { return { // Standard message: this.message, name: this.name, // Microsoft description: this.description, number: this.number, // Mozilla fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, // Axios config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config), code: this.code, status: this.status }; } }); const prototype = AxiosError.prototype; const descriptors = {}; ['ERR_BAD_OPTION_VALUE', 'ERR_BAD_OPTION', 'ECONNABORTED', 'ETIMEDOUT', 'ERR_NETWORK', 'ERR_FR_TOO_MANY_REDIRECTS', 'ERR_DEPRECATED', 'ERR_BAD_RESPONSE', 'ERR_BAD_REQUEST', 'ERR_CANCELED', 'ERR_NOT_SUPPORT', 'ERR_INVALID_URL' // eslint-disable-next-line func-names ].forEach(code => { descriptors[code] = { value: code }; }); Object.defineProperties(AxiosError, descriptors); Object.defineProperty(prototype, 'isAxiosError', { value: true }); // eslint-disable-next-line func-names AxiosError.from = (error, code, config, request, response, customProps) => { const axiosError = Object.create(prototype); _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(error, axiosError, function filter(obj) { return obj !== Error.prototype; }, prop => { return prop !== 'isAxiosError'; }); AxiosError.call(axiosError, error.message, code, config, request, response); axiosError.cause = error; axiosError.name = error.name; customProps && Object.assign(axiosError, customProps); return axiosError; }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosError); /***/ }), /***/ "./node_modules/axios/lib/core/AxiosHeaders.js": /*!*****************************************************!*\ !*** ./node_modules/axios/lib/core/AxiosHeaders.js ***! \*****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "./node_modules/axios/lib/helpers/parseHeaders.js"); const $internals = Symbol('internals'); function normalizeHeader(header) { return header && String(header).trim().toLowerCase(); } function normalizeValue(value) { if (value === false || value == null) { return value; } return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.map(normalizeValue) : String(value); } function parseTokens(str) { const tokens = Object.create(null); const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let match; while (match = tokensRE.exec(str)) { tokens[match[1]] = match[2]; } return tokens; } const isValidHeaderName = str => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()); function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) { if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(filter)) { return filter.call(this, value, header); } if (isHeaderNameFilter) { value = header; } if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(value)) return; if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(filter)) { return value.indexOf(filter) !== -1; } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isRegExp(filter)) { return filter.test(value); } } function formatHeader(header) { return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => { return char.toUpperCase() + str; }); } function buildAccessors(obj, header) { const accessorName = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toCamelCase(' ' + header); ['get', 'set', 'has'].forEach(methodName => { Object.defineProperty(obj, methodName + accessorName, { value: function (arg1, arg2, arg3) { return this[methodName].call(this, header, arg1, arg2, arg3); }, configurable: true }); }); } class AxiosHeaders { constructor(headers) { headers && this.set(headers); } set(header, valueOrRewrite, rewrite) { const self = this; function setHeader(_value, _header, _rewrite) { const lHeader = normalizeHeader(_header); if (!lHeader) { throw new Error('header name must be a non-empty string'); } const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader); if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) { self[key || _header] = normalizeValue(_value); } } const setHeaders = (headers, _rewrite) => _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite)); if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(header) || header instanceof this.constructor) { setHeaders(header, valueOrRewrite); } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) { setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite); } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHeaders(header)) { for (const [key, value] of header.entries()) { setHeader(value, key, rewrite); } } else { header != null && setHeader(valueOrRewrite, header, rewrite); } return this; } get(header, parser) { header = normalizeHeader(header); if (header) { const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(this, header); if (key) { const value = this[key]; if (!parser) { return value; } if (parser === true) { return parseTokens(value); } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(parser)) { return parser.call(this, value, key); } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isRegExp(parser)) { return parser.exec(value); } throw new TypeError('parser must be boolean|regexp|function'); } } } has(header, matcher) { header = normalizeHeader(header); if (header) { const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(this, header); return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher))); } return false; } delete(header, matcher) { const self = this; let deleted = false; function deleteHeader(_header) { _header = normalizeHeader(_header); if (_header) { const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, _header); if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) { delete self[key]; deleted = true; } } } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(header)) { header.forEach(deleteHeader); } else { deleteHeader(header); } return deleted; } clear(matcher) { const keys = Object.keys(this); let i = keys.length; let deleted = false; while (i--) { const key = keys[i]; if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) { delete this[key]; deleted = true; } } return deleted; } normalize(format) { const self = this; const headers = {}; _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this, (value, header) => { const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(headers, header); if (key) { self[key] = normalizeValue(value); delete self[header]; return; } const normalized = format ? formatHeader(header) : String(header).trim(); if (normalized !== header) { delete self[header]; } self[normalized] = normalizeValue(value); headers[normalized] = true; }); return this; } concat(...targets) { return this.constructor.concat(this, ...targets); } toJSON(asStrings) { const obj = Object.create(null); _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this, (value, header) => { value != null && value !== false && (obj[header] = asStrings && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.join(', ') : value); }); return obj; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n'); } get [Symbol.toStringTag]() { return 'AxiosHeaders'; } static from(thing) { return thing instanceof this ? thing : new this(thing); } static concat(first, ...targets) { const computed = new this(first); targets.forEach(target => computed.set(target)); return computed; } static accessor(header) { const internals = this[$internals] = this[$internals] = { accessors: {} }; const accessors = internals.accessors; const prototype = this.prototype; function defineAccessor(_header) { const lHeader = normalizeHeader(_header); if (!accessors[lHeader]) { buildAccessors(prototype, _header); accessors[lHeader] = true; } } _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header); return this; } } AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']); // reserved names hotfix _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => { let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set` return { get: () => value, set(headerValue) { this[mapped] = headerValue; } }; }); _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosHeaders); /***/ }), /***/ "./node_modules/axios/lib/core/InterceptorManager.js": /*!***********************************************************!*\ !*** ./node_modules/axios/lib/core/InterceptorManager.js ***! \***********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); class InterceptorManager { constructor() { this.handlers = []; } /** * Add a new interceptor to the stack * * @param {Function} fulfilled The function to handle `then` for a `Promise` * @param {Function} rejected The function to handle `reject` for a `Promise` * * @return {Number} An ID used to remove interceptor later */ use(fulfilled, rejected, options) { this.handlers.push({ fulfilled, rejected, synchronous: options ? options.synchronous : false, runWhen: options ? options.runWhen : null }); return this.handlers.length - 1; } /** * Remove an interceptor from the stack * * @param {Number} id The ID that was returned by `use` * * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise */ eject(id) { if (this.handlers[id]) { this.handlers[id] = null; } } /** * Clear all interceptors from the stack * * @returns {void} */ clear() { if (this.handlers) { this.handlers = []; } } /** * Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor * * @returns {void} */ forEach(fn) { _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this.handlers, function forEachHandler(h) { if (h !== null) { fn(h); } }); } } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InterceptorManager); /***/ }), /***/ "./node_modules/axios/lib/core/buildFullPath.js": /*!******************************************************!*\ !*** ./node_modules/axios/lib/core/buildFullPath.js ***! \******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ buildFullPath) /* harmony export */ }); /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "./node_modules/axios/lib/helpers/isAbsoluteURL.js"); /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "./node_modules/axios/lib/helpers/combineURLs.js"); /** * Creates a new URL by combining the baseURL with the requestedURL, * only when the requestedURL is not already an absolute URL. * If the requestURL is absolute, this function returns the requestedURL untouched. * * @param {string} baseURL The base URL * @param {string} requestedURL Absolute or relative URL to combine * * @returns {string} The combined full path */ function buildFullPath(baseURL, requestedURL) { if (baseURL && !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__["default"])(requestedURL)) { return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__["default"])(baseURL, requestedURL); } return requestedURL; } /***/ }), /***/ "./node_modules/axios/lib/core/dispatchRequest.js": /*!********************************************************!*\ !*** ./node_modules/axios/lib/core/dispatchRequest.js ***! \********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ dispatchRequest) /* harmony export */ }); /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "./node_modules/axios/lib/core/transformData.js"); /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "./node_modules/axios/lib/cancel/isCancel.js"); /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/axios/lib/defaults/index.js"); /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js"); /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "./node_modules/axios/lib/adapters/adapters.js"); /** * Throws a `CanceledError` if cancellation has been requested. * * @param {Object} config The config that is to be used for the request * * @returns {void} */ function throwIfCancellationRequested(config) { if (config.cancelToken) { config.cancelToken.throwIfRequested(); } if (config.signal && config.signal.aborted) { throw new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__["default"](null, config); } } /** * Dispatch a request to the server using the configured adapter. * * @param {object} config The config that is to be used for the request * * @returns {Promise} The Promise to be fulfilled */ function dispatchRequest(config) { throwIfCancellationRequested(config); config.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers); // Transform request data config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformRequest); if (['post', 'put', 'patch'].indexOf(config.method) !== -1) { config.headers.setContentType('application/x-www-form-urlencoded', false); } const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter); return adapter(config).then(function onAdapterResolution(response) { throwIfCancellationRequested(config); // Transform response data response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, response); response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers); return response; }, function onAdapterRejection(reason) { if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) { throwIfCancellationRequested(config); // Transform response data if (reason && reason.response) { reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, reason.response); reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(reason.response.headers); } } return Promise.reject(reason); }); } /***/ }), /***/ "./node_modules/axios/lib/core/mergeConfig.js": /*!****************************************************!*\ !*** ./node_modules/axios/lib/core/mergeConfig.js ***! \****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ mergeConfig) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); const headersToObject = thing => thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing; /** * Config-specific merge-function which creates a new config-object * by merging two configuration objects together. * * @param {Object} config1 * @param {Object} config2 * * @returns {Object} New object resulting from merging config2 to config1 */ function mergeConfig(config1, config2) { // eslint-disable-next-line no-param-reassign config2 = config2 || {}; const config = {}; function getMergedValue(target, source, prop, caseless) { if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isPlainObject(target) && _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isPlainObject(source)) { return _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].merge.call({ caseless }, target, source); } else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isPlainObject(source)) { return _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].merge({}, source); } else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArray(source)) { return source.slice(); } return source; } // eslint-disable-next-line consistent-return function mergeDeepProperties(a, b, prop, caseless) { if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(b)) { return getMergedValue(a, b, prop, caseless); } else if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(a)) { return getMergedValue(undefined, a, prop, caseless); } } // eslint-disable-next-line consistent-return function valueFromConfig2(a, b) { if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(b)) { return getMergedValue(undefined, b); } } // eslint-disable-next-line consistent-return function defaultToConfig2(a, b) { if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(b)) { return getMergedValue(undefined, b); } else if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(a)) { return getMergedValue(undefined, a); } } // eslint-disable-next-line consistent-return function mergeDirectKeys(a, b, prop) { if (prop in config2) { return getMergedValue(a, b); } else if (prop in config1) { return getMergedValue(undefined, a); } } const mergeMap = { url: valueFromConfig2, method: valueFromConfig2, data: valueFromConfig2, baseURL: defaultToConfig2, transformRequest: defaultToConfig2, transformResponse: defaultToConfig2, paramsSerializer: defaultToConfig2, timeout: defaultToConfig2, timeoutMessage: defaultToConfig2, withCredentials: defaultToConfig2, withXSRFToken: defaultToConfig2, adapter: defaultToConfig2, responseType: defaultToConfig2, xsrfCookieName: defaultToConfig2, xsrfHeaderName: defaultToConfig2, onUploadProgress: defaultToConfig2, onDownloadProgress: defaultToConfig2, decompress: defaultToConfig2, maxContentLength: defaultToConfig2, maxBodyLength: defaultToConfig2, beforeRedirect: defaultToConfig2, transport: defaultToConfig2, httpAgent: defaultToConfig2, httpsAgent: defaultToConfig2, cancelToken: defaultToConfig2, socketPath: defaultToConfig2, responseEncoding: defaultToConfig2, validateStatus: mergeDirectKeys, headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true) }; _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) { const merge = mergeMap[prop] || mergeDeepProperties; const configValue = merge(config1[prop], config2[prop], prop); _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue); }); return config; } /***/ }), /***/ "./node_modules/axios/lib/core/settle.js": /*!***********************************************!*\ !*** ./node_modules/axios/lib/core/settle.js ***! \***********************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ settle) /* harmony export */ }); /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /** * Resolve or reject a Promise based on response status. * * @param {Function} resolve A function that resolves the promise. * @param {Function} reject A function that rejects the promise. * @param {object} response The response. * * @returns {object} The response. */ function settle(resolve, reject, response) { const validateStatus = response.config.validateStatus; if (!response.status || !validateStatus || validateStatus(response.status)) { resolve(response); } else { reject(new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]('Request failed with status code ' + response.status, [_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response)); } } /***/ }), /***/ "./node_modules/axios/lib/core/transformData.js": /*!******************************************************!*\ !*** ./node_modules/axios/lib/core/transformData.js ***! \******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ transformData) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/axios/lib/defaults/index.js"); /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); /** * Transform the data for a request or a response * * @param {Array|Function} fns A single function or Array of functions * @param {?Object} response The response object * * @returns {*} The resulting transformed data */ function transformData(fns, response) { const config = this || _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__["default"]; const context = response || config; const headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(context.headers); let data = context.data; _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].forEach(fns, function transform(fn) { data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); }); headers.normalize(); return data; } /***/ }), /***/ "./node_modules/axios/lib/defaults/index.js": /*!**************************************************!*\ !*** ./node_modules/axios/lib/defaults/index.js ***! \**************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "./node_modules/axios/lib/defaults/transitional.js"); /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "./node_modules/axios/lib/helpers/toFormData.js"); /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "./node_modules/axios/lib/helpers/toURLEncodedForm.js"); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "./node_modules/axios/lib/helpers/formDataToJSON.js"); /** * It takes a string, tries to parse it, and if it fails, it returns the stringified version * of the input * * @param {any} rawValue - The value to be stringified. * @param {Function} parser - A function that parses a string into a JavaScript object. * @param {Function} encoder - A function that takes a value and returns a string. * * @returns {string} A stringified version of the rawValue. */ function stringifySafely(rawValue, parser, encoder) { if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(rawValue)) { try { (parser || JSON.parse)(rawValue); return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].trim(rawValue); } catch (e) { if (e.name !== 'SyntaxError') { throw e; } } } return (encoder || JSON.stringify)(rawValue); } const defaults = { transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_1__["default"], adapter: ['xhr', 'http', 'fetch'], transformRequest: [function transformRequest(data, headers) { const contentType = headers.getContentType() || ''; const hasJSONContentType = contentType.indexOf('application/json') > -1; const isObjectPayload = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(data); if (isObjectPayload && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHTMLForm(data)) { data = new FormData(data); } const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data); if (isFormData) { return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__["default"])(data)) : data; } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFile(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) { return data; } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBufferView(data)) { return data.buffer; } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(data)) { headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false); return data.toString(); } let isFileList; if (isObjectPayload) { if (contentType.indexOf('application/x-www-form-urlencoded') > -1) { return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data, this.formSerializer).toString(); } if ((isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) { const _FormData = this.env && this.env.FormData; return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__["default"])(isFileList ? { 'files[]': data } : data, _FormData && new _FormData(), this.formSerializer); } } if (isObjectPayload || hasJSONContentType) { headers.setContentType('application/json', false); return stringifySafely(data); } return data; }], transformResponse: [function transformResponse(data) { const transitional = this.transitional || defaults.transitional; const forcedJSONParsing = transitional && transitional.forcedJSONParsing; const JSONRequested = this.responseType === 'json'; if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) { return data; } if (data && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) { const silentJSONParsing = transitional && transitional.silentJSONParsing; const strictJSONParsing = !silentJSONParsing && JSONRequested; try { return JSON.parse(data); } catch (e) { if (strictJSONParsing) { if (e.name === 'SyntaxError') { throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].ERR_BAD_RESPONSE, this, null, this.response); } throw e; } } } return data; }], /** * A timeout in milliseconds to abort a request. If set to 0 (default) a * timeout is not created. */ timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.FormData, Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob }, validateStatus: function validateStatus(status) { return status >= 200 && status < 300; }, headers: { common: { 'Accept': 'application/json, text/plain, */*', 'Content-Type': undefined } } }; _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], method => { defaults.headers[method] = {}; }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaults); /***/ }), /***/ "./node_modules/axios/lib/defaults/transitional.js": /*!*********************************************************!*\ !*** ./node_modules/axios/lib/defaults/transitional.js ***! \*********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }); /***/ }), /***/ "./node_modules/axios/lib/env/data.js": /*!********************************************!*\ !*** ./node_modules/axios/lib/env/data.js ***! \********************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ VERSION: () => (/* binding */ VERSION) /* harmony export */ }); const VERSION = "1.7.9"; /***/ }), /***/ "./node_modules/axios/lib/helpers/AxiosURLSearchParams.js": /*!****************************************************************!*\ !*** ./node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***! \****************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/axios/lib/helpers/toFormData.js"); /** * It encodes a string by replacing all characters that are not in the unreserved set with * their percent-encoded equivalents * * @param {string} str - The string to encode. * * @returns {string} The encoded string. */ function encode(str) { const charMap = { '!': '%21', "'": '%27', '(': '%28', ')': '%29', '~': '%7E', '%20': '+', '%00': '\x00' }; return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) { return charMap[match]; }); } /** * It takes a params object and converts it to a FormData object * * @param {Object<string, any>} params - The parameters to be converted to a FormData object. * @param {Object<string, any>} options - The options object passed to the Axios constructor. * * @returns {void} */ function AxiosURLSearchParams(params, options) { this._pairs = []; params && (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(params, this, options); } const prototype = AxiosURLSearchParams.prototype; prototype.append = function append(name, value) { this._pairs.push([name, value]); }; prototype.toString = function toString(encoder) { const _encode = encoder ? function (value) { return encoder.call(this, value, encode); } : encode; return this._pairs.map(function each(pair) { return _encode(pair[0]) + '=' + _encode(pair[1]); }, '').join('&'); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosURLSearchParams); /***/ }), /***/ "./node_modules/axios/lib/helpers/HttpStatusCode.js": /*!**********************************************************!*\ !*** ./node_modules/axios/lib/helpers/HttpStatusCode.js ***! \**********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); const HttpStatusCode = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; Object.entries(HttpStatusCode).forEach(([key, value]) => { HttpStatusCode[value] = key; }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HttpStatusCode); /***/ }), /***/ "./node_modules/axios/lib/helpers/bind.js": /*!************************************************!*\ !*** ./node_modules/axios/lib/helpers/bind.js ***! \************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ bind) /* harmony export */ }); function bind(fn, thisArg) { return function wrap() { return fn.apply(thisArg, arguments); }; } /***/ }), /***/ "./node_modules/axios/lib/helpers/buildURL.js": /*!****************************************************!*\ !*** ./node_modules/axios/lib/helpers/buildURL.js ***! \****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ buildURL) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "./node_modules/axios/lib/helpers/AxiosURLSearchParams.js"); /** * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their * URI encoded counterparts * * @param {string} val The value to be encoded. * * @returns {string} The encoded value. */ function encode(val) { return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']'); } /** * Build a URL by appending params to the end * * @param {string} url The base of the url (e.g., http://www.google.com) * @param {object} [params] The params to be appended * @param {?(object|Function)} options * * @returns {string} The formatted url */ function buildURL(url, params, options) { /*eslint no-param-reassign:0*/ if (!params) { return url; } const _encode = options && options.encode || encode; if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)) { options = { serialize: options }; } const serializeFn = options && options.serialize; let serializedParams; if (serializeFn) { serializedParams = serializeFn(params, options); } else { serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params) ? params.toString() : new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, options).toString(_encode); } if (serializedParams) { const hashmarkIndex = url.indexOf("#"); if (hashmarkIndex !== -1) { url = url.slice(0, hashmarkIndex); } url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; } return url; } /***/ }), /***/ "./node_modules/axios/lib/helpers/combineURLs.js": /*!*******************************************************!*\ !*** ./node_modules/axios/lib/helpers/combineURLs.js ***! \*******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ combineURLs) /* harmony export */ }); /** * Creates a new URL by combining the specified URLs * * @param {string} baseURL The base URL * @param {string} relativeURL The relative URL * * @returns {string} The combined URL */ function combineURLs(baseURL, relativeURL) { return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL; } /***/ }), /***/ "./node_modules/axios/lib/helpers/composeSignals.js": /*!**********************************************************!*\ !*** ./node_modules/axios/lib/helpers/composeSignals.js ***! \**********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); const composeSignals = (signals, timeout) => { const { length } = signals = signals ? signals.filter(Boolean) : []; if (timeout || length) { let controller = new AbortController(); let aborted; const onabort = function (reason) { if (!aborted) { aborted = true; unsubscribe(); const err = reason instanceof Error ? reason : this.reason; controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)); } }; let timer = timeout && setTimeout(() => { timer = null; onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT)); }, timeout); const unsubscribe = () => { if (signals) { timer && clearTimeout(timer); timer = null; signals.forEach(signal => { signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort); }); signals = null; } }; signals.forEach(signal => signal.addEventListener('abort', onabort)); const { signal } = controller; signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe); return signal; } }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals); /***/ }), /***/ "./node_modules/axios/lib/helpers/cookies.js": /*!***************************************************!*\ !*** ./node_modules/axios/lib/helpers/cookies.js ***! \***************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ? // Standard browser envs support document.cookie { write(name, value, expires, path, domain, secure) { const cookie = [name + '=' + encodeURIComponent(value)]; _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString()); _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(path) && cookie.push('path=' + path); _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(domain) && cookie.push('domain=' + domain); secure === true && cookie.push('secure'); document.cookie = cookie.join('; '); }, read(name) { const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)')); return match ? decodeURIComponent(match[3]) : null; }, remove(name) { this.write(name, '', Date.now() - 86400000); } } : // Non-standard browser env (web workers, react-native) lack needed support. { write() {}, read() { return null; }, remove() {} }); /***/ }), /***/ "./node_modules/axios/lib/helpers/formDataToJSON.js": /*!**********************************************************!*\ !*** ./node_modules/axios/lib/helpers/formDataToJSON.js ***! \**********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /** * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z'] * * @param {string} name - The name of the property to get. * * @returns An array of strings. */ function parsePropPath(name) { // foo[x][y][z] // foo.x.y.z // foo-x-y-z // foo x y z return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map(match => { return match[0] === '[]' ? '' : match[1] || match[0]; }); } /** * Convert an array to an object. * * @param {Array<any>} arr - The array to convert to an object. * * @returns An object with the same keys and values as the array. */ function arrayToObject(arr) { const obj = {}; const keys = Object.keys(arr); let i; const len = keys.length; let key; for (i = 0; i < len; i++) { key = keys[i]; obj[key] = arr[key]; } return obj; } /** * It takes a FormData object and returns a JavaScript object * * @param {string} formData The FormData object to convert to JSON. * * @returns {Object<string, any> | null} The converted object. */ function formDataToJSON(formData) { function buildPath(path, value, target, index) { let name = path[index++]; if (name === '__proto__') return true; const isNumericKey = Number.isFinite(+name); const isLast = index >= path.length; name = !name && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(target) ? target.length : name; if (isLast) { if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name)) { target[name] = [target[name], value]; } else { target[name] = value; } return !isNumericKey; } if (!target[name] || !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(target[name])) { target[name] = []; } const result = buildPath(path, value, target[name], index); if (result && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(target[name])) { target[name] = arrayToObject(target[name]); } return !isNumericKey; } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(formData) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(formData.entries)) { const obj = {}; _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEachEntry(formData, (name, value) => { buildPath(parsePropPath(name), value, obj, 0); }); return obj; } return null; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formDataToJSON); /***/ }), /***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js": /*!*********************************************************!*\ !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***! \*********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ isAbsoluteURL) /* harmony export */ }); /** * Determines whether the specified URL is absolute * * @param {string} url The URL to test * * @returns {boolean} True if the specified URL is absolute, otherwise false */ function isAbsoluteURL(url) { // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL). // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed // by any combination of letters, digits, plus, period, or hyphen. return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); } /***/ }), /***/ "./node_modules/axios/lib/helpers/isAxiosError.js": /*!********************************************************!*\ !*** ./node_modules/axios/lib/helpers/isAxiosError.js ***! \********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ isAxiosError) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); /** * Determines whether the payload is an error thrown by Axios * * @param {*} payload The value to test * * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false */ function isAxiosError(payload) { return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) && payload.isAxiosError === true; } /***/ }), /***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js": /*!***********************************************************!*\ !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***! \***********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ? ((origin, isMSIE) => url => { url = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin); return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port); })(new URL(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin), _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent)) : () => true); /***/ }), /***/ "./node_modules/axios/lib/helpers/null.js": /*!************************************************!*\ !*** ./node_modules/axios/lib/helpers/null.js ***! \************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); // eslint-disable-next-line strict /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (null); /***/ }), /***/ "./node_modules/axios/lib/helpers/parseHeaders.js": /*!********************************************************!*\ !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***! \********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js"); // RawAxiosHeaders whose duplicates are ignored by node // c.f. https://nodejs.org/api/http.html#http_message_headers const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']); /** * Parse headers into an object * * ``` * Date: Wed, 27 Aug 2014 08:58:49 GMT * Content-Type: application/json * Connection: keep-alive * Transfer-Encoding: chunked * ``` * * @param {String} rawHeaders Headers needing to be parsed * * @returns {Object} Headers parsed into an object */ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rawHeaders => { const parsed = {}; let key; let val; let i; rawHeaders && rawHeaders.split('\n').forEach(function parser(line) { i = line.indexOf(':'); key = line.substring(0, i).trim().toLowerCase(); val = line.substring(i + 1).trim(); if (!key || parsed[key] && ignoreDuplicateOf[key]) { return; } if (key === 'set-cookie') { if (parsed[key]) { parsed[key].push(val); } else { parsed[key] = [val]; } } else { parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; } }); return parsed; }); /***/ }), /***/ "./node_modules/axios/lib/helpers/parseProtocol.js": /*!*********************************************************!*\ !*** ./node_modules/axios/lib/helpers/parseProtocol.js ***! \*********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ parseProtocol) /* harmony export */ }); function parseProtocol(url) { const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); return match && match[1] || ''; } /***/ }), /***/ "./node_modules/axios/lib/helpers/progressEventReducer.js": /*!****************************************************************!*\ !*** ./node_modules/axios/lib/helpers/progressEventReducer.js ***! \****************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ asyncDecorator: () => (/* binding */ asyncDecorator), /* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator), /* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer) /* harmony export */ }); /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "./node_modules/axios/lib/helpers/speedometer.js"); /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "./node_modules/axios/lib/helpers/throttle.js"); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); const progressEventReducer = (listener, isDownloadStream, freq = 3) => { let bytesNotified = 0; const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250); return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(e => { const loaded = e.loaded; const total = e.lengthComputable ? e.total : undefined; const progressBytes = loaded - bytesNotified; const rate = _speedometer(progressBytes); const inRange = loaded <= total; bytesNotified = loaded; const data = { loaded, total, progress: total ? loaded / total : undefined, bytes: progressBytes, rate: rate ? rate : undefined, estimated: rate && total && inRange ? (total - loaded) / rate : undefined, event: e, lengthComputable: total != null, [isDownloadStream ? 'download' : 'upload']: true }; listener(data); }, freq); }; const progressEventDecorator = (total, throttled) => { const lengthComputable = total != null; return [loaded => throttled[0]({ lengthComputable, total, loaded }), throttled[1]]; }; const asyncDecorator = fn => (...args) => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(() => fn(...args)); /***/ }), /***/ "./node_modules/axios/lib/helpers/resolveConfig.js": /*!*********************************************************!*\ !*** ./node_modules/axios/lib/helpers/resolveConfig.js ***! \*********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js"); /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "./node_modules/axios/lib/helpers/cookies.js"); /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "./node_modules/axios/lib/core/buildFullPath.js"); /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "./node_modules/axios/lib/core/mergeConfig.js"); /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js"); /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "./node_modules/axios/lib/helpers/buildURL.js"); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (config => { const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])({}, config); let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig; newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers); newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer); // HTTP basic authentication if (auth) { headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))); } let contentType; if (_utils_js__WEBPACK_IMPORTED_MODULE_4__["default"].isFormData(data)) { if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserWebWorkerEnv) { headers.setContentType(undefined); // Let the browser set it } else if ((contentType = headers.getContentType()) !== false) { // fix semicolon duplication issue for ReactNative FormData implementation const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : []; headers.setContentType([type || 'multipart/form-data', ...tokens].join('; ')); } } // Add xsrf header // This is only done if running in a standard browser environment. // Specifically not if we're in a web worker, or react-native. if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv) { withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_4__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig)); if (withXSRFToken || withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__["default"])(newConfig.url)) { // Add xsrf header const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_7__["default"].read(xsrfCookieName); if (xsrfValue) { headers.set(xsrfHeaderName, xsrfValue); } } } return newConfig; }); /***/ }), /***/ "./node_modules/axios/lib/helpers/speedometer.js": /*!*******************************************************!*\ !*** ./node_modules/axios/lib/helpers/speedometer.js ***! \*******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /** * Calculate data maxRate * @param {Number} [samplesCount= 10] * @param {Number} [min= 1000] * @returns {Function} */ function speedometer(samplesCount, min) { samplesCount = samplesCount || 10; const bytes = new Array(samplesCount); const timestamps = new Array(samplesCount); let head = 0; let tail = 0; let firstSampleTS; min = min !== undefined ? min : 1000; return function push(chunkLength) { const now = Date.now(); const startedAt = timestamps[tail]; if (!firstSampleTS) { firstSampleTS = now; } bytes[head] = chunkLength; timestamps[head] = now; let i = tail; let bytesCount = 0; while (i !== head) { bytesCount += bytes[i++]; i = i % samplesCount; } head = (head + 1) % samplesCount; if (head === tail) { tail = (tail + 1) % samplesCount; } if (now - firstSampleTS < min) { return; } const passed = startedAt && now - startedAt; return passed ? Math.round(bytesCount * 1000 / passed) : undefined; }; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (speedometer); /***/ }), /***/ "./node_modules/axios/lib/helpers/spread.js": /*!**************************************************!*\ !*** ./node_modules/axios/lib/helpers/spread.js ***! \**************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ spread) /* harmony export */ }); /** * Syntactic sugar for invoking a function and expanding an array for arguments. * * Common use case would be to use `Function.prototype.apply`. * * ```js * function f(x, y, z) {} * var args = [1, 2, 3]; * f.apply(null, args); * ``` * * With `spread` this example can be re-written. * * ```js * spread(function(x, y, z) {})([1, 2, 3]); * ``` * * @param {Function} callback * * @returns {Function} */ function spread(callback) { return function wrap(arr) { return callback.apply(null, arr); }; } /***/ }), /***/ "./node_modules/axios/lib/helpers/throttle.js": /*!****************************************************!*\ !*** ./node_modules/axios/lib/helpers/throttle.js ***! \****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /** * Throttle decorator * @param {Function} fn * @param {Number} freq * @return {Function} */ function throttle(fn, freq) { let timestamp = 0; let threshold = 1000 / freq; let lastArgs; let timer; const invoke = (args, now = Date.now()) => { timestamp = now; lastArgs = null; if (timer) { clearTimeout(timer); timer = null; } fn.apply(null, args); }; const throttled = (...args) => { const now = Date.now(); const passed = now - timestamp; if (passed >= threshold) { invoke(args, now); } else { lastArgs = args; if (!timer) { timer = setTimeout(() => { timer = null; invoke(lastArgs); }, threshold - passed); } } }; const flush = () => lastArgs && invoke(lastArgs); return [throttled, flush]; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (throttle); /***/ }), /***/ "./node_modules/axios/lib/helpers/toFormData.js": /*!******************************************************!*\ !*** ./node_modules/axios/lib/helpers/toFormData.js ***! \******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "./node_modules/axios/lib/helpers/null.js"); // temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored /** * Determines if the given thing is a array or js object. * * @param {string} thing - The object or array to be visited. * * @returns {boolean} */ function isVisitable(thing) { return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(thing) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(thing); } /** * It removes the brackets from the end of a string * * @param {string} key - The key of the parameter. * * @returns {string} the key without the brackets. */ function removeBrackets(key) { return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]') ? key.slice(0, -2) : key; } /** * It takes a path, a key, and a boolean, and returns a string * * @param {string} path - The path to the current key. * @param {string} key - The key of the current object being iterated over. * @param {string} dots - If true, the key will be rendered with dots instead of brackets. * * @returns {string} The path to the current key. */ function renderKey(path, key, dots) { if (!path) return key; return path.concat(key).map(function each(token, i) { // eslint-disable-next-line no-param-reassign token = removeBrackets(token); return !dots && i ? '[' + token + ']' : token; }).join(dots ? '.' : ''); } /** * If the array is an array and none of its elements are visitable, then it's a flat array. * * @param {Array<any>} arr - The array to check * * @returns {boolean} */ function isFlatArray(arr) { return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(arr) && !arr.some(isVisitable); } const predicates = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"], {}, null, function filter(prop) { return /^is[A-Z]/.test(prop); }); /** * Convert a data object to FormData * * @param {Object} obj * @param {?Object} [formData] * @param {?Object} [options] * @param {Function} [options.visitor] * @param {Boolean} [options.metaTokens = true] * @param {Boolean} [options.dots = false] * @param {?Boolean} [options.indexes = false] * * @returns {Object} **/ /** * It converts an object into a FormData object * * @param {Object<any, any>} obj - The object to convert to form data. * @param {string} formData - The FormData object to append to. * @param {Object<string, any>} options * * @returns */ function toFormData(obj, formData, options) { if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(obj)) { throw new TypeError('target must be an object'); } // eslint-disable-next-line no-param-reassign formData = formData || new (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"] || FormData)(); // eslint-disable-next-line no-param-reassign options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(options, { metaTokens: true, dots: false, indexes: false }, false, function defined(option, source) { // eslint-disable-next-line no-eq-null,eqeqeq return !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(source[option]); }); const metaTokens = options.metaTokens; // eslint-disable-next-line no-use-before-define const visitor = options.visitor || defaultVisitor; const dots = options.dots; const indexes = options.indexes; const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob; const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData); if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) { throw new TypeError('visitor must be a function'); } function convertValue(value) { if (value === null) return ''; if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isDate(value)) { return value.toISOString(); } if (!useBlob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(value)) { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Blob is not supported. Use a Buffer instead.'); } if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isTypedArray(value)) { return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value); } return value; } /** * Default visitor. * * @param {*} value * @param {String|Number} key * @param {Array<String|Number>} path * @this {FormData} * * @returns {boolean} return true to visit the each prop of the value recursively */ function defaultVisitor(value, key, path) { let arr = value; if (value && !path && typeof value === 'object') { if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '{}')) { // eslint-disable-next-line no-param-reassign key = metaTokens ? key : key.slice(0, -2); // eslint-disable-next-line no-param-reassign value = JSON.stringify(value); } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) && isFlatArray(value) || (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toArray(value))) { // eslint-disable-next-line no-param-reassign key = removeBrackets(key); arr.forEach(function each(el, index) { !(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) && formData.append( // eslint-disable-next-line no-nested-ternary indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el)); }); return false; } } if (isVisitable(value)) { return true; } formData.append(renderKey(path, key, dots), convertValue(value)); return false; } const stack = []; const exposedHelpers = Object.assign(predicates, { defaultVisitor, convertValue, isVisitable }); function build(value, path) { if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(value)) return; if (stack.indexOf(value) !== -1) { throw Error('Circular reference detected in ' + path.join('.')); } stack.push(value); _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(value, function each(el, key) { const result = !(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) && visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers); if (result === true) { build(el, path ? path.concat(key) : [key]); } }); stack.pop(); } if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(obj)) { throw new TypeError('data must be an object'); } build(obj); return formData; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toFormData); /***/ }), /***/ "./node_modules/axios/lib/helpers/toURLEncodedForm.js": /*!************************************************************!*\ !*** ./node_modules/axios/lib/helpers/toURLEncodedForm.js ***! \************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ toURLEncodedForm) /* harmony export */ }); /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js"); /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/axios/lib/helpers/toFormData.js"); /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js"); function toURLEncodedForm(data, options) { return (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, new _platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].classes.URLSearchParams(), Object.assign({ visitor: function (value, key, path, helpers) { if (_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNode && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isBuffer(value)) { this.append(key, value.toString('base64')); return false; } return helpers.defaultVisitor.apply(this, arguments); } }, options)); } /***/ }), /***/ "./node_modules/axios/lib/helpers/trackStream.js": /*!*******************************************************!*\ !*** ./node_modules/axios/lib/helpers/trackStream.js ***! \*******************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ readBytes: () => (/* binding */ readBytes), /* harmony export */ streamChunk: () => (/* binding */ streamChunk), /* harmony export */ trackStream: () => (/* binding */ trackStream) /* harmony export */ }); const streamChunk = function* (chunk, chunkSize) { let len = chunk.byteLength; if (!chunkSize || len < chunkSize) { yield chunk; return; } let pos = 0; let end; while (pos < len) { end = pos + chunkSize; yield chunk.slice(pos, end); pos = end; } }; const readBytes = async function* (iterable, chunkSize) { for await (const chunk of readStream(iterable)) { yield* streamChunk(chunk, chunkSize); } }; const readStream = async function* (stream) { if (stream[Symbol.asyncIterator]) { yield* stream; return; } const reader = stream.getReader(); try { for (;;) { const { done, value } = await reader.read(); if (done) { break; } yield value; } } finally { await reader.cancel(); } }; const trackStream = (stream, chunkSize, onProgress, onFinish) => { const iterator = readBytes(stream, chunkSize); let bytes = 0; let done; let _onFinish = e => { if (!done) { done = true; onFinish && onFinish(e); } }; return new ReadableStream({ async pull(controller) { try { const { done, value } = await iterator.next(); if (done) { _onFinish(); controller.close(); return; } let len = value.byteLength; if (onProgress) { let loadedBytes = bytes += len; onProgress(loadedBytes); } controller.enqueue(new Uint8Array(value)); } catch (err) { _onFinish(err); throw err; } }, cancel(reason) { _onFinish(reason); return iterator.return(); } }, { highWaterMark: 2 }); }; /***/ }), /***/ "./node_modules/axios/lib/helpers/validator.js": /*!*****************************************************!*\ !*** ./node_modules/axios/lib/helpers/validator.js ***! \*****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "./node_modules/axios/lib/env/data.js"); /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js"); const validators = {}; // eslint-disable-next-line func-names ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => { validators[type] = function validator(thing) { return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; }; }); const deprecatedWarnings = {}; /** * Transitional option validator * * @param {function|boolean?} validator - set to false if the transitional option has been removed * @param {string?} version - deprecated version / removed since version * @param {string?} message - some message with additional info * * @returns {function} */ validators.transitional = function transitional(validator, version, message) { function formatMessage(opt, desc) { return '[Axios v' + _env_data_js__WEBPACK_IMPORTED_MODULE_0__.VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : ''); } // eslint-disable-next-line func-names return (value, opt, opts) => { if (validator === false) { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_DEPRECATED); } if (version && !deprecatedWarnings[opt]) { deprecatedWarnings[opt] = true; // eslint-disable-next-line no-console console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future')); } return validator ? validator(value, opt, opts) : true; }; }; validators.spelling = function spelling(correctSpelling) { return (value, opt) => { // eslint-disable-next-line no-console console.warn(`${opt} is likely a misspelling of ${correctSpelling}`); return true; }; }; /** * Assert object's properties type * * @param {object} options * @param {object} schema * @param {boolean?} allowUnknown * * @returns {object} */ function assertOptions(options, schema, allowUnknown) { if (typeof options !== 'object') { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]('options must be an object', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE); } const keys = Object.keys(options); let i = keys.length; while (i-- > 0) { const opt = keys[i]; const validator = schema[opt]; if (validator) { const value = options[opt]; const result = value === undefined || validator(value, opt, options); if (result !== true) { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]('option ' + opt + ' must be ' + result, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE); } continue; } if (allowUnknown !== true) { throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]('Unknown option ' + opt, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION); } } } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ assertOptions, validators }); /***/ }), /***/ "./node_modules/axios/lib/platform/browser/classes/Blob.js": /*!*****************************************************************!*\ !*** ./node_modules/axios/lib/platform/browser/classes/Blob.js ***! \*****************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof Blob !== 'undefined' ? Blob : null); /***/ }), /***/ "./node_modules/axios/lib/platform/browser/classes/FormData.js": /*!*********************************************************************!*\ !*** ./node_modules/axios/lib/platform/browser/classes/FormData.js ***! \*********************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof FormData !== 'undefined' ? FormData : null); /***/ }), /***/ "./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js": /*!****************************************************************************!*\ !*** ./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***! \****************************************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "./node_modules/axios/lib/helpers/AxiosURLSearchParams.js"); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof URLSearchParams !== 'undefined' ? URLSearchParams : _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"]); /***/ }), /***/ "./node_modules/axios/lib/platform/browser/index.js": /*!**********************************************************!*\ !*** ./node_modules/axios/lib/platform/browser/index.js ***! \**********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"); /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "./node_modules/axios/lib/platform/browser/classes/FormData.js"); /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "./node_modules/axios/lib/platform/browser/classes/Blob.js"); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ isBrowser: true, classes: { URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"], FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"], Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"] }, protocols: ['http', 'https', 'file', 'blob', 'url', 'data'] }); /***/ }), /***/ "./node_modules/axios/lib/platform/common/utils.js": /*!*********************************************************!*\ !*** ./node_modules/axios/lib/platform/common/utils.js ***! \*********************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ hasBrowserEnv: () => (/* binding */ hasBrowserEnv), /* harmony export */ hasStandardBrowserEnv: () => (/* binding */ hasStandardBrowserEnv), /* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv), /* harmony export */ navigator: () => (/* binding */ _navigator), /* harmony export */ origin: () => (/* binding */ origin) /* harmony export */ }); const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; const _navigator = typeof navigator === 'object' && navigator || undefined; /** * Determine if we're running in a standard browser environment * * This allows axios to run in a web worker, and react-native. * Both environments support XMLHttpRequest, but not fully standard globals. * * web workers: * typeof window -> undefined * typeof document -> undefined * * react-native: * navigator.product -> 'ReactNative' * nativescript * navigator.product -> 'NativeScript' or 'NS' * * @returns {boolean} */ const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); /** * Determine if we're running in a standard browser webWorker environment * * Although the `isStandardBrowserEnv` method indicates that * `allows axios to run in a web worker`, the WebWorker will still be * filtered out due to its judgment standard * `typeof window !== 'undefined' && typeof document !== 'undefined'`. * This leads to a problem when axios post `FormData` in webWorker */ const hasStandardBrowserWebWorkerEnv = (() => { return typeof WorkerGlobalScope !== 'undefined' && // eslint-disable-next-line no-undef self instanceof WorkerGlobalScope && typeof self.importScripts === 'function'; })(); const origin = hasBrowserEnv && window.location.href || 'http://localhost'; /***/ }), /***/ "./node_modules/axios/lib/platform/index.js": /*!**************************************************!*\ !*** ./node_modules/axios/lib/platform/index.js ***! \**************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "./node_modules/axios/lib/platform/browser/index.js"); /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "./node_modules/axios/lib/platform/common/utils.js"); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._common_utils_js__WEBPACK_IMPORTED_MODULE_0__, ..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"] }); /***/ }), /***/ "./node_modules/axios/lib/utils.js": /*!*****************************************!*\ !*** ./node_modules/axios/lib/utils.js ***! \*****************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/axios/lib/helpers/bind.js"); // utils is a library of generic helper functions non-specific to axios const { toString } = Object.prototype; const { getPrototypeOf } = Object; const kindOf = (cache => thing => { const str = toString.call(thing); return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase()); })(Object.create(null)); const kindOfTest = type => { type = type.toLowerCase(); return thing => kindOf(thing) === type; }; const typeOfTest = type => thing => typeof thing === type; /** * Determine if a value is an Array * * @param {Object} val The value to test * * @returns {boolean} True if value is an Array, otherwise false */ const { isArray } = Array; /** * Determine if a value is undefined * * @param {*} val The value to test * * @returns {boolean} True if the value is undefined, otherwise false */ const isUndefined = typeOfTest('undefined'); /** * Determine if a value is a Buffer * * @param {*} val The value to test * * @returns {boolean} True if value is a Buffer, otherwise false */ function isBuffer(val) { return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val); } /** * Determine if a value is an ArrayBuffer * * @param {*} val The value to test * * @returns {boolean} True if value is an ArrayBuffer, otherwise false */ const isArrayBuffer = kindOfTest('ArrayBuffer'); /** * Determine if a value is a view on an ArrayBuffer * * @param {*} val The value to test * * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false */ function isArrayBufferView(val) { let result; if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) { result = ArrayBuffer.isView(val); } else { result = val && val.buffer && isArrayBuffer(val.buffer); } return result; } /** * Determine if a value is a String * * @param {*} val The value to test * * @returns {boolean} True if value is a String, otherwise false */ const isString = typeOfTest('string'); /** * Determine if a value is a Function * * @param {*} val The value to test * @returns {boolean} True if value is a Function, otherwise false */ const isFunction = typeOfTest('function'); /** * Determine if a value is a Number * * @param {*} val The value to test * * @returns {boolean} True if value is a Number, otherwise false */ const isNumber = typeOfTest('number'); /** * Determine if a value is an Object * * @param {*} thing The value to test * * @returns {boolean} True if value is an Object, otherwise false */ const isObject = thing => thing !== null && typeof thing === 'object'; /** * Determine if a value is a Boolean * * @param {*} thing The value to test * @returns {boolean} True if value is a Boolean, otherwise false */ const isBoolean = thing => thing === true || thing === false; /** * Determine if a value is a plain Object * * @param {*} val The value to test * * @returns {boolean} True if value is a plain Object, otherwise false */ const isPlainObject = val => { if (kindOf(val) !== 'object') { return false; } const prototype = getPrototypeOf(val); return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val); }; /** * Determine if a value is a Date * * @param {*} val The value to test * * @returns {boolean} True if value is a Date, otherwise false */ const isDate = kindOfTest('Date'); /** * Determine if a value is a File * * @param {*} val The value to test * * @returns {boolean} True if value is a File, otherwise false */ const isFile = kindOfTest('File'); /** * Determine if a value is a Blob * * @param {*} val The value to test * * @returns {boolean} True if value is a Blob, otherwise false */ const isBlob = kindOfTest('Blob'); /** * Determine if a value is a FileList * * @param {*} val The value to test * * @returns {boolean} True if value is a File, otherwise false */ const isFileList = kindOfTest('FileList'); /** * Determine if a value is a Stream * * @param {*} val The value to test * * @returns {boolean} True if value is a Stream, otherwise false */ const isStream = val => isObject(val) && isFunction(val.pipe); /** * Determine if a value is a FormData * * @param {*} thing The value to test * * @returns {boolean} True if value is an FormData, otherwise false */ const isFormData = thing => { let kind; return thing && (typeof FormData === 'function' && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === 'formdata' || // detect form-data instance kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')); }; /** * Determine if a value is a URLSearchParams object * * @param {*} val The value to test * * @returns {boolean} True if value is a URLSearchParams object, otherwise false */ const isURLSearchParams = kindOfTest('URLSearchParams'); const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest); /** * Trim excess whitespace off the beginning and end of a string * * @param {String} str The String to trim * * @returns {String} The String freed of excess whitespace */ const trim = str => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); /** * Iterate over an Array or an Object invoking a function for each item. * * If `obj` is an Array callback will be called passing * the value, index, and complete array for each item. * * If 'obj' is an Object callback will be called passing * the value, key, and complete object for each property. * * @param {Object|Array} obj The object to iterate * @param {Function} fn The callback to invoke for each item * * @param {Boolean} [allOwnKeys = false] * @returns {any} */ function forEach(obj, fn, { allOwnKeys = false } = {}) { // Don't bother if no value provided if (obj === null || typeof obj === 'undefined') { return; } let i; let l; // Force an array if not already something iterable if (typeof obj !== 'object') { /*eslint no-param-reassign:0*/ obj = [obj]; } if (isArray(obj)) { // Iterate over array values for (i = 0, l = obj.length; i < l; i++) { fn.call(null, obj[i], i, obj); } } else { // Iterate over object keys const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj); const len = keys.length; let key; for (i = 0; i < len; i++) { key = keys[i]; fn.call(null, obj[key], key, obj); } } } function findKey(obj, key) { key = key.toLowerCase(); const keys = Object.keys(obj); let i = keys.length; let _key; while (i-- > 0) { _key = keys[i]; if (key === _key.toLowerCase()) { return _key; } } return null; } const _global = (() => { /*eslint no-undef:0*/ if (typeof globalThis !== "undefined") return globalThis; return typeof self !== "undefined" ? self : typeof window !== 'undefined' ? window : global; })(); const isContextDefined = context => !isUndefined(context) && context !== _global; /** * Accepts varargs expecting each argument to be an object, then * immutably merges the properties of each object and returns result. * * When multiple objects contain the same key the later object in * the arguments list will take precedence. * * Example: * * ```js * var result = merge({foo: 123}, {foo: 456}); * console.log(result.foo); // outputs 456 * ``` * * @param {Object} obj1 Object to merge * * @returns {Object} Result of all merge properties */ function merge(/* obj1, obj2, obj3, ... */ ) { const { caseless } = isContextDefined(this) && this || {}; const result = {}; const assignValue = (val, key) => { const targetKey = caseless && findKey(result, key) || key; if (isPlainObject(result[targetKey]) && isPlainObject(val)) { result[targetKey] = merge(result[targetKey], val); } else if (isPlainObject(val)) { result[targetKey] = merge({}, val); } else if (isArray(val)) { result[targetKey] = val.slice(); } else { result[targetKey] = val; } }; for (let i = 0, l = arguments.length; i < l; i++) { arguments[i] && forEach(arguments[i], assignValue); } return result; } /** * Extends object a by mutably adding to it the properties of object b. * * @param {Object} a The object to be extended * @param {Object} b The object to copy properties from * @param {Object} thisArg The object to bind function to * * @param {Boolean} [allOwnKeys] * @returns {Object} The resulting value of object a */ const extend = (a, b, thisArg, { allOwnKeys } = {}) => { forEach(b, (val, key) => { if (thisArg && isFunction(val)) { a[key] = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__["default"])(val, thisArg); } else { a[key] = val; } }, { allOwnKeys }); return a; }; /** * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) * * @param {string} content with BOM * * @returns {string} content value without BOM */ const stripBOM = content => { if (content.charCodeAt(0) === 0xFEFF) { content = content.slice(1); } return content; }; /** * Inherit the prototype methods from one constructor into another * @param {function} constructor * @param {function} superConstructor * @param {object} [props] * @param {object} [descriptors] * * @returns {void} */ const inherits = (constructor, superConstructor, props, descriptors) => { constructor.prototype = Object.create(superConstructor.prototype, descriptors); constructor.prototype.constructor = constructor; Object.defineProperty(constructor, 'super', { value: superConstructor.prototype }); props && Object.assign(constructor.prototype, props); }; /** * Resolve object with deep prototype chain to a flat object * @param {Object} sourceObj source object * @param {Object} [destObj] * @param {Function|Boolean} [filter] * @param {Function} [propFilter] * * @returns {Object} */ const toFlatObject = (sourceObj, destObj, filter, propFilter) => { let props; let i; let prop; const merged = {}; destObj = destObj || {}; // eslint-disable-next-line no-eq-null,eqeqeq if (sourceObj == null) return destObj; do { props = Object.getOwnPropertyNames(sourceObj); i = props.length; while (i-- > 0) { prop = props[i]; if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) { destObj[prop] = sourceObj[prop]; merged[prop] = true; } } sourceObj = filter !== false && getPrototypeOf(sourceObj); } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype); return destObj; }; /** * Determines whether a string ends with the characters of a specified string * * @param {String} str * @param {String} searchString * @param {Number} [position= 0] * * @returns {boolean} */ const endsWith = (str, searchString, position) => { str = String(str); if (position === undefined || position > str.length) { position = str.length; } position -= searchString.length; const lastIndex = str.indexOf(searchString, position); return lastIndex !== -1 && lastIndex === position; }; /** * Returns new array from array like object or null if failed * * @param {*} [thing] * * @returns {?Array} */ const toArray = thing => { if (!thing) return null; if (isArray(thing)) return thing; let i = thing.length; if (!isNumber(i)) return null; const arr = new Array(i); while (i-- > 0) { arr[i] = thing[i]; } return arr; }; /** * Checking if the Uint8Array exists and if it does, it returns a function that checks if the * thing passed in is an instance of Uint8Array * * @param {TypedArray} * * @returns {Array} */ // eslint-disable-next-line func-names const isTypedArray = (TypedArray => { // eslint-disable-next-line func-names return thing => { return TypedArray && thing instanceof TypedArray; }; })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array)); /** * For each entry in the object, call the function with the key and value. * * @param {Object<any, any>} obj - The object to iterate over. * @param {Function} fn - The function to call for each entry. * * @returns {void} */ const forEachEntry = (obj, fn) => { const generator = obj && obj[Symbol.iterator]; const iterator = generator.call(obj); let result; while ((result = iterator.next()) && !result.done) { const pair = result.value; fn.call(obj, pair[0], pair[1]); } }; /** * It takes a regular expression and a string, and returns an array of all the matches * * @param {string} regExp - The regular expression to match against. * @param {string} str - The string to search. * * @returns {Array<boolean>} */ const matchAll = (regExp, str) => { let matches; const arr = []; while ((matches = regExp.exec(str)) !== null) { arr.push(matches); } return arr; }; /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */ const isHTMLForm = kindOfTest('HTMLFormElement'); const toCamelCase = str => { return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) { return p1.toUpperCase() + p2; }); }; /* Creating a function that will check if an object has a property. */ const hasOwnProperty = (({ hasOwnProperty }) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype); /** * Determine if a value is a RegExp object * * @param {*} val The value to test * * @returns {boolean} True if value is a RegExp object, otherwise false */ const isRegExp = kindOfTest('RegExp'); const reduceDescriptors = (obj, reducer) => { const descriptors = Object.getOwnPropertyDescriptors(obj); const reducedDescriptors = {}; forEach(descriptors, (descriptor, name) => { let ret; if ((ret = reducer(descriptor, name, obj)) !== false) { reducedDescriptors[name] = ret || descriptor; } }); Object.defineProperties(obj, reducedDescriptors); }; /** * Makes all methods read-only * @param {Object} obj */ const freezeMethods = obj => { reduceDescriptors(obj, (descriptor, name) => { // skip restricted props in strict mode if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) { return false; } const value = obj[name]; if (!isFunction(value)) return; descriptor.enumerable = false; if ('writable' in descriptor) { descriptor.writable = false; return; } if (!descriptor.set) { descriptor.set = () => { throw Error('Can not rewrite read-only method \'' + name + '\''); }; } }); }; const toObjectSet = (arrayOrString, delimiter) => { const obj = {}; const define = arr => { arr.forEach(value => { obj[value] = true; }); }; isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter)); return obj; }; const noop = () => {}; const toFiniteNumber = (value, defaultValue) => { return value != null && Number.isFinite(value = +value) ? value : defaultValue; }; const ALPHA = 'abcdefghijklmnopqrstuvwxyz'; const DIGIT = '0123456789'; const ALPHABET = { DIGIT, ALPHA, ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT }; const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { let str = ''; const { length } = alphabet; while (size--) { str += alphabet[Math.random() * length | 0]; } return str; }; /** * If the thing is a FormData object, return true, otherwise return false. * * @param {unknown} thing - The thing to check. * * @returns {boolean} */ function isSpecCompliantForm(thing) { return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]); } const toJSONObject = obj => { const stack = new Array(10); const visit = (source, i) => { if (isObject(source)) { if (stack.indexOf(source) >= 0) { return; } if (!('toJSON' in source)) { stack[i] = source; const target = isArray(source) ? [] : {}; forEach(source, (value, key) => { const reducedValue = visit(value, i + 1); !isUndefined(reducedValue) && (target[key] = reducedValue); }); stack[i] = undefined; return target; } } return source; }; return visit(obj, 0); }; const isAsyncFn = kindOfTest('AsyncFunction'); const isThenable = thing => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch); // original code // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 const _setImmediate = ((setImmediateSupported, postMessageSupported) => { if (setImmediateSupported) { return setImmediate; } return postMessageSupported ? ((token, callbacks) => { _global.addEventListener("message", ({ source, data }) => { if (source === _global && data === token) { callbacks.length && callbacks.shift()(); } }, false); return cb => { callbacks.push(cb); _global.postMessage(token, "*"); }; })(`axios@${Math.random()}`, []) : cb => setTimeout(cb); })(typeof setImmediate === 'function', isFunction(_global.postMessage)); const asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate; // ********************* /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ isArray, isArrayBuffer, isBuffer, isFormData, isArrayBufferView, isString, isNumber, isBoolean, isObject, isPlainObject, isReadableStream, isRequest, isResponse, isHeaders, isUndefined, isDate, isFile, isBlob, isRegExp, isFunction, isStream, isURLSearchParams, isTypedArray, isFileList, forEach, merge, extend, trim, stripBOM, inherits, toFlatObject, kindOf, kindOfTest, endsWith, toArray, forEachEntry, matchAll, isHTMLForm, hasOwnProperty, hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors, freezeMethods, toObjectSet, toCamelCase, noop, toFiniteNumber, findKey, global: _global, isContextDefined, ALPHABET, generateString, isSpecCompliantForm, toJSONObject, isAsyncFn, isThenable, setImmediate: _setImmediate, asap }); /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ id: moduleId, /******/ loaded: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; /******/ __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); /******/ module = execOptions.module; /******/ execOptions.factory.call(module.exports, module, module.exports, execOptions.require); /******/ /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = __webpack_modules__; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = __webpack_module_cache__; /******/ /******/ // expose the module execution interceptor /******/ __webpack_require__.i = []; /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); /******/ var leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 16: return value when it's Promise-like /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = this(value); /******/ if(mode & 8) return value; /******/ if(typeof value === 'object' && value) { /******/ if((mode & 4) && value.__esModule) return value; /******/ if((mode & 16) && typeof value.then === 'function') return value; /******/ } /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ var def = {}; /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) { /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); /******/ } /******/ def['default'] = () => (value); /******/ __webpack_require__.d(ns, def); /******/ return ns; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/ensure chunk */ /******/ (() => { /******/ __webpack_require__.f = {}; /******/ // This file contains only the entry chunk. /******/ // The chunk loading function for additional chunks /******/ __webpack_require__.e = (chunkId) => { /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { /******/ __webpack_require__.f[key](chunkId, promises); /******/ return promises; /******/ }, [])); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/get javascript chunk filename */ /******/ (() => { /******/ // This function allow to reference async chunks /******/ __webpack_require__.u = (chunkId) => { /******/ // return url for filenames based on template /******/ return "static/js/" + chunkId + ".chunk.js"; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/get javascript update chunk filename */ /******/ (() => { /******/ // This function allow to reference all chunks /******/ __webpack_require__.hu = (chunkId) => { /******/ // return url for filenames based on template /******/ return "" + chunkId + "." + __webpack_require__.h() + ".hot-update.js"; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/get update manifest filename */ /******/ (() => { /******/ __webpack_require__.hmrF = () => ("main." + __webpack_require__.h() + ".hot-update.json"); /******/ })(); /******/ /******/ /* webpack/runtime/getFullHash */ /******/ (() => { /******/ __webpack_require__.h = () => ("5cbbefab928ad42d132e") /******/ })(); /******/ /******/ /* webpack/runtime/global */ /******/ (() => { /******/ __webpack_require__.g = (function() { /******/ if (typeof globalThis === 'object') return globalThis; /******/ try { /******/ return this || new Function('return this')(); /******/ } catch (e) { /******/ if (typeof window === 'object') return window; /******/ } /******/ })(); /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { /******/ var inProgress = {}; /******/ var dataWebpackPrefix = "reactjewellery:"; /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } /******/ var script, needAttach; /******/ if(key !== undefined) { /******/ var scripts = document.getElementsByTagName("script"); /******/ for(var i = 0; i < scripts.length; i++) { /******/ var s = scripts[i]; /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } /******/ } /******/ } /******/ if(!script) { /******/ needAttach = true; /******/ script = document.createElement('script'); /******/ /******/ script.charset = 'utf-8'; /******/ script.timeout = 120; /******/ if (__webpack_require__.nc) { /******/ script.setAttribute("nonce", __webpack_require__.nc); /******/ } /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); /******/ /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; /******/ var onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); /******/ var doneFns = inProgress[url]; /******/ delete inProgress[url]; /******/ script.parentNode && script.parentNode.removeChild(script); /******/ doneFns && doneFns.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); /******/ script.onerror = onScriptComplete.bind(null, script.onerror); /******/ script.onload = onScriptComplete.bind(null, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/node module decorator */ /******/ (() => { /******/ __webpack_require__.nmd = (module) => { /******/ module.paths = []; /******/ if (!module.children) module.children = []; /******/ return module; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hot module replacement */ /******/ (() => { /******/ var currentModuleData = {}; /******/ var installedModules = __webpack_require__.c; /******/ /******/ // module and require creation /******/ var currentChildModule; /******/ var currentParents = []; /******/ /******/ // status /******/ var registeredStatusHandlers = []; /******/ var currentStatus = "idle"; /******/ /******/ // while downloading /******/ var blockingPromises = 0; /******/ var blockingPromisesWaiting = []; /******/ /******/ // The update info /******/ var currentUpdateApplyHandlers; /******/ var queuedInvalidatedModules; /******/ /******/ __webpack_require__.hmrD = currentModuleData; /******/ /******/ __webpack_require__.i.push(function (options) { /******/ var module = options.module; /******/ var require = createRequire(options.require, options.id); /******/ module.hot = createModuleHotObject(options.id, module); /******/ module.parents = currentParents; /******/ module.children = []; /******/ currentParents = []; /******/ options.require = require; /******/ }); /******/ /******/ __webpack_require__.hmrC = {}; /******/ __webpack_require__.hmrI = {}; /******/ /******/ function createRequire(require, moduleId) { /******/ var me = installedModules[moduleId]; /******/ if (!me) return require; /******/ var fn = function (request) { /******/ if (me.hot.active) { /******/ if (installedModules[request]) { /******/ var parents = installedModules[request].parents; /******/ if (parents.indexOf(moduleId) === -1) { /******/ parents.push(moduleId); /******/ } /******/ } else { /******/ currentParents = [moduleId]; /******/ currentChildModule = request; /******/ } /******/ if (me.children.indexOf(request) === -1) { /******/ me.children.push(request); /******/ } /******/ } else { /******/ console.warn( /******/ "[HMR] unexpected require(" + /******/ request + /******/ ") from disposed module " + /******/ moduleId /******/ ); /******/ currentParents = []; /******/ } /******/ return require(request); /******/ }; /******/ var createPropertyDescriptor = function (name) { /******/ return { /******/ configurable: true, /******/ enumerable: true, /******/ get: function () { /******/ return require[name]; /******/ }, /******/ set: function (value) { /******/ require[name] = value; /******/ } /******/ }; /******/ }; /******/ for (var name in require) { /******/ if (Object.prototype.hasOwnProperty.call(require, name) && name !== "e") { /******/ Object.defineProperty(fn, name, createPropertyDescriptor(name)); /******/ } /******/ } /******/ fn.e = function (chunkId, fetchPriority) { /******/ return trackBlockingPromise(require.e(chunkId, fetchPriority)); /******/ }; /******/ return fn; /******/ } /******/ /******/ function createModuleHotObject(moduleId, me) { /******/ var _main = currentChildModule !== moduleId; /******/ var hot = { /******/ // private stuff /******/ _acceptedDependencies: {}, /******/ _acceptedErrorHandlers: {}, /******/ _declinedDependencies: {}, /******/ _selfAccepted: false, /******/ _selfDeclined: false, /******/ _selfInvalidated: false, /******/ _disposeHandlers: [], /******/ _main: _main, /******/ _requireSelf: function () { /******/ currentParents = me.parents.slice(); /******/ currentChildModule = _main ? undefined : moduleId; /******/ __webpack_require__(moduleId); /******/ }, /******/ /******/ // Module API /******/ active: true, /******/ accept: function (dep, callback, errorHandler) { /******/ if (dep === undefined) hot._selfAccepted = true; /******/ else if (typeof dep === "function") hot._selfAccepted = dep; /******/ else if (typeof dep === "object" && dep !== null) { /******/ for (var i = 0; i < dep.length; i++) { /******/ hot._acceptedDependencies[dep[i]] = callback || function () {}; /******/ hot._acceptedErrorHandlers[dep[i]] = errorHandler; /******/ } /******/ } else { /******/ hot._acceptedDependencies[dep] = callback || function () {}; /******/ hot._acceptedErrorHandlers[dep] = errorHandler; /******/ } /******/ }, /******/ decline: function (dep) { /******/ if (dep === undefined) hot._selfDeclined = true; /******/ else if (typeof dep === "object" && dep !== null) /******/ for (var i = 0; i < dep.length; i++) /******/ hot._declinedDependencies[dep[i]] = true; /******/ else hot._declinedDependencies[dep] = true; /******/ }, /******/ dispose: function (callback) { /******/ hot._disposeHandlers.push(callback); /******/ }, /******/ addDisposeHandler: function (callback) { /******/ hot._disposeHandlers.push(callback); /******/ }, /******/ removeDisposeHandler: function (callback) { /******/ var idx = hot._disposeHandlers.indexOf(callback); /******/ if (idx >= 0) hot._disposeHandlers.splice(idx, 1); /******/ }, /******/ invalidate: function () { /******/ this._selfInvalidated = true; /******/ switch (currentStatus) { /******/ case "idle": /******/ currentUpdateApplyHandlers = []; /******/ Object.keys(__webpack_require__.hmrI).forEach(function (key) { /******/ __webpack_require__.hmrI[key]( /******/ moduleId, /******/ currentUpdateApplyHandlers /******/ ); /******/ }); /******/ setStatus("ready"); /******/ break; /******/ case "ready": /******/ Object.keys(__webpack_require__.hmrI).forEach(function (key) { /******/ __webpack_require__.hmrI[key]( /******/ moduleId, /******/ currentUpdateApplyHandlers /******/ ); /******/ }); /******/ break; /******/ case "prepare": /******/ case "check": /******/ case "dispose": /******/ case "apply": /******/ (queuedInvalidatedModules = queuedInvalidatedModules || []).push( /******/ moduleId /******/ ); /******/ break; /******/ default: /******/ // ignore requests in error states /******/ break; /******/ } /******/ }, /******/ /******/ // Management API /******/ check: hotCheck, /******/ apply: hotApply, /******/ status: function (l) { /******/ if (!l) return currentStatus; /******/ registeredStatusHandlers.push(l); /******/ }, /******/ addStatusHandler: function (l) { /******/ registeredStatusHandlers.push(l); /******/ }, /******/ removeStatusHandler: function (l) { /******/ var idx = registeredStatusHandlers.indexOf(l); /******/ if (idx >= 0) registeredStatusHandlers.splice(idx, 1); /******/ }, /******/ /******/ // inherit from previous dispose call /******/ data: currentModuleData[moduleId] /******/ }; /******/ currentChildModule = undefined; /******/ return hot; /******/ } /******/ /******/ function setStatus(newStatus) { /******/ currentStatus = newStatus; /******/ var results = []; /******/ /******/ for (var i = 0; i < registeredStatusHandlers.length; i++) /******/ results[i] = registeredStatusHandlers[i].call(null, newStatus); /******/ /******/ return Promise.all(results).then(function () {}); /******/ } /******/ /******/ function unblock() { /******/ if (--blockingPromises === 0) { /******/ setStatus("ready").then(function () { /******/ if (blockingPromises === 0) { /******/ var list = blockingPromisesWaiting; /******/ blockingPromisesWaiting = []; /******/ for (var i = 0; i < list.length; i++) { /******/ list[i](); /******/ } /******/ } /******/ }); /******/ } /******/ } /******/ /******/ function trackBlockingPromise(promise) { /******/ switch (currentStatus) { /******/ case "ready": /******/ setStatus("prepare"); /******/ /* fallthrough */ /******/ case "prepare": /******/ blockingPromises++; /******/ promise.then(unblock, unblock); /******/ return promise; /******/ default: /******/ return promise; /******/ } /******/ } /******/ /******/ function waitForBlockingPromises(fn) { /******/ if (blockingPromises === 0) return fn(); /******/ return new Promise(function (resolve) { /******/ blockingPromisesWaiting.push(function () { /******/ resolve(fn()); /******/ }); /******/ }); /******/ } /******/ /******/ function hotCheck(applyOnUpdate) { /******/ if (currentStatus !== "idle") { /******/ throw new Error("check() is only allowed in idle status"); /******/ } /******/ return setStatus("check") /******/ .then(__webpack_require__.hmrM) /******/ .then(function (update) { /******/ if (!update) { /******/ return setStatus(applyInvalidatedModules() ? "ready" : "idle").then( /******/ function () { /******/ return null; /******/ } /******/ ); /******/ } /******/ /******/ return setStatus("prepare").then(function () { /******/ var updatedModules = []; /******/ currentUpdateApplyHandlers = []; /******/ /******/ return Promise.all( /******/ Object.keys(__webpack_require__.hmrC).reduce(function ( /******/ promises, /******/ key /******/ ) { /******/ __webpack_require__.hmrC[key]( /******/ update.c, /******/ update.r, /******/ update.m, /******/ promises, /******/ currentUpdateApplyHandlers, /******/ updatedModules /******/ ); /******/ return promises; /******/ }, []) /******/ ).then(function () { /******/ return waitForBlockingPromises(function () { /******/ if (applyOnUpdate) { /******/ return internalApply(applyOnUpdate); /******/ } /******/ return setStatus("ready").then(function () { /******/ return updatedModules; /******/ }); /******/ }); /******/ }); /******/ }); /******/ }); /******/ } /******/ /******/ function hotApply(options) { /******/ if (currentStatus !== "ready") { /******/ return Promise.resolve().then(function () { /******/ throw new Error( /******/ "apply() is only allowed in ready status (state: " + /******/ currentStatus + /******/ ")" /******/ ); /******/ }); /******/ } /******/ return internalApply(options); /******/ } /******/ /******/ function internalApply(options) { /******/ options = options || {}; /******/ /******/ applyInvalidatedModules(); /******/ /******/ var results = currentUpdateApplyHandlers.map(function (handler) { /******/ return handler(options); /******/ }); /******/ currentUpdateApplyHandlers = undefined; /******/ /******/ var errors = results /******/ .map(function (r) { /******/ return r.error; /******/ }) /******/ .filter(Boolean); /******/ /******/ if (errors.length > 0) { /******/ return setStatus("abort").then(function () { /******/ throw errors[0]; /******/ }); /******/ } /******/ /******/ // Now in "dispose" phase /******/ var disposePromise = setStatus("dispose"); /******/ /******/ results.forEach(function (result) { /******/ if (result.dispose) result.dispose(); /******/ }); /******/ /******/ // Now in "apply" phase /******/ var applyPromise = setStatus("apply"); /******/ /******/ var error; /******/ var reportError = function (err) { /******/ if (!error) error = err; /******/ }; /******/ /******/ var outdatedModules = []; /******/ results.forEach(function (result) { /******/ if (result.apply) { /******/ var modules = result.apply(reportError); /******/ if (modules) { /******/ for (var i = 0; i < modules.length; i++) { /******/ outdatedModules.push(modules[i]); /******/ } /******/ } /******/ } /******/ }); /******/ /******/ return Promise.all([disposePromise, applyPromise]).then(function () { /******/ // handle errors in accept handlers and self accepted module load /******/ if (error) { /******/ return setStatus("fail").then(function () { /******/ throw error; /******/ }); /******/ } /******/ /******/ if (queuedInvalidatedModules) { /******/ return internalApply(options).then(function (list) { /******/ outdatedModules.forEach(function (moduleId) { /******/ if (list.indexOf(moduleId) < 0) list.push(moduleId); /******/ }); /******/ return list; /******/ }); /******/ } /******/ /******/ return setStatus("idle").then(function () { /******/ return outdatedModules; /******/ }); /******/ }); /******/ } /******/ /******/ function applyInvalidatedModules() { /******/ if (queuedInvalidatedModules) { /******/ if (!currentUpdateApplyHandlers) currentUpdateApplyHandlers = []; /******/ Object.keys(__webpack_require__.hmrI).forEach(function (key) { /******/ queuedInvalidatedModules.forEach(function (moduleId) { /******/ __webpack_require__.hmrI[key]( /******/ moduleId, /******/ currentUpdateApplyHandlers /******/ ); /******/ }); /******/ }); /******/ queuedInvalidatedModules = undefined; /******/ return true; /******/ } /******/ } /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { /******/ __webpack_require__.p = "/"; /******/ })(); /******/ /******/ /* webpack/runtime/react refresh */ /******/ (() => { /******/ __webpack_require__.i.push((options) => { /******/ const originalFactory = options.factory; /******/ options.factory = function (moduleObject, moduleExports, webpackRequire) { /******/ __webpack_require__.$Refresh$.setup(options.id); /******/ try { /******/ originalFactory.call(this, moduleObject, moduleExports, webpackRequire); /******/ } finally { /******/ if (typeof Promise !== 'undefined' && moduleObject.exports instanceof Promise) { /******/ options.module.exports = options.module.exports.then( /******/ (result) => { /******/ __webpack_require__.$Refresh$.cleanup(options.id); /******/ return result; /******/ }, /******/ (reason) => { /******/ __webpack_require__.$Refresh$.cleanup(options.id); /******/ return Promise.reject(reason); /******/ } /******/ ); /******/ } else { /******/ __webpack_require__.$Refresh$.cleanup(options.id) /******/ } /******/ } /******/ }; /******/ }) /******/ /******/ __webpack_require__.$Refresh$ = { /******/ register: () => (undefined), /******/ signature: () => ((type) => (type)), /******/ runtime: { /******/ createSignatureFunctionForTransform: () => ((type) => (type)), /******/ register: () => (undefined) /******/ }, /******/ setup: (currentModuleId) => { /******/ const prevModuleId = __webpack_require__.$Refresh$.moduleId; /******/ const prevRegister = __webpack_require__.$Refresh$.register; /******/ const prevSignature = __webpack_require__.$Refresh$.signature; /******/ const prevCleanup = __webpack_require__.$Refresh$.cleanup; /******/ /******/ __webpack_require__.$Refresh$.moduleId = currentModuleId; /******/ /******/ __webpack_require__.$Refresh$.register = (type, id) => { /******/ const typeId = currentModuleId + " " + id; /******/ __webpack_require__.$Refresh$.runtime.register(type, typeId); /******/ } /******/ /******/ __webpack_require__.$Refresh$.signature = () => (__webpack_require__.$Refresh$.runtime.createSignatureFunctionForTransform()); /******/ /******/ __webpack_require__.$Refresh$.cleanup = (cleanupModuleId) => { /******/ if (currentModuleId === cleanupModuleId) { /******/ __webpack_require__.$Refresh$.moduleId = prevModuleId; /******/ __webpack_require__.$Refresh$.register = prevRegister; /******/ __webpack_require__.$Refresh$.signature = prevSignature; /******/ __webpack_require__.$Refresh$.cleanup = prevCleanup; /******/ } /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ /******/ (() => { /******/ __webpack_require__.b = document.baseURI || self.location.href; /******/ /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded /******/ var installedChunks = __webpack_require__.hmrS_jsonp = __webpack_require__.hmrS_jsonp || { /******/ "main": 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means "already installed". /******/ /******/ // a Promise means "currently loading". /******/ if(installedChunkData) { /******/ promises.push(installedChunkData[2]); /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ /******/ // start chunk loading /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later /******/ var error = new Error(); /******/ var loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); /******/ var realSrc = event && event.target && event.target.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); /******/ } /******/ } /******/ } /******/ }; /******/ /******/ // no prefetching /******/ /******/ // no preloaded /******/ /******/ var currentUpdatedModulesList; /******/ var waitingUpdateResolves = {}; /******/ function loadUpdateChunk(chunkId, updatedModulesList) { /******/ currentUpdatedModulesList = updatedModulesList; /******/ return new Promise((resolve, reject) => { /******/ waitingUpdateResolves[chunkId] = resolve; /******/ // start update chunk loading /******/ var url = __webpack_require__.p + __webpack_require__.hu(chunkId); /******/ // create error before stack unwound to get useful stacktrace later /******/ var error = new Error(); /******/ var loadingEnded = (event) => { /******/ if(waitingUpdateResolves[chunkId]) { /******/ waitingUpdateResolves[chunkId] = undefined /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); /******/ var realSrc = event && event.target && event.target.src; /******/ error.message = 'Loading hot update chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; /******/ reject(error); /******/ } /******/ }; /******/ __webpack_require__.l(url, loadingEnded); /******/ }); /******/ } /******/ /******/ globalThis["webpackHotUpdatereactjewellery"] = (chunkId, moreModules, runtime) => { /******/ for(var moduleId in moreModules) { /******/ if(__webpack_require__.o(moreModules, moduleId)) { /******/ currentUpdate[moduleId] = moreModules[moduleId]; /******/ if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId); /******/ } /******/ } /******/ if(runtime) currentUpdateRuntime.push(runtime); /******/ if(waitingUpdateResolves[chunkId]) { /******/ waitingUpdateResolves[chunkId](); /******/ waitingUpdateResolves[chunkId] = undefined; /******/ } /******/ }; /******/ /******/ var currentUpdateChunks; /******/ var currentUpdate; /******/ var currentUpdateRemovedChunks; /******/ var currentUpdateRuntime; /******/ function applyHandler(options) { /******/ if (__webpack_require__.f) delete __webpack_require__.f.jsonpHmr; /******/ currentUpdateChunks = undefined; /******/ function getAffectedModuleEffects(updateModuleId) { /******/ var outdatedModules = [updateModuleId]; /******/ var outdatedDependencies = {}; /******/ /******/ var queue = outdatedModules.map(function (id) { /******/ return { /******/ chain: [id], /******/ id: id /******/ }; /******/ }); /******/ while (queue.length > 0) { /******/ var queueItem = queue.pop(); /******/ var moduleId = queueItem.id; /******/ var chain = queueItem.chain; /******/ var module = __webpack_require__.c[moduleId]; /******/ if ( /******/ !module || /******/ (module.hot._selfAccepted && !module.hot._selfInvalidated) /******/ ) /******/ continue; /******/ if (module.hot._selfDeclined) { /******/ return { /******/ type: "self-declined", /******/ chain: chain, /******/ moduleId: moduleId /******/ }; /******/ } /******/ if (module.hot._main) { /******/ return { /******/ type: "unaccepted", /******/ chain: chain, /******/ moduleId: moduleId /******/ }; /******/ } /******/ for (var i = 0; i < module.parents.length; i++) { /******/ var parentId = module.parents[i]; /******/ var parent = __webpack_require__.c[parentId]; /******/ if (!parent) continue; /******/ if (parent.hot._declinedDependencies[moduleId]) { /******/ return { /******/ type: "declined", /******/ chain: chain.concat([parentId]), /******/ moduleId: moduleId, /******/ parentId: parentId /******/ }; /******/ } /******/ if (outdatedModules.indexOf(parentId) !== -1) continue; /******/ if (parent.hot._acceptedDependencies[moduleId]) { /******/ if (!outdatedDependencies[parentId]) /******/ outdatedDependencies[parentId] = []; /******/ addAllToSet(outdatedDependencies[parentId], [moduleId]); /******/ continue; /******/ } /******/ delete outdatedDependencies[parentId]; /******/ outdatedModules.push(parentId); /******/ queue.push({ /******/ chain: chain.concat([parentId]), /******/ id: parentId /******/ }); /******/ } /******/ } /******/ /******/ return { /******/ type: "accepted", /******/ moduleId: updateModuleId, /******/ outdatedModules: outdatedModules, /******/ outdatedDependencies: outdatedDependencies /******/ }; /******/ } /******/ /******/ function addAllToSet(a, b) { /******/ for (var i = 0; i < b.length; i++) { /******/ var item = b[i]; /******/ if (a.indexOf(item) === -1) a.push(item); /******/ } /******/ } /******/ /******/ // at begin all updates modules are outdated /******/ // the "outdated" status can propagate to parents if they don't accept the children /******/ var outdatedDependencies = {}; /******/ var outdatedModules = []; /******/ var appliedUpdate = {}; /******/ /******/ var warnUnexpectedRequire = function warnUnexpectedRequire(module) { /******/ console.warn( /******/ "[HMR] unexpected require(" + module.id + ") to disposed module" /******/ ); /******/ }; /******/ /******/ for (var moduleId in currentUpdate) { /******/ if (__webpack_require__.o(currentUpdate, moduleId)) { /******/ var newModuleFactory = currentUpdate[moduleId]; /******/ /** @type {TODO} */ /******/ var result = newModuleFactory /******/ ? getAffectedModuleEffects(moduleId) /******/ : { /******/ type: "disposed", /******/ moduleId: moduleId /******/ }; /******/ /** @type {Error|false} */ /******/ var abortError = false; /******/ var doApply = false; /******/ var doDispose = false; /******/ var chainInfo = ""; /******/ if (result.chain) { /******/ chainInfo = "\nUpdate propagation: " + result.chain.join(" -> "); /******/ } /******/ switch (result.type) { /******/ case "self-declined": /******/ if (options.onDeclined) options.onDeclined(result); /******/ if (!options.ignoreDeclined) /******/ abortError = new Error( /******/ "Aborted because of self decline: " + /******/ result.moduleId + /******/ chainInfo /******/ ); /******/ break; /******/ case "declined": /******/ if (options.onDeclined) options.onDeclined(result); /******/ if (!options.ignoreDeclined) /******/ abortError = new Error( /******/ "Aborted because of declined dependency: " + /******/ result.moduleId + /******/ " in " + /******/ result.parentId + /******/ chainInfo /******/ ); /******/ break; /******/ case "unaccepted": /******/ if (options.onUnaccepted) options.onUnaccepted(result); /******/ if (!options.ignoreUnaccepted) /******/ abortError = new Error( /******/ "Aborted because " + moduleId + " is not accepted" + chainInfo /******/ ); /******/ break; /******/ case "accepted": /******/ if (options.onAccepted) options.onAccepted(result); /******/ doApply = true; /******/ break; /******/ case "disposed": /******/ if (options.onDisposed) options.onDisposed(result); /******/ doDispose = true; /******/ break; /******/ default: /******/ throw new Error("Unexception type " + result.type); /******/ } /******/ if (abortError) { /******/ return { /******/ error: abortError /******/ }; /******/ } /******/ if (doApply) { /******/ appliedUpdate[moduleId] = newModuleFactory; /******/ addAllToSet(outdatedModules, result.outdatedModules); /******/ for (moduleId in result.outdatedDependencies) { /******/ if (__webpack_require__.o(result.outdatedDependencies, moduleId)) { /******/ if (!outdatedDependencies[moduleId]) /******/ outdatedDependencies[moduleId] = []; /******/ addAllToSet( /******/ outdatedDependencies[moduleId], /******/ result.outdatedDependencies[moduleId] /******/ ); /******/ } /******/ } /******/ } /******/ if (doDispose) { /******/ addAllToSet(outdatedModules, [result.moduleId]); /******/ appliedUpdate[moduleId] = warnUnexpectedRequire; /******/ } /******/ } /******/ } /******/ currentUpdate = undefined; /******/ /******/ // Store self accepted outdated modules to require them later by the module system /******/ var outdatedSelfAcceptedModules = []; /******/ for (var j = 0; j < outdatedModules.length; j++) { /******/ var outdatedModuleId = outdatedModules[j]; /******/ var module = __webpack_require__.c[outdatedModuleId]; /******/ if ( /******/ module && /******/ (module.hot._selfAccepted || module.hot._main) && /******/ // removed self-accepted modules should not be required /******/ appliedUpdate[outdatedModuleId] !== warnUnexpectedRequire && /******/ // when called invalidate self-accepting is not possible /******/ !module.hot._selfInvalidated /******/ ) { /******/ outdatedSelfAcceptedModules.push({ /******/ module: outdatedModuleId, /******/ require: module.hot._requireSelf, /******/ errorHandler: module.hot._selfAccepted /******/ }); /******/ } /******/ } /******/ /******/ var moduleOutdatedDependencies; /******/ /******/ return { /******/ dispose: function () { /******/ currentUpdateRemovedChunks.forEach(function (chunkId) { /******/ delete installedChunks[chunkId]; /******/ }); /******/ currentUpdateRemovedChunks = undefined; /******/ /******/ var idx; /******/ var queue = outdatedModules.slice(); /******/ while (queue.length > 0) { /******/ var moduleId = queue.pop(); /******/ var module = __webpack_require__.c[moduleId]; /******/ if (!module) continue; /******/ /******/ var data = {}; /******/ /******/ // Call dispose handlers /******/ var disposeHandlers = module.hot._disposeHandlers; /******/ for (j = 0; j < disposeHandlers.length; j++) { /******/ disposeHandlers[j].call(null, data); /******/ } /******/ __webpack_require__.hmrD[moduleId] = data; /******/ /******/ // disable module (this disables requires from this module) /******/ module.hot.active = false; /******/ /******/ // remove module from cache /******/ delete __webpack_require__.c[moduleId]; /******/ /******/ // when disposing there is no need to call dispose handler /******/ delete outdatedDependencies[moduleId]; /******/ /******/ // remove "parents" references from all children /******/ for (j = 0; j < module.children.length; j++) { /******/ var child = __webpack_require__.c[module.children[j]]; /******/ if (!child) continue; /******/ idx = child.parents.indexOf(moduleId); /******/ if (idx >= 0) { /******/ child.parents.splice(idx, 1); /******/ } /******/ } /******/ } /******/ /******/ // remove outdated dependency from module children /******/ var dependency; /******/ for (var outdatedModuleId in outdatedDependencies) { /******/ if (__webpack_require__.o(outdatedDependencies, outdatedModuleId)) { /******/ module = __webpack_require__.c[outdatedModuleId]; /******/ if (module) { /******/ moduleOutdatedDependencies = /******/ outdatedDependencies[outdatedModuleId]; /******/ for (j = 0; j < moduleOutdatedDependencies.length; j++) { /******/ dependency = moduleOutdatedDependencies[j]; /******/ idx = module.children.indexOf(dependency); /******/ if (idx >= 0) module.children.splice(idx, 1); /******/ } /******/ } /******/ } /******/ } /******/ }, /******/ apply: function (reportError) { /******/ // insert new code /******/ for (var updateModuleId in appliedUpdate) { /******/ if (__webpack_require__.o(appliedUpdate, updateModuleId)) { /******/ __webpack_require__.m[updateModuleId] = appliedUpdate[updateModuleId]; /******/ } /******/ } /******/ /******/ // run new runtime modules /******/ for (var i = 0; i < currentUpdateRuntime.length; i++) { /******/ currentUpdateRuntime[i](__webpack_require__); /******/ } /******/ /******/ // call accept handlers /******/ for (var outdatedModuleId in outdatedDependencies) { /******/ if (__webpack_require__.o(outdatedDependencies, outdatedModuleId)) { /******/ var module = __webpack_require__.c[outdatedModuleId]; /******/ if (module) { /******/ moduleOutdatedDependencies = /******/ outdatedDependencies[outdatedModuleId]; /******/ var callbacks = []; /******/ var errorHandlers = []; /******/ var dependenciesForCallbacks = []; /******/ for (var j = 0; j < moduleOutdatedDependencies.length; j++) { /******/ var dependency = moduleOutdatedDependencies[j]; /******/ var acceptCallback = /******/ module.hot._acceptedDependencies[dependency]; /******/ var errorHandler = /******/ module.hot._acceptedErrorHandlers[dependency]; /******/ if (acceptCallback) { /******/ if (callbacks.indexOf(acceptCallback) !== -1) continue; /******/ callbacks.push(acceptCallback); /******/ errorHandlers.push(errorHandler); /******/ dependenciesForCallbacks.push(dependency); /******/ } /******/ } /******/ for (var k = 0; k < callbacks.length; k++) { /******/ try { /******/ callbacks[k].call(null, moduleOutdatedDependencies); /******/ } catch (err) { /******/ if (typeof errorHandlers[k] === "function") { /******/ try { /******/ errorHandlers[k](err, { /******/ moduleId: outdatedModuleId, /******/ dependencyId: dependenciesForCallbacks[k] /******/ }); /******/ } catch (err2) { /******/ if (options.onErrored) { /******/ options.onErrored({ /******/ type: "accept-error-handler-errored", /******/ moduleId: outdatedModuleId, /******/ dependencyId: dependenciesForCallbacks[k], /******/ error: err2, /******/ originalError: err /******/ }); /******/ } /******/ if (!options.ignoreErrored) { /******/ reportError(err2); /******/ reportError(err); /******/ } /******/ } /******/ } else { /******/ if (options.onErrored) { /******/ options.onErrored({ /******/ type: "accept-errored", /******/ moduleId: outdatedModuleId, /******/ dependencyId: dependenciesForCallbacks[k], /******/ error: err /******/ }); /******/ } /******/ if (!options.ignoreErrored) { /******/ reportError(err); /******/ } /******/ } /******/ } /******/ } /******/ } /******/ } /******/ } /******/ /******/ // Load self accepted modules /******/ for (var o = 0; o < outdatedSelfAcceptedModules.length; o++) { /******/ var item = outdatedSelfAcceptedModules[o]; /******/ var moduleId = item.module; /******/ try { /******/ item.require(moduleId); /******/ } catch (err) { /******/ if (typeof item.errorHandler === "function") { /******/ try { /******/ item.errorHandler(err, { /******/ moduleId: moduleId, /******/ module: __webpack_require__.c[moduleId] /******/ }); /******/ } catch (err1) { /******/ if (options.onErrored) { /******/ options.onErrored({ /******/ type: "self-accept-error-handler-errored", /******/ moduleId: moduleId, /******/ error: err1, /******/ originalError: err /******/ }); /******/ } /******/ if (!options.ignoreErrored) { /******/ reportError(err1); /******/ reportError(err); /******/ } /******/ } /******/ } else { /******/ if (options.onErrored) { /******/ options.onErrored({ /******/ type: "self-accept-errored", /******/ moduleId: moduleId, /******/ error: err /******/ }); /******/ } /******/ if (!options.ignoreErrored) { /******/ reportError(err); /******/ } /******/ } /******/ } /******/ } /******/ /******/ return outdatedModules; /******/ } /******/ }; /******/ } /******/ __webpack_require__.hmrI.jsonp = function (moduleId, applyHandlers) { /******/ if (!currentUpdate) { /******/ currentUpdate = {}; /******/ currentUpdateRuntime = []; /******/ currentUpdateRemovedChunks = []; /******/ applyHandlers.push(applyHandler); /******/ } /******/ if (!__webpack_require__.o(currentUpdate, moduleId)) { /******/ currentUpdate[moduleId] = __webpack_require__.m[moduleId]; /******/ } /******/ }; /******/ __webpack_require__.hmrC.jsonp = function ( /******/ chunkIds, /******/ removedChunks, /******/ removedModules, /******/ promises, /******/ applyHandlers, /******/ updatedModulesList /******/ ) { /******/ applyHandlers.push(applyHandler); /******/ currentUpdateChunks = {}; /******/ currentUpdateRemovedChunks = removedChunks; /******/ currentUpdate = removedModules.reduce(function (obj, key) { /******/ obj[key] = false; /******/ return obj; /******/ }, {}); /******/ currentUpdateRuntime = []; /******/ chunkIds.forEach(function (chunkId) { /******/ if ( /******/ __webpack_require__.o(installedChunks, chunkId) && /******/ installedChunks[chunkId] !== undefined /******/ ) { /******/ promises.push(loadUpdateChunk(chunkId, updatedModulesList)); /******/ currentUpdateChunks[chunkId] = true; /******/ } else { /******/ currentUpdateChunks[chunkId] = false; /******/ } /******/ }); /******/ if (__webpack_require__.f) { /******/ __webpack_require__.f.jsonpHmr = function (chunkId, promises) { /******/ if ( /******/ currentUpdateChunks && /******/ __webpack_require__.o(currentUpdateChunks, chunkId) && /******/ !currentUpdateChunks[chunkId] /******/ ) { /******/ promises.push(loadUpdateChunk(chunkId)); /******/ currentUpdateChunks[chunkId] = true; /******/ } /******/ }; /******/ } /******/ }; /******/ /******/ __webpack_require__.hmrM = () => { /******/ if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API"); /******/ return fetch(__webpack_require__.p + __webpack_require__.hmrF()).then((response) => { /******/ if(response.status === 404) return; // no update available /******/ if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText); /******/ return response.json(); /******/ }); /******/ }; /******/ /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { /******/ var [chunkIds, moreModules, runtime] = data; /******/ // add "moreModules" to the modules object, /******/ // then flag all "chunkIds" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { /******/ for(moduleId in moreModules) { /******/ if(__webpack_require__.o(moreModules, moduleId)) { /******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; /******/ } /******/ } /******/ if(runtime) var result = runtime(__webpack_require__); /******/ } /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); /******/ for(;i < chunkIds.length; i++) { /******/ chunkId = chunkIds[i]; /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { /******/ installedChunks[chunkId][0](); /******/ } /******/ installedChunks[chunkId] = 0; /******/ } /******/ /******/ } /******/ /******/ var chunkLoadingGlobal = globalThis["webpackChunkreactjewellery"] = globalThis["webpackChunkreactjewellery"] || []; /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /******/ /* webpack/runtime/nonce */ /******/ (() => { /******/ __webpack_require__.nc = undefined; /******/ })(); /******/ /************************************************************************/ /******/ /******/ // module cache are used so entry inlining is disabled /******/ // startup /******/ // Load entry module and return exports /******/ __webpack_require__("./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js"); /******/ __webpack_require__("./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&overlay=%7B%22errors%22%3Atrue%2C%22warnings%22%3Afalse%7D&reconnect=10&hot=true&live-reload=true"); /******/ __webpack_require__("./node_modules/webpack/hot/dev-server.js"); /******/ var __webpack_exports__ = __webpack_require__("./src/index.js"); /******/ /******/ })() ; //# sourceMappingURL=bundle.js.mapEvidence Access-Control-Allow-Origin: *Solution Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).
Configure the "Access-Control-Allow-Origin" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.
-
-
http://quiz-fe-test.hematitecorp.com (1)
-
Missing Anti-clickjacking Header (1)
GET http://quiz-fe-test.hematitecorp.com/
Alert tags Alert description The response does not protect against 'ClickJacking' attacks. It should include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options.
Request Request line and header section (363 bytes)
GET http://quiz-fe-test.hematitecorp.com/ HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (243 bytes)
HTTP/1.1 200 OK Server: CK-WFP User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT); ck-block Expires: 0 Cache-Control: no-cache Pragma: no-cache Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 11408Response body (11408 bytes)
<html> <head> <title>Coached by ContentKeeper</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: sans-serif; font-weight: 300; font-size: 1em; color: white; text-align: center; background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='1892px' height='1022.2px' viewBox='0 0 1892 1022.2' enable-background='new 0 0 1892 1022.2' xml:space='preserve'%3E%3Ctitle%3Eck_overlay2%3C/title%3E%3Cg opacity='7.000000e-02'%3E%3Cpath fill='%23FFFFFF' d='M1892,685.1c-23.4,5.8-46.8,11.7-70.3,17.3c-1.9,0.5-4.5-0.6-6.3-1.7c-74.9-44-149.8-88.1-224.7-132.2 c-63.5-37.4-127.1-74.8-190.7-112.1c-3.6-2.1-4.9-4.1-4.5-8.5c2.4-32.1,4.4-64.1,6.5-96.2c2.5-37.1,5-74.1,7.3-111.2 c0.3-4.3,1.7-5.8,6-6.4c38.6-5,77.1-10.9,115.8-15.3c32.1-3.7,64.3-6.3,96.5-8.5c26.8-1.8,53.6-2.3,80.4-3.2c2.8,0,5.6,0.6,8.1,1.8 c57.9,27.4,114.8,57,170.5,88.6c1.7,1,3.5,1.8,5.3,2.7L1892,685.1z'/%3E%3Cpath fill='%23FFFFFF' d='M1892,188.2c-22.8-11.6-45.4-23.7-68.6-34.6c-31.9-15-64.2-29-96.3-43.6c-2.6-1.2-4.9-3.2-6.6-5.6 c-11.4-17.5-24.1-34-41-46.7c-0.5-0.6-1-1.2-1.4-1.9c14.6,3.6,28.5,7,42.3,10.4c57.5,13.9,112.9,34.3,167.4,57.1 c1.4,0.6,2.7,1.3,4,2L1892,188.2z'/%3E%3Cpath fill='%23FFFFFF' d='M1026.1,506.6c-2.6,21.3-5.1,41.1-7.5,61c-3.9,33.1-7.8,66.1-11.5,99.3c-1.5,14-1.3,13.8-13.9,19.7 c-60.8,28.7-121.6,57.4-182.4,86.1c-3.1,1.4-4,3.4-4.5,6.4c-5.1,34.6-10.3,69.2-15.3,103.8c-1.9,12.9-3.6,25.7-5.2,38.6 c-0.4,3.5-1.9,5.4-5.1,7.1c-57.3,30.8-114.6,61.7-171.8,92.7c-2.7,1.5-4.5,1.5-7.1-0.2c-43-28.2-86.1-56.3-129.3-84.4 c-2.6-1.7-3.4-3.2-2.8-6.4c11.6-54.2,23-108.4,34.6-162.6c0.8-2.6,2.5-4.8,4.8-6.2c44.1-25.2,88.3-50.2,132.5-75.1 c2.9-1.4,4.9-4.2,5.4-7.4c11.2-54.3,22.5-108.5,34-162.7c0.4-2,2.6-4.2,4.5-5.1c57.5-29,115.8-56.3,175.1-81.4 c2.2-0.9,4.7-0.9,6.9,0c51.8,24.4,103.4,49,155.1,73.7C1024.4,504.2,1025.5,506,1026.1,506.6z M696.8,656c1.3,1.1,2.7,2.2,4.2,3.1 c36.4,20.2,72.7,40.4,109.1,60.6c3.4,1.9,6,2,9.5,0.4c44.9-21.3,89.9-42.5,135-63.6c3.1-1.4,4.1-3.3,4.5-6.3 c5.2-40,10.4-79.9,15.8-119.8c0.4-3-0.4-4.4-3.1-5.7c-37-17.9-73.9-35.9-110.9-53.9c-2.8-1.5-6.1-1.5-8.9,0 c-42,19.7-84.1,39.2-126.3,58.7c-3.1,1.2-5.2,4-5.6,7.3c-5.8,29.5-11.8,59.1-17.7,88.6C700.6,635,698.9,644.9,696.8,656L696.8,656z '/%3E%3Cpath fill='%23FFFFFF' d='M1315.8,232.7c-2.3,21.8-4.6,43.4-6.8,64.9c-2.6,24.5-5.2,49-7.6,73.5c-0.3,3-1.3,4.2-4.1,5.1 c-73.3,23-145.7,48.9-217.5,76.4c-2.1,0.8-4.4,0.8-6.5,0.1c-60.7-26.3-121.9-51.8-184.2-74.1c-0.6-0.2-1.2-0.5-2.1-1 c0.1-1.3,0.3-2.5,0.5-3.8c12.5-43.8,25-87.6,37.5-131.5c0.6-2.9,2.8-5.3,5.6-6.1c65-23.3,130.5-44.9,196.9-63.9 c2.5-0.7,5.1-0.8,7.7-0.2c60.3,16.9,119.4,37.3,177.9,59.3C1313.9,231.8,1314.6,232.2,1315.8,232.7z'/%3E%3Cpath fill='%23FFFFFF' d='M1690.9,169.8c-19.2,0.8-38,1-56.8,2.5c-36.9,2.8-73.7,5.6-110.5,9.7c-31.3,3.5-62.3,8.8-93.4,13.1 c-2.4,0.3-4.9,0.1-7.2-0.8c-89.9-36-182-66-275.9-90c-0.9-0.2-1.9-0.6-3.4-1c2.1-9.7,3.9-19.3,6.4-28.7c5.2-20,10.7-39.8,16-59.7 c0.8-2.9,2.2-4.2,5.5-4.6C1238,2.8,1304.4-0.1,1371.2,0c33.3,0.1,65,7.6,96.8,15.5c59.6,14.8,118.3,32.7,176,53.6 c3.3,1.1,6.1,3.3,7.8,6.4c17.1,29.2,28.8,60.6,39.2,92.7C1691,168.7,1691,169.2,1690.9,169.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1518.1,752.8c0,4.1,1.5,9.1-0.4,11.9c-1.8,2.6-7.1,3-10.9,4.2c-72.9,23.4-144.7,49.7-215.5,78.9 c-3.8,1.5-6.5,1.5-10-0.8c-71.9-46.4-145.5-90-220.8-130.7c-3.7-2-4.7-4.2-4.2-8.1c5.7-49.1,11.3-98.3,17-147.4 c1.4-12.2,3.4-24.4,4.6-36.7c0.4-3.7,2.3-4.6,5-5.6c55.2-20.1,110.3-40.2,165.4-60.4c13.4-4.9,26.8-10,40.3-14.6 c2.4-0.8,5-0.6,7.2,0.6c68.6,40.9,137.2,82,205.6,123.2c1.6,1,3.3,3,3.5,4.7c4.8,60.3,9.5,120.5,14.1,180.8L1518.1,752.8z M1456.8,724.8c0.1-0.6,0.2-1.2,0.3-1.8c-2.1-46.1-4.2-92.2-6.5-138.3c-0.1-1.8-1.9-4.2-3.6-5.2c-50.1-29.7-100.3-59.3-150.6-88.7 c-2.2-1.2-4.8-1.4-7.3-0.7c-50.5,17.8-100.9,35.8-151.4,53.6c-3.2,1.1-4.4,2.6-4.6,6c-1,12.5-2.3,24.9-3.4,37.3 c-2.9,31.7-5.6,63.4-8.6,95c-0.4,3.8,0.7,5.8,4.1,7.8c52.9,30.5,105.7,61.2,158.5,92c3,1.8,5.4,2.1,8.7,0.9 c39.7-14.4,79.5-28.7,119.2-42.8C1426.6,734.6,1441.8,729.8,1456.8,724.8L1456.8,724.8z'/%3E%3Cpath fill='%23FFFFFF' d='M309.4,681.8c4.6-17,9.1-33.9,13.8-50.6c6.1-21.6,12.4-43.2,18.8-64.7c0.8-2.3,2.3-4.2,4.3-5.5 c40.5-22.7,81.1-45.2,121.8-67.6c1.8-1,4-1.4,6-1c35,9.8,68.5,23.5,102.5,37.8c-2,9.3-3.9,18.5-5.9,27.7 c-6.9,31.7-13.9,63.4-20.6,95.1c-0.6,3.4-2.8,6.3-5.9,7.7c-42.6,21.9-85.1,44-127.6,66.2c-2.8,1.7-6.3,1.8-9.1,0.2 c-31.8-14.8-63.7-29.4-95.6-44C311.3,682.8,310.8,682.4,309.4,681.8z'/%3E%3Cpath fill='%23FFFFFF' d='M443.6,447.7c6.2-13.2,11.8-26.3,18.4-38.9c17.5-33.1,35.5-65.9,53.5-98.7c1.6-2.7,3.8-4.9,6.6-6.4 c62.5-34.9,127-65.7,192.8-94c1.8-0.8,3.8-1.1,5.7-1c51.4,6,102.4,15.2,152.7,27.4c0.9,0.2,1.8,0.5,3.3,1 c-2.5,6.8-5.1,13.2-7.3,19.8c-13.3,41.5-26.6,83-39.8,124.5c-0.7,2.9-2.8,5.2-5.6,6.2c-77.5,34.2-153.8,70.9-228.3,111.3 c-2.3,1.1-4.9,1.2-7.3,0.4c-46.5-18.1-93.3-35.4-141-50C446.2,448.9,445.1,448.4,443.6,447.7z M816.6,260.3 c-0.6-0.4-1.2-0.7-1.9-0.9c-35.6-7.1-71.1-14.2-106.7-21c-3.5-0.7-7.9-0.5-11,1c-47.5,22.9-94.9,46-142.2,69.3 c-2.3,1.2-4.2,3.1-5.5,5.4c-15.2,29.8-30.3,59.6-45.3,89.5c-1.8,3.6-3.4,7.4-5.1,11.3c0.7,0.4,1.5,0.8,2.2,1.1 c34.8,11.3,69.6,22.6,104.4,33.8c2.3,0.5,4.8,0.2,6.9-0.9c53.9-26.2,107.7-52.4,161.5-78.6c2.9-1.2,5-3.7,5.9-6.7 c7-21,14.2-41.9,21.5-62.8C806.2,287.2,811.4,274,816.6,260.3L816.6,260.3z'/%3E%3Cpath fill='%23FFFFFF' d='M1102.9,7.5c-6.1,11.3-12.7,21.8-17.4,33.1c-4.9,11.7-12.7,16.8-25.1,19.6c-62.7,14.1-124.3,32-185.5,51.5 c-3.4,1.1-7.1,1.6-10.7,1.5c-43.3-1.8-86.6-2.2-129.9-0.1c-3.3,0.2-5.5,1-7.5,3.7c-11.5,16-23,31.9-34.7,47.6 c-1.9,2.6-4.5,4.6-7.4,6c-45.1,20.5-90.3,40.8-135.6,61c-4.1,1.7-8.4,2.6-12.8,2.5c-23.5-0.3-47-1-70.4-1.7c-3.2-0.2-6.2,1.2-8,3.9 c-12.9,16.5-25.9,33-39,49.4c-1.6,2.1-3.6,3.9-5.8,5.3c-34.6,21.9-69.3,43.6-104,65.4c-1.3,1-2.9,1.6-4.5,1.8 c-15.6,0.1-31.2,0.1-46.8,0.1c0.5-0.8,1-1.6,1.6-2.4c16-18.3,32-36.6,48-54.9c1.4-1.6,3.1-3,4.9-4.2c31-19.7,62-39.6,93.3-58.9 c4.4-2.7,10.3-3.5,15.7-4.3c13-2,26.1-3.4,39.1-5.4c2.3-0.4,4.7-2.2,6.4-4c15-15.8,29.9-31.8,44.9-47.6c2.1-2.1,4.6-3.9,7.3-5.1 c40.2-18.1,80.3-36.4,120.8-53.8c7.5-3.2,16.6-3.4,25-4c19.6-1.4,39.2-2.2,58.9-3.5c2.7-0.3,5.2-1.4,7.3-3.1 c16.9-14,33.6-28.3,50.5-42.3c2.5-1.9,5.4-3.3,8.4-4.2c58-18,116.5-34.2,175.8-47.3c11-2.4,22.4-3.2,33.7-3.6 c33.8-1.1,67.6-1.6,101.4-2.3C1101.4,7.2,1102.2,7.3,1102.9,7.5z M1068.7,15.1l-0.8-1.5c-25.6,1-51.2,1.9-76.9,3.1 c-12.1,0.6-24.6,0.6-36.2,3.5c-41,10.2-81.6,21.9-122.5,32.3c-13.9,3.5-26.6,10.6-36.9,20.6c-8.3,7.8-16.8,15.4-26.2,23.9 c2.4,0.1,3.4,0.3,4.3,0.3c35-0.1,69.9-0.3,104.9-0.4c2,0,4-0.4,5.9-0.9c49.7-13.8,99.3-27.8,149.1-41c9.1-2.4,15.3-6.2,19.6-14.5 C1057.7,31.7,1063.5,23.5,1068.7,15.1L1068.7,15.1z M435.6,243.7c-10.6,1.3-19.8,2.4-29,3.5c-7,0.7-13.6,3-19.5,6.8 c-20.9,13.6-42.1,26.9-63.1,40.3c-1.5,1-2.9,2.2-4.2,3.5c-11.3,12.9-22.6,25.8-33.8,38.8c-0.5,0.6-1,1.3-1.3,2 c10.2,0,20.6,0.1,31.1-0.1c2.8-0.1,5.5-0.9,7.8-2.3c20.6-12.9,40.9-26.2,61.7-38.8c9.4-5.7,17.5-12.2,23.9-21.3s14-17.4,21-26 C431.8,248.3,433.3,246.6,435.6,243.7L435.6,243.7z'/%3E%3Cpath fill='%23FFFFFF' d='M133.9,605.5l-22.2-19.1c7.4-11.8,14.7-23.5,22.1-35.1c1.9-3,4-5.8,5.7-8.8c10.6-18.9,24.9-34.3,42.2-47.3 c13.7-10.3,27-21.2,40.3-32c2.6-2.1,4.7-2.3,7.6-0.9c7.6,3.6,15.4,7,23.6,10.6c-0.9,1.6-1.5,2.7-2.2,3.8 c-13.7,22.2-27.4,44.5-41.2,66.7c-1.8,2.8-4,5.3-6.5,7.3c-21.9,17.5-43.8,34.8-65.8,52.1L133.9,605.5z'/%3E%3Cpath fill='%23FFFFFF' d='M243.9,400.4C230,417.2,217,433,204,448.8c-5,6.1-10,12.1-14.4,18.5c-10.8,15.8-24.2,29-38.4,41.7 c-23.7,21.2-46.3,43.6-69.4,65.5c-1.1,1.2-2.2,2.5-3.2,3.9l-12.7-10.3c3.2-4.3,6.5-8.6,9.8-12.9c40.3-53.9,87.4-101.4,137.7-145.8 C222.3,401.5,232.4,401.3,243.9,400.4z'/%3E%3Cpath fill='%23FFFFFF' d='M68.4,598.5c2.9,3.1,5.6,5.8,7.9,8.8c0.6,1.2,0.6,2.6-0.1,3.8c-9.6,16.7-19.3,33.4-29,50.1 c-0.2,0.4-0.5,0.9-0.8,1.2c-13.2,13.8-26.4,27.6-40,41.6c-2.2-3.9-4.4-7.4-6.1-11.1c-0.4-1.3-0.3-2.8,0.4-4 c9.4-16.1,18.6-32.3,28.5-48c3.8-6,9.3-10.9,14.2-16.1C51.4,616.3,59.6,607.8,68.4,598.5z'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: top right; background-size: 100%; margin: 0 auto; } .message { font-size: 15px; } .message a { /*text-decoration: none;*/ color: #fff; text-decoration-line: underline; } #content { display: flex; flex-flow: column; align-items: center; justify-content: space-between; height: 100%; } footer { width: 100%; background-color: transparent; flex-grow: 1; margin-bottom: 2em; } h1 { font-weight: 300; font-size: 50px; text-align: center; } input[type=text], input[type=password] { font-family: sans-serif; font-weight: 300; height: 3em; width: 25em; border: none; box-shadow: none; padding: 1em; margin: .25em; } input[type=text]:hover, input[type=password]:hover { outline: 2px solid #ffb27f; } input[type=text]:focus, input[type=password]:focus { outline: 2px solid #F95E02; } input[type=submit] { font-family: sans-serif; font-weight: 300; height: 2.75em; width: 10em; margin: 1em; color: white; background-color: #F95E02; border: none; } input[type=submit]:hover { outline: 2px solid white; cursor: pointer; } input[type=submit]:focus { outline: 2px solid white; } table { border-collapse: separate; border-spacing: 00px; } th { font-size: 20px; font-weight: 600; text-align: right; padding-right: .5em; } td { font-size: 20px; font-weight: 300; text-align: left; } header { flex-basis: 70%; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } </style> <script> function onSubmitCoachPage(sUrl) { console.log(sUrl); window.location = sUrl; } function onPageLoad() { } </script> </head> <body bgcolor="#2B3A42" onLoad="onPageLoad()"> <div id="content"> <header> <h1>Coached by ContentKeeper</h1> <div> <p>The page you are attempting to reach may violate your organisation's acceptable-use policy. <br> Click "Continue" only if you believe that accessing this page would constitute acceptable use.</p> <input type="submit" value="Continue" onClick='onSubmitCoachPage("http://quiz-fe-test.hematitecorp.com")'> </div> </header> <input type="hidden" id="protocol" value="http" /> <footer> <center> <p> <table> <tr> <th>URL</th> <td>quiz-fe-test.hematitecorp.com</td> </tr> <tr> <th>MODULE</th> <td>Web Filter Pro</td> </tr> <tr> <th>CATEGORY</th> <td>Non-Managed</td> </tr> <tr> <th>POLICY</th> <td>Policy=training; IP Address=172.17.7.126</td> </tr> <tr> <th>USERNAME</th> <td>172.17.7.126</td> </tr> <tr> <th>SOURCE IP</th> <td>172.17.7.126</td> </tr> <tr> <th>APPLIANCE</th> <td>172.17.5.13</td> </tr> <tr> <th>TIME</th> <td>Wed Dec 18 14:52:45 2024</td> </tr> </table> </p> </center> </footer> <div></div> </div> </body> </html>Parameter x-frame-optionsSolution Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app.
If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.
-
-
-
Risk=Medium, Confidence=Low (1)
-
http://localhost:3000 (1)
-
Hidden File Found (1)
GET http://localhost:3000/.hg
Alert tags Alert description A sensitive file was identified as accessible or available. This may leak administrative, configuration, or credential information which can be leveraged by a malicious individual to further attack the system or conduct social engineering efforts.
Request Request line and header section (430 bytes)
GET http://localhost:3000/.hg HTTP/1.1 host: localhost:3000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (374 bytes)
HTTP/1.1 200 OK X-Powered-By: Express Access-Control-Allow-Origin: * Access-Control-Allow-Methods: * Access-Control-Allow-Headers: * Content-Type: text/html; charset=utf-8 Accept-Ranges: bytes Content-Length: 1754 ETag: W/"6da-ThuyUdUN+ZUcb51PS/8IUe+adnQ" Vary: Accept-Encoding Date: Wed, 18 Dec 2024 13:07:45 GMT Connection: keep-alive Keep-Alive: timeout=5Response body (1754 bytes)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" href="/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#000000" /> <meta name="description" content="Web site created using create-react-app" /> <link rel="apple-touch-icon" href="/logo192.png" /> <!-- manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> <link rel="manifest" href="/manifest.json" /> <!-- Notice the use of in the tags above. It will be replaced with the URL of the `public` folder during the build. Only files inside the `public` folder can be referenced from the HTML. Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> <title>React App</title> <script defer src="/static/js/bundle.js"></script></head> <body> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"></div> <!-- This HTML file is a template. If you open it directly in the browser, you will see an empty page. You can add webfonts, meta tags, or analytics to this file. The build step will place the bundled scripts into the <body> tag. To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> </body> </html>Evidence HTTP/1.1 200 OKSolution Consider whether or not the component is actually required in production, if it isn't then disable it. If it is then ensure access to it requires appropriate authentication and authorization, or limit exposure to internal systems or specific source IPs, etc.
-
-
-
Risk=Low, Confidence=High (1)
-
https://172.17.5.13 (1)
-
Strict-Transport-Security Header Not Set (1)
POST https://172.17.5.13/cgi-bin/ck/auth
Alert tags Alert description HTTP Strict Transport Security (HSTS) is a web security policy mechanism whereby a web server declares that complying user agents (such as a web browser) are to interact with it using only secure HTTPS connections (i.e. HTTP layered over TLS/SSL). HSTS is an IETF standards track protocol and is specified in RFC 6797.
Request Request line and header section (583 bytes)
POST https://172.17.5.13/cgi-bin/ck/auth HTTP/1.1 host: 172.17.5.13 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Referer: https://aswinssweets.com/ Content-Type: application/x-www-form-urlencoded Content-Length: 41 Origin: https://aswinssweets.com Connection: keep-alive Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: cross-site Sec-Fetch-User: ?1 Priority: u=0, iRequest body (41 bytes)
COACH1=172.17.7.126%2Caswinssweets.com%2FResponse Status line and header section (219 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 10:54:19 GMT Server: Apache X-Frame-Options: SAMEORIGIN Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 content-length: 345Response body (345 bytes)
<html><head><title>ContentKeeper</title></head> <body bgcolor='Green' text='White'> <br><font size='+1'>Redirecting to </font><font size='+1' color='Lime'>aswinssweets.com/</font> <br><font size='+1'>Please wait.............. </font> <script language='JavaScript'> <!-- self.location = 'http://aswinssweets.com/' // --> </script> </body></html>Solution Ensure that your web server, application server, load balancer, etc. is configured to enforce Strict-Transport-Security.
-
-
-
Risk=Low, Confidence=Medium (5)
-
https://support.mozilla.org (2)
-
Cross-Domain JavaScript Source File Inclusion (1)
GET https://support.mozilla.org/en-US/kb/error-codes-secure-websites?as=u&utm_source=inproduct
Alert tags Alert description The page includes one or more script files from a third-party domain.
Request Request line and header section (673 bytes)
GET https://support.mozilla.org/en-US/kb/error-codes-secure-websites?as=u&utm_source=inproduct HTTP/1.1 host: support.mozilla.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Cookie: _ga_B9CY1C9VBC=GS1.1.1734514575.1.1.1734514589.0.0.0; _ga=GA1.2.274167483.1734514575; _gid=GA1.2.1626779019.1734514575; session_id=mflhxzbd97z8ao0oqrbt7sukci9sd9b1 Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (1855 bytes)
HTTP/1.1 200 OK Server: gunicorn Date: Wed, 18 Dec 2024 10:07:53 GMT Content-Type: text/html; charset=utf-8 Content-Security-Policy: frame-src 'self' https://*.youtube.com; manifest-src https://support.allizom.org https://support.mozilla.org; script-src 'self' https://*.mozilla.org https://*.webservices.mozgcp.net https://*.google-analytics.com https://*.googletagmanager.com https://pontoon.mozilla.org https://*.jsdelivr.net; font-src 'self' https://*.webservices.mozgcp.net; form-action 'self' https://accounts.firefox.com https://accounts.stage.mozaws.net; media-src 'self' https://*.webservices.mozgcp.net; img-src 'self' blob: data: https://*.mozaws.net https://*.webservices.mozgcp.net https://*.google-analytics.com https://profile.accounts.firefox.com https://firefoxusercontent.com https://secure.gravatar.com https://i1.wp.com https://mozillausercontent.com; style-src 'self' https://*.webservices.mozgcp.net https://*.jsdelivr.net; default-src 'none'; connect-src 'self' https://*.google-analytics.com https://location.services.mozilla.com https://accounts.firefox.com/metrics-flow https://accounts.stage.mozaws.net/metrics-flow https://basket.mozilla.org X-Robots-Tag: noodp X-Frame-Options: DENY Expires: Wed, 18 Dec 2024 10:07:53 GMT Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private Content-Length: 103606 Content-Language: en-US Strict-Transport-Security: max-age=31536000 X-Content-Type-Options: nosniff Referrer-Policy: strict-origin-when-cross-origin Cross-Origin-Opener-Policy: same-origin X-Backend-Server: gha-sumo-web-7578ff56fc-7r5x8.prod.webservices.mozgcp.net Set-Cookie: session_id=mflhxzbd97z8ao0oqrbt7sukci9sd9b1; expires=Wed, 15 Jan 2025 10:07:53 GMT; HttpOnly; Max-Age=2419200; Path=/; SameSite=Lax; Secure Via: 1.1 google Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000Response body (103606 bytes)
<!DOCTYPE html> <html class="no-js" lang="en-US" dir="ltr" data-gtm-container-id="G-2VC139B3XV" data-ga-content-group="kb-article" data-ga-default-slug="error-codes-secure-websites" data-ga-article-locale="en-US" data-ga-topics="/error-messages/performance-and-connectivity/procedures-diagnose-and-fix-problems/site-breakages/" data-ga-products="/firefox/" > <head> <!-- Read more about our custom configuration and use of Google Analytics here: https://bugzilla.mozilla.org/show_bug.cgi?id=1122305#c8 --> <!-- Google Tag Manager --> <script src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/gtm-snippet.1c0037a49b66fb06.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <!-- End Google Tag Manager --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title> How to troubleshoot security error codes on secure websites | Firefox Help </title> <link rel="apple-touch-icon" sizes="180x180" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/apple-touch-icon.bdc11b610d791a16.png"> <link rel="icon" type="image/png" sizes="32x32" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/favicon-32x32.2143cdf0c7e3f377.png"> <link rel="icon" type="image/png" sizes="16x16" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/favicon-16x16.352a0a2cef154dda.png"> <link rel="manifest" href="/manifest.json"> <link rel="shortcut icon" href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/favicon.03d97697df808c0e.ico"> <meta name="theme-color" content="#ffffff"> <link rel="search" type="application/opensearchdescription+xml" title="Mozilla Support" href="/en-US/search/xml"/> <link href="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/screen.a4ae25fe1a91c5e7.css" rel="stylesheet" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="> <script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/620.c017de8a3c1e20cf.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script><script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/common.a856f1c1afbd9b67.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/566.de80f82c1815ff6e.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script><script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/467.e805b3b5a73440ca.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script><script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/document.58bdb8f917cf5fd3.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <script defer="defer" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/common.fx.download.6e0d6173cf4fde5d.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script> <meta name="description" content="Learn about the error codes SEC_ERROR_UNKNOWN_ISSUER MOZILLA_PKIX_ERROR_MITM_DETECTED and ERROR_SELF_SIGNED_CERT on HTTPS websites and how to troubleshoot."/> <meta name="google-site-verification" content="2URA-2Y9BeYYUf8B2BSsBSVetJJS3TZwlXBOaMx2VfY" /> <meta name="google-site-verification" content="ueNbCgS4e1JIAgLGwufm-jHaIcLXFLtFMmR_65S1Ag0" /> <meta name="msvalidate.01" content="1659173DC94819093068B0ED7C51C527" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <link rel="canonical" href="https://support.mozilla.org/en-US/kb/error-codes-secure-websites" /> </head> <body class="html-ltr logged-out responsive document en-US" data-readonly="false" data-usernames-api="/en-US/users/api/usernames" data-messages-api="/en-US/messages/api/autocomplete" data-media-url="https://assets-prod.sumo.prod.webservices.mozgcp.net/" data-document-id="31325" > <ul class="sumo-nav-access" id="nav-access"> <li><a href="#main-content">Skip to main content</a></li> <li><a href="/en-US/locales">Switch language</a></li> <li><a id="skip-to-search" href="#search-q">Skip to search</a></li> </ul> <div class="media-test"></div> <div id="announcements"> <div id="announce-geoip-suggestion" class="mzp-c-notification-bar mzp-t-warning"> <button class="mzp-c-notification-bar-button close-button" data-close-id="announce-geoip-suggestion" type="button" data-close-memory="remember" data-close-type="remove" > </button> <p></p> </div> <div id="announce-346" class="mzp-c-notification-bar mzp-t-warning"> <button class="mzp-c-notification-bar-button close-button" data-close-id="announce-346" type="button" > </button> <p> <p>We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. <a href="https://mzl.la/41ry3HC" rel="nofollow">Join the effort</a> to hold Big Tech to account! </p> </p> </div> </div> <header class="mzp-c-navigation sumo-nav"> <div class="mzp-c-navigation-l-content"> <div class="sumo-nav--container"> <div class="sumo-nav--logo"> <a href="/en-US/"><img src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/mozilla-support.c4f961a8d7b1d501.svg" alt="Mozilla Support Logo"/></a> </div> <button data-mobile-nav-search-button class="sumo-nav--search-button" type="button">Search</button> <button data-sumo-toggle-nav="#main-navigation" class="sumo-nav--toggle-button" type="button" aria-controls="main-navigation">Menu</button> <a class="sumo-nav--avatar-button" data-sumo-toggle-nav="#profile-navigation" aria-controls="profile-navigation" aria-role="button"> <img class="avatar" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/default-FFA-avatar.2f8c2a0592bda1c5.png" alt="Avatar for Username"> </a> <div class="mzp-c-navigation-items sumo-nav--list-wrap" id="main-navigation"> <div class="mzp-c-navigation-menu"> <nav class="mzp-c-menu mzp-is-basic"> <ul class="mzp-c-menu-category-list sumo-nav--list"> <li class="mzp-c-menu-category mzp-has-drop-down mzp-js-expandable"> <a class="mzp-c-menu-title sumo-nav--link" href="/en-US/questions/" aria-haspopup="true" aria-controls="mzp-c-menu-panel-help">Explore Help Articles</a> <div class="mzp-c-menu-panel mzp-has-card" id="mzp-c-menu-panel-help"> <div class="sumo-nav--dropdown-container"> <div class="sumo-nav--dropdown-grid"> <button class="mzp-c-menu-button-close" type="button" aria-controls="mzp-c-menu-panel-example">Close Firefox menu</button> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g transform="translate(3 3)" stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round"> <rect stroke-linejoin="round" width="18" height="18" rx="2" /> <path d="M4 5h10M4 9h10M4 13h4" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Explore by product</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/products/firefox" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.firefox-browser.product-home", "link_detail": "firefox" }'> Firefox desktop </a> </li> <li> <a href="/en-US/products/firefox-private-network-vpn" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.mozilla-vpn.product-home", "link_detail": "firefox-private-network-vpn" }'> Mozilla VPN </a> </li> <li> <a href="/en-US/products/ios" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.firefox-for-ios.product-home", "link_detail": "ios" }'> Firefox for iOS </a> </li> <li> <a href="/en-US/products/thunderbird" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.thunderbird.product-home", "link_detail": "thunderbird" }'> Thunderbird </a> </li> <li> <a href="/en-US/products/mobile" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.firefox-for-android.product-home", "link_detail": "mobile" }'> Firefox for Android </a> </li> <li> <a class="color-link" href="/en-US/products/" data-event-name="link_click" data-event-parameters='{"link_name": "main-menu.browse-all-articles.list-products"}'> View all products </a> </li> </ul> </section> </div> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g transform="translate(3 3)" stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round"> <rect stroke-linejoin="round" width="18" height="18" rx="2" /> <path d="M4 5h10M4 9h10M4 13h4" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Explore by topic</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/topics/settings" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "settings" }'> Settings </a> </li> <li> <a href="/en-US/topics/installation-and-updates" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "installation-and-updates" }'> Installation and updates </a> </li> <li> <a href="/en-US/topics/email-and-messaging" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "email-and-messaging" }'> Email and messaging </a> </li> <li> <a href="/en-US/topics/performance-and-connectivity" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "performance-and-connectivity" }'> Performance and connectivity </a> </li> <li> <a href="/en-US/topics/privacy-and-security" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "privacy-and-security" }'> Privacy and security </a> </li> <li> <a href="/en-US/topics/browse" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.topic-home", "link_detail": "browse" }'> Browse </a> </li> </ul> </section> </div> </div> </div> </div> </li> <li class="mzp-c-menu-category mzp-has-drop-down mzp-js-expandable"> <a class="mzp-c-menu-title sumo-nav--link" href="#" aria-haspopup="true" aria-controls="mzp-c-menu-panel-tools">Community Forums</a> <div class="mzp-c-menu-panel mzp-has-card" id="mzp-c-menu-panel-tools"> <div class="sumo-nav--dropdown-container"> <div class="sumo-nav--dropdown-grid"> <button class="mzp-c-menu-button-close" type="button" aria-controls="mzp-c-menu-panel-example">Close Firefox menu</button> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <path d="M17 17l-1.051 3.154a1 1 0 01-1.898 0L13 17H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v10a2 2 0 01-2 2h-2zM7 8h10M7 12h10" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Browse by product</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/questions/firefox" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "desktop" }'> Firefox desktop </a> </li> <li> <a href="/en-US/questions/focus-firefox" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "focus" }'> Firefox Focus </a> </li> <li> <a href="/en-US/questions/ios" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "ios" }'> Firefox for iOS </a> </li> <li> <a href="/en-US/questions/thunderbird" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "thunderbird" }'> Thunderbird </a> </li> <li> <a href="/en-US/questions/mobile" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "mobile" }'> Firefox for Android </a> </li> <li> <a class="color-link" href="/en-US/questions/" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "view-all-home" }'> View all forums </a> </li> </ul> </section> </div> <div class="sumo-nav--dropdown-col"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M10.5 9.5L3 17c-1 1.667-1 3 0 4s2.333.833 4-.5l7.5-7.5c2.333 1.054 4.333.734 6-.96 1.667-1.693 1.833-3.707.5-6.04l-3 3-2.5-.5L15 6l3-3c-2.333-1.333-4.333-1.167-6 .5-1.667 1.667-2.167 3.667-1.5 6z" stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> <h4 class="mzp-c-menu-item-title">Browse all forum threads by topic</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist"> <li> <a href="/en-US/questions/topic/settings" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "settings" }'> Settings </a> </li> <li> <a href="/en-US/questions/topic/installation-and-updates" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "installation-and-updates" }'> Installation and updates </a> </li> <li> <a href="/en-US/questions/topic/email-and-messaging" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "email-and-messaging" }'> Email and messaging </a> </li> <li> <a href="/en-US/questions/topic/performance-and-connectivity" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "performance-and-connectivity" }'> Performance and connectivity </a> </li> <li> <a href="/en-US/questions/topic/privacy-and-security" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "privacy-and-security" }'> Privacy and security </a> </li> <li> <a href="/en-US/questions/topic/browse" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.support-forum-home", "link_detail": "browse" }'> Browse </a> </li> </ul> </section> </div> </div> </div> </div> </li> <li class="mzp-c-menu-category mzp-has-drop-down mzp-js-expandable"> <a class="mzp-c-menu-title sumo-nav--link" href="/en-US/questions/" aria-haspopup="true" aria-controls="mzp-c-menu-panel-help">Ask a Question</a> <div class="mzp-c-menu-panel mzp-has-card" id="mzp-c-menu-panel-help"> <div class="sumo-nav--dropdown-container"> <div class="sumo-nav--dropdown-grid"> <button class="mzp-c-menu-button-close" type="button" aria-controls="mzp-c-menu-panel-example">Close Firefox menu </button> <div class="sumo-nav--dropdown"> <section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item"> <div class="mzp-c-menu-item-head"> <svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <path d="M11 3H4a2 2 0 00-2 2v12a2 2 0 002 2h9l2 4 2-4h2a2 2 0 002-2v-6" /> <path d="M17.5 2.5a2.121 2.121 0 013 3L13 13l-4 1 1-4 7.5-7.5z" /> </g> </svg> <h4 class="mzp-c-menu-item-title">Get help with</h4> </div> <ul class="mzp-c-menu-item-list sumo-nav--sublist-aaq"> <li> <a href="/en-US/questions/new/desktop" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "desktop" }'> Firefox desktop </a> </li> <li> <a href="/en-US/questions/new/firefox-enterprise" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "firefox-enterprise" }'> Firefox for Enterprise </a> </li> <li> <a href="/en-US/questions/new/relay" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "relay" }'> Firefox Relay </a> </li> <li> <a href="/en-US/questions/new/thunderbird" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "thunderbird" }'> Thunderbird </a> </li> <li> <a href="/en-US/questions/new/ios" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "ios" }'> Firefox for iOS </a> </li> <li> <a href="/en-US/questions/new/focus" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "focus" }'> Firefox Focus </a> </li> <li> <a href="/en-US/questions/new/monitor" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "monitor" }'> Monitor </a> </li> <li> <a href="/en-US/questions/new/mozilla-account" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "mozilla-account" }'> Mozilla Account </a> </li> <li> <a href="/en-US/questions/new/mobile" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "mobile" }'> Firefox for Android </a> </li> <li> <a href="/en-US/questions/new/firefox-private-network-vpn" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "firefox-private-network-vpn" }'> Mozilla VPN </a> </li> <li> <a href="/en-US/questions/new/pocket" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-2", "link_detail": "pocket" }'> Pocket </a> </li> <li> <a class="color-link" href="/en-US/questions/new" data-event-name="link_click" data-event-parameters='{ "link_name": "main-menu.aaq-step-1", "link_detail": "view-all" }'> View all </a> </li> </ul> </section> </div> </div> </div> </div> </li> <li class="mzp-c-menu-category"> <a class="mzp-c-menu-title sumo-nav--link" href="/en-US/contribute" data-event-name="link_click" data-event-parameters='{"link_name": "main-menu.contribute.contribute-home"}'> Contribute </a> </li> </ul> </nav> </div> </div> <div class="mzp-c-navigation-items sumo-nav--list-wrap-right logged-out" id="profile-navigation"> <div class="mzp-c-navigation-menu"> <nav class="mzp-c-menu mzp-is-basic"> <ul class="mzp-c-menu-category-list sumo-nav--list"> <li class="mzp-c-menu-category sumo-nav--item-right"> <form data-instant-search="form" id="support-search" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </li> <li class="mzp-c-menu-category logged-out-button-row "> <a rel="nofollow" href="/en-US/users/auth" class="sumo-button secondary-button button-lg" data-event-name="link_click" data-event-parameters='{"link_name": "main-menu.sign-in-up"}'> Sign In/Up </a> </li> </ul> </nav> </div> </div> <div class="mzp-c-navigation-items sumo-nav--mobile-search-form" id="search-navigation"> <div class="mzp-c-navigation-menu"> <nav class="mzp-c-menu mzp-is-basic"> <form data-instant-search="form" id="mobile-search-results" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </nav> </div> </div> </div> </div> </header><!--/.mzp-c-navigation --> <!-- This is only displayed when the instant search is active. This block is overriden in home.html and product.html, and can likely be removed when frontend search is replaced. --> <div class="home-search-section sumo-page-section--lg shade-bg hidden-search-masthead"> <div class="mzp-l-content narrow"> <div class="home-search-section--content"> <h4 class="sumo-page-heading-xl">Search Support</h4> <form data-instant-search="form" id="hidden-search" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </div> </div> </div> <div class="mzp-l-content " id="main-content"> <div class="sumo-page-section--inner"> <div class="breadcrumbs" id="main-breadcrumbs"> <ol id="breadcrumbs" class="breadcrumbs--list"> <li><a href="/en-US/">Home</a></li> <li><a href="/en-US/products/firefox">Firefox</a></li> <li><a href="/en-US/products/firefox/troubleshooting">Troubleshooting</a></li> <li>How to troubleshoot security error...</li> </ol> </div> <div class="sumo-l-two-col "> <aside id="aside" class="sumo-l-two-col--sidebar"> <div class="search-form-sidebar large-only"> <form data-instant-search="form" id="support-search-sidebar" action="/en-US/search/" method="get" class="simple-search-form"> <input type="hidden" name="product" value="firefox" /> <input spellcheck="true" type="search" autocomplete="off" name="q" aria-required="true" placeholder="Search questions, articles, or topics (example: saving passwords in Firefox)" class="searchbox" id="search-q" /> <button type="submit" title="Search" class="search-button">Search</button> </form> </div> <div class="aaq-widget card is-inverse elevation-01 text-center radius-md"> <h2 class="card--title has-bottom-margin"> <svg class="card--icon-sm" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <g transform="translate(2.000000, 1.878680)" stroke="#FFFFFF" stroke-width="2"> <path d="M9,1.12132031 L2,1.12132031 C0.8954305,1.12132031 5.32907052e-15,2.01675081 5.32907052e-15,3.12132031 L5.32907052e-15,15.1213203 C5.32907052e-15,16.2258898 0.8954305,17.1213203 2,17.1213203 L11,17.1213203 L13,21.1213203 L15,17.1213203 L17,17.1213203 C18.1045695,17.1213203 19,16.2258898 19,15.1213203 L19,9.12132031"></path> <path d="M15.5,0.621320312 C16.3284271,-0.207106783 17.6715729,-0.207106769 18.5,0.621320344 C19.3284271,1.44974746 19.3284271,2.79289318 18.5,3.62132031 L11,11.1213203 L7,12.1213203 L8,8.12132031 L15.5,0.621320312 Z"></path> </g> </g> </svg> Ask a Question </h2> <p>Still need help? Sign in to ask your question on our forums.</p> <a class="sumo-button primary-button feature-box" href="/en-US/questions/new/firefox/form" data-event-name="link_click" data-event-parameters='{ "link_name": "aaq-widget.aaq-step-3", "link_detail": "firefox" }'> Continue </a> </div> <nav id="doc-tools"> <ul class="sidebar-nav sidebar-folding"> <li id="editing-tools-sidebar"> <span class="details-heading"></span> <ul class="sidebar-nav--list"> <li> <section class="showfor" id="showfor-panel"> <script type="application/json" class="showfor-data"> {"products": [{"title": "Firefox", "slug": "firefox", "platforms": ["win8", "win7", "winxp", "mac", "linux", "win10", "win11"], "visible": true}], "versions": {"firefox": [{"name": "Version 135", "slug": "fx135", "product": "firefox", "default": false, "min_version": 135.0, "max_version": 136.0, "visible": true}, {"name": "Version 134", "slug": "fx134", "product": "firefox", "default": false, "min_version": 134.0, "max_version": 135.0, "visible": true}, {"name": "Version 133", "slug": "fx133", "product": "firefox", "default": true, "min_version": 133.0, "max_version": 134.0, "visible": true}, {"name": "Version 132", "slug": "fx132", "product": "firefox", "default": false, "min_version": 132.0, "max_version": 133.0, "visible": true}, {"name": "Version 131", "slug": "fx131", "product": "firefox", "default": false, "min_version": 131.0, "max_version": 132.0, "visible": true}, {"name": "Version 130", "slug": "fx130", "product": "firefox", "default": false, "min_version": 130.0, "max_version": 131.0, "visible": true}, {"name": "Version 129", "slug": "fx129", "product": "firefox", "default": false, "min_version": 129.0, "max_version": 130.0, "visible": true}, {"name": "Version 128", "slug": "fx128", "product": "firefox", "default": false, "min_version": 128.0, "max_version": 129.0, "visible": true}, {"name": "Version 127", "slug": "fx127", "product": "firefox", "default": false, "min_version": 127.0, "max_version": 128.0, "visible": true}, {"name": "Version 126", "slug": "fx126", "product": "firefox", "default": false, "min_version": 126.0, "max_version": 127.0, "visible": true}, {"name": "Version 125", "slug": "fx125", "product": "firefox", "default": false, "min_version": 125.0, "max_version": 126.0, "visible": true}, {"name": "Version 124", "slug": "fx124", "product": "firefox", "default": false, "min_version": 124.0, "max_version": 125.0, "visible": true}, {"name": "Version 123", "slug": "fx123", "product": "firefox", "default": false, "min_version": 123.0, "max_version": 124.0, "visible": true}, {"name": "Version 122", "slug": "fx122", "product": "firefox", "default": false, "min_version": 122.0, "max_version": 123.0, "visible": true}, {"name": "Version 121", "slug": "fx121", "product": "firefox", "default": false, "min_version": 121.0, "max_version": 122.0, "visible": true}, {"name": "Version 120", "slug": "fx120", "product": "firefox", "default": false, "min_version": 120.0, "max_version": 121.0, "visible": true}, {"name": "Version 119", "slug": "fx119", "product": "firefox", "default": false, "min_version": 119.0, "max_version": 120.0, "visible": true}, {"name": "Version 118", "slug": "fx118", "product": "firefox", "default": false, "min_version": 118.0, "max_version": 119.0, "visible": true}, {"name": "Version 117", "slug": "fx117", "product": "firefox", "default": false, "min_version": 117.0, "max_version": 118.0, "visible": true}, {"name": "Version 116", "slug": "fx116", "product": "firefox", "default": false, "min_version": 116.0, "max_version": 117.0, "visible": true}, {"name": "Version 115", "slug": "fx115", "product": "firefox", "default": false, "min_version": 115.0, "max_version": 116.0, "visible": true}, {"name": "Version 114", "slug": "fx114", "product": "firefox", "default": false, "min_version": 114.0, "max_version": 115.0, "visible": false}, {"name": "Version 113", "slug": "fx113", "product": "firefox", "default": false, "min_version": 113.0, "max_version": 114.0, "visible": false}, {"name": "Version 112", "slug": "fx112", "product": "firefox", "default": false, "min_version": 112.0, "max_version": 113.0, "visible": false}, {"name": "Version 111", "slug": "fx111", "product": "firefox", "default": false, "min_version": 111.0, "max_version": 112.0, "visible": false}, {"name": "Version 110", "slug": "fx110", "product": "firefox", "default": false, "min_version": 110.0, "max_version": 111.0, "visible": false}, {"name": "Version 109", "slug": "fx109", "product": "firefox", "default": false, "min_version": 109.0, "max_version": 110.0, "visible": false}, {"name": "Version 108", "slug": "fx108", "product": "firefox", "default": false, "min_version": 108.0, "max_version": 109.0, "visible": false}, {"name": "Version 107", "slug": "fx107", "product": "firefox", "default": false, "min_version": 107.0, "max_version": 108.0, "visible": false}, {"name": "Version 106", "slug": "fx106", "product": "firefox", "default": false, "min_version": 106.0, "max_version": 107.0, "visible": false}, {"name": "Version 105", "slug": "fx105", "product": "firefox", "default": false, "min_version": 105.0, "max_version": 106.0, "visible": false}, {"name": "Version 104", "slug": "fx104", "product": "firefox", "default": false, "min_version": 104.0, "max_version": 105.0, "visible": false}, {"name": "Version 103", "slug": "fx103", "product": "firefox", "default": false, "min_version": 103.0, "max_version": 104.0, "visible": false}, {"name": "Version 102", "slug": "fx102", "product": "firefox", "default": false, "min_version": 102.0, "max_version": 103.0, "visible": false}, {"name": "Version 101", "slug": "fx101", "product": "firefox", "default": false, "min_version": 101.0, "max_version": 102.0, "visible": false}, {"name": "Version 100", "slug": "fx100", "product": "firefox", "default": false, "min_version": 100.0, "max_version": 101.0, "visible": false}, {"name": "Version 99", "slug": "fx99", "product": "firefox", "default": false, "min_version": 99.0, "max_version": 100.0, "visible": false}, {"name": "Version 98", "slug": "fx98", "product": "firefox", "default": false, "min_version": 98.0, "max_version": 99.0, "visible": false}, {"name": "Version 97", "slug": "fx97", "product": "firefox", "default": false, "min_version": 97.0, "max_version": 98.0, "visible": false}, {"name": "Version 96", "slug": "fx96", "product": "firefox", "default": false, "min_version": 96.0, "max_version": 97.0, "visible": false}, {"name": "Version 95", "slug": "fx95", "product": "firefox", "default": false, "min_version": 95.0, "max_version": 96.0, "visible": false}, {"name": "Version 94", "slug": "fx94", "product": "firefox", "default": false, "min_version": 94.0, "max_version": 95.0, "visible": false}, {"name": "Version 93", "slug": "fx93", "product": "firefox", "default": false, "min_version": 93.0, "max_version": 94.0, "visible": false}, {"name": "Version 92", "slug": "fx92", "product": "firefox", "default": false, "min_version": 92.0, "max_version": 93.0, "visible": false}, {"name": "Version 91", "slug": "fx91", "product": "firefox", "default": false, "min_version": 91.0, "max_version": 92.0, "visible": false}, {"name": "Version 90", "slug": "fx90", "product": "firefox", "default": false, "min_version": 90.0, "max_version": 91.0, "visible": false}, {"name": "Version 89", "slug": "fx89", "product": "firefox", "default": false, "min_version": 89.0, "max_version": 90.0, "visible": false}, {"name": "Version 88", "slug": "fx88", "product": "firefox", "default": false, "min_version": 88.0, "max_version": 89.0, "visible": false}, {"name": "Version 87", "slug": "fx87", "product": "firefox", "default": false, "min_version": 87.0, "max_version": 88.0, "visible": false}, {"name": "Version 86", "slug": "fx86", "product": "firefox", "default": false, "min_version": 86.0, "max_version": 87.0, "visible": false}, {"name": "Version 85", "slug": "fx85", "product": "firefox", "default": false, "min_version": 85.0, "max_version": 86.0, "visible": false}, {"name": "Version 84", "slug": "fx84", "product": "firefox", "default": false, "min_version": 84.0, "max_version": 85.0, "visible": false}, {"name": "Version 83", "slug": "fx83", "product": "firefox", "default": false, "min_version": 83.0, "max_version": 84.0, "visible": false}, {"name": "Version 82", "slug": "fx82", "product": "firefox", "default": false, "min_version": 82.0, "max_version": 83.0, "visible": false}, {"name": "Version 81", "slug": "fx81", "product": "firefox", "default": false, "min_version": 81.0, "max_version": 82.0, "visible": false}, {"name": "Version 80", "slug": "fx80", "product": "firefox", "default": false, "min_version": 80.0, "max_version": 81.0, "visible": false}, {"name": "Version 79", "slug": "fx79", "product": "firefox", "default": false, "min_version": 79.0, "max_version": 80.0, "visible": false}, {"name": "Version 78", "slug": "fx78", "product": "firefox", "default": false, "min_version": 78.0, "max_version": 79.0, "visible": false}, {"name": "Version 77", "slug": "fx77", "product": "firefox", "default": false, "min_version": 77.0, "max_version": 78.0, "visible": false}, {"name": "Version 76", "slug": "fx76", "product": "firefox", "default": false, "min_version": 76.0, "max_version": 77.0, "visible": false}, {"name": "Version 75", "slug": "fx75", "product": "firefox", "default": false, "min_version": 75.0, "max_version": 76.0, "visible": false}, {"name": "Version 74", "slug": "fx74", "product": "firefox", "default": false, "min_version": 74.0, "max_version": 75.0, "visible": false}, {"name": "Version 73", "slug": "fx73", "product": "firefox", "default": false, "min_version": 73.0, "max_version": 74.0, "visible": false}, {"name": "Version 72", "slug": "fx72", "product": "firefox", "default": false, "min_version": 72.0, "max_version": 73.0, "visible": false}, {"name": "Version 71", "slug": "fx71", "product": "firefox", "default": false, "min_version": 71.0, "max_version": 72.0, "visible": false}, {"name": "Version 70", "slug": "fx70", "product": "firefox", "default": false, "min_version": 70.0, "max_version": 71.0, "visible": false}, {"name": "Version 69", "slug": "fx69", "product": "firefox", "default": false, "min_version": 69.0, "max_version": 70.0, "visible": false}, {"name": "Version 68", "slug": "fx68", "product": "firefox", "default": false, "min_version": 68.0, "max_version": 69.0, "visible": false}, {"name": "Version 67", "slug": "fx67", "product": "firefox", "default": false, "min_version": 67.0, "max_version": 68.0, "visible": false}, {"name": "Version 66", "slug": "fx66", "product": "firefox", "default": false, "min_version": 66.0, "max_version": 67.0, "visible": false}, {"name": "Version 65", "slug": "fx65", "product": "firefox", "default": false, "min_version": 65.0, "max_version": 66.0, "visible": false}, {"name": "Version 64", "slug": "fx64", "product": "firefox", "default": false, "min_version": 64.0, "max_version": 65.0, "visible": false}, {"name": "Version 63", "slug": "fx63", "product": "firefox", "default": false, "min_version": 63.0, "max_version": 64.0, "visible": false}, {"name": "Version 62", "slug": "fx62", "product": "firefox", "default": false, "min_version": 62.0, "max_version": 63.0, "visible": false}, {"name": "Version 61", "slug": "fx61", "product": "firefox", "default": false, "min_version": 61.0, "max_version": 62.0, "visible": false}, {"name": "Version 60", "slug": "fx60", "product": "firefox", "default": false, "min_version": 60.0, "max_version": 61.0, "visible": false}, {"name": "Version 59", "slug": "fx59", "product": "firefox", "default": false, "min_version": 59.0, "max_version": 60.0, "visible": false}, {"name": "Version 58", "slug": "fx58", "product": "firefox", "default": false, "min_version": 58.0, "max_version": 59.0, "visible": false}, {"name": "Version 57", "slug": "fx57", "product": "firefox", "default": false, "min_version": 57.0, "max_version": 58.0, "visible": false}, {"name": "Version 56", "slug": "fx56", "product": "firefox", "default": false, "min_version": 56.0, "max_version": 57.0, "visible": false}, {"name": "Version 55", "slug": "fx55", "product": "firefox", "default": false, "min_version": 55.0, "max_version": 56.0, "visible": false}, {"name": "Version 54", "slug": "fx54", "product": "firefox", "default": false, "min_version": 54.0, "max_version": 55.0, "visible": false}, {"name": "Version 53", "slug": "fx53", "product": "firefox", "default": false, "min_version": 53.0, "max_version": 54.0, "visible": false}, {"name": "Version 52", "slug": "fx52", "product": "firefox", "default": false, "min_version": 52.0, "max_version": 53.0, "visible": false}, {"name": "Version 51", "slug": "fx51", "product": "firefox", "default": false, "min_version": 51.0, "max_version": 52.0, "visible": false}, {"name": "Version 50", "slug": "fx50", "product": "firefox", "default": false, "min_version": 50.0, "max_version": 51.0, "visible": false}, {"name": "Version 49", "slug": "fx49", "product": "firefox", "default": false, "min_version": 49.0, "max_version": 50.0, "visible": false}, {"name": "Version 48", "slug": "fx48", "product": "firefox", "default": false, "min_version": 48.0, "max_version": 49.0, "visible": false}, {"name": "Version 47", "slug": "fx47", "product": "firefox", "default": false, "min_version": 47.0, "max_version": 48.0, "visible": false}, {"name": "Version 46", "slug": "fx46", "product": "firefox", "default": false, "min_version": 46.0, "max_version": 47.0, "visible": false}, {"name": "Version 45", "slug": "fx45", "product": "firefox", "default": false, "min_version": 45.0, "max_version": 46.0, "visible": false}, {"name": "Version 44", "slug": "fx44", "product": "firefox", "default": false, "min_version": 44.0, "max_version": 45.0, "visible": false}, {"name": "Version 43", "slug": "fx43", "product": "firefox", "default": false, "min_version": 43.0, "max_version": 44.0, "visible": false}, {"name": "Version 42", "slug": "fx42", "product": "firefox", "default": false, "min_version": 42.0, "max_version": 43.0, "visible": false}, {"name": "Version 41", "slug": "fx41", "product": "firefox", "default": false, "min_version": 41.0, "max_version": 42.0, "visible": false}, {"name": "Version 40", "slug": "fx40", "product": "firefox", "default": false, "min_version": 40.0, "max_version": 41.0, "visible": false}, {"name": "Version 39", "slug": "fx39", "product": "firefox", "default": false, "min_version": 39.0, "max_version": 40.0, "visible": false}, {"name": "Version 38", "slug": "fx38", "product": "firefox", "default": false, "min_version": 38.0, "max_version": 39.0, "visible": false}, {"name": "Version 37", "slug": "fx37", "product": "firefox", "default": false, "min_version": 37.0, "max_version": 38.0, "visible": false}, {"name": "Version 36", "slug": "fx36", "product": "firefox", "default": false, "min_version": 36.0, "max_version": 37.0, "visible": false}, {"name": "Version 35", "slug": "fx35", "product": "firefox", "default": false, "min_version": 35.0, "max_version": 36.0, "visible": false}, {"name": "Version 34", "slug": "fx34", "product": "firefox", "default": false, "min_version": 34.0, "max_version": 35.0, "visible": false}, {"name": "Version 33", "slug": "fx33", "product": "firefox", "default": false, "min_version": 33.0, "max_version": 34.0, "visible": false}, {"name": "Version 32", "slug": "fx32", "product": "firefox", "default": false, "min_version": 32.0, "max_version": 33.0, "visible": false}, {"name": "Version 31", "slug": "fx31", "product": "firefox", "default": false, "min_version": 31.0, "max_version": 32.0, "visible": false}, {"name": "Version 30", "slug": "fx30", "product": "firefox", "default": false, "min_version": 30.0, "max_version": 31.0, "visible": false}, {"name": "Version 29", "slug": "fx29", "product": "firefox", "default": false, "min_version": 29.0, "max_version": 30.0, "visible": false}, {"name": "Version 28", "slug": "fx28", "product": "firefox", "default": false, "min_version": 28.0, "max_version": 29.0, "visible": false}, {"name": "Version 27", "slug": "fx27", "product": "firefox", "default": false, "min_version": 27.0, "max_version": 28.0, "visible": false}, {"name": "Version 26", "slug": "fx26", "product": "firefox", "default": false, "min_version": 26.0, "max_version": 27.0, "visible": false}, {"name": "Version 25", "slug": "fx25", "product": "firefox", "default": false, "min_version": 25.0, "max_version": 26.0, "visible": false}, {"name": "Version 24 ESR", "slug": "fx24", "product": "firefox", "default": false, "min_version": 24.0, "max_version": 25.0, "visible": false}, {"name": "Version 24", "slug": "fx24", "product": "firefox", "default": false, "min_version": 24.0, "max_version": 25.0, "visible": false}, {"name": "Version 23", "slug": "fx23", "product": "firefox", "default": false, "min_version": 23.0, "max_version": 24.0, "visible": false}, {"name": "Version 22", "slug": "fx22", "product": "firefox", "default": false, "min_version": 22.0, "max_version": 23.0, "visible": false}, {"name": "Version 21", "slug": "fx21", "product": "firefox", "default": false, "min_version": 21.0, "max_version": 22.0, "visible": false}, {"name": "Version 20", "slug": "fx20", "product": "firefox", "default": false, "min_version": 20.0, "max_version": 21.0, "visible": false}, {"name": "Version 19", "slug": "fx19", "product": "firefox", "default": false, "min_version": 19.0, "max_version": 20.0, "visible": false}, {"name": "Version 18", "slug": "fx18", "product": "firefox", "default": false, "min_version": 18.0, "max_version": 19.0, "visible": false}, {"name": "Version 17 (ESR)", "slug": "fx17", "product": "firefox", "default": false, "min_version": 17.0, "max_version": 18.0, "visible": false}, {"name": "Version 16", "slug": "fx16", "product": "firefox", "default": false, "min_version": 16.0, "max_version": 17.0, "visible": false}, {"name": "Version 15", "slug": "fx15", "product": "firefox", "default": false, "min_version": 15.0, "max_version": 16.0, "visible": false}, {"name": "Version 14", "slug": "fx14", "product": "firefox", "default": false, "min_version": 14.0, "max_version": 15.0, "visible": false}, {"name": "Version 13", "slug": "fx13", "product": "firefox", "default": false, "min_version": 13.0, "max_version": 14.0, "visible": false}, {"name": "Version 12", "slug": "fx12", "product": "firefox", "default": false, "min_version": 12.0, "max_version": 13.0, "visible": false}, {"name": "Version 11", "slug": "fx11", "product": "firefox", "default": false, "min_version": 11.0, "max_version": 12.0, "visible": false}, {"name": "Version 10 (ESR)", "slug": "fx10", "product": "firefox", "default": false, "min_version": 10.0, "max_version": 11.0, "visible": false}, {"name": "Version 9", "slug": "fx9", "product": "firefox", "default": false, "min_version": 9.0, "max_version": 10.0, "visible": false}, {"name": "Version 8", "slug": "fx8", "product": "firefox", "default": false, "min_version": 8.0, "max_version": 9.0, "visible": false}, {"name": "Version 7", "slug": "fx7", "product": "firefox", "default": false, "min_version": 7.0, "max_version": 8.0, "visible": false}, {"name": "Version 6", "slug": "fx6", "product": "firefox", "default": false, "min_version": 6.0, "max_version": 7.0, "visible": false}, {"name": "Version 5", "slug": "fx5", "product": "firefox", "default": false, "min_version": 5.0, "max_version": 6.0, "visible": false}, {"name": "Version 4", "slug": "fx4", "product": "firefox", "default": false, "min_version": 4.0, "max_version": 5.0, "visible": false}, {"name": "Version 117", "slug": "fx117", "product": "firefox", "default": false, "min_version": -1.0, "max_version": 1.0, "visible": false}]}, "platforms": {"firefox": [{"name": "Linux", "slug": "linux", "visible": true}, {"name": "Mac", "slug": "mac", "visible": true}, {"name": "Windows XP", "slug": "winxp", "visible": true}, {"name": "Windows 7/Vista", "slug": "win7", "visible": true}, {"name": "Windows 8", "slug": "win8", "visible": true}, {"name": "Windows 10", "slug": "win10", "visible": true}, {"name": "Windows 11", "slug": "win11", "visible": true}]}} </script> <h3 class="sidebar-subheading force-top-margin">Customize this article</h3> <div class="product" data-product="firefox"> <div class="field checkbox is-condensed"> <input type="checkbox" id="id_firefox" checked value="product:firefox" /> <label for="id_firefox">Firefox</label> </div> <div class="selectbox-wrapper"> <select class="version"> <option value="version:fx135" data-min="135.0" data-max="136.0" > Version 135 </option> <option value="version:fx134" data-min="134.0" data-max="135.0" > Version 134 </option> <option value="version:fx133" data-min="133.0" data-max="134.0" selected> Version 133 </option> <option value="version:fx132" data-min="132.0" data-max="133.0" > Version 132 </option> <option value="version:fx131" data-min="131.0" data-max="132.0" > Version 131 </option> <option value="version:fx130" data-min="130.0" data-max="131.0" > Version 130 </option> <option value="version:fx129" data-min="129.0" data-max="130.0" > Version 129 </option> <option value="version:fx128" data-min="128.0" data-max="129.0" > Version 128 </option> <option value="version:fx127" data-min="127.0" data-max="128.0" > Version 127 </option> <option value="version:fx126" data-min="126.0" data-max="127.0" > Version 126 </option> <option value="version:fx125" data-min="125.0" data-max="126.0" > Version 125 </option> <option value="version:fx124" data-min="124.0" data-max="125.0" > Version 124 </option> <option value="version:fx123" data-min="123.0" data-max="124.0" > Version 123 </option> <option value="version:fx122" data-min="122.0" data-max="123.0" > Version 122 </option> <option value="version:fx121" data-min="121.0" data-max="122.0" > Version 121 </option> <option value="version:fx120" data-min="120.0" data-max="121.0" > Version 120 </option> <option value="version:fx119" data-min="119.0" data-max="120.0" > Version 119 </option> <option value="version:fx118" data-min="118.0" data-max="119.0" > Version 118 </option> <option value="version:fx117" data-min="117.0" data-max="118.0" > Version 117 </option> <option value="version:fx116" data-min="116.0" data-max="117.0" > Version 116 </option> <option value="version:fx115" data-min="115.0" data-max="116.0" > Version 115 </option> </select> </div> <div class="selectbox-wrapper"> <select class="platform"> <option value="platform:win8" > Windows 8 </option> <option value="platform:win7" > Windows 7/Vista </option> <option value="platform:winxp" > Windows XP </option> <option value="platform:mac" > Mac </option> <option value="platform:linux" > Linux </option> <option value="platform:win10" > Windows 10 </option> <option value="platform:win11" > Windows 11 </option> </select> </div> </div> </section> </li> </ul> </li> </ul> </nav> <div class="document-vote--sidebar-wrap"> <div class="document-vote elevation-01 text-center"> <form class="document-vote--form helpful" action="/en-US/kb/error-codes-secure-websites/vote" method="post"> <input type='hidden' name='csrfmiddlewaretoken' value='gXH6v3HKAdgrSMybT9I9ZJ7dNeJ78zVzT3IdYH5YYvuylE68yxxJsWMv7WbyWxYy' /> <h4 class="document-vote--heading">Was this article helpful?</h4> <div class="document-vote--buttons"> <input type="hidden" name="revision_id" value="263806" /> <input type="hidden" name="source" value="footer" /> <button type="submit" class="btn helpful-button" name="helpful"><span class="hidden-text">Yes</span>👍</button> <button type="submit" class="btn not-helpful-button" name="not-helpful"><span class="hidden-text">No</span>👎</button> <img class="wait" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/spinner.18d6c26adc937688.gif" alt="Please wait..." /> </div> </form> </div> </div> </aside> <main role="main" class="sumo-l-two-col--main"> <section id="document-list"> <header class="sumo-article-header kb-header"> <div class="sumo-article-header--text"> <div class="documents-product-title"> <a href="/en-US/products/firefox" title="Firefox"> <img src="https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png" height="48" width="48" alt="" /> </a> <div class="firefox-download-button hidden"> <div class="download-buttons"> <div class="download-firefox"> <a href="https://www.mozilla.org/firefox/new/?utm_source=support.mozilla.org&utm_medium=referral&utm_campaign=non-fx-button&utm_content=body-download-button" class="download-button sumo-button primary-button button-lg"> Download Firefox </a> <ul class="download-info text-body-xs"> <li><a href="https://www.mozilla.org/firefox/all/">Systems and Languages</a></li> <li><a href="https://www.mozilla.org/firefox/notes">What's New</a></li> <li><a href="https://www.mozilla.org/legal/privacy/firefox">Privacy</a></li> </ul> </div> </div> </div> </div> <h1 class="sumo-page-heading">How to troubleshoot security error codes on secure websites</h1> </div> </header> <article class="wiki-doc"> <div id="document_metadata" class="has-border-bottom"> <span class="product tooltip-container"> Firefox <span class="tooltip">Firefox</span> </span> <span class="last-updated"> <img class="pencil" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/pencil.e33c563f24c4f989.svg" /> <strong>Last updated:</strong> <span class="time"> <time datetime="2023-07-27T22:12:32-07:00">7/27/23</time> </span> </span> <span class="helpful-info"> <img class="thumbsup" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/thumbs-up.2cbd5d41625a84a7.svg"/><span class="helpful-count">42%</span> of users voted this helpful </span> </div> <section id="doc-content" class="document--content "> <p>For websites that are securely encrypted (the URL begins with "http<strong>s</strong>://"), Firefox must verify that the certificate presented by the website is valid. If the certificate cannot be validated, Firefox will stop the connection to the website and show a "Warning: Potential Security Risk Ahead" error page instead. Clicking the <span class="button">Advanced</span> button, you can view the specific error Firefox encountered. </p><p>This article explains why you might see the error codes SEC_ERROR_UNKNOWN_ISSUER, MOZILLA_PKIX_ERROR_MITM_DETECTED or ERROR_SELF_SIGNED_CERT on an error page and how to troubleshoot it. </p> <div class="note">For other error codes on the "Warning: Potential Security Risk Ahead" error page, see the <a href="/en-US/kb/what-does-your-connection-is-not-secure-mean">What do the security warning codes mean?</a> article. For <em>Secure Connection Failed</em> or <em>Did Not Connect: Potential Security Issue</em> error pages, see the article <a href="/en-US/kb/secure-connection-failed-firefox-did-not-connect">Secure connection failed and Firefox did not connect</a>.</div> <div id="toc"><h2>Table of Contents</h2><ul><li class="toclevel-1"><a href="#w_what-does-this-error-code-mean"><span class="tocnumber">1</span> <span class="toctext">What does this error code mean?</span></a></li><li class="toclevel-1"><a href="#w_the-error-occurs-on-multiple-secure-sites"><span class="tocnumber">2</span> <span class="toctext">The error occurs on multiple secure sites</span></a><ul><li class="toclevel-2"><a href="#w_antivirus-products"><span class="tocnumber">2.1</span> <span class="toctext">Antivirus products</span></a><ul><li class="toclevel-3"><a href="#w_avastavg"><span class="tocnumber">2.1.1</span> <span class="toctext">Avast/AVG</span></a></li><li class="toclevel-3"><a href="#w_bitdefender"><span class="tocnumber">2.1.2</span> <span class="toctext">Bitdefender</span></a></li><li class="toclevel-3"><a href="#w_bullguard"><span class="tocnumber">2.1.3</span> <span class="toctext">Bullguard</span></a></li><li class="toclevel-3"><a href="#w_eset"><span class="tocnumber">2.1.4</span> <span class="toctext">ESET</span></a></li><li class="toclevel-3"><a href="#w_kaspersky"><span class="tocnumber">2.1.5</span> <span class="toctext">Kaspersky</span></a></li></ul></li><li class="toclevel-2"><a href="#w_family-safety-settings-in-windows-accounts"><span class="tocnumber">2.2</span> <span class="toctext">Family Safety settings in Windows accounts</span></a></li><li class="toclevel-2"><a href="#w_monitoringfiltering-in-corporate-networks"><span class="tocnumber">2.3</span> <span class="toctext">Monitoring/filtering in corporate networks</span></a></li><li class="toclevel-2"><a href="#w_malware"><span class="tocnumber">2.4</span> <span class="toctext">Malware</span></a></li></ul></li><li class="toclevel-1"><a href="#w_the-error-occurs-on-one-particular-site-only"><span class="tocnumber">3</span> <span class="toctext">The error occurs on one particular site only</span></a><ul><li class="toclevel-2"><a href="#w_certificate-issued-by-an-authority-belonging-to-symantec"><span class="tocnumber">3.1</span> <span class="toctext">Certificate issued by an authority belonging to Symantec</span></a></li><li class="toclevel-2"><a href="#w_missing-intermediate-certificate"><span class="tocnumber">3.2</span> <span class="toctext">Missing intermediate certificate</span></a></li><li class="toclevel-2"><a href="#w_self-signed-certificate"><span class="tocnumber">3.3</span> <span class="toctext">Self-signed certificate</span></a></li><li class="toclevel-2"><a href="#w_bypassing-the-warning"><span class="tocnumber">3.4</span> <span class="toctext">Bypassing the warning</span></a></li></ul></li></ul></div> <h1 id="w_what-does-this-error-code-mean">What does this error code mean?</h1> <p>During a secure connection, a website must provide a certificate issued by a trusted <a href="https://wikipedia.org/wiki/Certificate_authority">certificate authority</a> to ensure that the user is connected to the intended target and the connection is encrypted. If you click the <span class="button">Advanced</span> button on a "Warning: Potential Security Risk Ahead" error page and you see the error code SEC_ERROR_UNKNOWN_ISSUER or MOZILLA_PKIX_ERROR_MITM_DETECTED, it means that the provided certificate was issued by a certificate authority that is not known by Firefox and, therefore, cannot be trusted by default. </p><p><img alt="Fx66WarningSEC_ERROR_UNKNOWN_ISSUER" class="wiki-image frameless lazy" data-original-src="https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2019-03-11-10-35-01-7dc26c.png" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/placeholder.688345f843bb37ed.gif" title=""> </p> <h1 id="w_the-error-occurs-on-multiple-secure-sites">The error occurs on multiple secure sites</h1> <p>If you get this problem on multiple unrelated HTTPS-sites, it indicates that something on your system or network is intercepting your connection and injecting certificates in a way that is not trusted by Firefox. The most common causes are security software scanning encrypted connections, or malware listening in and replacing legitimate website certificates with their own. In particular, the error code MOZILLA_PKIX_ERROR_MITM_DETECTED indicates that Firefox detected connection interception. </p> <h2 id="w_antivirus-products">Antivirus products</h2> <p>Third-party antivirus software can interfere with Firefox's secure connections.<span class="for" data-for="winxp,win7,mac,linux"> You could try reinstalling it, which might trigger the software into placing its certificates into the Firefox trust store again.</span> </p><div class="for" data-for="win8,win10"><p>We recommend uninstalling your third-party software and using the security software offered for Windows by Microsoft: </p> <ul><li> Windows 8 and Windows 10 - Windows Defender (<a href="https://www.microsoft.com/windows/comprehensive-security">built-in</a>) </li></ul> <p>If you do not want to uninstall your third-party software, you could try reinstalling it, which might trigger the software into placing its certificates into the Firefox trust store again. </p></div><p>Here are some alternative solutions you can try: </p> <h3 id="w_avastavg">Avast/AVG</h3> <p>In Avast or AVG security products you can disable the interception of secure connections: </p> <ol><li> Open the dashboard of your Avast or AVG application. </li><li> Go to <span class="menu">Menu</span> and click on <span class="menu">Settings</span> > <span class="menu">Protection</span> > <span class="menu">Core Shields</span>. </li><li> Scroll down to the Configure shield settings section and click on <span class="menu">Web Shield</span>. </li><li> Uncheck the box next to <span class="menu">Enable HTTPS Scanning</span> and confirm this by clicking <span class="button">OK</span>. <dl><dt><div class="note"> In older versions of the product you'll find the corresponding option when you go to <span class="menu">Menu</span> > <span class="menu">Settings</span> > <span class="menu">Components</span> and click <span class="button">Customize</span> next to <span class="menu">Web Shield</span></div> </dt></dl> </li></ol> <p>See the Avast support article <a href="https://support.avast.com/en-us/article/189/">Managing HTTPS scanning in Web Shield in Avast Antivirus</a> for details. More Information about this feature is available on this <a href="https://blog.avast.com/2015/05/25/explaining-avasts-https-scanning-feature/">Avast Blog</a>. </p> <h3 id="w_bitdefender">Bitdefender</h3> <p>In Bitdefender security products you can disable the interception of secure connections: </p> <ol><li> Open the dashboard of your Bitdefender application. </li><li> Go to <span class="menu">Protection</span> and in the <span class="menu">Online Threat Prevention</span> section click on <span class="menu">Settings</span>. </li><li> Toggle off the <span class="pref">Encrypted Web Scan</span> setting. <dl><dt><div class="note"> In older versions of the product you can find the corresponding option labelled <span class="pref">Scan SSL</span> when you go to <span class="menu">Modules</span> > <span class="menu">Web Protection</span></div> </dt></dl> </li></ol> <p>In Bitdefender Antivirus Free it's not possible to control this setting. You can try to <a href="https://www.bitdefender.com/support/repairing-or-removing-bitdefender-free-edition-1160.html">repair or remove the program</a> instead when you're having problems accessing secure websites. </p><p>For corporate Bitdefender products, please refer to this <a href="http://www.bitdefender.com/support/how-to-enable-ssl-https-scanning-in-cloud-security-for-endpoints-1117.html">Bitdefender Support Center page</a>. </p> <h3 id="w_bullguard">Bullguard</h3> <p>In Bullguard security products you can disable the interception of secure connections on particular major websites like Google, Yahoo and Facebook: </p> <ol><li> Open the dashboard of your Bullguard application. </li><li> Click on <span class="menu">Settings</span> and enable the <span class="pref">Advanced</span> view on the top right of the panel. </li><li> Go to <span class="menu">Antivirus</span> > <span class="menu">Safe browsing</span>. </li><li> Uncheck the <span class="menu">Show safe results</span> option for those websites which are showing an error message. </li></ol> <h3 id="w_eset">ESET</h3> <p>In ESET security products you can try to disable and re-enable <span class="pref">SSL/TLS protocol filtering</span> or generally disable the interception of secure connections as described in <a href="http://support.eset.com/kb3126/">ESET’s support article</a>. </p> <h3 id="w_kaspersky">Kaspersky</h3> <p>Affected users of Kaspersky should upgrade to the most recent version of their security product, as Kaspersky 2019 and above contain mitigations for this problem. The <a href="https://www.kaspersky.com/downloads">Kaspersky Downloads page</a> includes "update" links that will install the latest version free of charge for users with a current subscription. </p><p>Otherwise, you can also disable the interception of secure connections: </p> <ol><li> Open the dashboard of your Kaspersky application. </li><li> Click on <span class="menu">Settings</span> on the bottom-left. </li><li> Click <span class="menu">Additional</span> and then <span class="menu">Network</span>. </li><li> In the <span class="menu">Encrypted connections scanning</span> section check the <span class="pref">Do not scan encrypted connections</span> option and confirm this change. </li><li> Finally, reboot your system for the changes to take effect. </li></ol> <div class="for" data-for="win8"> <h2 id="w_family-safety-settings-in-windows-accounts">Family Safety settings in Windows accounts</h2> <p>In Microsoft Windows accounts protected by Family Safety settings, secure connections on popular websites like Google, Facebook and YouTube might be intercepted and their certificates replaced by a certificate issued by Microsoft in order to filter and record search activity. </p><p>Read this <a href="http://windows.microsoft.com/en-us/windows/family-features-remove-uninstall-faq">Microsoft FAQ page</a> on how to turn off these family features for accounts. In case you want to manually install the missing certificates for affected accounts, you can refer to this <a href="https://support.microsoft.com/en-us/kb/2965142#bookmark-2">Microsoft support article</a>. </p></div> <h2 id="w_monitoringfiltering-in-corporate-networks">Monitoring/filtering in corporate networks</h2> <p>Some traffic monitoring/filtering products used in corporate environments might intercept encrypted connections by replacing a website's certificate with their own, at the same time possibly triggering errors on secure HTTPS-sites. </p><p>If you suspect this might be the case, please contact your IT department to ensure the correct configuration of Firefox to enable it to work properly in such an environment, as the necessary certificate might have to be placed in the Firefox trust store first. More information for IT departments on how to go about this can be found in the Mozilla Wiki page <a href="https://wiki.mozilla.org/CA:AddRootToFirefox">CA:AddRootToFirefox</a>. </p> <h2 id="w_malware">Malware</h2> <p>Some forms of malware intercepting encrypted web traffic can cause this error message - refer to the article <a href="/en-US/kb/troubleshoot-firefox-issues-caused-malware">Troubleshoot Firefox issues caused by malware</a> on how to deal with malware problems. </p> <h1 id="w_the-error-occurs-on-one-particular-site-only">The error occurs on one particular site only</h1> <p>In case you get this problem on one particular site only, this type of error generally indicates that the web server is not configured properly. However, if you see this error on a legitimate major website like Google or Facebook or sites where financial transactions take place, you should continue with the <a href="#w_the-error-occurs-on-multiple-secure-sites">steps outlined above</a>. </p> <h2 id="w_certificate-issued-by-an-authority-belonging-to-symantec">Certificate issued by an authority belonging to Symantec</h2> <p> After a number of irregularities with certificates issued by Symantec root authorities came to light, browser vendors, including Mozilla, are gradually removing trust from these certificates in their products. Firefox will no longer trust server certificates issued by Symantec, including those issued under the GeoTrust, RapidSSL, Thawte and Verisign brands. For more information, see <a href="https://blog.mozilla.org/security/2018/10/10/delaying-further-symantec-tls-certificate-distrust/">this Mozilla blog post</a>. </p><p>MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED will be the primary error, but with some servers, you may see the error code SEC_ERROR_UNKNOWN_ISSUER instead. If you come across such a site you should contact the owner of the website to inform them of the problem. </p><p>Mozilla strongly encourages operators of affected sites to take immediate action to replace these certificates. For more help, see <a href="https://www.digicert.com/blog/digicert-helping-customers-replace-symantec-certificates">this DigiCert blog post</a> and <a href="https://www.digicert.com/tools">DigiCert Tools</a>. </p> <h2 id="w_missing-intermediate-certificate">Missing intermediate certificate</h2> <p>On a site with a missing intermediate certificate you will see the following error description after you click on <span class="button">Advanced</span> on the error page: </p> <div class="note">The certificate is not trusted because the issuer certificate is unknown.<br>The server might not be sending the appropriate intermediate certificates.<br>An additional root certificate may need to be imported.</div> <p>The website's certificate might not have been issued by a trusted certificate authority itself and no complete certificate chain to a trusted authority was provided either (a so-called "intermediate certificate" is missing). <br>You can test if a site is properly configured by entering a website's address into a third-party tool like <a href="https://www.ssllabs.com/ssltest">SSL Labs' test page</a>. If it is returning the result "Chain issues: Incomplete", a proper intermediate certificate is missing. You should contact the owner of the website you're having troubles accessing to inform them of that problem. </p> <h2 id="w_self-signed-certificate">Self-signed certificate</h2> <p>On a site with a self-signed certificate you will see the error code ERROR_SELF_SIGNED_CERT and the following error description, after you click on <span class="button">Advanced</span> on the error page: </p> <div class="note">The certificate is not trusted because it is self-signed.</div> <p>A self-signed certificate that wasn't issued by a recognized certificate authority is not trusted by default. Self-signed certificates can make your data safe from eavesdroppers, but say nothing about who the recipient of the data is. This is common for intranet websites that aren't available publicly and you may bypass the warning for such sites. </p> <h2 id="w_bypassing-the-warning">Bypassing the warning</h2> <div class="warning"><strong>Warning:</strong> You should never add a certificate exception for a legitimate major website or sites where financial transactions take place – in this case an invalid certificate can be an indication that your connection is compromised by a third party.</div> <p>If the website allows it, you can bypass the warning in order to visit the site, even thought its certificate is not being trusted by default: </p> <ol><li> On the warning page, click <span class="button">Advanced</span>. </li><li> Click <span class="button">Accept the Risk and Continue</span>. </li></ol> </section> <p class="share-link"> <br/> Share this article: <a href="https://mzl.la/3df8en7">https://mzl.la/3df8en7</a> </p> </article> <section class="sumo-page-section hide-on-large"> <div class="document-vote elevation-01 text-center"> <form class="document-vote--form helpful" action="/en-US/kb/error-codes-secure-websites/vote" method="post"> <input type='hidden' name='csrfmiddlewaretoken' value='gXH6v3HKAdgrSMybT9I9ZJ7dNeJ78zVzT3IdYH5YYvuylE68yxxJsWMv7WbyWxYy' /> <h4 class="document-vote--heading">Was this article helpful?</h4> <div class="document-vote--buttons"> <input type="hidden" name="revision_id" value="263806" /> <input type="hidden" name="source" value="footer" /> <button type="submit" class="btn helpful-button" name="helpful"><span class="hidden-text">Yes</span>👍</button> <button type="submit" class="btn not-helpful-button" name="not-helpful"><span class="hidden-text">No</span>👎</button> <img class="wait" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/spinner.18d6c26adc937688.gif" alt="Please wait..." /> </div> </form> </div> </section> <section id="doc-contributors" class="document--contributors sumo-page-section"> <p class="help-title text-body-md">These fine people helped write this article:</p> <div class="document--contributors-list text-body-xs"><a class="user secondary-color" rel="nofollow" href="/en-US/user/AliceWyman/">AliceWyman</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Chris_Ilias/">Chris Ilias</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/philipp/">philipp</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Tonnes/">Tonnes</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/michro/">Michele Rodaro</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/rtanglao/">Roland Tanglao</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/yfdyh000/">YFdyh000</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Mozinet/">Mozinet</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/pollti/">pollti</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/heyjoni/">Joni</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Artist/">Artist</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Scribe_uk/">Scribe</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/DineshMv/">Dinesh</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/marcelo.ghelman/">Marcelo Ghelman</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/Barely-Harry/">"Barely Harry"</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/franziskus/">franziskus</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/erling.rosag/">ErlingR</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/peregrin.hendley/">PGGWriter</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/k_alex/">k_alex</a>, <a class="user secondary-color" rel="nofollow" href="/en-US/user/jmaustin/">JeremyKoozar</a></div> </section> <section class="sumo-page-section"> <div class="card card--callout is-full-width has-moz-headings"> <div class="card--callout-wrap-narrow"> <img class="card--feature-img" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/volunteer.a3be8d331849774b.png" alt="Illustration of hands" /> <div class="card--details"> <h3 class="card--title">Volunteer</h3> <p class="card--desc">Grow and share your expertise with others. Answer questions and improve our knowledge base.</p> <p class="card--desc"><strong><a href="/en-US/contribute">Learn More</a></strong></p> </div> </div> </div> </section> <section id="related-documents" class="sumo-page-section wiki-related-documents"> <div class="text-center"> <h2 class="sumo-page-subheading">Related Articles</h2> </div> <div class="sumo-card-grid"> <div class="scroll-wrap"> <div class="card card--article"> <img class="card--icon-sm" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/reader-mode.1d40422a5274c27c.svg" alt="todo: title" /> <div class="card--details"> <h3 class="card--title"> <a class="expand-this-link" href="/en-US/kb/secure-connection-failed-firefox-did-not-connect" data-event-name="link_click" data-event-parameters='{"link_name": "related.kb-article"}'> Secure connection failed and Firefox did not connect </a> </h3> <div class="card--desc"> <p> This article explains why you may see a Secure Connection Failed or a Did Not Connect: Potential Security Issue error page, and what you can... </p> </div> </div> </div> <div class="card card--article"> <img class="card--icon-sm" src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/reader-mode.1d40422a5274c27c.svg" alt="todo: title" /> <div class="card--details"> <h3 class="card--title"> <a class="expand-this-link" href="/en-US/kb/what-does-your-connection-is-not-secure-mean" data-event-name="link_click" data-event-parameters='{"link_name": "related.kb-article"}'> What do the security warning codes mean? </a> </h3> <div class="card--desc"> <p> When Firefox connects to a secure website (the URL begins with HTTPS), it must verify that the certificate presented by the website is valid and... </p> </div> </div> </div> </div> </div> </section> </section> </main> </div> </div> </div> <footer class="mzp-c-footer"> <div class="mzp-l-content"> <nav class="mzp-c-footer-primary"> <div class="mzp-c-footer-cols"> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Mozilla</h5> <ul class="mzp-c-footer-list"> <li><a href="https://www.mozilla.org/about/legal/fraud-report/">Report Trademark Abuse</a></li> <li><a href="https://github.com/mozilla/kitsune/">Source code</a></li> <li><a href="https://twitter.com/firefox">Twitter</a></li> <li> <a href="/en-US/contribute" data-event-name="link_click" data-event-parameters='{"link_name": "footer.join-our-community.contribute-home"}'> Join our Community </a> </li> <li> <a href="/en-US/" data-event-name="link_click" data-event-parameters='{"link_name": "footer.explore-help-articles.home"}'> Explore Help Articles </a> </li> </ul> </section> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Firefox</h5> <ul class="mzp-c-footer-list"> <li><a href="https://www.mozilla.org/firefox/download/thanks/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Download</a></li> <li><a href="https://www.mozilla.org/firefox/new/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Firefox desktop</a></li> <li><a href="https://www.mozilla.org/firefox/android/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Android Browser</a></li> <li><a href="https://www.mozilla.org/firefox/ios/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">iOS Browser</a></li> <li><a href="https://www.mozilla.org/firefox/focus/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Focus Browser</a></li> </ul> </section> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Firefox for Developers</h5> <ul class="mzp-c-footer-list"> <li><a href="https://www.mozilla.org/firefox/developer/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral">Developer Edition</a></li> <li><a href="https://www.mozilla.org/firefox/channel/desktop/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#beta">Beta</a></li> <li><a href="https://www.mozilla.org/firefox/channel/android/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#beta">Beta for Android</a></li> <li><a href="https://www.mozilla.org/firefox/channel/desktop/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#nightly">Nightly</a></li> <li><a href="https://www.mozilla.org/firefox/channel/android/?utm_source=support.mozilla.org&utm_campaign=footer&utm_medium=referral#nightly">Nightly for Android</a></li> </ul> </section> <section class="mzp-c-footer-col"> <h5 class="mzp-c-footer-heading">Mozilla Account</h5> <ul class="mzp-c-footer-list"> <li><a rel="nofollow" href="/en-US/users/auth">Sign In/Up</a></li> <li> <a href="/en-US/kb/access-mozilla-services-firefox-account" data-event-name="link_click" data-event-parameters='{"link_name": "footer.what-is-it.kb-article"}'> What Is It? </a> </li> <li><a href="https://accounts.firefox.com/reset_password">Reset Password</a></li> <li> <a href="/en-US/kb/switching-devices" data-event-name="link_click" data-event-parameters='{"link_name": "footer.sync-your-data.kb-article"}'> Sync Your Data </a> </li> <li> <a href="/en-US/products/mozilla-account" data-event-name="link_click" data-event-parameters='{ "link_name": "footer.get-help.product-home", "link_detail": "mozilla-account" }'> Get Help </a> </li> </ul> </section> <section class="mzp-c-footer-col lang-col"> <form class="mzp-c-language-switcher" method="get" action="#"> <a class="mzp-c-language-switcher-link" href="/en-US/locales">Language</a> <label for="mzp-c-language-switcher-select">Language</label> <select id="mzp-c-language-switcher-select" class="mzp-js-language-switcher-select" name="lang"> <option value="af" >Afrikaans</option> <option value="ar" >عربي</option> <option value="az" >Azərbaycanca</option> <option value="bg" >Български</option> <option value="bm" >Bamanankan</option> <option value="bn" >বাংলা</option> <option value="bs" >Bosanski</option> <option value="ca" >català</option> <option value="cs" >Čeština</option> <option value="da" >Dansk</option> <option value="de" >Deutsch</option> <option value="ee" >Èʋegbe</option> <option value="el" >Ελληνικά</option> <option value="en-US" selected>English</option> <option value="es" >Español</option> <option value="et" >eesti keel</option> <option value="eu" >Euskara</option> <option value="fa" >فارسی</option> <option value="fi" >suomi</option> <option value="fr" >Français</option> <option value="fy-NL" >Frysk</option> <option value="ga-IE" >Gaeilge (Éire)</option> <option value="gl" >Galego</option> <option value="gn" >Avañe'ẽ</option> <option value="gu-IN" >ગુજરાતી</option> <option value="ha" >هَرْشَن هَوْسَ</option> <option value="he" >עברית</option> <option value="hi-IN" >हिन्दी (भारत)</option> <option value="hr" >Hrvatski</option> <option value="hu" >Magyar</option> <option value="dsb" >Dolnoserbšćina</option> <option value="hsb" >Hornjoserbsce</option> <option value="id" >Bahasa Indonesia</option> <option value="ig" >Asụsụ Igbo</option> <option value="it" >Italiano</option> <option value="ja" >日本語</option> <option value="ka" >ქართული</option> <option value="km" >ខ្មែរ</option> <option value="kn" >ಕನ್ನಡ</option> <option value="ko" >한국어</option> <option value="ln" >Lingála</option> <option value="lt" >lietuvių kalba</option> <option value="mg" >Malagasy</option> <option value="mk" >Македонски</option> <option value="ml" >മലയാളം</option> <option value="ms" >Bahasa Melayu</option> <option value="ne-NP" >नेपाली</option> <option value="nl" >Nederlands</option> <option value="no" >Norsk</option> <option value="pl" >Polski</option> <option value="pt-BR" >Português (do Brasil)</option> <option value="pt-PT" >Português (Europeu)</option> <option value="ro" >română</option> <option value="ru" >Русский</option> <option value="si" >සිංහල</option> <option value="sk" >slovenčina</option> <option value="sl" >slovenščina</option> <option value="sq" >Shqip</option> <option value="sr" >Српски</option> <option value="sw" >Kiswahili</option> <option value="sv" >Svenska</option> <option value="ta" >தமிழ்</option> <option value="ta-LK" >தமிழ் (இலங்கை)</option> <option value="te" >తెలుగు</option> <option value="th" >ไทย</option> <option value="tn" >Setswana</option> <option value="tr" >Türkçe</option> <option value="uk" >Українська</option> <option value="ur" >اُردو</option> <option value="vi" >Tiếng Việt</option> <option value="wo" >Wolof</option> <option value="xh" >isiXhosa</option> <option value="yo" >èdè Yorùbá</option> <option value="zh-CN" >中文 (简体)</option> <option value="zh-TW" >正體中文 (繁體)</option> <option value="zu" >isiZulu</option> </select> <!-- form submit button is shown when JavaScript is not enabled --> <button type="submit">Go</button> </form> <ul class="mzp-c-footer-links-social"> <li><a class="twitter" href="https://twitter.com/firefox">Twitter<span>(@firefox)</span></a></li> <li><a class="youtube" href="https://www.youtube.com/firefoxchannel">YouTube<span> (firefoxchannel)</span></a></li> <li><a class="instagram" href="https://www.instagram.com/firefox">Instagram<span> (firefox)</span></a></li> </ul> </section> </div> </nav> <nav class="mzp-c-footer-secondary"> <div class="mzp-c-footer-link-col"> <div class="mzp-c-footer-primary-logo"><a href="https://www.mozilla.org/">Mozilla</a></div> <div class="mzp-c-footer-legal"> <ul> <li><a href="https://www.mozilla.org/">mozilla.org</a></li> <li><a href="https://www.mozilla.org/about/legal/terms/mozilla/">Terms of Service</a></li> <li><a href="https://www.mozilla.org/privacy/websites/">Privacy</a></li> <li><a href="https://www.mozilla.org/privacy/websites/#user-choices">Cookies</a></li> <li><a href="https://www.mozilla.org/contact/">Contact</a></li> </ul> </div> </div> <div class="mzp-c-footer-legal-col"> <p> Visit <a href="https://www.mozilla.org" rel="external noopener" data-link-type="footer" data-link-name="Mozilla Corporation">Mozilla Corporation’s</a> not-for-profit parent, the <a href="https://foundation.mozilla.org" rel="external noopener" data-link-type="footer" data-link-name="Mozilla Foundation">Mozilla Foundation</a>. </p> <p> Portions of this content are ©1998–2024 by individual mozilla.org contributors. Content available under a <a rel="external noopener" href="https://www.mozilla.org/foundation/licensing/website-content/">Creative Commons license</a>. </p> </div> </nav> </div> </footer> <script src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/jsi18n/en-us/djangojs-min.js"></script> </body> </html>Parameter https://assets-prod.sumo.prod.webservices.mozgcp.net/static/gtm-snippet.1c0037a49b66fb06.jsEvidence <script src="https://assets-prod.sumo.prod.webservices.mozgcp.net/static/gtm-snippet.1c0037a49b66fb06.js" nonce="6Sm5IOeRnGAtO5jW/Klf/w=="></script>Solution Ensure JavaScript source files are loaded from only trusted sources, and the sources can't be controlled by end users of the application.
-
X-Backend-Server Header Information Leak (1)
GET https://support.mozilla.org/1/firefox/133.0.3/WINNT/en-US/security-error
Alert tags Alert description The server is leaking information pertaining to backend systems (such as hostnames or IP addresses). Armed with this information an attacker may be able to attack other systems or more directly/efficiently attack those systems.
Request Request line and header section (616 bytes)
GET https://support.mozilla.org/1/firefox/133.0.3/WINNT/en-US/security-error HTTP/1.1 host: support.mozilla.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Cookie: _ga_B9CY1C9VBC=GS1.1.1734514575.1.1.1734514589.0.0.0; _ga=GA1.2.274167483.1734514575; _gid=GA1.2.1626779019.1734514575 Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: cross-site Sec-Fetch-User: ?1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (1978 bytes)
HTTP/1.1 302 Found Server: gunicorn Date: Wed, 18 Dec 2024 10:07:53 GMT Content-Type: text/html; charset=utf-8 Location: https://support.mozilla.org/en-US/kb/error-codes-secure-websites?as=u&utm_source=inproduct Content-Security-Policy: media-src 'self' https://*.webservices.mozgcp.net; connect-src 'self' https://*.google-analytics.com https://location.services.mozilla.com https://accounts.firefox.com/metrics-flow https://accounts.stage.mozaws.net/metrics-flow https://basket.mozilla.org; manifest-src https://support.allizom.org https://support.mozilla.org; script-src 'self' https://*.mozilla.org https://*.webservices.mozgcp.net https://*.google-analytics.com https://*.googletagmanager.com https://pontoon.mozilla.org https://*.jsdelivr.net; style-src 'self' https://*.webservices.mozgcp.net https://*.jsdelivr.net; frame-src 'self' https://*.youtube.com; font-src 'self' https://*.webservices.mozgcp.net; default-src 'none'; form-action 'self' https://accounts.firefox.com https://accounts.stage.mozaws.net; img-src 'self' blob: data: https://*.mozaws.net https://*.webservices.mozgcp.net https://*.google-analytics.com https://profile.accounts.firefox.com https://firefoxusercontent.com https://secure.gravatar.com https://i1.wp.com https://mozillausercontent.com X-Robots-Tag: noodp X-Frame-Options: DENY Expires: Wed, 18 Dec 2024 10:07:53 GMT Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private Content-Length: 0 Vary: Accept-Language Content-Language: en-US Strict-Transport-Security: max-age=31536000 X-Content-Type-Options: nosniff Referrer-Policy: strict-origin-when-cross-origin Cross-Origin-Opener-Policy: same-origin X-Backend-Server: gha-sumo-web-7578ff56fc-dxhns.prod.webservices.mozgcp.net Set-Cookie: session_id=mflhxzbd97z8ao0oqrbt7sukci9sd9b1; expires=Wed, 15 Jan 2025 10:07:53 GMT; HttpOnly; Max-Age=2419200; Path=/; SameSite=Lax; Secure Via: 1.1 google Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000Response body (0 bytes)
Evidence gha-sumo-web-7578ff56fc-dxhns.prod.webservices.mozgcp.netSolution Ensure that your web server, application server, load balancer, etc. is configured to suppress X-Backend-Server headers.
-
-
http://quiz-be-test.hematitecorp.com (1)
-
Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) (1)
OPTIONS http://quiz-be-test.hematitecorp.com/api/token/
Alert tags Alert description The web/application server is leaking information via one or more "X-Powered-By" HTTP response headers. Access to such information may facilitate attackers identifying other frameworks/components your web application is reliant upon and the vulnerabilities such components may be subject to.
Request Request line and header section (461 bytes)
OPTIONS http://quiz-be-test.hematitecorp.com/api/token/ HTTP/1.1 host: quiz-be-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: */* Accept-Language: en-US,en;q=0.5 Access-Control-Request-Method: POST Access-Control-Request-Headers: content-type Referer: http://quiz-fe-test.hematitecorp.com/ Origin: http://quiz-fe-test.hematitecorp.com Connection: keep-alive Priority: u=4Request body (0 bytes)
Response Status line and header section (625 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 09:23:15 GMT Server: Apache access-control-allow-headers: accept, authorization, content-type, user-agent, x-csrftoken, x-requested-with access-control-allow-origin: http://quiz-fe-test.hematitecorp.com Vary: origin,Accept-Encoding access-control-allow-methods: DELETE, GET, OPTIONS, PATCH, POST, PUT Referrer-Policy: same-origin access-control-max-age: 86400 X-Content-Type-Options: nosniff X-Powered-By: Phusion Passenger(R) 6.0.23 Upgrade: h2,h2c content-length: 0 Status: 200 OK Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: text/html; charset=utf-8Response body (0 bytes)
Evidence X-Powered-By: Phusion Passenger(R) 6.0.23Solution Ensure that your web server, application server, load balancer, etc. is configured to suppress "X-Powered-By" headers.
-
-
http://quiz-fe-test.hematitecorp.com (2)
-
Private IP Disclosure (1)
GET http://quiz-fe-test.hematitecorp.com/
Alert tags Alert description A private IP (such as 10.x.x.x, 172.x.x.x, 192.168.x.x) or an Amazon EC2 private hostname (for example, ip-10-0-56-78) has been found in the HTTP response body. This information might be helpful for further attacks targeting internal systems.
Other info 172.17.7.126
172.17.7.126
172.17.7.126
172.17.5.13
Request Request line and header section (363 bytes)
GET http://quiz-fe-test.hematitecorp.com/ HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (243 bytes)
HTTP/1.1 200 OK Server: CK-WFP User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT); ck-block Expires: 0 Cache-Control: no-cache Pragma: no-cache Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 11408Response body (11408 bytes)
<html> <head> <title>Coached by ContentKeeper</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: sans-serif; font-weight: 300; font-size: 1em; color: white; text-align: center; background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='1892px' height='1022.2px' viewBox='0 0 1892 1022.2' enable-background='new 0 0 1892 1022.2' xml:space='preserve'%3E%3Ctitle%3Eck_overlay2%3C/title%3E%3Cg opacity='7.000000e-02'%3E%3Cpath fill='%23FFFFFF' d='M1892,685.1c-23.4,5.8-46.8,11.7-70.3,17.3c-1.9,0.5-4.5-0.6-6.3-1.7c-74.9-44-149.8-88.1-224.7-132.2 c-63.5-37.4-127.1-74.8-190.7-112.1c-3.6-2.1-4.9-4.1-4.5-8.5c2.4-32.1,4.4-64.1,6.5-96.2c2.5-37.1,5-74.1,7.3-111.2 c0.3-4.3,1.7-5.8,6-6.4c38.6-5,77.1-10.9,115.8-15.3c32.1-3.7,64.3-6.3,96.5-8.5c26.8-1.8,53.6-2.3,80.4-3.2c2.8,0,5.6,0.6,8.1,1.8 c57.9,27.4,114.8,57,170.5,88.6c1.7,1,3.5,1.8,5.3,2.7L1892,685.1z'/%3E%3Cpath fill='%23FFFFFF' d='M1892,188.2c-22.8-11.6-45.4-23.7-68.6-34.6c-31.9-15-64.2-29-96.3-43.6c-2.6-1.2-4.9-3.2-6.6-5.6 c-11.4-17.5-24.1-34-41-46.7c-0.5-0.6-1-1.2-1.4-1.9c14.6,3.6,28.5,7,42.3,10.4c57.5,13.9,112.9,34.3,167.4,57.1 c1.4,0.6,2.7,1.3,4,2L1892,188.2z'/%3E%3Cpath fill='%23FFFFFF' d='M1026.1,506.6c-2.6,21.3-5.1,41.1-7.5,61c-3.9,33.1-7.8,66.1-11.5,99.3c-1.5,14-1.3,13.8-13.9,19.7 c-60.8,28.7-121.6,57.4-182.4,86.1c-3.1,1.4-4,3.4-4.5,6.4c-5.1,34.6-10.3,69.2-15.3,103.8c-1.9,12.9-3.6,25.7-5.2,38.6 c-0.4,3.5-1.9,5.4-5.1,7.1c-57.3,30.8-114.6,61.7-171.8,92.7c-2.7,1.5-4.5,1.5-7.1-0.2c-43-28.2-86.1-56.3-129.3-84.4 c-2.6-1.7-3.4-3.2-2.8-6.4c11.6-54.2,23-108.4,34.6-162.6c0.8-2.6,2.5-4.8,4.8-6.2c44.1-25.2,88.3-50.2,132.5-75.1 c2.9-1.4,4.9-4.2,5.4-7.4c11.2-54.3,22.5-108.5,34-162.7c0.4-2,2.6-4.2,4.5-5.1c57.5-29,115.8-56.3,175.1-81.4 c2.2-0.9,4.7-0.9,6.9,0c51.8,24.4,103.4,49,155.1,73.7C1024.4,504.2,1025.5,506,1026.1,506.6z M696.8,656c1.3,1.1,2.7,2.2,4.2,3.1 c36.4,20.2,72.7,40.4,109.1,60.6c3.4,1.9,6,2,9.5,0.4c44.9-21.3,89.9-42.5,135-63.6c3.1-1.4,4.1-3.3,4.5-6.3 c5.2-40,10.4-79.9,15.8-119.8c0.4-3-0.4-4.4-3.1-5.7c-37-17.9-73.9-35.9-110.9-53.9c-2.8-1.5-6.1-1.5-8.9,0 c-42,19.7-84.1,39.2-126.3,58.7c-3.1,1.2-5.2,4-5.6,7.3c-5.8,29.5-11.8,59.1-17.7,88.6C700.6,635,698.9,644.9,696.8,656L696.8,656z '/%3E%3Cpath fill='%23FFFFFF' d='M1315.8,232.7c-2.3,21.8-4.6,43.4-6.8,64.9c-2.6,24.5-5.2,49-7.6,73.5c-0.3,3-1.3,4.2-4.1,5.1 c-73.3,23-145.7,48.9-217.5,76.4c-2.1,0.8-4.4,0.8-6.5,0.1c-60.7-26.3-121.9-51.8-184.2-74.1c-0.6-0.2-1.2-0.5-2.1-1 c0.1-1.3,0.3-2.5,0.5-3.8c12.5-43.8,25-87.6,37.5-131.5c0.6-2.9,2.8-5.3,5.6-6.1c65-23.3,130.5-44.9,196.9-63.9 c2.5-0.7,5.1-0.8,7.7-0.2c60.3,16.9,119.4,37.3,177.9,59.3C1313.9,231.8,1314.6,232.2,1315.8,232.7z'/%3E%3Cpath fill='%23FFFFFF' d='M1690.9,169.8c-19.2,0.8-38,1-56.8,2.5c-36.9,2.8-73.7,5.6-110.5,9.7c-31.3,3.5-62.3,8.8-93.4,13.1 c-2.4,0.3-4.9,0.1-7.2-0.8c-89.9-36-182-66-275.9-90c-0.9-0.2-1.9-0.6-3.4-1c2.1-9.7,3.9-19.3,6.4-28.7c5.2-20,10.7-39.8,16-59.7 c0.8-2.9,2.2-4.2,5.5-4.6C1238,2.8,1304.4-0.1,1371.2,0c33.3,0.1,65,7.6,96.8,15.5c59.6,14.8,118.3,32.7,176,53.6 c3.3,1.1,6.1,3.3,7.8,6.4c17.1,29.2,28.8,60.6,39.2,92.7C1691,168.7,1691,169.2,1690.9,169.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1518.1,752.8c0,4.1,1.5,9.1-0.4,11.9c-1.8,2.6-7.1,3-10.9,4.2c-72.9,23.4-144.7,49.7-215.5,78.9 c-3.8,1.5-6.5,1.5-10-0.8c-71.9-46.4-145.5-90-220.8-130.7c-3.7-2-4.7-4.2-4.2-8.1c5.7-49.1,11.3-98.3,17-147.4 c1.4-12.2,3.4-24.4,4.6-36.7c0.4-3.7,2.3-4.6,5-5.6c55.2-20.1,110.3-40.2,165.4-60.4c13.4-4.9,26.8-10,40.3-14.6 c2.4-0.8,5-0.6,7.2,0.6c68.6,40.9,137.2,82,205.6,123.2c1.6,1,3.3,3,3.5,4.7c4.8,60.3,9.5,120.5,14.1,180.8L1518.1,752.8z M1456.8,724.8c0.1-0.6,0.2-1.2,0.3-1.8c-2.1-46.1-4.2-92.2-6.5-138.3c-0.1-1.8-1.9-4.2-3.6-5.2c-50.1-29.7-100.3-59.3-150.6-88.7 c-2.2-1.2-4.8-1.4-7.3-0.7c-50.5,17.8-100.9,35.8-151.4,53.6c-3.2,1.1-4.4,2.6-4.6,6c-1,12.5-2.3,24.9-3.4,37.3 c-2.9,31.7-5.6,63.4-8.6,95c-0.4,3.8,0.7,5.8,4.1,7.8c52.9,30.5,105.7,61.2,158.5,92c3,1.8,5.4,2.1,8.7,0.9 c39.7-14.4,79.5-28.7,119.2-42.8C1426.6,734.6,1441.8,729.8,1456.8,724.8L1456.8,724.8z'/%3E%3Cpath fill='%23FFFFFF' d='M309.4,681.8c4.6-17,9.1-33.9,13.8-50.6c6.1-21.6,12.4-43.2,18.8-64.7c0.8-2.3,2.3-4.2,4.3-5.5 c40.5-22.7,81.1-45.2,121.8-67.6c1.8-1,4-1.4,6-1c35,9.8,68.5,23.5,102.5,37.8c-2,9.3-3.9,18.5-5.9,27.7 c-6.9,31.7-13.9,63.4-20.6,95.1c-0.6,3.4-2.8,6.3-5.9,7.7c-42.6,21.9-85.1,44-127.6,66.2c-2.8,1.7-6.3,1.8-9.1,0.2 c-31.8-14.8-63.7-29.4-95.6-44C311.3,682.8,310.8,682.4,309.4,681.8z'/%3E%3Cpath fill='%23FFFFFF' d='M443.6,447.7c6.2-13.2,11.8-26.3,18.4-38.9c17.5-33.1,35.5-65.9,53.5-98.7c1.6-2.7,3.8-4.9,6.6-6.4 c62.5-34.9,127-65.7,192.8-94c1.8-0.8,3.8-1.1,5.7-1c51.4,6,102.4,15.2,152.7,27.4c0.9,0.2,1.8,0.5,3.3,1 c-2.5,6.8-5.1,13.2-7.3,19.8c-13.3,41.5-26.6,83-39.8,124.5c-0.7,2.9-2.8,5.2-5.6,6.2c-77.5,34.2-153.8,70.9-228.3,111.3 c-2.3,1.1-4.9,1.2-7.3,0.4c-46.5-18.1-93.3-35.4-141-50C446.2,448.9,445.1,448.4,443.6,447.7z M816.6,260.3 c-0.6-0.4-1.2-0.7-1.9-0.9c-35.6-7.1-71.1-14.2-106.7-21c-3.5-0.7-7.9-0.5-11,1c-47.5,22.9-94.9,46-142.2,69.3 c-2.3,1.2-4.2,3.1-5.5,5.4c-15.2,29.8-30.3,59.6-45.3,89.5c-1.8,3.6-3.4,7.4-5.1,11.3c0.7,0.4,1.5,0.8,2.2,1.1 c34.8,11.3,69.6,22.6,104.4,33.8c2.3,0.5,4.8,0.2,6.9-0.9c53.9-26.2,107.7-52.4,161.5-78.6c2.9-1.2,5-3.7,5.9-6.7 c7-21,14.2-41.9,21.5-62.8C806.2,287.2,811.4,274,816.6,260.3L816.6,260.3z'/%3E%3Cpath fill='%23FFFFFF' d='M1102.9,7.5c-6.1,11.3-12.7,21.8-17.4,33.1c-4.9,11.7-12.7,16.8-25.1,19.6c-62.7,14.1-124.3,32-185.5,51.5 c-3.4,1.1-7.1,1.6-10.7,1.5c-43.3-1.8-86.6-2.2-129.9-0.1c-3.3,0.2-5.5,1-7.5,3.7c-11.5,16-23,31.9-34.7,47.6 c-1.9,2.6-4.5,4.6-7.4,6c-45.1,20.5-90.3,40.8-135.6,61c-4.1,1.7-8.4,2.6-12.8,2.5c-23.5-0.3-47-1-70.4-1.7c-3.2-0.2-6.2,1.2-8,3.9 c-12.9,16.5-25.9,33-39,49.4c-1.6,2.1-3.6,3.9-5.8,5.3c-34.6,21.9-69.3,43.6-104,65.4c-1.3,1-2.9,1.6-4.5,1.8 c-15.6,0.1-31.2,0.1-46.8,0.1c0.5-0.8,1-1.6,1.6-2.4c16-18.3,32-36.6,48-54.9c1.4-1.6,3.1-3,4.9-4.2c31-19.7,62-39.6,93.3-58.9 c4.4-2.7,10.3-3.5,15.7-4.3c13-2,26.1-3.4,39.1-5.4c2.3-0.4,4.7-2.2,6.4-4c15-15.8,29.9-31.8,44.9-47.6c2.1-2.1,4.6-3.9,7.3-5.1 c40.2-18.1,80.3-36.4,120.8-53.8c7.5-3.2,16.6-3.4,25-4c19.6-1.4,39.2-2.2,58.9-3.5c2.7-0.3,5.2-1.4,7.3-3.1 c16.9-14,33.6-28.3,50.5-42.3c2.5-1.9,5.4-3.3,8.4-4.2c58-18,116.5-34.2,175.8-47.3c11-2.4,22.4-3.2,33.7-3.6 c33.8-1.1,67.6-1.6,101.4-2.3C1101.4,7.2,1102.2,7.3,1102.9,7.5z M1068.7,15.1l-0.8-1.5c-25.6,1-51.2,1.9-76.9,3.1 c-12.1,0.6-24.6,0.6-36.2,3.5c-41,10.2-81.6,21.9-122.5,32.3c-13.9,3.5-26.6,10.6-36.9,20.6c-8.3,7.8-16.8,15.4-26.2,23.9 c2.4,0.1,3.4,0.3,4.3,0.3c35-0.1,69.9-0.3,104.9-0.4c2,0,4-0.4,5.9-0.9c49.7-13.8,99.3-27.8,149.1-41c9.1-2.4,15.3-6.2,19.6-14.5 C1057.7,31.7,1063.5,23.5,1068.7,15.1L1068.7,15.1z M435.6,243.7c-10.6,1.3-19.8,2.4-29,3.5c-7,0.7-13.6,3-19.5,6.8 c-20.9,13.6-42.1,26.9-63.1,40.3c-1.5,1-2.9,2.2-4.2,3.5c-11.3,12.9-22.6,25.8-33.8,38.8c-0.5,0.6-1,1.3-1.3,2 c10.2,0,20.6,0.1,31.1-0.1c2.8-0.1,5.5-0.9,7.8-2.3c20.6-12.9,40.9-26.2,61.7-38.8c9.4-5.7,17.5-12.2,23.9-21.3s14-17.4,21-26 C431.8,248.3,433.3,246.6,435.6,243.7L435.6,243.7z'/%3E%3Cpath fill='%23FFFFFF' d='M133.9,605.5l-22.2-19.1c7.4-11.8,14.7-23.5,22.1-35.1c1.9-3,4-5.8,5.7-8.8c10.6-18.9,24.9-34.3,42.2-47.3 c13.7-10.3,27-21.2,40.3-32c2.6-2.1,4.7-2.3,7.6-0.9c7.6,3.6,15.4,7,23.6,10.6c-0.9,1.6-1.5,2.7-2.2,3.8 c-13.7,22.2-27.4,44.5-41.2,66.7c-1.8,2.8-4,5.3-6.5,7.3c-21.9,17.5-43.8,34.8-65.8,52.1L133.9,605.5z'/%3E%3Cpath fill='%23FFFFFF' d='M243.9,400.4C230,417.2,217,433,204,448.8c-5,6.1-10,12.1-14.4,18.5c-10.8,15.8-24.2,29-38.4,41.7 c-23.7,21.2-46.3,43.6-69.4,65.5c-1.1,1.2-2.2,2.5-3.2,3.9l-12.7-10.3c3.2-4.3,6.5-8.6,9.8-12.9c40.3-53.9,87.4-101.4,137.7-145.8 C222.3,401.5,232.4,401.3,243.9,400.4z'/%3E%3Cpath fill='%23FFFFFF' d='M68.4,598.5c2.9,3.1,5.6,5.8,7.9,8.8c0.6,1.2,0.6,2.6-0.1,3.8c-9.6,16.7-19.3,33.4-29,50.1 c-0.2,0.4-0.5,0.9-0.8,1.2c-13.2,13.8-26.4,27.6-40,41.6c-2.2-3.9-4.4-7.4-6.1-11.1c-0.4-1.3-0.3-2.8,0.4-4 c9.4-16.1,18.6-32.3,28.5-48c3.8-6,9.3-10.9,14.2-16.1C51.4,616.3,59.6,607.8,68.4,598.5z'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: top right; background-size: 100%; margin: 0 auto; } .message { font-size: 15px; } .message a { /*text-decoration: none;*/ color: #fff; text-decoration-line: underline; } #content { display: flex; flex-flow: column; align-items: center; justify-content: space-between; height: 100%; } footer { width: 100%; background-color: transparent; flex-grow: 1; margin-bottom: 2em; } h1 { font-weight: 300; font-size: 50px; text-align: center; } input[type=text], input[type=password] { font-family: sans-serif; font-weight: 300; height: 3em; width: 25em; border: none; box-shadow: none; padding: 1em; margin: .25em; } input[type=text]:hover, input[type=password]:hover { outline: 2px solid #ffb27f; } input[type=text]:focus, input[type=password]:focus { outline: 2px solid #F95E02; } input[type=submit] { font-family: sans-serif; font-weight: 300; height: 2.75em; width: 10em; margin: 1em; color: white; background-color: #F95E02; border: none; } input[type=submit]:hover { outline: 2px solid white; cursor: pointer; } input[type=submit]:focus { outline: 2px solid white; } table { border-collapse: separate; border-spacing: 00px; } th { font-size: 20px; font-weight: 600; text-align: right; padding-right: .5em; } td { font-size: 20px; font-weight: 300; text-align: left; } header { flex-basis: 70%; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } </style> <script> function onSubmitCoachPage(sUrl) { console.log(sUrl); window.location = sUrl; } function onPageLoad() { } </script> </head> <body bgcolor="#2B3A42" onLoad="onPageLoad()"> <div id="content"> <header> <h1>Coached by ContentKeeper</h1> <div> <p>The page you are attempting to reach may violate your organisation's acceptable-use policy. <br> Click "Continue" only if you believe that accessing this page would constitute acceptable use.</p> <input type="submit" value="Continue" onClick='onSubmitCoachPage("http://quiz-fe-test.hematitecorp.com")'> </div> </header> <input type="hidden" id="protocol" value="http" /> <footer> <center> <p> <table> <tr> <th>URL</th> <td>quiz-fe-test.hematitecorp.com</td> </tr> <tr> <th>MODULE</th> <td>Web Filter Pro</td> </tr> <tr> <th>CATEGORY</th> <td>Non-Managed</td> </tr> <tr> <th>POLICY</th> <td>Policy=training; IP Address=172.17.7.126</td> </tr> <tr> <th>USERNAME</th> <td>172.17.7.126</td> </tr> <tr> <th>SOURCE IP</th> <td>172.17.7.126</td> </tr> <tr> <th>APPLIANCE</th> <td>172.17.5.13</td> </tr> <tr> <th>TIME</th> <td>Wed Dec 18 14:52:45 2024</td> </tr> </table> </p> </center> </footer> <div></div> </div> </body> </html>Evidence 172.17.7.126Solution Remove the private IP address from the HTTP response body. For comments, use JSP/ASP/PHP comment instead of HTML/JavaScript comment which can be seen by client browsers.
-
X-Content-Type-Options Header Missing (1)
GET http://quiz-fe-test.hematitecorp.com/
Alert tags Alert description The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.
Other info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.
At "High" threshold this scan rule will not alert on client or server error responses.
Request Request line and header section (363 bytes)
GET http://quiz-fe-test.hematitecorp.com/ HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (243 bytes)
HTTP/1.1 200 OK Server: CK-WFP User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT); ck-block Expires: 0 Cache-Control: no-cache Pragma: no-cache Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 11408Response body (11408 bytes)
<html> <head> <title>Coached by ContentKeeper</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: sans-serif; font-weight: 300; font-size: 1em; color: white; text-align: center; background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='1892px' height='1022.2px' viewBox='0 0 1892 1022.2' enable-background='new 0 0 1892 1022.2' xml:space='preserve'%3E%3Ctitle%3Eck_overlay2%3C/title%3E%3Cg opacity='7.000000e-02'%3E%3Cpath fill='%23FFFFFF' d='M1892,685.1c-23.4,5.8-46.8,11.7-70.3,17.3c-1.9,0.5-4.5-0.6-6.3-1.7c-74.9-44-149.8-88.1-224.7-132.2 c-63.5-37.4-127.1-74.8-190.7-112.1c-3.6-2.1-4.9-4.1-4.5-8.5c2.4-32.1,4.4-64.1,6.5-96.2c2.5-37.1,5-74.1,7.3-111.2 c0.3-4.3,1.7-5.8,6-6.4c38.6-5,77.1-10.9,115.8-15.3c32.1-3.7,64.3-6.3,96.5-8.5c26.8-1.8,53.6-2.3,80.4-3.2c2.8,0,5.6,0.6,8.1,1.8 c57.9,27.4,114.8,57,170.5,88.6c1.7,1,3.5,1.8,5.3,2.7L1892,685.1z'/%3E%3Cpath fill='%23FFFFFF' d='M1892,188.2c-22.8-11.6-45.4-23.7-68.6-34.6c-31.9-15-64.2-29-96.3-43.6c-2.6-1.2-4.9-3.2-6.6-5.6 c-11.4-17.5-24.1-34-41-46.7c-0.5-0.6-1-1.2-1.4-1.9c14.6,3.6,28.5,7,42.3,10.4c57.5,13.9,112.9,34.3,167.4,57.1 c1.4,0.6,2.7,1.3,4,2L1892,188.2z'/%3E%3Cpath fill='%23FFFFFF' d='M1026.1,506.6c-2.6,21.3-5.1,41.1-7.5,61c-3.9,33.1-7.8,66.1-11.5,99.3c-1.5,14-1.3,13.8-13.9,19.7 c-60.8,28.7-121.6,57.4-182.4,86.1c-3.1,1.4-4,3.4-4.5,6.4c-5.1,34.6-10.3,69.2-15.3,103.8c-1.9,12.9-3.6,25.7-5.2,38.6 c-0.4,3.5-1.9,5.4-5.1,7.1c-57.3,30.8-114.6,61.7-171.8,92.7c-2.7,1.5-4.5,1.5-7.1-0.2c-43-28.2-86.1-56.3-129.3-84.4 c-2.6-1.7-3.4-3.2-2.8-6.4c11.6-54.2,23-108.4,34.6-162.6c0.8-2.6,2.5-4.8,4.8-6.2c44.1-25.2,88.3-50.2,132.5-75.1 c2.9-1.4,4.9-4.2,5.4-7.4c11.2-54.3,22.5-108.5,34-162.7c0.4-2,2.6-4.2,4.5-5.1c57.5-29,115.8-56.3,175.1-81.4 c2.2-0.9,4.7-0.9,6.9,0c51.8,24.4,103.4,49,155.1,73.7C1024.4,504.2,1025.5,506,1026.1,506.6z M696.8,656c1.3,1.1,2.7,2.2,4.2,3.1 c36.4,20.2,72.7,40.4,109.1,60.6c3.4,1.9,6,2,9.5,0.4c44.9-21.3,89.9-42.5,135-63.6c3.1-1.4,4.1-3.3,4.5-6.3 c5.2-40,10.4-79.9,15.8-119.8c0.4-3-0.4-4.4-3.1-5.7c-37-17.9-73.9-35.9-110.9-53.9c-2.8-1.5-6.1-1.5-8.9,0 c-42,19.7-84.1,39.2-126.3,58.7c-3.1,1.2-5.2,4-5.6,7.3c-5.8,29.5-11.8,59.1-17.7,88.6C700.6,635,698.9,644.9,696.8,656L696.8,656z '/%3E%3Cpath fill='%23FFFFFF' d='M1315.8,232.7c-2.3,21.8-4.6,43.4-6.8,64.9c-2.6,24.5-5.2,49-7.6,73.5c-0.3,3-1.3,4.2-4.1,5.1 c-73.3,23-145.7,48.9-217.5,76.4c-2.1,0.8-4.4,0.8-6.5,0.1c-60.7-26.3-121.9-51.8-184.2-74.1c-0.6-0.2-1.2-0.5-2.1-1 c0.1-1.3,0.3-2.5,0.5-3.8c12.5-43.8,25-87.6,37.5-131.5c0.6-2.9,2.8-5.3,5.6-6.1c65-23.3,130.5-44.9,196.9-63.9 c2.5-0.7,5.1-0.8,7.7-0.2c60.3,16.9,119.4,37.3,177.9,59.3C1313.9,231.8,1314.6,232.2,1315.8,232.7z'/%3E%3Cpath fill='%23FFFFFF' d='M1690.9,169.8c-19.2,0.8-38,1-56.8,2.5c-36.9,2.8-73.7,5.6-110.5,9.7c-31.3,3.5-62.3,8.8-93.4,13.1 c-2.4,0.3-4.9,0.1-7.2-0.8c-89.9-36-182-66-275.9-90c-0.9-0.2-1.9-0.6-3.4-1c2.1-9.7,3.9-19.3,6.4-28.7c5.2-20,10.7-39.8,16-59.7 c0.8-2.9,2.2-4.2,5.5-4.6C1238,2.8,1304.4-0.1,1371.2,0c33.3,0.1,65,7.6,96.8,15.5c59.6,14.8,118.3,32.7,176,53.6 c3.3,1.1,6.1,3.3,7.8,6.4c17.1,29.2,28.8,60.6,39.2,92.7C1691,168.7,1691,169.2,1690.9,169.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1518.1,752.8c0,4.1,1.5,9.1-0.4,11.9c-1.8,2.6-7.1,3-10.9,4.2c-72.9,23.4-144.7,49.7-215.5,78.9 c-3.8,1.5-6.5,1.5-10-0.8c-71.9-46.4-145.5-90-220.8-130.7c-3.7-2-4.7-4.2-4.2-8.1c5.7-49.1,11.3-98.3,17-147.4 c1.4-12.2,3.4-24.4,4.6-36.7c0.4-3.7,2.3-4.6,5-5.6c55.2-20.1,110.3-40.2,165.4-60.4c13.4-4.9,26.8-10,40.3-14.6 c2.4-0.8,5-0.6,7.2,0.6c68.6,40.9,137.2,82,205.6,123.2c1.6,1,3.3,3,3.5,4.7c4.8,60.3,9.5,120.5,14.1,180.8L1518.1,752.8z M1456.8,724.8c0.1-0.6,0.2-1.2,0.3-1.8c-2.1-46.1-4.2-92.2-6.5-138.3c-0.1-1.8-1.9-4.2-3.6-5.2c-50.1-29.7-100.3-59.3-150.6-88.7 c-2.2-1.2-4.8-1.4-7.3-0.7c-50.5,17.8-100.9,35.8-151.4,53.6c-3.2,1.1-4.4,2.6-4.6,6c-1,12.5-2.3,24.9-3.4,37.3 c-2.9,31.7-5.6,63.4-8.6,95c-0.4,3.8,0.7,5.8,4.1,7.8c52.9,30.5,105.7,61.2,158.5,92c3,1.8,5.4,2.1,8.7,0.9 c39.7-14.4,79.5-28.7,119.2-42.8C1426.6,734.6,1441.8,729.8,1456.8,724.8L1456.8,724.8z'/%3E%3Cpath fill='%23FFFFFF' d='M309.4,681.8c4.6-17,9.1-33.9,13.8-50.6c6.1-21.6,12.4-43.2,18.8-64.7c0.8-2.3,2.3-4.2,4.3-5.5 c40.5-22.7,81.1-45.2,121.8-67.6c1.8-1,4-1.4,6-1c35,9.8,68.5,23.5,102.5,37.8c-2,9.3-3.9,18.5-5.9,27.7 c-6.9,31.7-13.9,63.4-20.6,95.1c-0.6,3.4-2.8,6.3-5.9,7.7c-42.6,21.9-85.1,44-127.6,66.2c-2.8,1.7-6.3,1.8-9.1,0.2 c-31.8-14.8-63.7-29.4-95.6-44C311.3,682.8,310.8,682.4,309.4,681.8z'/%3E%3Cpath fill='%23FFFFFF' d='M443.6,447.7c6.2-13.2,11.8-26.3,18.4-38.9c17.5-33.1,35.5-65.9,53.5-98.7c1.6-2.7,3.8-4.9,6.6-6.4 c62.5-34.9,127-65.7,192.8-94c1.8-0.8,3.8-1.1,5.7-1c51.4,6,102.4,15.2,152.7,27.4c0.9,0.2,1.8,0.5,3.3,1 c-2.5,6.8-5.1,13.2-7.3,19.8c-13.3,41.5-26.6,83-39.8,124.5c-0.7,2.9-2.8,5.2-5.6,6.2c-77.5,34.2-153.8,70.9-228.3,111.3 c-2.3,1.1-4.9,1.2-7.3,0.4c-46.5-18.1-93.3-35.4-141-50C446.2,448.9,445.1,448.4,443.6,447.7z M816.6,260.3 c-0.6-0.4-1.2-0.7-1.9-0.9c-35.6-7.1-71.1-14.2-106.7-21c-3.5-0.7-7.9-0.5-11,1c-47.5,22.9-94.9,46-142.2,69.3 c-2.3,1.2-4.2,3.1-5.5,5.4c-15.2,29.8-30.3,59.6-45.3,89.5c-1.8,3.6-3.4,7.4-5.1,11.3c0.7,0.4,1.5,0.8,2.2,1.1 c34.8,11.3,69.6,22.6,104.4,33.8c2.3,0.5,4.8,0.2,6.9-0.9c53.9-26.2,107.7-52.4,161.5-78.6c2.9-1.2,5-3.7,5.9-6.7 c7-21,14.2-41.9,21.5-62.8C806.2,287.2,811.4,274,816.6,260.3L816.6,260.3z'/%3E%3Cpath fill='%23FFFFFF' d='M1102.9,7.5c-6.1,11.3-12.7,21.8-17.4,33.1c-4.9,11.7-12.7,16.8-25.1,19.6c-62.7,14.1-124.3,32-185.5,51.5 c-3.4,1.1-7.1,1.6-10.7,1.5c-43.3-1.8-86.6-2.2-129.9-0.1c-3.3,0.2-5.5,1-7.5,3.7c-11.5,16-23,31.9-34.7,47.6 c-1.9,2.6-4.5,4.6-7.4,6c-45.1,20.5-90.3,40.8-135.6,61c-4.1,1.7-8.4,2.6-12.8,2.5c-23.5-0.3-47-1-70.4-1.7c-3.2-0.2-6.2,1.2-8,3.9 c-12.9,16.5-25.9,33-39,49.4c-1.6,2.1-3.6,3.9-5.8,5.3c-34.6,21.9-69.3,43.6-104,65.4c-1.3,1-2.9,1.6-4.5,1.8 c-15.6,0.1-31.2,0.1-46.8,0.1c0.5-0.8,1-1.6,1.6-2.4c16-18.3,32-36.6,48-54.9c1.4-1.6,3.1-3,4.9-4.2c31-19.7,62-39.6,93.3-58.9 c4.4-2.7,10.3-3.5,15.7-4.3c13-2,26.1-3.4,39.1-5.4c2.3-0.4,4.7-2.2,6.4-4c15-15.8,29.9-31.8,44.9-47.6c2.1-2.1,4.6-3.9,7.3-5.1 c40.2-18.1,80.3-36.4,120.8-53.8c7.5-3.2,16.6-3.4,25-4c19.6-1.4,39.2-2.2,58.9-3.5c2.7-0.3,5.2-1.4,7.3-3.1 c16.9-14,33.6-28.3,50.5-42.3c2.5-1.9,5.4-3.3,8.4-4.2c58-18,116.5-34.2,175.8-47.3c11-2.4,22.4-3.2,33.7-3.6 c33.8-1.1,67.6-1.6,101.4-2.3C1101.4,7.2,1102.2,7.3,1102.9,7.5z M1068.7,15.1l-0.8-1.5c-25.6,1-51.2,1.9-76.9,3.1 c-12.1,0.6-24.6,0.6-36.2,3.5c-41,10.2-81.6,21.9-122.5,32.3c-13.9,3.5-26.6,10.6-36.9,20.6c-8.3,7.8-16.8,15.4-26.2,23.9 c2.4,0.1,3.4,0.3,4.3,0.3c35-0.1,69.9-0.3,104.9-0.4c2,0,4-0.4,5.9-0.9c49.7-13.8,99.3-27.8,149.1-41c9.1-2.4,15.3-6.2,19.6-14.5 C1057.7,31.7,1063.5,23.5,1068.7,15.1L1068.7,15.1z M435.6,243.7c-10.6,1.3-19.8,2.4-29,3.5c-7,0.7-13.6,3-19.5,6.8 c-20.9,13.6-42.1,26.9-63.1,40.3c-1.5,1-2.9,2.2-4.2,3.5c-11.3,12.9-22.6,25.8-33.8,38.8c-0.5,0.6-1,1.3-1.3,2 c10.2,0,20.6,0.1,31.1-0.1c2.8-0.1,5.5-0.9,7.8-2.3c20.6-12.9,40.9-26.2,61.7-38.8c9.4-5.7,17.5-12.2,23.9-21.3s14-17.4,21-26 C431.8,248.3,433.3,246.6,435.6,243.7L435.6,243.7z'/%3E%3Cpath fill='%23FFFFFF' d='M133.9,605.5l-22.2-19.1c7.4-11.8,14.7-23.5,22.1-35.1c1.9-3,4-5.8,5.7-8.8c10.6-18.9,24.9-34.3,42.2-47.3 c13.7-10.3,27-21.2,40.3-32c2.6-2.1,4.7-2.3,7.6-0.9c7.6,3.6,15.4,7,23.6,10.6c-0.9,1.6-1.5,2.7-2.2,3.8 c-13.7,22.2-27.4,44.5-41.2,66.7c-1.8,2.8-4,5.3-6.5,7.3c-21.9,17.5-43.8,34.8-65.8,52.1L133.9,605.5z'/%3E%3Cpath fill='%23FFFFFF' d='M243.9,400.4C230,417.2,217,433,204,448.8c-5,6.1-10,12.1-14.4,18.5c-10.8,15.8-24.2,29-38.4,41.7 c-23.7,21.2-46.3,43.6-69.4,65.5c-1.1,1.2-2.2,2.5-3.2,3.9l-12.7-10.3c3.2-4.3,6.5-8.6,9.8-12.9c40.3-53.9,87.4-101.4,137.7-145.8 C222.3,401.5,232.4,401.3,243.9,400.4z'/%3E%3Cpath fill='%23FFFFFF' d='M68.4,598.5c2.9,3.1,5.6,5.8,7.9,8.8c0.6,1.2,0.6,2.6-0.1,3.8c-9.6,16.7-19.3,33.4-29,50.1 c-0.2,0.4-0.5,0.9-0.8,1.2c-13.2,13.8-26.4,27.6-40,41.6c-2.2-3.9-4.4-7.4-6.1-11.1c-0.4-1.3-0.3-2.8,0.4-4 c9.4-16.1,18.6-32.3,28.5-48c3.8-6,9.3-10.9,14.2-16.1C51.4,616.3,59.6,607.8,68.4,598.5z'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: top right; background-size: 100%; margin: 0 auto; } .message { font-size: 15px; } .message a { /*text-decoration: none;*/ color: #fff; text-decoration-line: underline; } #content { display: flex; flex-flow: column; align-items: center; justify-content: space-between; height: 100%; } footer { width: 100%; background-color: transparent; flex-grow: 1; margin-bottom: 2em; } h1 { font-weight: 300; font-size: 50px; text-align: center; } input[type=text], input[type=password] { font-family: sans-serif; font-weight: 300; height: 3em; width: 25em; border: none; box-shadow: none; padding: 1em; margin: .25em; } input[type=text]:hover, input[type=password]:hover { outline: 2px solid #ffb27f; } input[type=text]:focus, input[type=password]:focus { outline: 2px solid #F95E02; } input[type=submit] { font-family: sans-serif; font-weight: 300; height: 2.75em; width: 10em; margin: 1em; color: white; background-color: #F95E02; border: none; } input[type=submit]:hover { outline: 2px solid white; cursor: pointer; } input[type=submit]:focus { outline: 2px solid white; } table { border-collapse: separate; border-spacing: 00px; } th { font-size: 20px; font-weight: 600; text-align: right; padding-right: .5em; } td { font-size: 20px; font-weight: 300; text-align: left; } header { flex-basis: 70%; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } </style> <script> function onSubmitCoachPage(sUrl) { console.log(sUrl); window.location = sUrl; } function onPageLoad() { } </script> </head> <body bgcolor="#2B3A42" onLoad="onPageLoad()"> <div id="content"> <header> <h1>Coached by ContentKeeper</h1> <div> <p>The page you are attempting to reach may violate your organisation's acceptable-use policy. <br> Click "Continue" only if you believe that accessing this page would constitute acceptable use.</p> <input type="submit" value="Continue" onClick='onSubmitCoachPage("http://quiz-fe-test.hematitecorp.com")'> </div> </header> <input type="hidden" id="protocol" value="http" /> <footer> <center> <p> <table> <tr> <th>URL</th> <td>quiz-fe-test.hematitecorp.com</td> </tr> <tr> <th>MODULE</th> <td>Web Filter Pro</td> </tr> <tr> <th>CATEGORY</th> <td>Non-Managed</td> </tr> <tr> <th>POLICY</th> <td>Policy=training; IP Address=172.17.7.126</td> </tr> <tr> <th>USERNAME</th> <td>172.17.7.126</td> </tr> <tr> <th>SOURCE IP</th> <td>172.17.7.126</td> </tr> <tr> <th>APPLIANCE</th> <td>172.17.5.13</td> </tr> <tr> <th>TIME</th> <td>Wed Dec 18 14:52:45 2024</td> </tr> </table> </p> </center> </footer> <div></div> </div> </body> </html>Parameter x-content-type-optionsSolution Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.
If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.
-
-
-
Risk=Low, Confidence=Low (1)
-
http://quiz-fe-test.hematitecorp.com (1)
-
Timestamp Disclosure - Unix (1)
GET http://quiz-fe-test.hematitecorp.com/static/js/main.dbe7cbc3.js
Alert tags Alert description A timestamp was disclosed by the application/web server. - Unix
Other info 1540483477, which evaluates to: 2018-10-25 21:34:37.
Request Request line and header section (329 bytes)
GET http://quiz-fe-test.hematitecorp.com/static/js/main.dbe7cbc3.js HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: */* Accept-Language: en-US,en;q=0.5 Connection: keep-alive Referer: http://quiz-fe-test.hematitecorp.com/Request body (0 bytes)
Response Status line and header section (303 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 09:22:47 GMT Server: Apache Last-Modified: Mon, 09 Dec 2024 21:50:50 GMT ETag: "40208df-1429bf-628dd5b9a8280" Accept-Ranges: none Content-Length: 1321407 Vary: Accept-Encoding Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: text/javascriptResponse body (1321407 bytes)
/*! For license information please see main.dbe7cbc3.js.LICENSE.txt */ !function(){var e={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function l(e){return e.trim()}function s(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,v=1,g=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:v,length:a,return:""}}function S(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?u(x,--y):0,v--,10===b&&(v=1,m--),b}function j(){return b=y<g?u(x,y++):0,v++,10===b&&(v=1,m++),b}function E(){return u(x,y)}function O(){return y}function C(e,t){return d(x,e,t)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Z(e){return m=v=1,g=f(x=e),y=0,[]}function _(e){return x="",e}function T(e){return l(C(y-1,R(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=E())&&b<33;)j();return P(e)>2||P(b)>3?"":" "}function A(e,t){for(;--t&&j()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return C(e,O()+(t<6&&32==E()&&32==j()))}function R(e){for(;j();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:j()}return y}function N(e,t){for(;j()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+C(t,y-1)+"*"+i(47===e?e:j())}function I(e){for(;!P(E());)j();return C(e,y)}var D="-ms-",z="-moz-",L="-webkit-",B="comm",F="rule",W="decl",U="@keyframes";function q(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function H(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case U:return e.return=e.value+"{"+q(e.children,r)+"}";case F:e.value=e.props.join(",")}return f(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function V(e){return _(Y("",null,null,null,[""],e=Z(e),0,[0],e))}function Y(e,t,n,r,o,a,l,d,p){for(var m=0,v=0,g=l,y=0,b=0,x=0,w=1,S=1,C=1,P=0,Z="",_=o,R=a,D=r,z=Z;S;)switch(x=P,P=j()){case 40:if(108!=x&&58==u(z,g-1)){-1!=c(z+=s(T(P),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:z+=T(P);break;case 9:case 10:case 13:case 32:z+=M(x);break;case 92:z+=A(O()-1,7);continue;case 47:switch(E()){case 42:case 47:h($(N(j(),O()),t,n),p);break;default:z+="/"}break;case 123*w:d[m++]=f(z)*C;case 125*w:case 59:case 0:switch(P){case 0:case 125:S=0;case 59+v:-1==C&&(z=s(z,/\f/g,"")),b>0&&f(z)-g&&h(b>32?K(z+";",r,n,g-1):K(s(z," ","")+";",r,n,g-2),p);break;case 59:z+=";";default:if(h(D=G(z,t,n,m,v,o,d,Z,_=[],R=[],g),a),123===P)if(0===v)Y(z,t,D,D,_,a,g,d,R);else switch(99===y&&110===u(z,3)?100:y){case 100:case 108:case 109:case 115:Y(e,D,D,r&&h(G(e,D,D,0,0,o,d,Z,o,_=[],g),R),o,R,g,d,r?_:R);break;default:Y(z,D,D,D,[""],R,0,d,R)}}m=v=b=0,w=C=1,Z=z="",g=l;break;case 58:g=1+f(z),b=x;default:if(w<1)if(123==P)--w;else if(125==P&&0==w++&&125==k())continue;switch(z+=i(P),P*w){case 38:C=v>0?1:(z+="\f",-1);break;case 44:d[m++]=(f(z)-1)*C,C=1;break;case 64:45===E()&&(z+=T(j())),y=E(),v=g=f(Z=z+=I(O())),P++;break;case 45:45===x&&2==f(z)&&(w=0)}}return a}function G(e,t,n,r,i,a,c,u,f,h,m){for(var v=i-1,g=0===i?a:[""],y=p(g),b=0,x=0,S=0;b<r;++b)for(var k=0,j=d(e,v+1,v=o(x=c[b])),E=e;k<y;++k)(E=l(x>0?g[k]+" "+j:s(j,/&\f/g,g[k])))&&(f[S++]=E);return w(e,t,n,0===i?F:u,f,h,m)}function $(e,t,n){return w(e,t,n,B,i(b),d(e,2,-2),0)}function K(e,t,n,r){return w(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!P(o);)j();return C(e,y)},Q=function(e,t){return _(function(e,t){var n=-1,r=44;do{switch(P(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=j());return e}(Z(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+z+e+D+e+e;case 6828:case 4268:return L+e+D+e+e;case 6165:return L+e+D+"flex-"+e+e;case 5187:return L+e+s(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return L+e+D+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return L+e+D+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+D+s(e,"shrink","negative")+e;case 5292:return L+e+D+s(e,"basis","preferred-size")+e;case 6060:return L+"box-"+s(e,"-grow","")+L+e+D+s(e,"grow","positive")+e;case 4554:return L+s(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+z+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+L)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(45===u(e,14)?"inline-":"")+"box$3$1"+L+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case U:return q([S(e,{value:s(e.value,"@","@"+L)})],r);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([S(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([S(e,{props:[s(t,/:(plac\w+)/,":"+L+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,l={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)l[t[n]]=!0;s.push(e)}));var c,u,d=[H,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var t=p(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([ee,te].concat(o,d));a=function(e,t,n,r){c=n,q(V(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:a};return h.sheet.hydrate(s),h}},9797:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},2564:function(e,t,n){"use strict";n.d(t,{T:function(){return s},i:function(){return i},w:function(){return l}});var r=n(2791),o=n(3361),i=(n(9140),n(2561),!0),a=r.createContext("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null);a.Provider;var l=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(l=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var s=r.createContext({})},9140:function(e,t,n){"use strict";n.d(t,{O:function(){return h}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(9797),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!==typeof e},c=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":s(a)&&(r+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=d(e,t,a);switch(i){case"animation":case"animationName":r+=c(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var f=0;f<a.length;f++)s(a[f])&&(r+=c(i)+":"+u(i,a[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";f=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=d(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),r&&(o+=i[a]);p.lastIndex=0;for(var l,s="";null!==(l=p.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:f}}},2561:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a},j:function(){return l}});var o=n(2791),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},5438:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},2419:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},6711:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.Z=a},1009:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.Z=a},8996:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.Z=a},2338:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");t.Z=a},7247:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},1286:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=a},5146:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");t.Z=a},1131:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},2715:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");t.Z=a},1133:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=a},5397:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=a},111:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");t.Z=a},403:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}),"LockOutlined");t.Z=a},3553:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42C8.32 20.01 10.55 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z"}),"LockReset");t.Z=a},501:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=a},1406:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"RemoveRedEyeRounded");t.Z=a},1897:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z"}),"School");t.Z=a},5403:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=a},2270:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M9 1h6v2H9zm10.03 6.39 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM13 14h-2V8h2v6z"}),"Timer");t.Z=a},3746:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=a},165:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.Z=a},1141:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");t.Z=a},5649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(8610)},6532:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},8457:function(e,t,n){"use strict";n(6532)},1979:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(7462),o=n(3366),i=n(6189),a=n(2466),l=n(5080),s=n(7416),c=n(104),u=n(4942);function d(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,u.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,u.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var f=n(2065),p={black:"#000",white:"#fff"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},v={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},x={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=["mode","contrastThreshold","tonalOffset"],S={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:p.white,default:p.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},k={text:{primary:p.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:p.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function j(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,f.$n)(e.main,o):"dark"===t&&(e.dark=(0,f._j)(e.main,i)))}function E(e){var t=e.mode,n=void 0===t?"light":t,l=e.contrastThreshold,s=void 0===l?3:l,c=e.tonalOffset,u=void 0===c?.2:c,d=(0,o.Z)(e,w),E=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),O=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[500],light:m[300],dark:m[700]}}(n),C=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[500],light:v[300],dark:v[700]}:{main:v[700],light:v[400],dark:v[800]}}(n),P=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),Z=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:x[400],light:x[300],dark:x[700]}:{main:x[800],light:x[500],dark:x[900]}}(n),_=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function T(e){return(0,f.mi)(e,k.text.primary)>=s?k.text.primary:S.text.primary}var M=function(e){var t=e.color,n=e.name,o=e.mainShade,a=void 0===o?500:o,l=e.lightShade,s=void 0===l?300:l,c=e.darkShade,d=void 0===c?700:c;if(!(t=(0,r.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,i.Z)(11,n?" (".concat(n,")"):"",a));if("string"!==typeof t.main)throw new Error((0,i.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return j(t,"light",s,u),j(t,"dark",d,u),t.contrastText||(t.contrastText=T(t.main)),t},A={dark:k,light:S};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},p),mode:n,primary:M({color:E,name:"primary"}),secondary:M({color:O,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:C,name:"error"}),warning:M({color:_,name:"warning"}),info:M({color:P,name:"info"}),success:M({color:Z,name:"success"}),grey:h,contrastThreshold:s,getContrastText:T,augmentColor:M,tonalOffset:u},A[n]),d)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var C={textTransform:"uppercase"},P='"Roboto", "Helvetica", "Arial", sans-serif';function Z(e,t){var n="function"===typeof t?t(e):t,i=n.fontFamily,l=void 0===i?P:i,s=n.fontSize,c=void 0===s?14:s,u=n.fontWeightLight,d=void 0===u?300:u,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,x=n.allVariants,w=n.pxToRem,S=(0,o.Z)(n,O);var k=c/14,j=w||function(e){return"".concat(e/b*k,"rem")},E=function(e,t,n,o,i){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:j(t),lineHeight:n},l===P?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},Z={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(p,48,1.167,0),h4:E(p,34,1.235,.25),h5:E(p,24,1.334,0),h6:E(m,20,1.6,.15),subtitle1:E(p,16,1.75,.15),subtitle2:E(m,14,1.57,.1),body1:E(p,16,1.5,.15),body2:E(p,14,1.43,.15),button:E(m,14,1.75,.4,C),caption:E(p,12,1.66,.4),overline:E(p,12,2.66,1,C),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:b,pxToRem:j,fontFamily:l,fontSize:c,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:g},Z),S,{clone:!1})}function _(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var T=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)],M=n(1314),A={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},R=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,u=e.palette,f=void 0===u?{}:u,p=e.transitions,h=void 0===p?{}:p,m=e.typography,v=void 0===m?{}:m,g=(0,o.Z)(e,R);if(e.vars)throw new Error((0,i.Z)(18));var y=E(f),b=(0,l.Z)(e),x=(0,a.Z)(b,{mixins:d(b.breakpoints,n),palette:y,shadows:T.slice(),typography:Z(y,v),transitions:(0,M.ZP)(h),zIndex:(0,r.Z)({},A)});x=(0,a.Z)(x,g);for(var w=arguments.length,S=new Array(w>1?w-1:0),k=1;k<w;k++)S[k-1]=arguments[k];return(x=S.reduce((function(e,t){return(0,a.Z)(e,t)}),x)).unstable_sxConfig=(0,r.Z)({},s.Z,null==g?void 0:g.unstable_sxConfig),x.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},x}var I=N},1314:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u},x9:function(){return l}});var r=n(3366),o=n(7462),i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function c(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function u(e){var t=(0,o.Z)({},a,e.easing),n=(0,o.Z)({},l,e.duration);return(0,o.Z)({getAutoHeightDuration:c,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,l=void 0===a?n.standard:a,c=o.easing,u=void 0===c?t.easeInOut:c,d=o.delay,f=void 0===d?0:d;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof l?l:s(l)," ").concat(u," ").concat("string"===typeof f?f:s(f))})).join(",")}},e,{easing:t,duration:n})}},6482:function(e,t,n){"use strict";var r=(0,n(1979).Z)();t.Z=r},988:function(e,t){"use strict";t.Z="$$material"},6934:function(e,t,n){"use strict";n.d(t,{Dz:function(){return l},FO:function(){return a}});var r=n(4046),o=n(6482),i=n(988),a=function(e){return(0,r.x9)(e)&&"classes"!==e},l=r.x9,s=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a});t.ZP=s},1402:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7078),o=n(6482),i=n(988);function a(e){var t=e.props,n=e.name;return(0,r.Z)({props:t,name:n,defaultTheme:o.Z,themeId:i.Z})}},4036:function(e,t,n){"use strict";var r=n(1122);t.Z=r.Z},1260:function(e,t,n){"use strict";var r=n(8949);t.Z=r.Z},9201:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7462),o=n(2791),i=n(3366),a=n(3733),l=n(4419),s=n(4036),c=n(1402),u=n(6934),d=n(5878),f=n(1217);function p(e){return(0,f.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(184),m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,u.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.Z)(n.color))],t["fontSize".concat((0,s.Z)(n.fontSize))]]}})((function(e){var t,n,r,o,i,a,l,s,c,u,d,f,p,h=e.theme,m=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:m.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=h.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=h.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(o=h.typography)||null==(i=o.pxToRem)?void 0:i.call(o,20))||"1.25rem",medium:(null==(a=h.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(s=h.typography)||null==(c=s.pxToRem)?void 0:c.call(s,35))||"2.1875rem"}[m.fontSize],color:null!=(u=null==(d=(h.vars||h).palette)||null==(d=d[m.color])?void 0:d.main)?u:{action:null==(f=(h.vars||h).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(p=(h.vars||h).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0}[m.color]}})),g=o.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiSvgIcon"}),u=n.children,d=n.className,f=n.color,g=void 0===f?"inherit":f,y=n.component,b=void 0===y?"svg":y,x=n.fontSize,w=void 0===x?"medium":x,S=n.htmlColor,k=n.inheritViewBox,j=void 0!==k&&k,E=n.titleAccess,O=n.viewBox,C=void 0===O?"0 0 24 24":O,P=(0,i.Z)(n,m),Z=o.isValidElement(u)&&"svg"===u.type,_=(0,r.Z)({},n,{color:g,component:b,fontSize:w,instanceFontSize:e.fontSize,inheritViewBox:j,viewBox:C,hasSvgAsChild:Z}),T={};j||(T.viewBox=C);var M=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,s.Z)(t)),"fontSize".concat((0,s.Z)(n))]};return(0,l.Z)(o,p,r)}(_);return(0,h.jsxs)(v,(0,r.Z)({as:b,className:(0,a.Z)(M.root,d),focusable:"false",color:S,"aria-hidden":!E||void 0,role:E?"img":void 0,ref:t},T,P,Z&&u.props,{ownerState:_,children:[Z?u.props.children:u,E?(0,h.jsx)("title",{children:E}):null]}))}));g.muiName="SvgIcon";var y=g;function b(e,t){function n(n,o){return(0,h.jsx)(y,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},3199:function(e,t,n){"use strict";var r=n(2254);t.Z=r.Z},8610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return l.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return f},setRef:function(){return p},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return h.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return v},useControlled:function(){return g.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return x.Z}});var r=n(5902),o=n(4036),i=n(1260),a=n(9201),l=n(3199);var s=function(e,t){return function(){return null}},c=n(3701),u=n(8301),d=n(7602);n(7462);var f=function(e,t){return function(){return null}},p=n(2971).Z,h=n(162),m=n(7384);var v=function(e,t,n,r,o){return null},g=n(5158),y=n(9683),b=n(2071),x=n(3031),w={configure:function(e){r.Z.configure(e)}}},3701:function(e,t,n){"use strict";var r=n(78);t.Z=r.Z},8301:function(e,t,n){"use strict";var r=n(4913);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(5202);t.Z=r.Z},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9439),o=n(2791);var i=function(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),l=(0,r.Z)(a,2),s=l[0],c=l[1];return[i?t:s,o.useCallback((function(e){i||c(e)}),[])]}},162:function(e,t,n){"use strict";var r=n(2876);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(7054);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(6117);t.Z=r.Z},7384:function(e,t,n){"use strict";var r=n(8252);t.Z=r.Z},3031:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,o=n(2791),i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var f=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},2421:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(7462),o=n(2791),i=n(9797),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=n(2564),c=n(5438),u=n(9140),d=n(2561),f=l,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,d.L)((function(){return(0,c.My)(t,n,r)})),null},g=function e(t,n){var i,a,l=t.__emotion_real===t,d=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=m(t,n,l),p=f||h(d),g=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var S=(0,s.w)((function(e,t,n){var r=g&&e.as||d,i="",l=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=o.useContext(s.T)}"string"===typeof e.className?i=(0,c.fp)(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.O)(b.concat(l),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=g&&void 0===f?h(r):p,S={};for(var k in e)g&&"as"===k||w(k)&&(S[k]=e[k]);return S.className=i,S.ref=n,o.createElement(o.Fragment,null,o.createElement(v,{cache:t,serialized:x,isStringTag:"string"===typeof r}),o.createElement(r,S))}));return S.displayName=void 0!==i?i:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=b,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+a}}),S.withComponent=function(t,o){return e(t,(0,r.Z)({},n,o,{shouldForwardProp:m(S,o,!0)})).apply(void 0,b)},S}}.bind();function y(e,t){return g(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}));var b=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return u},VO:function(){return o},W8:function(){return l},dt:function(){return c},k9:function(){return a}});var r=n(2466),o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(o[e],"px)")}};function a(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var a=r.breakpoints||i;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var l=r.breakpoints||i;return Object.keys(t).reduce((function(e,r){if(-1!==Object.keys(l.values||o).indexOf(r)){e[l.up(r)]=n(t[r],r)}else{var i=r;e[i]=t[i]}return e}),{})}return n(t)}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e){for(var t=l(e),n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=[t].concat(o).reduce((function(e,t){return(0,r.Z)(e,t)}),{});return s(Object.keys(t),a)}function u(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),i=Object.keys(o);return 0===i.length?n:i.reduce((function(e,r,o){return Array.isArray(n)?(e[r]=null!=n[o]?n[o]:n[t],t=o):"object"===typeof n?(e[r]=null!=n[r]?n[r]:n[t],t=r):e[r]=n,e}),{})}},2065:function(e,t,n){"use strict";n.d(t,{$n:function(){return d},Fq:function(){return c},_4:function(){return f},_j:function(){return u},mi:function(){return s}});var r=n(6189);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===n){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function l(e){var t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?u(e,t):d(e,t)}},4046:function(e,t,n){"use strict";n.d(t,{ZP:function(){return S},x9:function(){return y}});var r=n(3433),o=n(9439),i=n(3366),a=n(7462),l=n(2421),s=n(5080),c=n(1122),u=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=(0,i.Z)(e,u),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:(0,c.Z)(e[t]):"".concat(d(r)?t:(0,c.Z)(t)).concat((0,c.Z)(e[t].toString()))})),r}var p=n(104),h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];var m=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},v=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r},g=function(e,t,n,r){var o,i=e.ownerState,a=void 0===i?{}:i,l=[],s=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return s&&s.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[f(n.props)])})),l};function y(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var b=(0,s.Z)(),x=function(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e};function w(e){var t,n=e.defaultTheme,r=e.theme,o=e.themeId;return t=r,0===Object.keys(t).length?n:r[o]||r}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,s=void 0===n?b:n,c=e.rootShouldForwardProp,u=void 0===c?y:c,d=e.slotShouldForwardProp,f=void 0===d?y:d,S=function(e){return(0,p.Z)((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))};return S.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var c,d=n.name,p=n.slot,b=n.skipVariantsResolver,k=n.skipSx,j=n.overridesResolver,E=void 0===j?(c=x(p))?function(e,t){return t[c]}:null:j,O=(0,i.Z)(n,h),C=void 0!==b?b:p&&"Root"!==p&&"root"!==p||!1,P=k||!1;var Z=y;"Root"===p||"root"===p?Z=u:p?Z=f:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(Z=void 0);var _=(0,l.ZP)(e,(0,a.Z)({shouldForwardProp:Z,label:undefined},O)),T=function(n){for(var i=arguments.length,l=new Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];var u=l?l.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(n){return e((0,a.Z)({},n,{theme:w((0,a.Z)({},n,{defaultTheme:s,themeId:t}))}))}:e})):[],f=n;d&&E&&u.push((function(e){var n=w((0,a.Z)({},e,{defaultTheme:s,themeId:t})),r=m(d,n);if(r){var i={};return Object.entries(r).forEach((function(t){var r=(0,o.Z)(t,2),l=r[0],s=r[1];i[l]="function"===typeof s?s((0,a.Z)({},e,{theme:n})):s})),E(e,i)}return null})),d&&!C&&u.push((function(e){var n=w((0,a.Z)({},e,{defaultTheme:s,themeId:t}));return g(e,v(d,n),n,d)})),P||u.push(S);var p=u.length-l.length;if(Array.isArray(n)&&p>0){var h=new Array(p).fill("");(f=[].concat((0,r.Z)(n),(0,r.Z)(h))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(h))}else"function"===typeof n&&n.__emotion_real!==n&&(f=function(e){return n((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))});var y=_.apply(void 0,[f].concat((0,r.Z)(u)));return e.muiName&&(y.muiName=e.muiName),y};return _.withConfig&&(T.withConfig=_.withConfig),T}}},5080:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(7462),o=n(3366),i=n(2466),a=n(4942),l=["values","unit","step"],s=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})};var c={borderRadius:4},u=n(5682);var d=n(104),f=n(7416),p=["breakpoints","palette","spacing","shape"];var h=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,h=void 0===a?{}:a,m=e.spacing,v=e.shape,g=void 0===v?{}:v,y=(0,o.Z)(e,p),b=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,a=void 0===i?"px":i,c=e.step,u=void 0===c?5:c,d=(0,o.Z)(e,l),f=s(n),p=Object.keys(f);function h(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-u/100).concat(a,")")}function v(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:t)-u/100).concat(a,")")}return(0,r.Z)({keys:p,values:f,up:h,down:m,between:v,only:function(e){return p.indexOf(e)+1<p.length?v(e,p[p.indexOf(e)+1]):h(e)},not:function(e){var t=p.indexOf(e);return 0===t?h(p[1]):t===p.length-1?m(p[t]):v(e,p[p.indexOf(e)+1]).replace("@media","@media not all and")},unit:a},d)}(n),x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,u.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(m),w=(0,i.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},h),spacing:x,shape:(0,r.Z)({},c,g)},y),S=arguments.length,k=new Array(S>1?S-1:0),j=1;j<S;j++)k[j-1]=arguments[j];return(w=k.reduce((function(e,t){return(0,i.Z)(e,t)}),w)).unstable_sxConfig=(0,r.Z)({},f.Z,null==y?void 0:y.unstable_sxConfig),w.unstable_sx=function(e){return(0,d.Z)({sx:e,theme:this})},w}},8247:function(e,t,n){"use strict";var r=n(2466);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5682:function(e,t,n){"use strict";n.d(t,{hB:function(){return m},eI:function(){return h},NA:function(){return v},e6:function(){return b},o3:function(){return x}});var r=n(9439),o=n(1184),i=n(8529),a=n(8247);var l={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=l[o],u=s[i]||"";return Array.isArray(u)?u.map((function(e){return a+e})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(e,t,n,r){var o,a=null!=(o=(0,i.DW)(e,t,!1))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function m(e){return h(e,"spacing",8)}function v(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=v(t,n),e}),{})}}(u(n),r),a=e[n];return(0,o.k9)(e,a,i)}function y(e,t){var n=m(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,d)}function x(e){return y(e,f)}function w(e){return y(e,p)}b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p},8529:function(e,t,n){"use strict";n.d(t,{DW:function(){return a},Jq:function(){return l}});var r=n(4942),o=n(1122),i=n(1184);function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function l(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r,o,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,c)||{};return(0,i.k9)(e,n,(function(e){var n=l(d,u,e);return e===n&&"string"===typeof e&&(n=l(d,u,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===s?n:(0,r.Z)({},s,n)}))};return d.propTypes={},d.filterProps=[t],d}},7416:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(5682),o=n(8529),i=n(8247);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),o=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?(0,i.Z)(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o},l=n(1184);function s(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,(function(e){return{borderRadius:(0,r.NA)(t,e)}}))}return null};b.propTypes={},b.filterProps=["borderRadius"];a(c,u,d,f,p,h,m,v,g,y,b);var x=function(e){if(void 0!==e.gap&&null!==e.gap){var t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,(function(e){return{gap:(0,r.NA)(t,e)}}))}return null};x.propTypes={},x.filterProps=["gap"];var w=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,(function(e){return{columnGap:(0,r.NA)(t,e)}}))}return null};w.propTypes={},w.filterProps=["columnGap"];var S=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,(function(e){return{rowGap:(0,r.NA)(t,e)}}))}return null};S.propTypes={},S.filterProps=["rowGap"];a(x,w,S,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));function k(e,t){return"grey"===t?t:e}a((0,o.ZP)({prop:"color",themeKey:"palette",transform:k}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:k}));function j(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var E=(0,o.ZP)({prop:"width",transform:j}),O=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return(0,l.k9)(e,e.maxWidth,(function(t){var n;return{maxWidth:(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.VO[t]||j(t)}}))}return null};O.filterProps=["maxWidth"];var C=(0,o.ZP)({prop:"minWidth",transform:j}),P=(0,o.ZP)({prop:"height",transform:j}),Z=(0,o.ZP)({prop:"maxHeight",transform:j}),_=(0,o.ZP)({prop:"minHeight",transform:j}),T=((0,o.ZP)({prop:"size",cssProperty:"width",transform:j}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:j}),a(E,O,C,P,Z,_,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:S},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:O},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},104:function(e,t,n){"use strict";var r=n(4942),o=n(1122),i=n(8247),a=n(8529),l=n(1184),s=n(7416);var c=function(){function e(e,t,n,i){var s,c=(s={},(0,r.Z)(s,e,t),(0,r.Z)(s,"theme",n),s),u=i[e];if(!u)return(0,r.Z)({},e,t);var d=u.cssProperty,f=void 0===d?e:d,p=u.themeKey,h=u.transform,m=u.style;if(null==t)return null;if("typography"===p&&"inherit"===t)return(0,r.Z)({},e,t);var v=(0,a.DW)(n,p)||{};if(m)return m(c);return(0,l.k9)(c,t,(function(t){var n=(0,a.Jq)(v,h,t);return t===n&&"string"===typeof t&&(n=(0,a.Jq)(v,h,"".concat(e).concat("default"===t?"":(0,o.Z)(t)),t)),!1===f?n:(0,r.Z)({},f,n)}))}return function t(n){var o,a=n||{},c=a.sx,u=a.theme,d=void 0===u?{}:u;if(!c)return null;var f=null!=(o=d.unstable_sxConfig)?o:s.Z;function p(n){var o=n;if("function"===typeof n)o=n(d);else if("object"!==typeof n)return n;if(!o)return null;var a=(0,l.W8)(d.breakpoints),s=Object.keys(a),c=a;return Object.keys(o).forEach((function(n){var a,s,u=(a=o[n],s=d,"function"===typeof a?a(s):a);if(null!==u&&void 0!==u)if("object"===typeof u)if(f[n])c=(0,i.Z)(c,e(n,u,d,f));else{var p=(0,l.k9)({theme:d},u,(function(e){return(0,r.Z)({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),o=new Set(r);return t.every((function(e){return o.size===Object.keys(e).length}))}(p,u)?c=(0,i.Z)(c,p):c[n]=t({sx:u,theme:d})}else c=(0,i.Z)(c,e(n,u,d,f))})),(0,l.L7)(s,c)}return Array.isArray(c)?c.map(p):p(c)}}();c.filterProps=["sx"],t.Z=c},418:function(e,t,n){"use strict";var r=n(5080),o=n(9120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},7078:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5735);var o=n(418);function i(e){var t=e.props,n=e.name,i=e.defaultTheme,a=e.themeId,l=(0,o.Z)(i);a&&(l=l[a]||l);var s=function(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}({theme:l,name:n,props:t});return s}},9120:function(e,t,n){"use strict";var r=n(2791),o=n(2564);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=r.useContext(o.T);return n&&(e=n,0!==Object.keys(e).length)?n:t}},5902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},1122:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6189);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4419:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},2254:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){e.apply(r,i)}),n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},2466:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return a}});var r=n(7462);function o(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=i(e[n])})),t}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},1217:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5902),o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.Z.generate(e),"-").concat(t)}},5878:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1217);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,r.Z)(e,t,n)})),o}},78:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2791);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},4913:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},5202:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4913);function o(e){return(0,r.Z)(e).defaultView||window}},5735:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},l),Object.keys(a).forEach((function(e){n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},2971:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},2876:function(e,t,n){"use strict";var r=n(2791),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},7054:function(e,t,n){"use strict";var r=n(2791),o=n(2876);t.Z=function(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},6117:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(2971);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){(0,o.Z)(t,e)}))}}),t)}},8252:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return s}});var o=n(9439),i=n(2791),a=0;var l=(r||(r=n.t(i,2)))["useId".toString()];function s(e){if(void 0!==l){var t=l();return null!=e?e:t}return function(e){var t=i.useState(e),n=(0,o.Z)(t,2),r=n[0],l=n[1],s=e||r;return i.useEffect((function(){null==r&&l("mui-".concat(a+=1))}),[r]),s}(e)}},4234:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,l={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=7,g=9007199254740991,y=f(g/v),b={};function x(e,t){var n,r,o,i,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?_(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,l=u.length):(r=u,o=a,l=c.length),i>(l=(a=Math.ceil(f/v))>l?a+1:l+1)&&(i=l,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((l=c.length)-(i=u.length)<0&&(i=l,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/m|0,c[i]%=m;for(n&&(c.unshift(n),++o),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=o,s?_(t,f):t}function w(e,t,n){if(e!==~~e||e<t||e>n)throw Error(u+e)}function S(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)r=e[t]+"",(n=v-r.length)&&(i+=C(n)),i+=r;a=e[t],(n=v-(r=a+"").length)&&(i+=C(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}b.absoluteValue=b.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},b.comparedTo=b.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*v;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return k(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return _(k(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return E(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0},b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=k(P(n,a),P(e,a),a),s=!0,_(t,o))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):x(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(s=!1,t=k(n,e,0,1).times(e),s=!0,n.minus(t)):_(new r(n),o)},b.naturalExponential=b.exp=function(){return j(this)},b.naturalLogarithm=b.ln=function(){return P(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?x(t,e):T(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=E(o)+1,n=(r=o.d.length-1)*v+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,o,i,a,l=this,u=l.constructor;if(l.s<1){if(!l.s)return new u(0);throw Error(c+"NaN")}for(e=E(l),s=!1,0==(o=Math.sqrt(+l))||o==1/0?(((t=S(l.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(k(l,i,a+2)).times(.5),S(i.d).slice(0,a)===(t=S(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(_(i,n+1,0),i.times(i).eq(l)){r=i;break}}else if("9999"!=t)break;a+=4}return s=!0,_(r,n)},b.times=b.mul=function(e){var t,n,r,o,i,a,l,c,u,d=this,f=d.constructor,p=d.d,h=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(c=p.length)<(u=h.length)&&(i=p,p=h,h=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=c+r;o>r;)l=i[o]+h[r]*p[o-r-1]+t,i[o--]=l%m|0,t=l/m|0;i[o]=(i[o]+t)%m|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,s?_(e,f.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(w(e,0,a),void 0===t?t=r.rounding:w(t,0,8),_(n,e+E(n)+1,t))},b.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=M(r,!0):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),n=M(r=_(new o(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?M(o):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),n=M((r=_(new i(o),e+E(o)+1,t)).abs(),!1,e+E(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return _(new t(e),E(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,o,a,l,u=this,d=u.constructor,p=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return _(u,r);if(l=(t=e.e)>=(n=e.d.length-1),a=u.s,l){if((n=p<0?-p:p)<=g){for(o=new d(i),t=Math.ceil(r/v+4),s=!1;n%2&&A((o=o.times(u)).d,t),0!==(n=f(n/2));)A((u=u.times(u)).d,t);return s=!0,e.s<0?new d(i).div(o):_(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,s=!1,o=e.times(P(u,r+12)),s=!0,(o=j(o)).s=a,o},b.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=M(o,(n=E(o))<=i.toExpNeg||n>=i.toExpPos):(w(e,1,a),void 0===t?t=i.rounding:w(t,0,8),r=M(o=_(new i(o),e,t),e<=(n=E(o))||n<=i.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(w(e,1,a),void 0===t?t=n.rounding:w(t,0,8)),_(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=E(e),n=e.constructor;return M(e,t<=n.toExpNeg||t>=n.toExpPos)};var k=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%m|0,r=n/m|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*m+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a){var l,s,u,d,f,p,h,g,y,b,x,w,S,k,j,O,C,P,Z=r.constructor,T=r.s==o.s?1:-1,M=r.d,A=o.d;if(!r.s)return new Z(r);if(!o.s)throw Error(c+"Division by zero");for(s=r.e-o.e,C=A.length,j=M.length,g=(h=new Z(T)).d=[],u=0;A[u]==(M[u]||0);)++u;if(A[u]>(M[u]||0)&&--s,(w=null==i?i=Z.precision:a?i+(E(r)-E(o))+1:i)<0)return new Z(0);if(w=w/v+2|0,u=0,1==C)for(d=0,A=A[0],w++;(u<j||d)&&w--;u++)S=d*m+(M[u]||0),g[u]=S/A|0,d=S%A|0;else{for((d=m/(A[0]+1)|0)>1&&(A=e(A,d),M=e(M,d),C=A.length,j=M.length),k=C,b=(y=M.slice(0,C)).length;b<C;)y[b++]=0;(P=A.slice()).unshift(0),O=A[0],A[1]>=m/2&&++O;do{d=0,(l=t(A,y,C,b))<0?(x=y[0],C!=b&&(x=x*m+(y[1]||0)),(d=x/O|0)>1?(d>=m&&(d=m-1),1==(l=t(f=e(A,d),y,p=f.length,b=y.length))&&(d--,n(f,C<p?P:A,p))):(0==d&&(l=d=1),f=A.slice()),(p=f.length)<b&&f.unshift(0),n(y,f,b),-1==l&&(l=t(A,y,C,b=y.length))<1&&(d++,n(y,C<b?P:A,b)),b=y.length):0===l&&(d++,y=[0]),g[u++]=d,l&&y[0]?y[b++]=M[k]||0:(y=[M[k]],b=1)}while((k++<j||void 0!==y[0])&&w--)}return g[0]||g.shift(),h.e=s,_(h,a?i+E(h)+1:i)}}();function j(e,t){var n,r,o,a,l,c=0,u=0,f=e.constructor,h=f.precision;if(E(e)>16)throw Error(d+E(e));if(!e.s)return new f(i);for(null==t?(s=!1,l=h):l=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(l+=Math.log(p(2,u))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=l;;){if(r=_(r.times(e),l),n=n.times(++c),S((a=o.plus(k(r,n,l))).d).slice(0,l)===S(o.d).slice(0,l)){for(;u--;)o=_(o.times(o),l);return f.precision=h,null==t?(s=!0,_(o,h)):o}o=a}}function E(e){for(var t=e.e*v,n=e.d[0];n>=10;n/=10)t++;return t}function O(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function C(e){for(var t="";e--;)t+="0";return t}function P(e,t){var n,r,o,a,l,u,d,f,p,h=1,m=e,v=m.d,g=m.constructor,y=g.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(i))return new g(0);if(null==t?(s=!1,f=y):f=t,m.eq(10))return null==t&&(s=!0),O(g,f);if(f+=10,g.precision=f,r=(n=S(v)).charAt(0),a=E(m),!(Math.abs(a)<15e14))return d=O(g,f+2,y).times(a+""),m=P(new g(r+"."+n.slice(1)),f-10).plus(d),g.precision=y,null==t?(s=!0,_(m,y)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=S((m=m.times(e)).d)).charAt(0),h++;for(a=E(m),r>1?(m=new g("0."+n),a++):m=new g(r+"."+n.slice(1)),u=l=m=k(m.minus(i),m.plus(i),f),p=_(m.times(m),f),o=3;;){if(l=_(l.times(p),f),S((d=u.plus(k(l,new g(o),f))).d).slice(0,f)===S(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(O(g,f+2,y).times(a+""))),u=k(u,new g(h),f),g.precision=y,null==t?(s=!0,_(u,y)):u;u=d,o+=2}}function Z(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/v),e.d=[],r=(n+1)%v,n<0&&(r+=v),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=v;r<o;)e.d.push(+t.slice(r,r+=v));t=t.slice(r),r=v-t.length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),s&&(e.e>y||e.e<-y))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,n){var r,o,i,a,l,c,u,h,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=v,o=t,u=g[h=0];else{if((h=Math.ceil((r+1)/v))>=(i=g.length))return e;for(u=i=g[h],a=1;i>=10;i/=10)a++;o=(r%=v)-v+a}if(void 0!==n&&(l=u/(i=p(10,a-o-1))%10|0,c=t<0||void 0!==g[h+1]||u%i,c=n<4?(l||c)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||c||6==n&&(r>0?o>0?u/p(10,a-o):0:g[h-1])%10&1||n==(e.s<0?8:7))),t<1||!g[0])return c?(i=E(e),g.length=1,t=t-i-1,g[0]=p(10,(v-t%v)%v),e.e=f(-t/v)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==r?(g.length=h,i=1,h--):(g.length=h+1,i=p(10,v-r),g[h]=o>0?(u/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(g[0]+=i)==m&&(g[0]=1,++e.e);break}if(g[h]+=i,g[h]!=m)break;g[h--]=0,i=1}for(r=g.length;0===g[--r];)g.pop();if(s&&(e.e>y||e.e<-y))throw Error(d+E(e));return e}function T(e,t){var n,r,o,i,a,l,c,u,d,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?_(t,h):t;if(c=e.d,f=t.d,r=t.e,u=e.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,l=f.length):(n=f,r=u,l=c.length),a>(o=Math.max(Math.ceil(h/v),l)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(l=f.length))&&(l=o),o=0;o<l;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(n=c,c=f,f=n,t.s=-t.s),l=c.length,o=f.length-l;o>0;--o)c[l++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=m-1;--c[i],c[o]+=m}c[o]-=f[o]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=r,s?_(t,h):t):new p(0)}function M(e,t,n){var r,o=E(e),i=S(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+C(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+C(-o-1)+i,n&&(r=n-a)>0&&(i+=C(r))):o>=a?(i+=C(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+C(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=C(r))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function R(e){if(!e||"object"!==typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(f(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}l=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):Z(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(u+e);Z(t,e)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=R,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}(l),l.default=l.Decimal=l,i=new l(1),void 0===(r=function(){return l}.call(t,n,t,e))||(e.exports=r)}()},7143:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var s,c,u=this._events[l],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(c=1,s=new Array(d-1);c<d;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,o);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];u[c].fn.apply(u[c].context,s)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var s=0,c=[],u=l.length;s<u;s++)(l[s].fn!==t||o&&!l[s].once||r&&l[s].context!==r)&&c.push(l[s]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},2110:function(e,t,n){"use strict";var r=n(8309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!i[g]&&(!r||!r[g])&&(!m||!m[g])&&(!l||!l[g])){var y=f(n,g);try{c(t,g,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},8309:function(e,t,n){"use strict";e.exports=n(746)},908:function(e,t,n){var r=n(8136)(n(7009),"DataView");e.exports=r},9676:function(e,t,n){var r=n(7458),o=n(2747),i=n(6037),a=n(4154),l=n(7728);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},8384:function(e,t,n){var r=n(3894),o=n(8699),i=n(4957),a=n(7184),l=n(7109);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},5797:function(e,t,n){var r=n(8136)(n(7009),"Map");e.exports=r},8059:function(e,t,n){var r=n(4086),o=n(9255),i=n(9186),a=n(3423),l=n(3739);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},8319:function(e,t,n){var r=n(8136)(n(7009),"Promise");e.exports=r},3924:function(e,t,n){var r=n(8136)(n(7009),"Set");e.exports=r},692:function(e,t,n){var r=n(8059),o=n(5774),i=n(1596);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},9424:function(e,t,n){var r=n(8384),o=n(511),i=n(835),a=n(707),l=n(8832),s=n(5077);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=l,c.prototype.set=s,e.exports=c},7197:function(e,t,n){var r=n(7009).Symbol;e.exports=r},6219:function(e,t,n){var r=n(7009).Uint8Array;e.exports=r},7091:function(e,t,n){var r=n(8136)(n(7009),"WeakMap");e.exports=r},3665:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},4277:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},4903:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},9055:function(e,t,n){var r=n(4842);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},2683:function(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},7538:function(e,t,n){var r=n(6478),o=n(4963),i=n(3629),a=n(5174),l=n(6800),s=n(9102),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&s(e),p=n||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},8950:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},1705:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},7897:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},4622:function(e){e.exports=function(e){return e.split("")}},7112:function(e,t,n){var r=n(9231);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2526:function(e,t,n){var r=n(8528);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},7927:function(e,t,n){var r=n(5358),o=n(7056)(r);e.exports=o},9863:function(e,t,n){var r=n(7927);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},3079:function(e,t,n){var r=n(152);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(void 0===s?l===l&&!r(l):n(l,s)))var s=l,c=a}return c}},2045:function(e){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},5182:function(e,t,n){var r=n(1705),o=n(3529);e.exports=function e(t,n,i,a,l){var s=-1,c=t.length;for(i||(i=o),l||(l=[]);++s<c;){var u=t[s];n>0&&i(u)?n>1?e(u,n-1,i,a,l):r(l,u):a||(l[l.length]=u)}return l}},5099:function(e,t,n){var r=n(372)();e.exports=r},5358:function(e,t,n){var r=n(5099),o=n(2742);e.exports=function(e,t){return e&&r(e,t,o)}},8667:function(e,t,n){var r=n(3082),o=n(9793);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},1986:function(e,t,n){var r=n(1705),o=n(3629);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},9066:function(e,t,n){var r=n(7197),o=n(1587),i=n(3581),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},1954:function(e){e.exports=function(e,t){return e>t}},529:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},4842:function(e,t,n){var r=n(2045),o=n(505),i=n(7167);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},4906:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},1848:function(e,t,n){var r=n(3355),o=n(3141);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,l))}},3355:function(e,t,n){var r=n(9424),o=n(5305),i=n(2206),a=n(8078),l=n(8383),s=n(3629),c=n(5174),u=n(9102),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=s(e),b=s(t),x=y?f:l(e),w=b?f:l(t),S=(x=x==d?p:x)==p,k=(w=w==d?p:w)==p,j=x==w;if(j&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(j&&!S)return g||(g=new r),y||u(e)?o(e,t,n,m,v,g):i(e,t,x,n,m,v,g);if(!(1&n)){var E=S&&h.call(e,"__wrapped__"),O=k&&h.call(t,"__wrapped__");if(E||O){var C=E?e.value():e,P=O?t.value():t;return g||(g=new r),v(C,P,n,m,g)}}return!!j&&(g||(g=new r),a(e,t,n,m,v,g))}},8856:function(e,t,n){var r=n(9424),o=n(1848);e.exports=function(e,t,n,i){var a=n.length,l=a,s=!i;if(null==e)return!l;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<l;){var u=(c=n[a])[0],d=e[u],f=c[1];if(s&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(i)var h=i(d,f,u,e,t,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},505:function(e){e.exports=function(e){return e!==e}},6703:function(e,t,n){var r=n(4786),o=n(257),i=n(8092),a=n(7907),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:l).test(a(e))}},8150:function(e,t,n){var r=n(9066),o=n(4635),i=n(3141),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},6025:function(e,t,n){var r=n(7080),o=n(4322),i=n(2100),a=n(3629),l=n(38);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):l(e)}},3654:function(e,t,n){var r=n(2936),o=n(8836),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2580:function(e){e.exports=function(e,t){return e<t}},3849:function(e,t,n){var r=n(7927),o=n(1473);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},7080:function(e,t,n){var r=n(8856),o=n(9091),i=n(284);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4322:function(e,t,n){var r=n(1848),o=n(6181),i=n(5658),a=n(5823),l=n(5072),s=n(284),c=n(9793);e.exports=function(e,t){return a(e)&&l(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},3226:function(e,t,n){var r=n(8950),o=n(8667),i=n(6025),a=n(3849),l=n(9179),s=n(6194),c=n(4480),u=n(2100),d=n(3629);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=r(t,s(i));var p=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return l(p,(function(e,t){return c(e,t,n)}))}},9586:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4084:function(e,t,n){var r=n(8667);e.exports=function(e){return function(t){return r(t,e)}}},7255:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,l=n(t((r-e)/(o||1)),0),s=Array(l);l--;)s[i?l:++a]=e,e+=o;return s}},8794:function(e,t,n){var r=n(2100),o=n(4262),i=n(9156);e.exports=function(e,t){return i(o(e,t,r),e+"")}},7532:function(e,t,n){var r=n(1547),o=n(8528),i=n(2100),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2646:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},9204:function(e,t,n){var r=n(7927);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},9179:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},6478:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},2446:function(e,t,n){var r=n(7197),o=n(8950),i=n(3629),a=n(152),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},821:function(e,t,n){var r=n(6050),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},6194:function(e){e.exports=function(e){return function(t){return e(t)}}},9602:function(e,t,n){var r=n(692),o=n(9055),i=n(2683),a=n(75),l=n(7730),s=n(2230);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var m=t?null:l(e);if(m)return s(m);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var v=e[c],g=t?t(v):v;if(v=n||0!==v?v:0,f&&g===g){for(var y=h.length;y--;)if(h[y]===g)continue e;t&&h.push(g),p.push(v)}else u(h,g,n)||(h!==p&&h.push(g),p.push(v))}return p}},75:function(e){e.exports=function(e,t){return e.has(t)}},3082:function(e,t,n){var r=n(3629),o=n(5823),i=n(170),a=n(3518);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},9813:function(e,t,n){var r=n(2646);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},8558:function(e,t,n){var r=n(152);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),l=void 0!==t,s=null===t,c=t===t,u=r(t);if(!s&&!u&&!a&&e>t||a&&l&&c&&!s&&!u||o&&l&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!c)return-1}return 0}},4480:function(e,t,n){var r=n(8558);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,l=i.length,s=n.length;++o<l;){var c=r(i[o],a[o]);if(c)return o>=s?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},5525:function(e,t,n){var r=n(7009)["__core-js_shared__"];e.exports=r},7056:function(e,t,n){var r=n(1473);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&!1!==o(l[a],a,l););return n}}},372:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}},322:function(e,t,n){var r=n(9813),o=n(7302),i=n(7580),a=n(3518);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,l=n?n[0]:t.charAt(0),s=n?r(n,1).join(""):t.slice(1);return l[e]()+s}}},5481:function(e,t,n){var r=n(6025),o=n(1473),i=n(2742);e.exports=function(e){return function(t,n,a){var l=Object(t);if(!o(t)){var s=r(n,3);t=i(t),n=function(e){return s(l[e],e,l)}}var c=e(t,n,a);return c>-1?l[s?t[c]:c]:void 0}}},6381:function(e,t,n){var r=n(7255),o=n(3195),i=n(1495);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},7730:function(e,t,n){var r=n(3924),o=n(9694),i=n(2230),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},8528:function(e,t,n){var r=n(8136),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},5305:function(e,t,n){var r=n(692),o=n(7897),i=n(75);e.exports=function(e,t,n,a,l,s){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h<u;){var g=e[h],y=t[h];if(a)var b=c?a(y,g,h,t,e,s):a(g,y,h,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(g===e||l(g,e,n,a,s)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!l(g,y,n,a,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},2206:function(e,t,n){var r=n(7197),o=n(6219),i=n(9231),a=n(5305),l=n(234),s=n(2230),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=l;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var v=a(p(e),p(t),r,c,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8078:function(e,t,n){var r=n(8248),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var d=u;d--;){var f=c[d];if(!(s?f in t:o.call(t,f)))return!1}var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var m=!0;l.set(e,t),l.set(t,e);for(var v=s;++d<u;){var g=e[f=c[d]],y=t[f];if(i)var b=s?i(y,g,f,t,e,l):i(g,y,f,e,t,l);if(!(void 0===b?g===y||a(g,y,n,i,l):b)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},1032:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8248:function(e,t,n){var r=n(1986),o=n(5918),i=n(2742);e.exports=function(e){return r(e,i,o)}},2799:function(e,t,n){var r=n(5964);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},9091:function(e,t,n){var r=n(5072),o=n(2742);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},8136:function(e,t,n){var r=n(6703),o=n(40);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},1137:function(e,t,n){var r=n(2709)(Object.getPrototypeOf,Object);e.exports=r},1587:function(e,t,n){var r=n(7197),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(s){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},5918:function(e,t,n){var r=n(4903),o=n(8174),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=l},8383:function(e,t,n){var r=n(908),o=n(5797),i=n(8319),a=n(3924),l=n(7091),s=n(9066),c=n(7907),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),v=c(o),g=c(i),y=c(a),b=c(l),x=s;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=f||l&&x(new l)!=p)&&(x=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case v:return u;case g:return d;case y:return f;case b:return p}return t}),e.exports=x},40:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},6417:function(e,t,n){var r=n(3082),o=n(4963),i=n(3629),a=n(6800),l=n(4635),s=n(9793);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var f=s(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&l(u)&&a(f,u)&&(i(e)||o(e))}},7302:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},7458:function(e,t,n){var r=n(9620);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},2747:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6037:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4154:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7728:function(e,t,n){var r=n(9620);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3529:function(e,t,n){var r=n(7197),o=n(4963),i=n(3629),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},6800:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3195:function(e,t,n){var r=n(9231),o=n(1473),i=n(6800),a=n(8092);e.exports=function(e,t,n){if(!a(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&i(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},5823:function(e,t,n){var r=n(3629),o=n(152),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},5964:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},257:function(e,t,n){var r=n(5525),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},2936:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},5072:function(e,t,n){var r=n(8092);e.exports=function(e){return e===e&&!r(e)}},3894:function(e){e.exports=function(){this.__data__=[],this.size=0}},8699:function(e,t,n){var r=n(7112),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},4957:function(e,t,n){var r=n(7112);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7184:function(e,t,n){var r=n(7112);e.exports=function(e){return r(this.__data__,e)>-1}},7109:function(e,t,n){var r=n(7112);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4086:function(e,t,n){var r=n(9676),o=n(8384),i=n(5797);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},9255:function(e,t,n){var r=n(2799);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},9186:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).get(e)}},3423:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).has(e)}},3739:function(e,t,n){var r=n(2799);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},234:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},284:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},4634:function(e,t,n){var r=n(9151);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},9620:function(e,t,n){var r=n(8136)(Object,"create");e.exports=r},8836:function(e,t,n){var r=n(2709)(Object.keys,Object);e.exports=r},9494:function(e,t,n){e=n.nmd(e);var r=n(1032),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l},3581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},4262:function(e,t,n){var r=n(3665),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),s=Array(l);++a<l;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},7009:function(e,t,n){var r=n(1032),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},5774:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1596:function(e){e.exports=function(e){return this.__data__.has(e)}},2230:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},9156:function(e,t,n){var r=n(7532),o=n(3197)(r);e.exports=o},3197:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),i=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},7167:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},7580:function(e,t,n){var r=n(4622),o=n(7302),i=n(2129);e.exports=function(e){return o(e)?i(e):r(e)}},170:function(e,t,n){var r=n(4634),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},9793:function(e,t,n){var r=n(152);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},7907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},6050:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},2129:function(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+s+("(?:\\u200d(?:"+[i,a,l].join("|")+")"+c+s+")*"),d="(?:"+[i+r+"?",r,a,l,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},1547:function(e){e.exports=function(e){return function(){return e}}},8573:function(e,t,n){var r=n(8092),o=n(72),i=n(2582),a=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,d,f,p,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-h>=u}function x(){var e=o();if(b(e))return w(e);f=setTimeout(x,function(e){var n=t-(e-p);return v?l(n,u-(e-h)):n}(e))}function w(e){return f=void 0,g&&s?y(e):(s=c=void 0,d)}function S(){var e=o(),n=b(e);if(s=arguments,c=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(x,t),m?y(e):d}(p);if(v)return clearTimeout(f),f=setTimeout(x,t),y(p)}return void 0===f&&(f=setTimeout(x,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(v="maxWait"in n)?a(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=c=f=void 0},S.flush=function(){return void 0===f?d:w(o())},S}},9231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},2730:function(e,t,n){var r=n(4277),o=n(9863),i=n(6025),a=n(3629),l=n(3195);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&l(e,t,n)&&(t=void 0),s(e,i(t,3))}},1211:function(e,t,n){var r=n(5481)(n(1475));e.exports=r},1475:function(e,t,n){var r=n(2045),o=n(6025),i=n(9753),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:i(n);return s<0&&(s=a(l+s,0)),r(e,o(t,3),s)}},5008:function(e,t,n){var r=n(5182),o=n(2034);e.exports=function(e,t){return r(o(e,t),1)}},6181:function(e,t,n){var r=n(8667);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},5658:function(e,t,n){var r=n(529),o=n(6417);e.exports=function(e,t){return null!=e&&o(e,t,r)}},2100:function(e){e.exports=function(e){return e}},4963:function(e,t,n){var r=n(4906),o=n(3141),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},3629:function(e){var t=Array.isArray;e.exports=t},1473:function(e,t,n){var r=n(4786),o=n(4635);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},5127:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},5174:function(e,t,n){e=n.nmd(e);var r=n(7009),o=n(9488),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s},8111:function(e,t,n){var r=n(1848);e.exports=function(e,t){return r(e,t)}},4786:function(e,t,n){var r=n(9066),o=n(8092);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},2066:function(e,t,n){var r=n(298);e.exports=function(e){return r(e)&&e!=+e}},2854:function(e){e.exports=function(e){return null==e}},298:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},3977:function(e,t,n){var r=n(9066),o=n(1137),i=n(3141),a=Function.prototype,l=Object.prototype,s=a.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},6769:function(e,t,n){var r=n(9066),o=n(3629),i=n(3141);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},152:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},9102:function(e,t,n){var r=n(8150),o=n(6194),i=n(9494),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},2742:function(e,t,n){var r=n(7538),o=n(3654),i=n(1473);e.exports=function(e){return i(e)?r(e):o(e)}},5727:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},2034:function(e,t,n){var r=n(8950),o=n(6025),i=n(3849),a=n(3629);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},7702:function(e,t,n){var r=n(2526),o=n(5358),i=n(6025);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},9627:function(e,t,n){var r=n(3079),o=n(1954),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},8559:function(e,t,n){var r=n(3079),o=n(1954),i=n(6025);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},9151:function(e,t,n){var r=n(8059);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},6452:function(e,t,n){var r=n(3079),o=n(2580),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},3638:function(e,t,n){var r=n(3079),o=n(6025),i=n(2580);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},9694:function(e){e.exports=function(){}},72:function(e,t,n){var r=n(7009);e.exports=function(){return r.Date.now()}},38:function(e,t,n){var r=n(9586),o=n(4084),i=n(5823),a=n(9793);e.exports=function(e){return i(e)?r(a(e)):o(e)}},6222:function(e,t,n){var r=n(6381)();e.exports=r},4064:function(e,t,n){var r=n(7897),o=n(6025),i=n(9204),a=n(3629),l=n(3195);e.exports=function(e,t,n){var s=a(e)?r:i;return n&&l(e,t,n)&&(t=void 0),s(e,o(t,3))}},4286:function(e,t,n){var r=n(5182),o=n(3226),i=n(8794),a=n(3195),l=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=l},8174:function(e){e.exports=function(){return[]}},9488:function(e){e.exports=function(){return!1}},3038:function(e,t,n){var r=n(8573),o=n(8092);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},1495:function(e,t,n){var r=n(2582),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},9753:function(e,t,n){var r=n(1495);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},2582:function(e,t,n){var r=n(821),o=n(8092),i=n(152),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},3518:function(e,t,n){var r=n(2446);e.exports=function(e){return null==e?"":r(e)}},6339:function(e,t,n){var r=n(6025),o=n(9602);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},2085:function(e,t,n){var r=n(322)("toUpperCase");e.exports=r},2426:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=m()),e._pf}function g(e){var t=null,r=!1,o=e._d&&!isNaN(e._d.getTime());return o&&(t=v(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?o:(e._isValid=o,e._isValid)}function y(e){var t=h(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],x=!1;function w(e,t){var n,r,o,i=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=v(t)),c(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)c(o=t[r=b[n]])||(e[r]=o);return e}function S(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,r.updateOffset(this),x=!1)}function k(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function j(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,a,s=[],c=arguments.length;for(i=0;i<c;i++){if(o="","object"===typeof arguments[i]){for(a in o+="\n["+i+"] ",arguments[0])l(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];s.push(o)}j(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var O,C={};function P(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(j(t),C[e]=!0)}function Z(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)l(e,n)&&(Z(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=p({},e);for(n in t)l(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Z(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},L={};function B(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(L[e]=o),t&&(L[t[0]]=function(){return N(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)L[r[t]]?r[t]=L[r[t]]:r[t]=F(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=Z(r[o])?r[o].call(t,e):r[o];return i}}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),z[t]=z[t]||W(t),z[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;n>=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Y="Invalid date";function G(){return this._invalidDate}var $="%d",K=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var o=this._relativeTime[n];return Z(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return Z(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)l(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var ae,le=/\d/,se=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,de=/[+-]?\d{6}/,fe=/\d\d?/,pe=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ve=/\d{1,4}/,ge=/[+-]?\d{1,6}/,ye=/\d+/,be=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,ke=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,je=/^[1-9]\d?/,Ee=/^([1-9]\d|\d)/;function Oe(e,t,n){ae[e]=Z(t)?t:function(e,r){return e&&n?n:t}}function Ce(e,t){return l(ae,e)?ae[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Ze(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Ze(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Te(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_e(t)),n}ae={};var Me={};function Ae(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),u(t)&&(o=function(e,n){n[t]=Te(e)}),r=e.length,n=0;n<r;n++)Me[e[n]]=o}function Re(e,t){Ae(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ne(e,t,n){null!=t&&l(Me,e)&&Me[e](t,n._a,n,e)}function Ie(e){return e%4===0&&e%100!==0||e%400===0}var De=0,ze=1,Le=2,Be=3,Fe=4,We=5,Ue=6,qe=7,He=8;function Ve(e){return Ie(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),Oe("Y",be),Oe("YY",fe,se),Oe("YYYY",ve,ue),Oe("YYYYY",ge,de),Oe("YYYYYY",ge,de),Ae(["YYYYY","YYYYYY"],De),Ae("YYYY",(function(e,t){t[De]=2===e.length?r.parseTwoDigitYear(e):Te(e)})),Ae("YY",(function(e,t){t[De]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,t){t[De]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Te(e)+(Te(e)>68?1900:2e3)};var Ye,Ge=Ke("FullYear",!0);function $e(){return Ie(this.year())}function Ke(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Qe(e,t,n){var r,o,i,a,l;if(e.isValid()&&!isNaN(n)){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=e.month(),l=29!==(l=e.date())||1!==a||Ie(i)?l:28,o?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function Je(e){return Z(this[e=ne(e)])?this[e]():this}function et(e,t){if("object"===typeof e){var n,r=ie(e=re(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(Z(this[e=ne(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=tt(t,12);return e+=(t-n)/12,1===n?Ie(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Oe("M",fe,je),Oe("MM",fe,se),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Ae(["M","MM"],(function(e,t){t[ze]=Te(e)-1})),Ae(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[ze]=o:v(n).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),it=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=ke,lt=ke;function st(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||it).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function ct(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[it.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Ye.call(this._shortMonthsParse,a))?o:null:-1!==(o=Ye.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Ye.call(this._shortMonthsParse,a))||-1!==(o=Ye.call(this._longMonthsParse,a))?o:null:-1!==(o=Ye.call(this._longMonthsParse,a))||-1!==(o=Ye.call(this._shortMonthsParse,a))?o:null}function dt(e,t,n){var r,o,i;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Te(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,nt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function pt(e){return null!=e?(ft(this,e),r.updateOffset(this,!0),this):Xe(this,"Month")}function ht(){return nt(this.year(),this.month())}function mt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||gt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function vt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||gt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gt(){function e(e,t){return t.length-e.length}var t,n,r,o,i=[],a=[],l=[];for(t=0;t<12;t++)n=h([2e3,t]),r=Ze(this.monthsShort(n,"")),o=Ze(this.months(n,"")),i.push(r),a.push(o),l.push(o),l.push(r);i.sort(e),a.sort(e),l.sort(e),this._monthsRegex=new RegExp("^("+l.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function yt(e,t,n,r,o,i,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,o,i,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,o,i,a),l}function bt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}function wt(e,t,n,r,o){var i,a,l=1+7*(t-1)+(7+n-r)%7+xt(e,r,o);return l<=0?a=Ve(i=e-1)+l:l>Ve(e)?(i=e+1,a=l-Ve(e)):(i=e,a=l),{year:i,dayOfYear:a}}function St(e,t,n){var r,o,i=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+kt(o=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function kt(e,t,n){var r=xt(e,t,n),o=xt(e+1,t,n);return(Ve(e)-r+o)/7}function jt(e){return St(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),Oe("w",fe,je),Oe("ww",fe,se),Oe("W",fe,je),Oe("WW",fe,se),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Te(e)}));var Et={dow:0,doy:6};function Ot(){return this._week.dow}function Ct(){return this._week.doy}function Pt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Zt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function _t(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Tt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),Oe("d",fe),Oe("e",fe),Oe("E",fe),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:v(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=Te(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=ke,Dt=ke,zt=ke;function Lt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ft(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ye.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ye.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._shortWeekdaysParse,a))||-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ye.call(this._shortWeekdaysParse,a))||-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Ye.call(this._minWeekdaysParse,a))||-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._shortWeekdaysParse,a))?o:null}function Ut(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=Xe(this,"Day");return null!=e?(e=_t(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Tt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Yt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $t(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],l=[],s=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ze(this.weekdaysMin(n,"")),o=Ze(this.weekdaysShort(n,"")),i=Ze(this.weekdays(n,"")),a.push(r),l.push(o),s.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),l.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function Jt(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Xt),B("k",["kk",2],0,Qt),B("hmm",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),Oe("a",en),Oe("A",en),Oe("H",fe,Ee),Oe("h",fe,je),Oe("k",fe,je),Oe("HH",fe,se),Oe("hh",fe,se),Oe("kk",fe,se),Oe("hmm",pe),Oe("hmmss",he),Oe("Hmm",pe),Oe("Hmmss",he),Ae(["H","HH"],Be),Ae(["k","kk"],(function(e,t,n){var r=Te(e);t[Be]=24===r?0:r})),Ae(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ae(["h","hh"],(function(e,t,n){t[Be]=Te(e),v(n).bigHour=!0})),Ae("hmm",(function(e,t,n){var r=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r)),v(n).bigHour=!0})),Ae("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r,2)),t[We]=Te(e.substr(o)),v(n).bigHour=!0})),Ae("Hmm",(function(e,t,n){var r=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r))})),Ae("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r,2)),t[We]=Te(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=Ke("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:A,longDateFormat:H,invalidDate:Y,ordinal:$,dayOfMonthOrdinalParse:K,relativeTime:Q,months:rt,monthsShort:ot,week:Et,weekdays:At,weekdaysMin:Nt,weekdaysShort:Rt,meridiemParse:nn},sn={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dn(e[i]).split("-")).length,n=(n=dn(e[i+1]))?n.split("-"):null;t>0;){if(r=hn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function pn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hn(t){var n=null;if(void 0===sn[t]&&e&&e.exports&&pn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){sn[t]=null}return sn[t]}function mn(e,t){var n;return e&&((n=c(t)?yn(e):vn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=sn[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=sn[e]._config;else if(null!=t.parentLocale)if(null!=sn[t.parentLocale])r=sn[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return sn[e]=new M(T(r,t)),cn[e]&&cn[e].forEach((function(e){vn(e.name,e.config)})),mn(e),sn[e]}return delete sn[e],null}function gn(e,t){if(null!=t){var n,r,o=ln;null!=sn[e]&&null!=sn[e].parentLocale?sn[e].set(T(sn[e]._config,t)):(null!=(r=hn(e))&&(o=r._config),t=T(o,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=sn[e],sn[e]=n),mn(e)}else null!=sn[e]&&(null!=sn[e].parentLocale?(sn[e]=sn[e].parentLocale,e===mn()&&mn(e)):null!=sn[e]&&delete sn[e]);return sn[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=hn(e))return t;e=[e]}return fn(e)}function bn(){return O(sn)}function xn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[ze]<0||n[ze]>11?ze:n[Le]<1||n[Le]>nt(n[De],n[ze])?Le:n[Be]<0||n[Be]>24||24===n[Be]&&(0!==n[Fe]||0!==n[We]||0!==n[Ue])?Be:n[Fe]<0||n[Fe]>59?Fe:n[We]<0||n[We]>59?We:n[Ue]<0||n[Ue]>999?Ue:-1,v(e)._overflowDayOfYear&&(t<De||t>Le)&&(t=Le),v(e)._overflowWeeks&&-1===t&&(t=qe),v(e)._overflowWeekday&&-1===t&&(t=He),v(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],En=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,Cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Pn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(e){var t,n,r,o,i,a,l=e._i,s=wn.exec(l)||Sn.exec(l),c=jn.length,u=En.length;if(s){for(v(e).iso=!0,t=0,n=c;t<n;t++)if(jn[t][1].exec(s[1])){o=jn[t][0],r=!1!==jn[t][2];break}if(null==o)return void(e._isValid=!1);if(s[3]){for(t=0,n=u;t<n;t++)if(En[t][1].exec(s[3])){i=(s[2]||" ")+En[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(s[4]){if(!kn.exec(s[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Fn(e)}else e._isValid=!1}function _n(e,t,n,r,o,i){var a=[Tn(e),ot.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return Pn[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Nn(e){var t,n=Cn.exec(Mn(e._i));if(n){if(t=_n(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function In(e){var t=On.exec(e._i);null===t?(Zn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Dn(e,t,n){return null!=e?e:null!=t?t:n}function zn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ln(e){var t,n,r,o,i,a=[];if(!e._d){for(r=zn(e),e._w&&null==e._a[Le]&&null==e._a[ze]&&Bn(e),null!=e._dayOfYear&&(i=Dn(e._a[De],r[De]),(e._dayOfYear>Ve(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=bt(i,0,e._dayOfYear),e._a[ze]=n.getUTCMonth(),e._a[Le]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Be]&&0===e._a[Fe]&&0===e._a[We]&&0===e._a[Ue]&&(e._nextDay=!0,e._a[Be]=0),e._d=(e._useUTC?bt:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Be]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,o,i,a,l,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Dn(t.GG,e._a[De],St($n(),1,4).year),r=Dn(t.W,1),((o=Dn(t.E,1))<1||o>7)&&(s=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=St($n(),i,a),n=Dn(t.gg,e._a[De],c.year),r=Dn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(s=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(s=!0)):o=i),r<1||r>kt(n,i,a)?v(e)._overflowWeeks=!0:null!=s?v(e)._overflowWeekday=!0:(l=wt(n,r,o,i,a),e._a[De]=l.year,e._dayOfYear=l.dayOfYear)}function Fn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],v(e).empty=!0;var t,n,o,i,a,l,s,c=""+e._i,u=c.length,d=0;for(s=(o=q(e._f,e._locale).match(I)||[]).length,t=0;t<s;t++)i=o[t],(n=(c.match(Ce(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&v(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),L[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),Ne(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=u-d,c.length>0&&v(e).unusedInput.push(c),e._a[Be]<=12&&!0===v(e).bigHour&&e._a[Be]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Be]=Wn(e._locale,e._a[Be],e._meridiem),null!==(l=v(e).era)&&(e._a[De]=e._locale.erasConvertYear(l,e._a[De])),Ln(e),xn(e)}else Nn(e);else Zn(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Un(e){var t,n,r,o,i,a,l=!1,s=e._f.length;if(0===s)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<s;o++)i=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Fn(t),g(t)&&(a=!0),i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,l?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(l=!0));p(e,n||t)}function qn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ln(e)}}function Hn(e){var t=new S(xn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new S(xn(t)):(d(t)?e._d=t:i(n)?Un(e):n?Fn(e):Yn(e),g(e)||(e._d=null),e))}function Yn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?In(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Ln(e)):a(t)?qn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Gn(e,t,n,r,o){var l={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&s(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=n,l._i=e,l._f=t,l._strict=r,Hn(l)}function $n(e,t,n,r){return Gn(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Kn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Xn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Qn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Qn("isBefore",[].slice.call(arguments,0))}function er(){return Qn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,o=nr.length;for(t in e)if(l(e,t)&&(-1===Ye.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==Te(e[nr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return Pr(NaN)}function ar(e){var t=re(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,s=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*s+1e3*l*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function lr(e){return e instanceof ar}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&Te(e[r])!==Te(t[r]))&&a++;return a+i}function ur(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Oe("Z",we),Oe("ZZ",we),Ae(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(we,e)}));var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(dr)||["-",0,0])[1]+Te(n[2]))?0:"+"===n[0]?r:-r}function pr(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||d(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):$n(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(we,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=hr(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Ar(this,Pr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function vr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Vn(t))._a?(e=t._isUTC?h(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function jr(){return!!this.isValid()&&this._isUTC}function Er(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Or=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pr(e,t){var n,r,o,i=e,a=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Or.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:Te(a[Le])*n,h:Te(a[Be])*n,m:Te(a[Fe])*n,s:Te(a[We])*n,ms:Te(sr(1e3*a[Ue]))*n}):(a=Cr.exec(e))?(n="-"===a[1]?-1:1,i={y:Zr(a[2],n),M:Zr(a[3],n),w:Zr(a[4],n),d:Zr(a[5],n),h:Zr(a[6],n),m:Zr(a[7],n),s:Zr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Tr($n(i.from),$n(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Zr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function _r(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Tr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=_r(e,t):((n=_r(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Mr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Ar(this,Pr(n,r),e),this}}function Ar(e,t,n,o){var i=t._milliseconds,a=sr(t._days),l=sr(t._months);e.isValid()&&(o=null==o||o,l&&ft(e,Xe(e,"Month")+l*n),a&&Qe(e,"Date",Xe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||l))}Pr.fn=ar.prototype,Pr.invalid=ir;var Rr=Mr(1,"add"),Nr=Mr(-1,"subtract");function Ir(e){return"string"===typeof e||e instanceof String}function Dr(e){return k(e)||d(e)||Ir(e)||u(e)||Lr(e)||zr(e)||null===e||void 0===e}function zr(e){var t,n,r=a(e)&&!s(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;t<c;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Lr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Ir(e)})).length),t&&n}function Br(e){var t,n,r=a(e)&&!s(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Fr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Wr(e,t){1===arguments.length&&(arguments[0]?Dr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$n(),o=pr(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(Z(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,$n(n)))}function Ur(){return new S(this)}function qr(e,t){var n=k(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Hr(e,t){var n=k(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Vr(e,t,n,r){var o=k(e)?e:$n(e),i=k(t)?t:$n(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Yr(e,t){var n,r=k(e)?e:$n(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Gr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $r(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=ne(t)){case"year":i=Xr(this,r)/12;break;case"month":i=Xr(this,r);break;case"quarter":i=Xr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_e(i)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Z(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())?Pr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from($n(),e)}function oo(e,t){return this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())?Pr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to($n(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lo=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function so(){return this._locale}var co=1e3,uo=60*co,fo=60*uo,po=3506328*fo;function ho(e,t){return(e%t+t)%t}function mo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-po:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-po:Date.UTC(e,t,n)}function go(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:mo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*uo),fo);break;case"minute":t=this._d.valueOf(),t-=ho(t,uo);break;case"second":t=this._d.valueOf(),t-=ho(t,co)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:mo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fo-ho(t+(this._isUTC?0:this.utcOffset()*uo),fo)-1;break;case"minute":t=this._d.valueOf(),t+=uo-ho(t,uo)-1;break;case"second":t=this._d.valueOf(),t+=co-ho(t,co)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bo(){return this._d.valueOf()-6e4*(this._offset||0)}function xo(){return Math.floor(this.valueOf()/1e3)}function wo(){return new Date(this.valueOf())}function So(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ko(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jo(){return this.isValid()?this.toISOString():null}function Eo(){return g(this)}function Oo(){return p({},v(this))}function Co(){return v(this).overflow}function Po(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Zo(e,t){var n,o,i,a=this._eras||yn("en")._eras;for(n=0,o=a.length;n<o;++n)switch("string"===typeof a[n].since&&(i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function _o(e,t,n){var r,o,i,a,l,s=this.eras();for(e=e.toUpperCase(),r=0,o=s.length;r<o;++r)if(i=s[r].name.toUpperCase(),a=s[r].abbr.toUpperCase(),l=s[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return s[r];break;case"NNNN":if(i===e)return s[r];break;case"NNNNN":if(l===e)return s[r]}else if([i,a,l].indexOf(e)>=0)return s[r]}function To(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Mo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ao(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ro(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function No(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Io(e){return l(this,"_erasNameRegex")||Uo.call(this),e?this._erasNameRegex:this._erasRegex}function Do(e){return l(this,"_erasAbbrRegex")||Uo.call(this),e?this._erasAbbrRegex:this._erasRegex}function zo(e){return l(this,"_erasNarrowRegex")||Uo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Lo(e,t){return t.erasAbbrRegex(e)}function Bo(e,t){return t.erasNameRegex(e)}function Fo(e,t){return t.erasNarrowRegex(e)}function Wo(e,t){return t._eraYearOrdinalRegex||ye}function Uo(){var e,t,n,r,o,i=[],a=[],l=[],s=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ze(c[e].name),r=Ze(c[e].abbr),o=Ze(c[e].narrow),a.push(n),i.push(r),l.push(o),s.push(n),s.push(r),s.push(o);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+l.join("|")+")","i")}function qo(e,t){B(0,[e,e.length],0,t)}function Ho(e){return Xo.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vo(e){return Xo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yo(){return kt(this.year(),1,4)}function Go(){return kt(this.isoWeekYear(),1,4)}function $o(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function Ko(){var e=this.localeData()._week;return kt(this.weekYear(),e.dow,e.doy)}function Xo(e,t,n,r,o){var i;return null==e?St(this,r,o).year:(t>(i=kt(e,r,o))&&(t=i),Qo.call(this,e,t,n,r,o))}function Qo(e,t,n,r,o){var i=wt(e,t,n,r,o),a=bt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Oe("N",Lo),Oe("NN",Lo),Oe("NNN",Lo),Oe("NNNN",Bo),Oe("NNNNN",Fo),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?v(n).era=o:v(n).invalidEra=e})),Oe("y",ye),Oe("yy",ye),Oe("yyy",ye),Oe("yyyy",ye),Oe("yo",Wo),Ae(["y","yy","yyy","yyyy"],De),Ae(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[De]=n._locale.eraYearOrdinalParse(e,o):t[De]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),qo("gggg","weekYear"),qo("ggggg","weekYear"),qo("GGGG","isoWeekYear"),qo("GGGGG","isoWeekYear"),Oe("G",be),Oe("g",be),Oe("GG",fe,se),Oe("gg",fe,se),Oe("GGGG",ve,ue),Oe("gggg",ve,ue),Oe("GGGGG",ge,de),Oe("ggggg",ge,de),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Te(e)})),Re(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),Oe("Q",le),Ae("Q",(function(e,t){t[ze]=3*(Te(e)-1)})),B("D",["DD",2],"Do","date"),Oe("D",fe,je),Oe("DD",fe,se),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],Le),Ae("Do",(function(e,t){t[Le]=Te(e.match(fe)[0])}));var ei=Ke("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),Oe("DDD",me),Oe("DDDD",ce),Ae(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Te(e)})),B("m",["mm",2],0,"minute"),Oe("m",fe,Ee),Oe("mm",fe,se),Ae(["m","mm"],Fe);var ni=Ke("Minutes",!1);B("s",["ss",2],0,"second"),Oe("s",fe,Ee),Oe("ss",fe,se),Ae(["s","ss"],We);var ri,oi,ii=Ke("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Oe("S",me,le),Oe("SS",me,se),Oe("SSS",me,ce),ri="SSSS";ri.length<=9;ri+="S")Oe(ri,ye);function ai(e,t){t[Ue]=Te(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Ae(ri,ai);function li(){return this._isUTC?"UTC":""}function si(){return this._isUTC?"Coordinated Universal Time":""}oi=Ke("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ci=S.prototype;function ui(e){return $n(1e3*e)}function di(){return $n.apply(null,arguments).parseZone()}function fi(e){return e}ci.add=Rr,ci.calendar=Wr,ci.clone=Ur,ci.diff=Kr,ci.endOf=yo,ci.format=to,ci.from=no,ci.fromNow=ro,ci.to=oo,ci.toNow=io,ci.get=Je,ci.invalidAt=Co,ci.isAfter=qr,ci.isBefore=Hr,ci.isBetween=Vr,ci.isSame=Yr,ci.isSameOrAfter=Gr,ci.isSameOrBefore=$r,ci.isValid=Eo,ci.lang=lo,ci.locale=ao,ci.localeData=so,ci.max=Xn,ci.min=Kn,ci.parsingFlags=Oo,ci.set=et,ci.startOf=go,ci.subtract=Nr,ci.toArray=So,ci.toObject=ko,ci.toDate=wo,ci.toISOString=Jr,ci.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=jo,ci.toString=Qr,ci.unix=xo,ci.valueOf=bo,ci.creationData=Po,ci.eraName=Mo,ci.eraNarrow=Ao,ci.eraAbbr=Ro,ci.eraYear=No,ci.year=Ge,ci.isLeapYear=$e,ci.weekYear=Ho,ci.isoWeekYear=Vo,ci.quarter=ci.quarters=Jo,ci.month=pt,ci.daysInMonth=ht,ci.week=ci.weeks=Pt,ci.isoWeek=ci.isoWeeks=Zt,ci.weeksInYear=$o,ci.weeksInWeekYear=Ko,ci.isoWeeksInYear=Yo,ci.isoWeeksInISOWeekYear=Go,ci.date=ei,ci.day=ci.days=qt,ci.weekday=Ht,ci.isoWeekday=Vt,ci.dayOfYear=ti,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=oi,ci.utcOffset=mr,ci.utc=gr,ci.local=yr,ci.parseZone=br,ci.hasAlignedHourOffset=xr,ci.isDST=wr,ci.isLocal=kr,ci.isUtcOffset=jr,ci.isUtc=Er,ci.isUTC=Er,ci.zoneAbbr=li,ci.zoneName=si,ci.dates=E("dates accessor is deprecated. Use date instead.",ei),ci.months=E("months accessor is deprecated. Use month instead",pt),ci.years=E("years accessor is deprecated. Use year instead",Ge),ci.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ci.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var pi=M.prototype;function hi(e,t,n,r){var o=yn(),i=h().set(r,t);return o[n](i,e)}function mi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function vi(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,l=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)l[o]=hi(t,(o+a)%7,r,"day");return l}function gi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function bi(e,t,n){return vi(e,t,n,"weekdays")}function xi(e,t,n){return vi(e,t,n,"weekdaysShort")}function wi(e,t,n){return vi(e,t,n,"weekdaysMin")}pi.calendar=R,pi.longDateFormat=V,pi.invalidDate=G,pi.ordinal=X,pi.preparse=fi,pi.postformat=fi,pi.relativeTime=J,pi.pastFuture=ee,pi.set=_,pi.eras=Zo,pi.erasParse=_o,pi.erasConvertYear=To,pi.erasAbbrRegex=Do,pi.erasNameRegex=Io,pi.erasNarrowRegex=zo,pi.months=st,pi.monthsShort=ct,pi.monthsParse=dt,pi.monthsRegex=vt,pi.monthsShortRegex=mt,pi.week=jt,pi.firstDayOfYear=Ct,pi.firstDayOfWeek=Ot,pi.weekdays=Lt,pi.weekdaysMin=Ft,pi.weekdaysShort=Bt,pi.weekdaysParse=Ut,pi.weekdaysRegex=Yt,pi.weekdaysShortRegex=Gt,pi.weekdaysMinRegex=$t,pi.isPM=tn,pi.meridiem=on,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Te(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",yn);var Si=Math.abs;function ki(){var e=this._data;return this._milliseconds=Si(this._milliseconds),this._days=Si(this._days),this._months=Si(this._months),e.milliseconds=Si(e.milliseconds),e.seconds=Si(e.seconds),e.minutes=Si(e.minutes),e.hours=Si(e.hours),e.months=Si(e.months),e.years=Si(e.years),this}function ji(e,t,n,r){var o=Pr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Ei(e,t){return ji(this,e,t,1)}function Oi(e,t){return ji(this,e,t,-1)}function Ci(e){return e<0?Math.floor(e):Math.ceil(e)}function Pi(){var e,t,n,r,o,i=this._milliseconds,a=this._days,l=this._months,s=this._data;return i>=0&&a>=0&&l>=0||i<=0&&a<=0&&l<=0||(i+=864e5*Ci(_i(l)+a),a=0,l=0),s.milliseconds=i%1e3,e=_e(i/1e3),s.seconds=e%60,t=_e(e/60),s.minutes=t%60,n=_e(t/60),s.hours=n%24,a+=_e(n/24),l+=o=_e(Zi(a)),a-=Ci(_i(o)),r=_e(l/12),l%=12,s.days=a,s.months=l,s.years=r,this}function Zi(e){return 4800*e/146097}function _i(e){return 146097*e/4800}function Ti(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Zi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_i(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Mi(e){return function(){return this.as(e)}}var Ai=Mi("ms"),Ri=Mi("s"),Ni=Mi("m"),Ii=Mi("h"),Di=Mi("d"),zi=Mi("w"),Li=Mi("M"),Bi=Mi("Q"),Fi=Mi("y"),Wi=Ai;function Ui(){return Pr(this)}function qi(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Hi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vi=Hi("milliseconds"),Yi=Hi("seconds"),Gi=Hi("minutes"),$i=Hi("hours"),Ki=Hi("days"),Xi=Hi("months"),Qi=Hi("years");function Ji(){return _e(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=Pr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),l=ea(o.as("h")),s=ea(o.as("d")),c=ea(o.as("M")),u=ea(o.as("w")),d=ea(o.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,na.apply(null,f)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function sa(e){return(e>0)-(e<0)||+e}function ca(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,l,s=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(e=_e(s/60),t=_e(e/60),s%=60,e%=60,n=_e(u/12),u%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=sa(this._months)!==sa(d)?"-":"",a=sa(this._days)!==sa(d)?"-":"",l=sa(this._milliseconds)!==sa(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=or,ua.abs=ki,ua.add=Ei,ua.subtract=Oi,ua.as=Ti,ua.asMilliseconds=Ai,ua.asSeconds=Ri,ua.asMinutes=Ni,ua.asHours=Ii,ua.asDays=Di,ua.asWeeks=zi,ua.asMonths=Li,ua.asQuarters=Bi,ua.asYears=Fi,ua.valueOf=Wi,ua._bubble=Pi,ua.clone=Ui,ua.get=qi,ua.milliseconds=Vi,ua.seconds=Yi,ua.minutes=Gi,ua.hours=$i,ua.days=Ki,ua.weeks=Ji,ua.months=Xi,ua.years=Qi,ua.humanize=aa,ua.toISOString=ca,ua.toString=ca,ua.toJSON=ca,ua.locale=ao,ua.localeData=so,ua.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),ua.lang=lo,B("X",0,0,"unix"),B("x",0,0,"valueOf"),Oe("x",be),Oe("X",Se),Ae("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ae("x",(function(e,t,n){n._d=new Date(Te(e))})),r.version="2.30.1",o($n),r.fn=ci,r.min=Jn,r.max=er,r.now=tr,r.utc=h,r.unix=ui,r.months=gi,r.isDate=d,r.locale=mn,r.invalid=y,r.duration=Pr,r.isMoment=k,r.weekdays=bi,r.parseZone=di,r.localeData=yn,r.isDuration=lr,r.monthsShort=yi,r.weekdaysMin=wi,r.defineLocale=vn,r.updateLocale=gn,r.locales=bn,r.weekdaysShort=xi,r.normalizeUnits=ne,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=Fr,r.prototype=ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},1025:function(e,t){var n,r,o;r=[],n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,o={},i=0,a={parse:function(n,r){var l=(r=r||{}).dynamicTyping||!1;if(w(l)&&(r.dynamicTypingFunction=l,l={}),r.dynamicTyping=l,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var s=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,l=(n=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),s=new t.Worker(l);return s.onmessage=v,s.id=i++,o[s.id]=s}();return s.userStep=r.step,s.userChunk=r.chunk,s.userComplete=r.complete,s.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void s.postMessage({input:n,config:r,workerId:s.id})}var p=null;return a.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),p=r.download?new c(r):new d(r)):!0===n.readable&&w(n.read)&&w(n.on)?p=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(p=new u(r)),p.stream(n)},unparse:function(e,t){var n=!1,r=!0,o=",",i="\r\n",l='"',s=l+l,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(l=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(s=t.escapeChar+l),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var f=new RegExp(h(l),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,c);if("object"==typeof e[0])return p(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),p(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function p(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var l=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(l&&r){for(var c=0;c<e.length;c++)0<c&&(a+=o),a+=m(e[c],c);0<t.length&&(a+=i)}for(var u=0;u<t.length;u++){var d=l?e.length:t[u].length,f=!1,p=l?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!l&&(f="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&l){for(var h=[],v=0;v<d;v++){var g=s?e[v]:v;h.push(t[u][g])}f=""===h.join("").trim()}if(!f){for(var y=0;y<d;y++){0<y&&!p&&(a+=o);var b=l&&s?e[y]:y;a+=m(t[u][b],y)}u<t.length-1&&(!n||0<d&&!p)&&(a+=i)}}return a}function m(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;d&&"string"==typeof e&&d.test(e)&&(e="'"+e,r=!0);var i=e.toString().replace(f,s);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(i,a.BAD_DELIMITERS)||-1<i.indexOf(o)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?l+i+l:i}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=p,a.NetworkStreamer=c,a.FileStreamer=u,a.StringStreamer=d,a.ReadableStreamStreamer=f,t.jQuery){var l=t.jQuery;l.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==l(this).prop("tagName").toUpperCase()||"file"!==l(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)r.push({file:this.files[o],inputElem:this,instanceConfig:l.extend({},n)})})),o(),this;function o(){if(0!==r.length){var t,n,o,s,c=r[0];if(w(e.before)){var u=e.before(c.file,c.inputElem);if("object"==typeof u){if("abort"===u.action)return t="AbortError",n=c.file,o=c.inputElem,s=u.reason,void(w(e.error)&&e.error({name:t},n,o,s));if("skip"===u.action)return void i();"object"==typeof u.config&&(c.instanceConfig=l.extend(c.instanceConfig,u.config))}else if("skip"===u)return void i()}var d=c.instanceConfig.complete;c.instanceConfig.complete=function(e){w(d)&&d(e,c.file,c.inputElem),i()},a.parse(c.file,c.instanceConfig)}else w(e.complete)&&e.complete()}function i(){r.splice(0,1),o()}}}function s(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var o=this._config.beforeFirstChunk(e);void 0!==o&&(e=o)}this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e;this._partialLine="";var l=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=l.meta.cursor;this._finished||(this._partialLine=i.substring(s-this._baseIndex),this._baseIndex=s),l&&l.data&&(this._rowCount+=l.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:l,workerId:a.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!n){if(this._config.chunk(l,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);l=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(l.data),this._completeResults.errors=this._completeResults.errors.concat(l.errors),this._completeResults.meta=l.meta),this._completed||!c||!w(this._config.complete)||l&&l.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||l&&l.meta.paused||this._nextChunk(),l}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),s.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),s.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var o=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,o)}var i=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;s.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function f(e){s.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){s.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){s.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function p(e){var t,n,r,o=Math.pow(2,53),i=-o,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,s=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,f=!1,p=!1,v=[],g={data:[],errors:[],meta:{}};if(w(e.step)){var y=e.step;e.step=function(t){if(g=t,k())S();else{if(S(),0===g.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(g.data=g.data[0],y(g,c))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function S(){return g&&r&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(g.data=g.data.filter((function(e){return!x(e)}))),k()&&function(){if(g)if(Array.isArray(g.data[0])){for(var t=0;k()&&t<g.data.length;t++)g.data[t].forEach(n);g.data.splice(0,1)}else g.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),v.push(t)}}(),function(){if(!g||!e.header&&!e.dynamicTyping&&!e.transform)return g;function t(t,n){var r,o=e.header?{}:[];for(r=0;r<t.length;r++){var i=r,a=t[r];e.header&&(i=r>=v.length?"__parsed_extra":v[r]),e.transform&&(a=e.transform(a,i)),a=j(i,a),"__parsed_extra"===i?(o[i]=o[i]||[],o[i].push(a)):o[i]=a}return e.header&&(r>v.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+r,d+n):r<v.length&&E("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+r,d+n)),o}var n=1;return!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(t),n=g.data.length):g.data=t(g.data,0),e.header&&g.meta&&(g.meta.fields=v),d+=n,g}()}function k(){return e.header&&0===v.length}function j(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(l.test(e)){var t=parseFloat(e);if(i<t&&t<o)return!0}return!1}(n)?parseFloat(n):s.test(n)?new Date(n):""===n?null:n):n;var r}function E(e,t,n,r){var o={type:e,code:t,message:n};void 0!==r&&(o.row=r),g.errors.push(o)}this.parse=function(o,i,l){var s=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(h(t)+"([^]*?)"+h(t),"gm"),r=(e=e.replace(n,"")).split("\r"),o=e.split("\n"),i=1<o.length&&o[0].length<r[0].length;if(1===r.length||i)return"\n";for(var a=0,l=0;l<r.length;l++)"\n"===r[l][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(o,s)),r=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(o),g.meta.delimiter=e.delimiter);else{var c=function(t,n,r,o,i){var l,s,c,u;i=i||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var d=0;d<i.length;d++){var f=i[d],p=0,h=0,v=0;c=void 0;for(var g=new m({comments:o,delimiter:f,newline:n,preview:10}).parse(t),y=0;y<g.data.length;y++)if(r&&x(g.data[y]))v++;else{var b=g.data[y].length;h+=b,void 0!==c?0<b&&(p+=Math.abs(b-c),c=b):c=b}0<g.data.length&&(h/=g.data.length-v),(void 0===s||p<=s)&&(void 0===u||u<h)&&1.99<h&&(s=p,l=f,u=h)}return{successful:!!(e.delimiter=l),bestDelimiter:l}}(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);c.successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter}var u=b(e);return e.preview&&e.header&&u.preview++,t=o,n=new m(u),g=n.parse(t,i,l),S(),f?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return f},this.pause=function(){f=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(f=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),g.meta.aborted=!0,w(e.complete)&&e.complete(g),t=""}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t,n=(e=e||{}).delimiter,r=e.newline,o=e.comments,i=e.step,l=e.preview,s=e.fastMode,c=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(c=e.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),o===n)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<a.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,d=!1;this.parse=function(a,f,p){if("string"!=typeof a)throw new Error("Input must be a string");var m=a.length,v=n.length,g=r.length,y=o.length,b=w(i),x=[],S=[],k=[],j=u=0;if(!a)return V();if(e.header&&!f){var E=a.split(r)[0].split(n),O=[],C={},P=!1;for(var Z in E){var _=E[Z];w(e.transformHeader)&&(_=e.transformHeader(_,Z));var T=_,M=C[_]||0;for(0<M&&(P=!0,T=_+"_"+M),C[_]=M+1;O.includes(T);)T=T+"_"+M;O.push(T)}if(P){var A=a.split(r);A[0]=O.join(n),a=A.join(r)}}if(s||!1!==s&&-1===a.indexOf(t)){for(var R=a.split(r),N=0;N<R.length;N++){if(k=R[N],u+=k.length,N!==R.length-1)u+=r.length;else if(p)return V();if(!o||k.substring(0,y)!==o){if(b){if(x=[],W(k.split(n)),Y(),d)return V()}else W(k.split(n));if(l&&l<=N)return x=x.slice(0,l),V(!0)}}return V()}for(var I=a.indexOf(n,u),D=a.indexOf(r,u),z=new RegExp(h(c)+h(t),"g"),L=a.indexOf(t,u);;)if(a[u]!==t)if(o&&0===k.length&&a.substring(u,u+y)===o){if(-1===D)return V();u=D+g,D=a.indexOf(r,u),I=a.indexOf(n,u)}else if(-1!==I&&(I<D||-1===D))k.push(a.substring(u,I)),u=I+v,I=a.indexOf(n,u);else{if(-1===D)break;if(k.push(a.substring(u,D)),H(D+g),b&&(Y(),d))return V();if(l&&x.length>=l)return V(!0)}else for(L=u,u++;;){if(-1===(L=a.indexOf(t,L+1)))return p||S.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:u}),q();if(L===m-1)return q(a.substring(u,L).replace(z,t));if(t!==c||a[L+1]!==c){if(t===c||0===L||a[L-1]!==c){-1!==I&&I<L+1&&(I=a.indexOf(n,L+1)),-1!==D&&D<L+1&&(D=a.indexOf(r,L+1));var B=U(-1===D?I:Math.min(I,D));if(a.substr(L+1+B,v)===n){k.push(a.substring(u,L).replace(z,t)),a[u=L+1+B+v]!==t&&(L=a.indexOf(t,u)),I=a.indexOf(n,u),D=a.indexOf(r,u);break}var F=U(D);if(a.substring(L+1+F,L+1+F+g)===r){if(k.push(a.substring(u,L).replace(z,t)),H(L+1+F+g),I=a.indexOf(n,u),L=a.indexOf(t,u),b&&(Y(),d))return V();if(l&&x.length>=l)return V(!0);break}S.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:u}),L++}}else L++}return q();function W(e){x.push(e),j=u}function U(e){var t=0;if(-1!==e){var n=a.substring(L+1,e);n&&""===n.trim()&&(t=n.length)}return t}function q(e){return p||(void 0===e&&(e=a.substring(u)),k.push(e),u=m,W(k),b&&Y()),V()}function H(e){u=e,W(k),k=[],D=a.indexOf(r,u)}function V(e){return{data:x,errors:S,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:j+(f||0)}}}function Y(){i(V()),x=[],S=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function v(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,g(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&g(t.workerId,t.results)}function g(e,t){var n=o[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function y(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=b(e[n]);return t}function x(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(c.prototype=Object.create(s.prototype)).constructor=c,(u.prototype=Object.create(s.prototype)).constructor=u,(d.prototype=Object.create(d.prototype)).constructor=d,(f.prototype=Object.create(s.prototype)).constructor=f,a},void 0===(o="function"===typeof n?n.apply(t,r):n)||(e.exports=o)},888:function(e,t,n){"use strict";var r=n(9047);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4463:function(e,t,n){"use strict";var r=n(2791),o=n(5296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function N(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=R&&e[R]||e["@@iterator"])?e:null}var I,D=Object.assign;function z(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var L=!1;function B(e,t){if(!e||L)return"";L=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function F(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case E:return"Profiler";case j:return"StrictMode";case Z:return"Suspense";case _:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===j?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,je=null;function Ee(e){if(e=xo(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Oe(e){ke?je?je.push(e):je=[e]:ke=e}function Ce(){if(ke){var e=ke,t=je;if(je=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Ze(){}var _e=!1;function Te(e,t,n){if(_e)return e(t,n);_e=!0;try{return Pe(e,t,n)}finally{_e=!1,(null!==ke||null!==je)&&(Ze(),Ce())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Ae=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Ae=!1}function Ne(e,t,n,r,o,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ie=!1,De=null,ze=!1,Le=null,Be={onError:function(e){Ie=!0,De=e}};function Fe(e,t,n,r,o,i,a,l,s){Ie=!1,De=null,Ne.apply(Be,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(We(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var Ye=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,$e=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Xe=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,St,kt,jt,Et,Ot=!1,Ct=[],Pt=null,Zt=null,_t=null,Tt=new Map,Mt=new Map,At=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Zt=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function It(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=bo(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=$t(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Lt(e,t,n){zt(e)&&n.delete(t)}function Bt(){Ot=!1,null!==Pt&&zt(Pt)&&(Pt=null),null!==Zt&&zt(Zt)&&(Zt=null),null!==_t&&zt(_t)&&(_t=null),Tt.forEach(Lt),Mt.forEach(Lt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Wt(e){function t(t){return Ft(t,e)}if(0<Ct.length){Ft(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Ft(Pt,e),null!==Zt&&Ft(Zt,e),null!==_t&&Ft(_t,e),Tt.forEach(t),Mt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Dt(n),null===n.blockedOn&&At.shift()}var Ut=x.ReactCurrentBatchConfig,qt=!0;function Ht(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=1,Yt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Vt(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=4,Yt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Yt(e,t,n,r){if(qt){var o=$t(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),Nt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pt=It(Pt,e,t,n,r,o),!0;case"dragenter":return Zt=It(Zt,e,t,n,r,o),!0;case"mouseover":return _t=It(_t,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Tt.set(i,It(Tt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,It(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=$t(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function $t(e,t,n,r){if(Gt=null,null!==(e=bo(e=we(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=D({},cn,{view:0,detail:0}),fn=on(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(D({},pn,{dataTransfer:0})),vn=on(D({},dn,{relatedTarget:0})),gn=on(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(D({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return jn}var On=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=on(On),Pn=on(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=on(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),_n=on(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Tn),An=[9,13,27,32],Rn=u&&"CompositionEvent"in window,Nn=null;u&&"documentMode"in document&&(Nn=document.documentMode);var In=u&&"TextEvent"in window&&!Nn,Dn=u&&(!Rn||Nn&&8<Nn&&11>=Nn),zn=String.fromCharCode(32),Ln=!1;function Bn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Oe(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Yn=null;function Gn(e){zr(e,0)}function $n(e){if(Y(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Xn=!1;if(u){var Qn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Yn=Vn=null)}function nr(e){if("value"===e.propertyName&&$n(Yn)){var t=[];Hn(t,Yn,e,we(e)),Te(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $n(Yn)}function ir(e,t){if("click"===e)return $n(t)}function ar(e,t){if("input"===e||"change"===e)return $n(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Vr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},kr={},jr={};function Er(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in jr)return kr[e]=n[t];return e}u&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Er("animationend"),Cr=Er("animationiteration"),Pr=Er("animationstart"),Zr=Er("transitionend"),_r=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){_r.set(e,t),s(t,[e])}for(var Ar=0;Ar<Tr.length;Ar++){var Rr=Tr[Ar];Mr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Mr(Or,"onAnimationEnd"),Mr(Cr,"onAnimationIteration"),Mr(Pr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Zr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,c){if(Fe.apply(this,arguments),Ie){if(!Ie)throw Error(i(198));var u=De;Ie=!1,De=null,ze||(ze=!0,Le=u)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Dr(o,l,c),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,c=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Dr(o,l,c),i=s}}}if(ze)throw e=Le,ze=!1,Le=null,e}function Lr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Fr]){e[Fr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Fr]||(t[Fr]=!0,Br("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Kt(t)){case 1:var o=Ht;break;case 4:o=Vt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Te((function(){var r=i,o=we(n),a=[];e:{var l=_r.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Cn;break;case"focusin":c="focus",s=vn;break;case"focusout":c="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Zn;break;case Or:case Cr:case Pr:s=gn;break;case Zr:s=_n;break;case"scroll":s=fn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pn}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==l?l+"Capture":null:l;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Me(h,f))&&u.push(Hr(h,m,p)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),a.push({event:l,listeners:u}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=We(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==c?l:wo(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,bo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(f=c,h=0,p=u=s;p;p=Yr(p))h++;for(p=0,m=f;m;m=Yr(m))p++;for(;0<h-p;)u=Yr(u),h--;for(;0<p-h;)f=Yr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Yr(u),f=Yr(f)}u=null}else u=null;null!==s&&Gr(a,l,s,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Kn;else if(qn(l))if(Xn)v=ar;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?Hn(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(qn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Dn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(y=en()):(Qt="value"in(Xt=o)?Xt.value:Xt.textContent,Wn=!0)),0<(g=Vr(r,b)).length&&(b=new xn(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Fn(n))&&(b.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return Fn(t);case"keypress":return 32!==t.which?null:(Ln=!0,zn);case"textInput":return(e=t.data)===zn&&Ln?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Qt=Xt=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}zr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Me(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Me(n,i))&&a.unshift(Hr(n,s,l)):o||null!=(s=Me(n,i))&&a.push(Hr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var $r=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace($r,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Wt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function So(e){return e[ho]||null}var ko=[],jo=-1;function Eo(e){return{current:e}}function Oo(e){0>jo||(e.current=ko[jo],ko[jo]=null,jo--)}function Co(e,t){jo++,ko[jo]=e.current,e.current=t}var Po={},Zo=Eo(Po),_o=Eo(!1),To=Po;function Mo(e,t){var n=e.type.contextTypes;if(!n)return Po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ro(){Oo(_o),Oo(Zo)}function No(e,t,n){if(Zo.current!==Po)throw Error(i(168));Co(Zo,t),Co(_o,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return D({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,To=Zo.current,Co(Zo,e),Co(_o,_o.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Io(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Oo(_o),Oo(Zo),Co(Zo,e)):Oo(_o),Co(_o,n)}var Lo=null,Bo=!1,Fo=!1;function Wo(e){null===Lo?Lo=[e]:Lo.push(e)}function Uo(){if(!Fo&&null!==Lo){Fo=!0;var e=0,t=bt;try{var n=Lo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Lo=null,Bo=!1}catch(o){throw null!==Lo&&(Lo=Lo.slice(e+1)),Ye(Je,Uo),o}finally{bt=t,Fo=!1}}return null}var qo=[],Ho=0,Vo=null,Yo=0,Go=[],$o=0,Ko=null,Xo=1,Qo="";function Jo(e,t){qo[Ho++]=Yo,qo[Ho++]=Vo,Vo=e,Yo=t}function ei(e,t,n){Go[$o++]=Xo,Go[$o++]=Qo,Go[$o++]=Ko,Ko=e;var r=Xo;e=Qo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Qo=i+e}else Xo=1<<i|n<<o|r,Qo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Vo;)Vo=qo[--Ho],qo[Ho]=null,Yo=qo[--Ho],qo[Ho]=null;for(;e===Ko;)Ko=Go[--$o],Go[$o]=null,Qo=Go[--$o],Go[$o]=null,Xo=Go[--$o],Go[$o]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Mc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Xo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Mc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=x.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Eo(null),bi=null,xi=null,wi=null;function Si(){wi=xi=bi=null}function ki(e){var t=yi.current;Oo(yi),e._currentValue=t}function ji(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){bi=e,wi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Oi(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===bi)throw Error(i(308));xi=e,bi.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Ci=null;function Pi(e){null===Ci?Ci=[e]:Ci.push(e)}function Zi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,_i(e,r)}function _i(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ti=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ri(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ni(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Zs)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,_i(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,_i(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=D({},d,f);break e;case 2:Ti=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ds|=a,e.lanes=a,e.memoizedState=d}}function Li(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Bi=(new r.Component).refs;function Fi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wi={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ri(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ni(e,i,o))&&(rc(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ri(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ni(e,i,o))&&(rc(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Ri(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ni(e,o,r))&&(rc(t,e,r,n),Ii(t,e,r))}};function Ui(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function qi(e,t,n){var r=!1,o=Po,i=t.contextType;return"object"===typeof i&&null!==i?i=Oi(i):(o=Ao(t)?To:Zo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Mo(e,o):Po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wi.enqueueReplaceState(t,t.state,null)}function Vi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Bi,Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Oi(i):(i=Ao(t)?To:Zo.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Fi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Wi.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Yi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Bi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $i(e){return(0,e._init)(e._payload)}function Ki(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=zc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===M&&$i(i)===t.type)?((r=o(t,n.props)).ref=Yi(e,t,n),r.return=e,r):((r=Nc(n.type,n.key,n.props,null,e.mode,r)).ref=Yi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Nc(t.type,t.key,t.props,null,e.mode,n)).ref=Yi(e,null,t),n.return=e,n;case S:return(t=Lc(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Ic(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case S:return n.key===o?u(e,t,n,r):null;case M:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||N(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function m(o,i,l,s){for(var c=null,u=null,d=i,m=i=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===l.length)return n(o,d),ii&&Jo(o,m),c;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,m),c}for(d=r(o,d);m<l.length;m++)null!==(v=h(d,o,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}function v(o,l,s,c){var u=N(s);if("function"!==typeof u)throw Error(i(150));if(null==(s=u.call(s)))throw Error(i(151));for(var d=u=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),ii&&Jo(o,v),u;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,c))&&(l=a(y,l,v),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,v),u}for(m=r(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=a(y,l,v),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),u}return function e(r,i,a,s){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===k){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===M&&$i(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Yi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===k?((i=Ic(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Nc(a.type,a.key,a.props,null,r.mode,s)).ref=Yi(r,i,a),s.return=r,r=s)}return l(r);case S:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Lc(a,r.mode,s)).return=r,r=i}return l(r);case M:return e(r,i,(u=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(N(a))return v(r,i,a,s);Gi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zc(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Xi=Ki(!0),Qi=Ki(!1),Ji={},ea=Eo(Ji),ta=Eo(Ji),na=Eo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Co(na,t),Co(ta,e),Co(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ea),Co(ea,t)}function ia(){Oo(ea),Oo(ta),Oo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Co(ta,e),Co(ea,n))}function la(e){ta.current===e&&(Oo(ea),Oo(ta))}var sa=Eo(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var fa=x.ReactCurrentDispatcher,pa=x.ReactCurrentBatchConfig,ha=0,ma=null,va=null,ga=null,ya=!1,ba=!1,xa=0,wa=0;function Sa(){throw Error(i(321))}function ka(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ja(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),ba){a=0;do{if(ba=!1,xa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,fa.current=cl,e=n(r,o)}while(ba)}if(fa.current=al,t=null!==va&&null!==va.next,ha=0,ga=va=ma=null,ya=!1,t)throw Error(i(300));return e}function Ea(){var e=0!==xa;return xa=0,e}function Oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=e:ga=ga.next=e,ga}function Ca(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ma.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=e:ga=ga.next=e}return ga}function Pa(e,t){return"function"===typeof t?t(e):t}function Za(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,c=null,u=a;do{var d=u.lane;if((ha&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=f,l=r):c=c.next=f,ma.lanes|=d,Ds|=d}u=u.next}while(null!==u&&u!==a);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Ds|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _a(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(xl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function Ma(e,t){var n=ma,r=Ca(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,xl=!0),r=r.queue,qa(Na.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,La(9,Ra.bind(null,n,r,o,t),void 0,null),null===_s)throw Error(i(349));0!==(30&ha)||Aa(n,t,o)}return o}function Aa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&Da(e)}function Na(e,t,n){return n((function(){Ia(t)&&Da(e)}))}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Da(e){var t=_i(e,1);null!==t&&rc(t,e,1,-1)}function za(e){var t=Oa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ma,e),[t.memoizedState,e]}function La(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ba(){return Ca().memoizedState}function Fa(e,t,n,r){var o=Oa();ma.flags|=e,o.memoizedState=La(1|t,n,void 0,void 0===r?null:r)}function Wa(e,t,n,r){var o=Ca();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&ka(r,a.deps))return void(o.memoizedState=La(t,n,i,r))}ma.flags|=e,o.memoizedState=La(1|t,n,i,r)}function Ua(e,t){return Fa(8390656,8,e,t)}function qa(e,t){return Wa(2048,8,e,t)}function Ha(e,t){return Wa(4,2,e,t)}function Va(e,t){return Wa(4,4,e,t)}function Ya(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ga(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Wa(4,4,Ya.bind(null,t,e),n)}function $a(){}function Ka(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),ma.lanes|=n,Ds|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function el(){return Ca().memoizedState}function tl(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Zi(e,t,n,r))){rc(n,e,r,tc()),il(n,t,r)}}function nl(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Pi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Zi(e,t,o,r))&&(rc(n,e,r,o=tc()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function ol(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Oi,useCallback:Sa,useContext:Sa,useEffect:Sa,useImperativeHandle:Sa,useInsertionEffect:Sa,useLayoutEffect:Sa,useMemo:Sa,useReducer:Sa,useRef:Sa,useState:Sa,useDebugValue:Sa,useDeferredValue:Sa,useTransition:Sa,useMutableSource:Sa,useSyncExternalStore:Sa,useId:Sa,unstable_isNewReconciler:!1},ll={readContext:Oi,useCallback:function(e,t){return Oa().memoizedState=[e,void 0===t?null:t],e},useContext:Oi,useEffect:Ua,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Fa(4194308,4,Ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=Oa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oa().memoizedState=e},useState:za,useDebugValue:$a,useDeferredValue:function(e){return Oa().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=Ja.bind(null,e[1]),Oa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=Oa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===_s)throw Error(i(349));0!==(30&ha)||Aa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ua(Na.bind(null,r,a,e),[e]),r.flags|=2048,La(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Oa(),t=_s.identifierPrefix;if(ii){var n=Qo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=xa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Oi,useCallback:Ka,useContext:Oi,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Va,useMemo:Xa,useReducer:Za,useRef:Ba,useState:function(){return Za(Pa)},useDebugValue:$a,useDeferredValue:function(e){return Qa(Ca(),va.memoizedState,e)},useTransition:function(){return[Za(Pa)[0],Ca().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1},cl={readContext:Oi,useCallback:Ka,useContext:Oi,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Va,useMemo:Xa,useReducer:_a,useRef:Ba,useState:function(){return _a(Pa)},useDebugValue:$a,useDeferredValue:function(e){var t=Ca();return null===va?t.memoizedState=e:Qa(t,va.memoizedState,e)},useTransition:function(){return[_a(Pa)[0],Ca().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Ri(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Vs=r),fl(0,t)},n}function ml(e,t,n){(n=Ri(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===Ys?Ys=new Set([this]):Ys.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Oc.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ri(-1,1)).tag=2,Ni(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=x.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Qi(t,null,n,r):Xi(t,e.child,n,r)}function Sl(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=ja(e,t,n,r,i,o),n=Ea(),null===e||xl?(ii&&n&&ti(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function kl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ac(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,jl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Rc(i,r)).ref=t.ref,e.return=t,t.child=e}function jl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!==(131072&e.flags)&&(xl=!0)}}return Cl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(Rs,As),As|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(Rs,As),As|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Co(Rs,As),As|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Co(Rs,As),As|=r;return wl(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cl(e,t,n,r,o){var i=Ao(n)?To:Zo.current;return i=Mo(t,i),Ei(t,o),n=ja(e,t,n,r,i,o),r=Ea(),null===e||xl?(ii&&r&&ti(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Pl(e,t,n,r,o){if(Ao(n)){var i=!0;Do(t)}else i=!1;if(Ei(t,o),null===t.stateNode)ql(e,t),qi(t,n,r),Vi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Oi(c):c=Mo(t,c=Ao(n)?To:Zo.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==c)&&Hi(t,a,r,c),Ti=!1;var f=t.memoizedState;a.state=f,zi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||_o.current||Ti?("function"===typeof u&&(Fi(t,n,u,r),s=t.memoizedState),(l=Ti||Ui(t,n,l,r,f,s,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ai(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:gi(t.type,l),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Oi(s):s=Mo(t,s=Ao(n)?To:Zo.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Hi(t,a,r,s),Ti=!1,f=t.memoizedState,a.state=f,zi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||_o.current||Ti?("function"===typeof p&&(Fi(t,n,p,r),h=t.memoizedState),(c=Ti||Ui(t,n,c,r,f,h,s)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=c):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zl(e,t,n,r,i,o)}function Zl(e,t,n,r,o,i){Ol(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Hl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function _l(e){var t=e.stateNode;t.pendingContext?No(0,t.pendingContext,t.pendingContext!==t.context):t.context&&No(0,t.context,!1),oa(e,t.containerInfo)}function Tl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,wl(e,t,n,r),t.child}var Ml,Al,Rl,Nl,Il={dehydrated:null,treeContext:null,retryLane:0};function Dl(e){return{baseLanes:e,cachePool:null,transitions:null}}function zl(e,t,n){var r,o=t.pendingProps,a=sa.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Co(sa,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Dc(s,o,0,null),e=Ic(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Dl(n),t.memoizedState=Il,e):Ll(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Dc({mode:"visible",children:r.children},o,0,null),(a=Ic(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Xi(t,e.child,null,l),t.child.memoizedState=Dl(l),t.memoizedState=Il,a);if(0===(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),xl||s){if(null!==(r=_s)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,_i(e,o),rc(r,e,o,-1))}return vc(),Bl(e,t,l,r=dl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Pc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[$o++]=Xo,Go[$o++]=Qo,Go[$o++]=Ko,Xo=e.id,Qo=e.overflow,Ko=t),t=Ll(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Rc(r,l):(l=Ic(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Dl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Rc(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ll(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&mi(r),Xi(t,e.child,null,n),(e=Ll(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ji(e.return,t,n)}function Wl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),0!==(2&(r=sa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fl(e,n,t);else if(19===e.tag)Fl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Co(sa,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wl(t,!0,n,null,i);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ql(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ds|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yl(t),null;case 1:case 17:return Ao(t.type)&&Ro(),Yl(t),null;case 3:return r=t.stateNode,ia(),Oo(_o),Oo(Zo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(lc(ai),ai=null))),Al(e,t),Yl(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Yl(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(o=0;o<Nr.length;o++)Lr(Nr[o],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":K(r,a),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Lr("invalid",r);break;case"textarea":oe(r,a),Lr("invalid",r)}for(var s in ye(n,a),o=null,a)if(a.hasOwnProperty(s)){var c=a[s];"children"===s?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&Lr("scroll",r)}switch(n){case"input":V(r),J(r,a,!0);break;case"textarea":V(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ml(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),o=r;break;case"iframe":case"object":case"embed":Lr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Nr.length;o++)Lr(Nr[o],e);o=r;break;case"source":Lr("error",e),o=r;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),o=r;break;case"details":Lr("toggle",e),o=r;break;case"input":K(e,r),o=$(e,r),Lr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),Lr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Lr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ve(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Lr("scroll",e):null!=u&&b(e,a,u,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Yl(t),null;case 6:if(e&&null!=t.stateNode)Nl(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Qr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Yl(t),null;case 13:if(Oo(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),a=!1}else null!==ai&&(lc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&sa.current)?0===Ns&&(Ns=3):vc())),null!==t.updateQueue&&(t.flags|=4),Yl(t),null);case 4:return ia(),Al(e,t),null===e&&Wr(t.stateNode.containerInfo),Yl(t),null;case 10:return ki(t.type._context),Yl(t),null;case 19:if(Oo(sa),null===(a=t.memoizedState))return Yl(t),null;if(r=0!==(128&t.flags),null===(s=a.rendering))if(r)Vl(a,!1);else{if(0!==Ns||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ca(e))){for(t.flags|=128,Vl(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Co(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Us&&(t.flags|=128,r=!0,Vl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Yl(t),null}else 2*Xe()-a.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Vl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=sa.current,Co(sa,r?1&n|2:1&n),t):(Yl(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&As)&&(Yl(t),6&t.subtreeFlags&&(t.flags|=8192)):Yl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function $l(e,t){switch(ni(t),t.tag){case 1:return Ao(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Oo(_o),Oo(Zo),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Oo(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(sa),null;case 4:return ia(),null;case 10:return ki(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Al=function(){},Rl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=$(e,o),r=$(e,r),a=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var s=o[u];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Lr("scroll",e),a||s===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Nl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Xl=!1,Ql="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ec(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Ec(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ts(t,n,i)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Wt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&ts(n,t,a),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ec(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,ps(e,t,n),Xl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ql),t.forEach((function(t){var r=Zc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(i(160));hs(a,l,o),ds=null,fs=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Ec(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(v){Ec(e,e.return,v)}try{rs(5,e,e.return)}catch(v){Ec(e,e.return,v)}}break;case 1:vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){Ec(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===a.type&&null!=a.name&&X(o,a),be(s,l);var u=be(s,a);for(l=0;l<c.length;l+=2){var d=c[l],f=c[l+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(s){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(v){Ec(e,e.return,v)}}break;case 6:if(vs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(v){Ec(e,e.return,v)}}break;case 3:if(vs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(v){Ec(e,e.return,v)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Ws=Xe())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(u=Xl)||d,vs(t,e),Xl=u):vs(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Ec(r,n,v)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){Ss(f);continue}}null!==h?(h.return=p,Jl=h):Ss(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,s.style.display=me("display",l))}catch(v){Ec(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Ec(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cs(e,ss(e),a);break;default:throw Error(i(161))}}catch(l){Ec(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,xs(e,t,n)}function xs(e,t,n){for(var r=0!==(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Kl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Kl;var c=Xl;if(Kl=a,(Xl=s)&&!c)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?ks(o):null!==s?(s.return=a,Jl=s):ks(o);for(;null!==i;)Jl=i,xs(i,t,n),i=i.sibling;Jl=o,Kl=l,Xl=c}ws(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Jl=i):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Li(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Li(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(i(163))}Xl||512&t.flags&&is(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Ec(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Ec(t,o,s)}}var i=t.return;try{is(t)}catch(s){Ec(t,i,s)}break;case 5:var a=t.return;try{is(t)}catch(s){Ec(t,a,s)}}}catch(s){Ec(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var js,Es=Math.ceil,Os=x.ReactCurrentDispatcher,Cs=x.ReactCurrentOwner,Ps=x.ReactCurrentBatchConfig,Zs=0,_s=null,Ts=null,Ms=0,As=0,Rs=Eo(0),Ns=0,Is=null,Ds=0,zs=0,Ls=0,Bs=null,Fs=null,Ws=0,Us=1/0,qs=null,Hs=!1,Vs=null,Ys=null,Gs=!1,$s=null,Ks=0,Xs=0,Qs=null,Js=-1,ec=0;function tc(){return 0!==(6&Zs)?Xe():-1!==Js?Js:Js=Xe()}function nc(e){return 0===(1&e.mode)?1:0!==(2&Zs)&&0!==Ms?Ms&-Ms:null!==vi.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function rc(e,t,n,r){if(50<Xs)throw Xs=0,Qs=null,Error(i(185));gt(e,n,r),0!==(2&Zs)&&e===_s||(e===_s&&(0===(2&Zs)&&(zs|=n),4===Ns&&sc(e,Ms)),oc(e,r),1===n&&0===Zs&&0===(1&t.mode)&&(Us=Xe()+500,Bo&&Uo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===_s?Ms:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Bo=!0,Wo(e)}(cc.bind(null,e)):Wo(cc.bind(null,e)),ao((function(){0===(6&Zs)&&Uo()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=_c(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Js=-1,ec=0,0!==(6&Zs))throw Error(i(327));var n=e.callbackNode;if(kc()&&e.callbackNode!==n)return null;var r=ft(e,e===_s?Ms:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Zs;Zs|=2;var a=mc();for(_s===e&&Ms===t||(qs=null,Us=Xe()+500,pc(e,t));;)try{bc();break}catch(s){hc(e,s)}Si(),Os.current=a,Zs=o,null!==Ts?t=0:(_s=null,Ms=0,t=Ns)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ac(e,o))),1===t)throw n=Is,pc(e,0),sc(e,r),oc(e,Xe()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ac(e,a))),1===t))throw n=Is,pc(e,0),sc(e,r),oc(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Sc(e,Fs,qs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Ws+500-Xe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Sc.bind(null,e,Fs,qs),t);break}Sc(e,Fs,qs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ro(Sc.bind(null,e,Fs,qs),r);break}Sc(e,Fs,qs);break;default:throw Error(i(329))}}}return oc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fs,Fs=n,null!==t&&lc(t)),e}function lc(e){null===Fs?Fs=e:Fs.push.apply(Fs,e)}function sc(e,t){for(t&=~Ls,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&Zs))throw Error(i(327));kc();var t=ft(e,0);if(0===(1&t))return oc(e,Xe()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Is,pc(e,0),sc(e,t),oc(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sc(e,Fs,qs),oc(e,Xe()),null}function uc(e,t){var n=Zs;Zs|=1;try{return e(t)}finally{0===(Zs=n)&&(Us=Xe()+500,Bo&&Uo())}}function dc(e){null!==$s&&0===$s.tag&&0===(6&Zs)&&kc();var t=Zs;Zs|=1;var n=Ps.transition,r=bt;try{if(Ps.transition=null,bt=1,e)return e()}finally{bt=r,Ps.transition=n,0===(6&(Zs=t))&&Uo()}}function fc(){As=Rs.current,Oo(Rs)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ts)for(n=Ts.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ro();break;case 3:ia(),Oo(_o),Oo(Zo),da();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:Oo(sa);break;case 10:ki(r.type._context);break;case 22:case 23:fc()}n=n.return}if(_s=e,Ts=e=Rc(e.current,null),Ms=As=t,Ns=0,Is=null,Ls=zs=Ds=0,Fs=Bs=null,null!==Ci){for(t=0;t<Ci.length;t++)if(null!==(r=(n=Ci[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ci=null}return e}function hc(e,t){for(;;){var n=Ts;try{if(Si(),fa.current=al,ya){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(ha=0,ga=va=ma=null,ba=!1,xa=0,Cs.current=null,null===n||null===n.return){Ns=1,Is=t,Ts=null;break}e:{var a=e,l=n.return,s=n,c=t;if(t=Ms,s.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(a,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(c),t.updateQueue=v}else m.add(c);break e}if(0===(1&t)){vl(a,u,t),vc();break e}c=Error(i(426))}else if(ii&&1&s.mode){var g=gl(l);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),mi(ul(c,s));break e}}a=c=ul(c,s),4!==Ns&&(Ns=2),null===Bs?Bs=[a]:Bs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Di(a,hl(0,c,t));break e;case 1:s=c;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ys||!Ys.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Di(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}wc(n)}catch(x){t=x,Ts===n&&null!==n&&(Ts=n=n.return);continue}break}}function mc(){var e=Os.current;return Os.current=al,null===e?al:e}function vc(){0!==Ns&&3!==Ns&&2!==Ns||(Ns=4),null===_s||0===(268435455&Ds)&&0===(268435455&zs)||sc(_s,Ms)}function gc(e,t){var n=Zs;Zs|=2;var r=mc();for(_s===e&&Ms===t||(qs=null,pc(e,t));;)try{yc();break}catch(o){hc(e,o)}if(Si(),Zs=n,Os.current=r,null!==Ts)throw Error(i(261));return _s=null,Ms=0,Ns}function yc(){for(;null!==Ts;)xc(Ts)}function bc(){for(;null!==Ts&&!$e();)xc(Ts)}function xc(e){var t=js(e.alternate,e,As);e.memoizedProps=e.pendingProps,null===t?wc(e):Ts=t,Cs.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Gl(n,t,As)))return void(Ts=n)}else{if(null!==(n=$l(n,t)))return n.flags&=32767,void(Ts=n);if(null===e)return Ns=6,void(Ts=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ts=t);Ts=t=e}while(null!==t);0===Ns&&(Ns=5)}function Sc(e,t,n){var r=bt,o=Ps.transition;try{Ps.transition=null,bt=1,function(e,t,n,r){do{kc()}while(null!==$s);if(0!==(6&Zs))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===_s&&(Ts=_s=null,Ms=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gs||(Gs=!0,_c(tt,(function(){return kc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Ps.transition,Ps.transition=null;var l=bt;bt=1;var s=Zs;Zs|=4,Cs.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(c=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=l),p===a&&++d===r&&(c=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(w){Ec(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),gs(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,bs(n,e,o),Ke(),Zs=s,bt=l,Ps.transition=a}else e.current=n;if(Gs&&(Gs=!1,$s=e,Ks=o),a=e.pendingLanes,0===a&&(Ys=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Hs)throw Hs=!1,e=Vs,Vs=null,e;0!==(1&Ks)&&0!==e.tag&&kc(),a=e.pendingLanes,0!==(1&a)?e===Qs?Xs++:(Xs=0,Qs=e):Xs=0,Uo()}(e,t,n,r)}finally{Ps.transition=o,bt=r}return null}function kc(){if(null!==$s){var e=xt(Ks),t=Ps.transition,n=bt;try{if(Ps.transition=null,bt=16>e?16:e,null===$s)var r=!1;else{if(e=$s,$s=null,Ks=0,0!==(6&Zs))throw Error(i(331));var o=Zs;for(Zs|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!==(16&Jl.flags)){var s=a.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(as(d),d===u){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=a}}if(0!==(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!==(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var x=(l=Jl).child;if(0!==(2064&l.subtreeFlags)&&null!==x)x.return=l,Jl=x;else e:for(l=b;null!==Jl;){if(0!==(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(S){Ec(s,s.return,S)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Zs=o,Uo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(S){}r=!0}return r}finally{bt=n,Ps.transition=t}}return!1}function jc(e,t,n){e=Ni(e,t=hl(0,t=ul(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Ec(e,t,n){if(3===e.tag)jc(e,e,n);else for(;null!==t;){if(3===t.tag){jc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ys||!Ys.has(r))){t=Ni(t,e=ml(t,e=ul(n,e),1),1),e=tc(),null!==t&&(gt(t,1,e),oc(t,e));break}}t=t.return}}function Oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,_s===e&&(Ms&n)===n&&(4===Ns||3===Ns&&(130023424&Ms)===Ms&&500>Xe()-Ws?pc(e,0):Ls|=n),oc(e,t)}function Cc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=_i(e,t))&&(gt(e,t,n),oc(e,n))}function Pc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Zc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cc(e,n)}function _c(e,t){return Ye(e,t)}function Tc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mc(e,t,n,r){return new Tc(e,t,n,r)}function Ac(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Mc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nc(e,t,n,r,o,a){var l=2;if(r=e,"function"===typeof e)Ac(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case k:return Ic(n.children,o,a,t);case j:l=8,o|=8;break;case E:return(e=Mc(12,n,t,2|o)).elementType=E,e.lanes=a,e;case Z:return(e=Mc(13,n,t,o)).elementType=Z,e.lanes=a,e;case _:return(e=Mc(19,n,t,o)).elementType=_,e.lanes=a,e;case A:return Dc(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:l=10;break e;case C:l=9;break e;case P:l=11;break e;case T:l=14;break e;case M:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Mc(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ic(e,t,n,r){return(e=Mc(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Mc(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function zc(e,t,n){return(e=Mc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return(t=Mc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,o,i,a,l,s){return e=new Bc(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Mc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function Wc(e){if(!e)return Po;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ao(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ao(n))return Io(e,n,t)}return t}function Uc(e,t,n,r,o,i,a,l,s){return(e=Fc(n,r,!0,e,0,i,0,l,s)).context=Wc(null),n=e.current,(i=Ri(r=tc(),o=nc(n))).callback=void 0!==t&&null!==t?t:null,Ni(n,i,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function qc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Wc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ri(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ni(o,t,a))&&(rc(e,o,a,i),Ii(e,o,a)),a}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}js=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||_o.current)xl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:_l(t),hi();break;case 5:aa(t);break;case 1:Ao(t.type)&&Do(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Co(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Co(sa,1&sa.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zl(e,t,n):(Co(sa,1&sa.current),null!==(e=Hl(e,t,n))?e.sibling:null);Co(sa,1&sa.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Hl(e,t,n)}(e,t,n);xl=0!==(131072&e.flags)}else xl=!1,ii&&0!==(1048576&t.flags)&&ei(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ql(e,t),e=t.pendingProps;var o=Mo(t,Zo.current);Ei(t,n),o=ja(null,t,r,e,o,n);var a=Ea();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ao(r)?(a=!0,Do(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=Wi,t.stateNode=o,o._reactInternals=t,Vi(t,r,e,n),t=Zl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ql(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ac(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===T)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Cl(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Cl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Pl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(_l(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ai(e,t),zi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tl(e,t,r,n,o=ul(Error(i(423)),t));break e}if(r!==o){t=Tl(e,t,r,n,o=ul(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Qi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Ol(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ui(t),null;case 13:return zl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Co(yi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!_o.current){t=Hl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ri(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),ji(a.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ji(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ei(t,n),r=r(o=Oi(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),kl(e,t,r,o=gi(r.type,o),n);case 15:return jl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),ql(e,t),t.tag=1,Ao(r)?(e=!0,Do(t)):e=!1,Ei(t,n),qi(t,r,o),Vi(t,r,o,n),Zl(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return El(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"===typeof reportError?reportError:function(e){console.error(e)};function $c(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var l=o;o=function(){var e=Hc(a);l.call(e)}}qc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Hc(a);i.call(e)}}var a=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[mo]=a.current,Wr(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=Hc(s);l.call(e)}}var s=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[mo]=s.current,Wr(8===e.nodeType?e.parentNode:e),dc((function(){qc(t,s,n,r)})),s}(n,t,e,o,r);return Hc(a)}Kc.prototype.render=$c.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));qc(e,t,null,null)},Kc.prototype.unmount=$c.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){qc(null,e,null,null)})),t[mo]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Xe()),0===(6&Zs)&&(Us=Xe()+500,Uo()))}break;case 13:dc((function(){var t=_i(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Yc(e,1)}},St=function(e){if(13===e.tag){var t=_i(e,134217728);if(null!==t)rc(t,e,134217728,tc());Yc(e,134217728)}},kt=function(e){if(13===e.tag){var t=nc(e),n=_i(e,t);if(null!==n)rc(n,e,t,tc());Yc(e,t)}},jt=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(i(90));Y(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uc,Ze=dc;var tu={usingClientEntryPoint:!1,Events:[xo,wo,So,Oe,Ce,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Wr(8===e.nodeType?e.parentNode:e),new $c(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Gc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,a,l),e[mo]=t.current,Wr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},8459:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},6900:function(e,t,n){"use strict";n(8459)},6374:function(e,t,n){"use strict";var r=n(2791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:l.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!j.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:k.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function P(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function Z(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+P(s,0):i,w(a)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),Z(a,t,o,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",w(e))for(var c=0;c<e.length;c++){var u=i+P(l=e[c],c);s+=Z(l,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=Z(l=l.value,t,o,u=i+P(l,c++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function _(e,t,n){if(null==e)return e;var r=[],o=0;return Z(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},A={transition:null},R={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:A,ReactCurrentOwner:k};t.Children={map:_,forEach:function(e,t,n){_(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!j.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},9609:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.isFragment=function(e){return w(e)===i}},8493:function(e,t,n){"use strict";e.exports=n(9609)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>i(s,n))c<o&&0>i(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(v=!1,x(e),!m)if(null!==r(c))m=!0,A(S);else{var t=r(u);null!==t&&R(w,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,y(O),O=-1),h=!0;var i=p;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!Z());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(c)&&o(c),x(n)}else o(c);f=r(c)}if(null!==f)var s=!0;else{var d=r(u);null!==d&&R(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,j=!1,E=null,O=-1,C=5,P=-1;function Z(){return!(t.unstable_now()-P<C)}function _(){if(null!==E){var e=t.unstable_now();P=e;var n=!0;try{n=E(!0,e)}finally{n?k():(j=!1,E=null)}}else j=!1}if("function"===typeof b)k=function(){b(_)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,M=T.port2;T.port1.onmessage=_,k=function(){M.postMessage(null)}}else k=function(){g(_,0)};function A(e){E=e,j||(j=!0,k())}function R(e,n){O=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,A(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(v?(y(O),O=-1):v=!0,R(w,i-a))):(e.sortIndex=l,n(c,e),m||h||(m=!0,A(S))),e},t.unstable_shouldYield=Z,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},1561:function(e,t,n){"use strict";var r=n(2791);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},7595:function(e,t,n){"use strict";var r=n(2791),o=n(7248);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!s){if(s=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return l=t}return l=e}if(t=l,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,l=n)}var a,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},7248:function(e,t,n){"use strict";e.exports=n(1561)},327:function(e,t,n){"use strict";e.exports=n(7595)},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878);var o=n(181),i=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(u){c=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907);var o=n(9199),i=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},3733:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".b325c508.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="quizzapp:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var l,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+i),l.src=r),e[r]=[o];var f=function(t,n){l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),l=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],l=r[1],s=r[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(s)s(n)}for(t&&t(r);c<a.length;c++)i=a[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkquizzapp=self.webpackChunkquizzapp||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{scaleBand:function(){return kZ},scaleDiverging:function(){return aN},scaleDivergingLog:function(){return lN},scaleDivergingPow:function(){return cN},scaleDivergingSqrt:function(){return uN},scaleDivergingSymlog:function(){return sN},scaleIdentity:function(){return KT},scaleImplicit:function(){return wZ},scaleLinear:function(){return $T},scaleLog:function(){return iM},scaleOrdinal:function(){return SZ},scalePoint:function(){return EZ},scalePow:function(){return hM},scaleQuantile:function(){return OM},scaleQuantize:function(){return CM},scaleRadial:function(){return gM},scaleSequential:function(){return JR},scaleSequentialLog:function(){return eN},scaleSequentialPow:function(){return nN},scaleSequentialQuantile:function(){return oN},scaleSequentialSqrt:function(){return rN},scaleSequentialSymlog:function(){return tN},scaleSqrt:function(){return mM},scaleSymlog:function(){return cM},scaleThreshold:function(){return PM},scaleTime:function(){return $R},scaleUtc:function(){return KR},tickFormat:function(){return YT}});var t=n(2791),r=n.t(t,2),o=n(1250),i=n(7248),a=n(327),l=n(4164);var s=function(e){e()},c=function(){return s},u=n(4942),d=Symbol.for("react-redux-context"),f="undefined"!==typeof globalThis?globalThis:{};function p(){var e;if(!t.createContext)return{};var n=null!=(e=f[d])?e:f[d]=new Map,r=n.get(t.createContext);return r||(r=t.createContext(null),n.set(t.createContext,r)),r}var h=p();function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h;return function(){return(0,t.useContext)(e)}}var v=m(),g=function(){throw new Error("uSES not initialized!")},y=function(e,t){return e===t};function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,n=e===h?v:m(e);return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="function"===typeof r?{equalityFn:r}:r,i=o.equalityFn,a=void 0===i?y:i,l=o.stabilityCheck,s=void 0===l?void 0:l;o.noopCheck;var c=n(),d=c.store,f=c.subscription,p=c.getServerState,h=c.stabilityCheck,m=(c.noopCheck,(0,t.useRef)(!0),(0,t.useCallback)((0,u.Z)({},e.name,(function(t){return e(t)}))[e.name],[e,h,s])),v=g(f.addNestedSub,d.getState,p||d.getState,m,a);return(0,t.useDebugValue)(v),v}}var x=b();n(2110),n(6900);var w={notify:function(){},get:function(){return[]}};function S(e,t){var n,r=w,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function l(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){var e=c(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=w)}var u={addNestedSub:function(e){l();var t=r.subscribe(e),n=!1;return function(){n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,l())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:function(){return r}};return u}var k=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?t.useLayoutEffect:t.useEffect;var j=function(e){var n=e.store,r=e.context,o=e.children,i=e.serverState,a=e.stabilityCheck,l=void 0===a?"once":a,s=e.noopCheck,c=void 0===s?"once":s,u=t.useMemo((function(){var e=S(n);return{store:n,subscription:e,getServerState:i?function(){return i}:void 0,stabilityCheck:l,noopCheck:c}}),[n,i,l,c]),d=t.useMemo((function(){return n.getState()}),[n]);k((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),d!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[u,d]);var f=r||h;return t.createElement(f.Provider,{value:u},o)};function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=e===h?v:m(e);return function(){return t().store}}var O=E();function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=e===h?O:E(e);return function(){return t().dispatch}}var P,Z,_=C();P=a.useSyncExternalStoreWithSelector,g=P,function(e){e}(i.useSyncExternalStore),Z=l.unstable_batchedUpdates,s=Z;var T=n(3366);function M(e,t){if(null==e)return{};var n,r,o=(0,T.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var A=n(1002);function R(){R=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(P){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new E(o||[]);return r(a,"_invoke",{value:w(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=c;var d={};function f(){}function p(){}function h(){}var m={};s(m,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(O([])));g&&g!==t&&n.call(g,i)&&(m=g);var y=h.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,i,a,l){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==(0,A.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,l)}))}l(s.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=h,r(y,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(x.prototype),s(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function N(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function I(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){N(i,r,o,a,l,"next",e)}function l(e){N(i,r,o,a,l,"throw",e)}a(void 0)}))}}var D=n(9439);function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function B(e,t,n){return B=L()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&z(o,n.prototype),o},B.apply(null,arguments)}var F=n(3433);function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var U=n(9142);function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,U.Z)(r.key),r)}}function H(e,t,n){return t&&q(e.prototype,t),n&&q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}function G(){return G="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Y(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},G.apply(this,arguments)}function $(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}function K(e){var t=L();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,A.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V(e)}(this,n)}}function X(e){var t="function"===typeof Map?new Map:void 0;return X=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return B(e,arguments,Y(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),z(n,e)},X(e)}var Q=n(181);function J(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,Q.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=Symbol.for("immer-nothing"),re=Symbol.for("immer-draftable"),oe=Symbol.for("immer-state");function ie(e){throw new Error("[Immer] minified error nr: ".concat(e,". Full error at: https://bit.ly/3cXEKWf"))}var ae=Object.getPrototypeOf;function le(e){return!!e&&!!e[oe]}function se(e){var t;return!!e&&(ue(e)||Array.isArray(e)||!!e[re]||!(null===(t=e.constructor)||void 0===t||!t[re])||me(e)||ve(e))}var ce=Object.prototype.constructor.toString();function ue(e){if(!e||"object"!==typeof e)return!1;var t=ae(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===ce}function de(e,t){0===fe(e)?Object.entries(e).forEach((function(n){var r=(0,D.Z)(n,2),o=r[0],i=r[1];t(o,i,e)})):e.forEach((function(n,r){return t(r,n,e)}))}function fe(e){var t=e[oe];return t?t.type_:Array.isArray(e)?1:me(e)?2:ve(e)?3:0}function pe(e,t){return 2===fe(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function he(e,t,n){var r=fe(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function me(e){return e instanceof Map}function ve(e){return e instanceof Set}function ge(e){return e.copy_||e.base_}function ye(e,t){if(me(e))return new Map(e);if(ve(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ue(e)){if(!ae(e)){var n=Object.create(null);return Object.assign(n,e)}return te({},e)}var r=Object.getOwnPropertyDescriptors(e);delete r[oe];for(var o=Reflect.ownKeys(r),i=0;i<o.length;i++){var a=o[i],l=r[a];!1===l.writable&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(r[a]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[a]})}return Object.create(ae(e),r)}function be(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return we(e)||le(e)||!se(e)||(fe(e)>1&&(e.set=e.add=e.clear=e.delete=xe),Object.freeze(e),t&&de(e,(function(e,t){return be(t,!0)}))),e}function xe(){ie(2)}function we(e){return Object.isFrozen(e)}var Se,ke={};function je(e){var t=ke[e];return t||ie(0),t}function Ee(){return Se}function Oe(e,t){t&&(je("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ce(e){Pe(e),e.drafts_.forEach(_e),e.drafts_=null}function Pe(e){e===Se&&(Se=e.parent_)}function Ze(e){return Se={drafts_:[],parent_:Se,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _e(e){var t=e[oe];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Te(e,t){t.unfinalizedDrafts_=t.drafts_.length;var n=t.drafts_[0];return void 0!==e&&e!==n?(n[oe].modified_&&(Ce(t),ie(4)),se(e)&&(e=Me(t,e),t.parent_||Re(t,e)),t.patches_&&je("Patches").generateReplacementPatches_(n[oe].base_,e,t.patches_,t.inversePatches_)):e=Me(t,n,[]),Ce(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ne?e:void 0}function Me(e,t,n){if(we(t))return t;var r=t[oe];if(!r)return de(t,(function(o,i){return Ae(e,r,t,o,i,n)})),t;if(r.scope_!==e)return t;if(!r.modified_)return Re(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;var o=r.copy_,i=o,a=!1;3===r.type_&&(i=new Set(o),o.clear(),a=!0),de(i,(function(t,i){return Ae(e,r,o,t,i,n,a)})),Re(e,o,!1),n&&e.patches_&&je("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Ae(e,t,n,r,o,i,a){if(le(o)){var l=Me(e,o,i&&t&&3!==t.type_&&!pe(t.assigned_,r)?i.concat(r):void 0);if(he(n,r,l),!le(l))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(se(o)&&!we(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Me(e,o),t&&t.scope_.parent_||Re(e,o)}}function Re(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&be(t,n)}var Ne={get:function(e,t){if(t===oe)return e;var n=ge(e);if(!pe(n,t))return function(e,t,n){var r,o=ze(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.draft_):void 0}(e,n,t);var r=n[t];return e.finalized_||!se(r)?r:r===De(e.base_,t)?(Be(e),e.copy_[t]=We(r,e)):r},has:function(e,t){return t in ge(e)},ownKeys:function(e){return Reflect.ownKeys(ge(e))},set:function(e,t,n){var r,o,i=ze(ge(e),t);if(null!==i&&void 0!==i&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){var a=De(ge(e),t),l=null===a||void 0===a?void 0:a[oe];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((r=n)===(o=a)?0!==r||1/r===1/o:r!==r&&o!==o)&&(void 0!==n||pe(e.base_,t)))return!0;Be(e),Le(e)}return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:function(e,t){return void 0!==De(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,Be(e),Le(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ge(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){ie(11)},getPrototypeOf:function(e){return ae(e.base_)},setPrototypeOf:function(){ie(12)}},Ie={};function De(e,t){var n=e[oe];return(n?ge(n):e)[t]}function ze(e,t){if(t in e)for(var n=ae(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=ae(n)}}function Le(e){e.modified_||(e.modified_=!0,e.parent_&&Le(e.parent_))}function Be(e){e.copy_||(e.copy_=ye(e.base_,e.scope_.immer_.useStrictShallowCopy_))}de(Ne,(function(e,t){Ie[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ie.deleteProperty=function(e,t){return Ie.set.call(this,e,t,void 0)},Ie.set=function(e,t,n){return Ne.set.call(this,e[0],t,n,e[0])};var Fe=function(){function e(t){var n=this;W(this,e),this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=function(e,t,r){if("function"===typeof e&&"function"!==typeof t){var o=t;t=e;var i=n;return function(){for(var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,r=arguments.length,a=new Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(n,(function(n){var r;return(r=t).call.apply(r,[e,n].concat(a))}))}}var a;if("function"!==typeof t&&ie(6),void 0!==r&&"function"!==typeof r&&ie(7),se(e)){var l=Ze(n),s=We(e,void 0),c=!0;try{a=t(s),c=!1}finally{c?Ce(l):Pe(l)}return Oe(l,r),Te(a,l)}if(!e||"object"!==typeof e){if(void 0===(a=t(e))&&(a=e),a===ne&&(a=void 0),n.autoFreeze_&&be(a,!0),r){var u=[],d=[];je("Patches").generateReplacementPatches_(e,a,u,d),r(u,d)}return a}ie(1)},this.produceWithPatches=function(e,t){return"function"===typeof e?function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(o))}))}:[n.produce(e,t,(function(e,t){r=e,o=t})),r,o];var r,o},"boolean"===typeof(null===t||void 0===t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),"boolean"===typeof(null===t||void 0===t?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}return H(e,[{key:"createDraft",value:function(e){se(e)||ie(8),le(e)&&(e=Ue(e));var t=Ze(this),n=We(e,void 0);return n[oe].isManual_=!0,Pe(t),n}},{key:"finishDraft",value:function(e,t){var n=e&&e[oe];n&&n.isManual_||ie(9);var r=n.scope_;return Oe(r,t),Te(void 0,r)}},{key:"setAutoFreeze",value:function(e){this.autoFreeze_=e}},{key:"setUseStrictShallowCopy",value:function(e){this.useStrictShallowCopy_=e}},{key:"applyPatches",value:function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=je("Patches").applyPatches_;return le(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))}}]),e}();function We(e,t){var n=me(e)?je("MapSet").proxyMap_(e,t):ve(e)?je("MapSet").proxySet_(e,t):function(e,t){var n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Ee(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=r,i=Ne;n&&(o=[r],i=Ie);var a=Proxy.revocable(o,i),l=a.revoke,s=a.proxy;return r.draft_=s,r.revoke_=l,s}(e,t);return(t?t.scope_:Ee()).drafts_.push(n),n}function Ue(e){return le(e)||ie(10),qe(e)}function qe(e){if(!se(e)||we(e))return e;var t,n=e[oe];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,t=ye(e,n.scope_.immer_.useStrictShallowCopy_)}else t=ye(e,!0);return de(t,(function(e,n){he(t,e,qe(n))})),n&&(n.finalized_=!1),t}var He=new Fe,Ve=He.produce;He.produceWithPatches.bind(He),He.setAutoFreeze.bind(He),He.setUseStrictShallowCopy.bind(He),He.applyPatches.bind(He),He.createDraft.bind(He),He.finishDraft.bind(He);function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected a function, instead received ".concat(typeof e);if("function"!==typeof e)throw new TypeError(t)}var Ge=function(e){return Array.isArray(e)?e:[e]};function $e(e){var t=Array.isArray(e[0])?e[0]:e;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected all items to be functions, instead received the following types: ";if(!e.every((function(e){return"function"===typeof e}))){var n=e.map((function(e){return"function"===typeof e?"function ".concat(e.name||"unnamed","()"):typeof e})).join(", ");throw new TypeError("".concat(t,"[").concat(n,"]"))}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}Symbol(),Object.getPrototypeOf({});var Ke=function(){function e(t){W(this,e),this.value=t}return H(e,[{key:"deref",value:function(){return this.value}}]),e}(),Xe="undefined"!==typeof WeakRef?WeakRef:Ke,Qe=0,Je=1;function et(){return{s:Qe,v:void 0,o:null,p:null}}function tt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=et(),o=n.resultEqualityCheck,i=0;function a(){for(var n=r,a=0,l=arguments.length;a<l;a++){var s=arguments[a];if("function"===typeof s||"object"===typeof s&&null!==s){var c=n.o;null===c&&(n.o=c=new WeakMap);var u=c.get(s);void 0===u?(n=et(),c.set(s,n)):n=u}else{var d=n.p;null===d&&(n.p=d=new Map);var f=d.get(s);void 0===f?(n=et(),d.set(s,n)):n=f}}var p,h=n;if(n.s===Je?p=n.v:(p=e.apply(null,arguments),i++),h.s=Je,o){var m,v,g,y=null!==(m=null===(v=t)||void 0===v||null===(g=v.deref)||void 0===g?void 0:g.call(v))&&void 0!==m?m:t;null!=y&&o(y,p)&&(p=y,0!==i&&i--),t="object"===typeof p&&null!==p||"function"===typeof p?new Xe(p):p}return h.v=p,p}return a.clearCache=function(){r=et(),a.resetResultsCount()},a.resultsCount=function(){return i},a.resetResultsCount=function(){i=0},a}function nt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o="function"===typeof e?{memoize:e,memoizeOptions:n}:e,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=0,a=0,l={},s=t.pop();"object"===typeof s&&(l=s,s=t.pop()),Ye(s,"createSelector expects an output function after the inputs, but received: [".concat(typeof s,"]"));var c=te(te({},o),l),u=c.memoize,d=c.memoizeOptions,f=void 0===d?[]:d,p=c.argsMemoize,h=void 0===p?tt:p,m=c.argsMemoizeOptions,v=void 0===m?[]:m,g=(c.devModeChecks,Ge(f)),y=Ge(v),b=$e(t),x=u.apply(void 0,[function(){return i++,s.apply(null,arguments)}].concat((0,F.Z)(g))),w=h.apply(void 0,[function(){a++;var e=function(e,t){for(var n=[],r=e.length,o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(b,arguments);return r=x.apply(null,e)}].concat((0,F.Z)(y)));return Object.assign(w,{resultFunc:s,memoizedResultFunc:x,dependencies:b,dependencyRecomputations:function(){return a},resetDependencyRecomputations:function(){a=0},lastResult:function(){return r},recomputations:function(){return i},resetRecomputations:function(){i=0},memoize:u,argsMemoize:h})};return Object.assign(i,{withTypes:function(){return i}}),i}var rt=nt(tt),ot=Object.assign((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rt;!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected an object, instead received ".concat(typeof e);if("object"!==typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ".concat(typeof e));var n=Object.keys(e),r=t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}));return r}),{withTypes:function(){return ot}});function it(e){return"Minified Redux error #".concat(e,"; visit https://redux.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var at=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}(),lt=function(){return Math.random().toString(36).substring(7).split("").join(".")},st={INIT:"@@redux/INIT".concat(lt()),REPLACE:"@@redux/REPLACE".concat(lt()),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION".concat(lt())}};function ct(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function ut(e,t,n){if("function"!==typeof e)throw new Error(it(2));if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(it(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(it(1));return n(ut)(e,t)}var r=e,o=t,i=new Map,a=i,l=0,s=!1;function c(){a===i&&(a=new Map,i.forEach((function(e,t){a.set(t,e)})))}function d(){if(s)throw new Error(it(3));return o}function f(e){if("function"!==typeof e)throw new Error(it(4));if(s)throw new Error(it(5));var t=!0;c();var n=l++;return a.set(n,e),function(){if(t){if(s)throw new Error(it(6));t=!1,c(),a.delete(n),i=null}}}function p(e){if(!ct(e))throw new Error(it(7));if("undefined"===typeof e.type)throw new Error(it(8));if("string"!==typeof e.type)throw new Error(it(17));if(s)throw new Error(it(9));try{s=!0,o=r(o,e)}finally{s=!1}return(i=a).forEach((function(e){e()})),e}return p({type:st.INIT}),(0,u.Z)({dispatch:p,subscribe:f,getState:d,replaceReducer:function(e){if("function"!==typeof e)throw new Error(it(10));r=e,p({type:st.REPLACE})}},at,(function(){var e=f;return(0,u.Z)({subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(it(11));function n(){var e=t;e.next&&e.next(d())}return n(),{unsubscribe:e(n)}}},at,(function(){return this}))}))}function dt(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:st.INIT}))throw new Error(it(12));if("undefined"===typeof n(void 0,{type:st.PROBE_UNKNOWN_ACTION()}))throw new Error(it(13))}))}(n)}catch(l){i=l}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(i)throw i;for(var r=!1,o={},l=0;l<a.length;l++){var s=a[l],c=n[s],u=e[s],d=c(u,t);if("undefined"===typeof d){t&&t.type;throw new Error(it(14))}o[s]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?o:e}}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r){var o=e(n,r),i=function(){throw new Error(it(15))},a={getState:o.getState,dispatch:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i.apply(void 0,[e].concat(n))}},l=t.map((function(e){return e(a)}));return i=ft.apply(void 0,(0,F.Z)(l))(o.dispatch),te(te({},o),{},{dispatch:i})}}}function ht(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var mt=ht(),vt=ht,gt=["reducerPath"],yt=(function(){var e=nt.apply(void 0,arguments),t=Object.assign((function(){var t=e.apply(void 0,arguments),n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[le(e)?Ue(e):e].concat(r))};return Object.assign(n,t),n}),{withTypes:function(){return t}})}(tt),"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ft:ft.apply(null,arguments)}),bt=("undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,function(e){return e&&"function"===typeof e.match});function xt(e,t){function n(){if(t){var n=t.apply(void 0,arguments);if(!n)throw new Error(nn(0));return te(te({type:e,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=function(){return"".concat(e)},n.type=e,n.match=function(t){return function(e){return ct(e)&&"type"in e&&"string"===typeof e.type}(t)&&t.type===e},n}var wt=function(e,t){$(r,e);var n=K(r);function r(){var e;W(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=n.call.apply(n,[this].concat(o)),Object.setPrototypeOf(V(e),r.prototype),e}return H(r,[{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return G(Y(r.prototype),"concat",this).apply(this,t)}},{key:"prepend",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?B(r,(0,F.Z)(t[0].concat(this))):B(r,(0,F.Z)(t.concat(this)))}}],[{key:t,get:function(){return r}}]),r}(X(Array),Symbol.species);function St(e){return se(e)?Ve(e,(function(){})):e}function kt(e,t,n){if(e.has(t)){var r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(nn(10));var o=n.insert(t,e);return e.set(t,o),o}var jt=function(){return function(e){var t=null!==e&&void 0!==e?e:{},n=t.thunk,r=void 0===n||n,o=(t.immutableCheck,t.serializableCheck,t.actionCreatorCheck,new wt);return r&&("boolean"===typeof r?o.push(mt):o.push(vt(r.extraArgument))),o}},Et="RTK_autoBatch",Ot=function(e){return function(t){setTimeout(t,e)}},Ct="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Ot(10),Pt=function(e){return function(t){var n=(null!==t&&void 0!==t?t:{}).autoBatch,r=void 0===n||n,o=new wt(e);return r&&o.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return function(t){return function(){var n=t.apply(void 0,arguments),r=!0,o=!1,i=!1,a=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?Ct:"callback"===e.type?e.queueNotification:Ot(e.timeout),s=function(){i=!1,o&&(o=!1,a.forEach((function(e){return e()})))};return Object.assign({},n,{subscribe:function(e){var t=n.subscribe((function(){return r&&e()}));return a.add(e),function(){t(),a.delete(e)}},dispatch:function(e){try{var t;return r=!(null!==e&&void 0!==e&&null!==(t=e.meta)&&void 0!==t&&t[Et]),(o=!r)&&(i||(i=!0,l(s))),n.dispatch(e)}finally{r=!0}}})}}}("object"===typeof r?r:void 0)),o}},Zt=!0;function _t(e){var t,n,r=jt(),o=e||{},i=o.reducer,a=void 0===i?void 0:i,l=o.middleware,s=o.devTools,c=void 0===s||s,u=o.preloadedState,d=void 0===u?void 0:u,f=o.enhancers,p=void 0===f?void 0:f;if("function"===typeof a)t=a;else{if(!ct(a))throw new Error(nn(1));t=dt(a)}if(!Zt&&l&&"function"!==typeof l)throw new Error(nn(2));if("function"===typeof l){if(n=l(r),!Zt&&!Array.isArray(n))throw new Error(nn(3))}else n=r();if(!Zt&&n.some((function(e){return"function"!==typeof e})))throw new Error(nn(4));var h=ft;c&&(h=yt(te({trace:!Zt},"object"===typeof c&&c)));var m=pt.apply(void 0,(0,F.Z)(n)),v=Pt(m);if(!Zt&&p&&"function"!==typeof p)throw new Error(nn(5));var g="function"===typeof p?p(v):v();if(!Zt&&!Array.isArray(g))throw new Error(nn(6));if(!Zt&&g.some((function(e){return"function"!==typeof e})))throw new Error(nn(7));return Zt||!n.length||g.includes(m)||console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`"),ut(t,d,h.apply(void 0,(0,F.Z)(g)))}function Tt(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error(nn(28));if(r in n)throw new Error(nn(29));return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}var Mt=function(){for(var e="",t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;t--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e},At=function(e,t){return bt(e)?e.match(t):e(t)};function Rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.some((function(t){return At(t,e)}))}}var Nt=["name","message","stack","code"],It=H((function e(t,n){W(this,e),(0,u.Z)(this,"_type",void 0),this.payload=t,this.meta=n})),Dt=H((function e(t,n){W(this,e),(0,u.Z)(this,"_type",void 0),this.payload=t,this.meta=n})),zt=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=Nt;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}},Lt=function(){function e(e,t,n){var r=xt(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:te(te({},r||{}),{},{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=xt(e+"/pending",(function(e,t,n){return{payload:void 0,meta:te(te({},n||{}),{},{arg:t,requestId:e,requestStatus:"pending"})}})),i=xt(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||zt)(e||"Rejected"),meta:te(te({},i||{}),{},{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null===e||void 0===e?void 0:e.name),condition:"ConditionError"===(null===e||void 0===e?void 0:e.name)})}}));return Object.assign((function(e){return function(a,l,s){var c,u,d=null!==n&&void 0!==n&&n.idGenerator?n.idGenerator(e):Mt(),f=new AbortController;function p(e){u=e,f.abort()}var h=I(R().mark((function h(){var m,v,g,y,b;return R().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:if(h.prev=0,!Ft(y=null===n||void 0===n||null===(v=n.condition)||void 0===v?void 0:v.call(n,e,{getState:l,extra:s}))){h.next=6;break}return h.next=5,y;case 5:y=h.sent;case 6:if(!1!==y&&!f.signal.aborted){h.next=8;break}throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};case 8:return b=new Promise((function(e,t){c=function(){t({name:"AbortError",message:u||"Aborted"})},f.signal.addEventListener("abort",c)})),a(o(d,e,null===n||void 0===n||null===(g=n.getPendingMeta)||void 0===g?void 0:g.call(n,{requestId:d,arg:e},{getState:l,extra:s}))),h.next=12,Promise.race([b,Promise.resolve(t(e,{dispatch:a,getState:l,extra:s,requestId:d,signal:f.signal,abort:p,rejectWithValue:function(e,t){return new It(e,t)},fulfillWithValue:function(e,t){return new Dt(e,t)}})).then((function(t){if(t instanceof It)throw t;return t instanceof Dt?r(t.payload,d,e,t.meta):r(t,d,e)}))]);case 12:m=h.sent,h.next=18;break;case 15:h.prev=15,h.t0=h.catch(0),m=h.t0 instanceof It?i(null,d,e,h.t0.payload,h.t0.meta):i(h.t0,d,e);case 18:return h.prev=18,c&&f.signal.removeEventListener("abort",c),h.finish(18);case 21:return n&&!n.dispatchConditionRejection&&i.match(m)&&m.meta.condition||a(m),h.abrupt("return",m);case 24:case"end":return h.stop()}}),h,null,[[0,15,18,21]])})))();return Object.assign(h,{abort:p,requestId:d,arg:e,unwrap:function(){return h.then(Bt)}})}}),{pending:o,rejected:i,fulfilled:r,settled:Rt(i,r),typePrefix:e})}return e.withTypes=function(){return e},e}();function Bt(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ft(e){return null!==e&&"object"===typeof e&&"function"===typeof e.then}var Wt=Symbol.for("rtk-slice-createasyncthunk");(0,u.Z)({},Wt,Lt);function Ut(e,t){return"".concat(e,"/").concat(t)}function qt(e,t,n,r){function o(o){var i=t(o);"undefined"===typeof i&&r&&(i=n());for(var a=arguments.length,l=new Array(a>1?a-1:0),s=1;s<a;s++)l[s-1]=arguments[s];return e.apply(void 0,[i].concat(l))}return o.unwrapped=e,o}var Ht=function(){var e,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).creators,n=null===t||void 0===t||null===(e=t.asyncThunk)||void 0===e?void 0:e[Wt];return function(e){var t=e.name,r=e.reducerPath,o=void 0===r?t:r;if(!t)throw new Error(nn(11));var i=("function"===typeof e.reducers?e.reducers(function(){function e(e,t){return te({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=function(){return e},{reducer:function(e){return Object.assign((0,u.Z)({},e.name,(function(){return e.apply(void 0,arguments)}))[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer:function(e,t){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}},asyncThunk:e}}()):e.reducers)||{},a=Object.keys(i),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase:function(e,t){var n="string"===typeof e?e:e.type;if(!n)throw new Error(nn(12));if(n in l.sliceCaseReducersByType)throw new Error(nn(13));return l.sliceCaseReducersByType[n]=t,s},addMatcher:function(e,t){return l.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction:function(e,t){return l.actionCreators[e]=t,s},exposeCaseReducer:function(e,t){return l.sliceCaseReducersByName[e]=t,s}};function c(){var t="function"===typeof e.extraReducers?Tt(e.extraReducers):[e.extraReducers],n=(0,D.Z)(t,3),r=n[0],o=void 0===r?{}:r,i=n[1],a=void 0===i?[]:i,s=n[2],c=void 0===s?void 0:s,u=te(te({},o),l.sliceCaseReducersByType);return function(e,t){var n,r=Tt(t),o=(0,D.Z)(r,3),i=o[0],a=o[1],l=o[2];if("function"===typeof e)n=function(){return St(e())};else{var s=St(e);n=function(){return s}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n(),t=arguments.length>1?arguments[1]:void 0,r=[i[t.type]].concat((0,F.Z)(a.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer}))));return 0===r.filter((function(e){return!!e})).length&&(r=[l]),r.reduce((function(e,n){if(n){if(le(e)){var r=n(e,t);return void 0===r?e:r}if(se(e))return Ve(e,(function(e){return n(e,t)}));var o=n(e,t);if(void 0===o){if(null===e)return e;throw new Error(nn(9))}return o}return e}),e)}return c.getInitialState=n,c}(e.initialState,(function(e){for(var t in u)e.addCase(t,u[t]);var n,r=J(l.sliceMatchers);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.addMatcher(o.matcher,o.reducer)}}catch(f){r.e(f)}finally{r.f()}var i,s=J(a);try{for(s.s();!(i=s.n()).done;){var d=i.value;e.addMatcher(d.matcher,d.reducer)}}catch(f){s.e(f)}finally{s.f()}c&&e.addDefaultCase(c)}))}a.forEach((function(r){var o=i[r],a={reducerName:r,type:Ut(t,r),createNotation:"function"===typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function(e,t,n){var r,o,i=e.type,a=e.reducerName,l=e.createNotation;if("reducer"in t){if(l&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(t))throw new Error(nn(17));r=t.reducer,o=t.prepare}else r=t;n.addCase(i,r).exposeCaseReducer(a,r).exposeAction(a,o?xt(i,o):xt(i))}(a,o,s):function(e,t,n,r){var o=e.type,i=e.reducerName;if(!r)throw new Error(nn(18));var a=t.payloadCreator,l=t.fulfilled,s=t.pending,c=t.rejected,u=t.settled,d=t.options,f=r(o,a,d);n.exposeAction(i,f),l&&n.addCase(f.fulfilled,l);s&&n.addCase(f.pending,s);c&&n.addCase(f.rejected,c);u&&n.addMatcher(f.settled,u);n.exposeCaseReducer(i,{fulfilled:l||Vt,pending:s||Vt,rejected:c||Vt,settled:u||Vt})}(a,o,s,n)}));var d,f=function(e){return e},p=new Map;function h(e,t){return d||(d=c()),d(e,t)}function m(){return d||(d=c()),d.getInitialState()}function v(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function r(e){var r=e[t];return"undefined"===typeof r&&n&&(r=m()),r}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=kt(p,n,{insert:function(){return new WeakMap}});return kt(r,t,{insert:function(){for(var r={},o=0,i=Object.entries(null!==(a=e.selectors)&&void 0!==a?a:{});o<i.length;o++){var a,l=(0,D.Z)(i[o],2),s=l[0],c=l[1];r[s]=qt(c,t,m,n)}return r}})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}var g=te(te({name:t,reducer:h,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:m},v(o)),{},{injectInto:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.reducerPath,r=M(t,gt),i=null!==n&&void 0!==n?n:o;return e.inject({reducerPath:i,reducer:h},r),te(te({},g),v(i,!0))}});return g}}();function Vt(){}var Yt="listener",Gt="completed",$t="cancelled",Kt=("task-".concat($t),"task-".concat(Gt),"".concat(Yt,"-").concat($t),"".concat(Yt,"-").concat(Gt),function(e,t){if("function"!==typeof e)throw new Error(nn(32))});Object.assign;var Xt="listenerMiddleware",Qt=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,o=e.predicate,i=e.effect;if(t)o=xt(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(nn(21));return Kt(i),{predicate:o,type:t,effect:i}},Jt=Object.assign((function(e){var t=Qt(e),n=t.type,r=t.predicate,o=t.effect;return{id:Mt(),effect:o,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error(nn(22))}}}),{withTypes:function(){return Jt}}),en=Object.assign(xt("".concat(Xt,"/add")),{withTypes:function(){return en}}),tn=(xt("".concat(Xt,"/removeAll")),Object.assign(xt("".concat(Xt,"/remove")),{withTypes:function(){return tn}}));Symbol.for("rtk-state-proxy-original");function nn(e){return"Minified Redux Toolkit error #".concat(e,"; visit https://redux-toolkit.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var rn=Ht({name:"voucher",initialState:{allvouchers:[],voucher:{}},reducers:{GET_VOUCHER:function(e,t){e.allvouchers=t.payload},ADD_VOUCHER:function(e,t){e.allvouchers.push(t.payload)},UPDATE_VOUCHER:function(e,t){var n=t.payload,r=e.allvouchers.findIndex((function(e){return e.id===n.id}));-1!==r&&e.allvouchers.splice(r,1,n)},DELETE_VOUCHER:function(e,t){e.allvouchers.length>0&&(e.allvouchers=e.allvouchers.filter((function(e){return e.id!==t.payload.id})))}}}),on=rn.actions,an=rn.reducer,ln=Ht({name:"exam",initialState:{allExam:[],SingleExam:{},error:null,allSubmitExam:[]},reducers:{GET_EXAM:function(e,t){e.exam={},e.allExam=t.payload,e.error=null},GET_SUBMIT_EXAM:function(e,t){console.log("inside exam reducer:"),e.allSubmitExam=t.payload,e.error=null},GET_EXAM_ERROR:function(e,t){e.exam={},e.error=t.payload},ADD_EXAM:function(e,t){e.allExam.push(t.payload),e.exam={}},UPDATE_EXAM:function(e,t){var n=e.allExam.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allExam[n]=t.payload)},DELETE_EXAM:function(e,t){e.allExam=e.allExam.filter((function(e){return e.id!==t.payload}))},GET_SINGLE_EXAM:function(e,t){var n=e.allExam.findIndex((function(e){return e.id===t.payload}));-1!==n&&(e.SingleExam=e.allExam[n])}}}),sn=ln.actions,cn=ln.reducer,un=Ht({name:"login",initialState:{token:null},reducers:{LOGIN_SUCCESS:function(e,t){e.token=t.payload}}}),dn=un.actions,fn=un.reducer,pn=Ht({name:"user",initialState:{allUser:[],SingleUser:{},error:null,allBranch:[],loginUser:[]},reducers:{getBranch:function(e,t){e.allBranch=t.payload},getUser:function(e,t){e.SingleUser={},e.allUser=t.payload},getUserError:function(e,t){e.SingleUser={},e.error=t.payload},addUser:function(e,t){e.allUser.push(t.payload),e.SingleUser={}},updateUser:function(e,t){var n=e.allUser.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allUser[n]=t.payload)},deleteUser:function(e,t){e.allUser=e.allUser.filter((function(e){return e.id!==t.payload}))},GetSingleUser:function(e,t){var n=e.allUser.findIndex((function(e){return e.id===t.payload})),r=e.allUser[n];e.SingleUser=r},GetLogginUser:function(e,t){e.loginUser=t.payload}}}),hn=pn.actions,mn=pn.reducer,vn=Ht({name:"employee",initialState:{name:"employee",allEmployee:[],emp:{},error:[]},reducers:{getEmployee:function(e,t){e.allEmployee=t.payload},getEmployeeError:function(e,t){e.error=t.payload},addEmployee:function(e,t){e.allEmployee.push(t.payload)},updateEmployee:function(e,t){var n=e.allEmployee.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allEmployee[n]=t.payload)},deleteEmployee:function(e,t){e.allEmployee=e.allEmployee.filter((function(e){return e.id!==t.payload}))},singleEmployee:function(e,t){var n=e.allEmployee.findIndex((function(e){return e.id===t.payload}));e.emp=e.allEmployee[n]}}}),gn=vn.actions,yn=vn.reducer,bn=Ht({name:"feedback",initialState:{allFeedback:[],allBranch:[]},reducers:{getFeedback:function(e,t){e.allFeedback=t.payload},getBranch:function(e,t){e.allBranch=t.payload},postFeedback:function(e,t){e.allFeedback.push(t.payload)}}}),xn=bn.actions,wn=bn.reducer,Sn=Ht({name:"question",initialState:{allquestions:[],questions:{},error:null,examquestion:[]},reducers:{getQuestion:function(e,t){e.allquestions=t.payload},getStartExamQuestion:function(e,t){e.examquestion=t.payload},getQuestionError:function(e,t){e.error=t.payload},addQuestion:function(e,t){e.allquestions.push(t.payload)},addImage:function(e,t){e.allquestions.push(t.payload)},addCsvFile:function(e,t){var n,r=Array.isArray(t.payload)?t.payload:[];(n=e.allquestions).push.apply(n,(0,F.Z)(r))},updateQuestion:function(e,t){var n=t.payload;e.allquestions=e.allquestions.map((function(e){return e.id===n.id?n:e}))},deleteQuestion:function(e,t){e.allquestions=e.allquestions.filter((function(e){return e.id!==t.payload}))}}}),kn=Sn.actions,jn=Sn.reducer,En=Ht({name:"result",initialState:{allresult:[],result:{},error:null,allBatch:[],allBatchWiseStudent:[]},reducers:{getResult:function(e,t){e.allresult=t.payload},getResultError:function(e,t){e.error=t.payload},addResult:function(e,t){e.allresult.push(t.payload),console.log(e.allresult)},getBatchWiseStudent:function(e,t){e.allBatchWiseStudent=t.payload},getBatch:function(e,t){e.allBatch=t.payload}}}),On=En.actions,Cn=En.reducer,Pn=Ht({name:"feedbackAns",initialState:{allFeedbackAns:[],allEmployee:[],allBatch:[],allBatchWiseStudent:[],allCourses:[],allScheduledFeedback:[],allEmailSendDetails:[]},reducers:{getFeedbackAns:function(e,t){e.allFeedbackAns=t.payload},getEmployee:function(e,t){e.allEmployee=t.payload},getBatch:function(e,t){e.allBatch=t.payload},getCourses:function(e,t){e.allCourses=t.payload},getScheduledFeedback:function(e,t){e.allScheduledFeedback=t.payload},getBatchWiseStudent:function(e,t){e.allBatchWiseStudent=t.payload},deleteBatchWiseStudent:function(e,t){e.allBatchWiseStudent=e.allBatchWiseStudent.filter((function(e){return e.id!==t.payload}))},getFormControlLabelUtilityClasses:function(e,t){e.allCourses=t.payload},addScheduledFeedback:function(e,t){e.allScheduledFeedback.push(t.payload)},addBatchwiseStudent:function(e,t){e.allBatchWiseStudent.push(t.payload)},updateScheduledFeedback:function(e,t){var n=e.allScheduledFeedback.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allScheduledFeedback[n]=t.payload)},addEmailDetails:function(e,t){e.allEmailSendDetails.push(t.payload)}}}),Zn=Pn.actions,_n=Pn.reducer,Tn=Ht({name:"batch",initialState:{allBatches:[],SingleBatch:{},error:null,allCourse:[]},reducers:{GET_BATCH:function(e,t){console.log("inside batch reducer:"),e.allBatches=t.payload,e.error=null},Get_Course:function(e,t){console.log("inside course reducer:"),e.allCourse=t.payload,e.error=null},GET_BATCH_ERROR:function(e,t){e.batch={},e.error=t.payload},ADD_BATCH:function(e,t){e.allBatches.push(t.payload),e.batch={}},UPDATE_BATCH:function(e,t){var n=e.allBatches.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allBatches[n]=t.payload)},DELETE_BATCH:function(e,t){e.allBatches=e.allBatches.filter((function(e){return e.id!==t.payload}))},GET_SINGLE_BATCH:function(e,t){var n=e.allBatches.findIndex((function(e){return e.id===t.payload}));-1!==n&&(e.SingleBatch=e.allBatches[n])}}}),Mn=Tn.actions,An=Tn.reducer,Rn=Ht({name:"enquiry",initialState:{allEnquiry:[],singleEnquiry:{}},reducers:{getEnquiry:function(e,t){e.allEnquiry=t.payload},getEnquiryError:function(e,t){e.error=t.payload},addEnquiry:function(e,t){e.allEnquiry.push(t.payload)},updateEnquiry:function(e,t){var n=e.allEnquiry.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allEnquiry[n]=t.payload)},deleteEnquiry:function(e,t){e.allEnquiry=e.allEnquiry.filter((function(e){return e.id!==t.payload}))},singleEnquiry:function(e,t){var n=e.allEnquiry.findIndex((function(e){return e.id===t.payload}));e.singleEnquiry=e.allEnquiry[n]}}}),Nn=Rn.actions,In=Rn.reducer,Dn=Ht({name:"enroll",initialState:{allEnrollDetails:[]},reducers:{getEnrollmentDetails:function(e,t){e.allEnrollDetails=t.payload}}}),zn=Dn.actions,Ln=Dn.reducer;var Bn,Fn=n(3878),Wn=n(9199),Un=n(5267);function qn(e){return(0,Fn.Z)(e)||(0,Wn.Z)(e)||(0,Q.Z)(e)||(0,Un.Z)()}function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hn.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Bn||(Bn={}));var Vn,Yn="popstate";function Gn(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function $n(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Kn(e,t){return{usr:e.state,key:e.key,idx:t}}function Xn(e,t,n,r){return void 0===n&&(n=null),Hn({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?Jn(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Qn(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function Jn(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function er(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,l=o.v5Compat,s=void 0!==l&&l,c=a.history,u=Bn.Pop,d=null,f=p();function p(){return(c.state||{idx:null}).idx}function h(){u=Bn.Pop;var e=p(),t=null==e?null:e-f;f=e,d&&d({action:u,location:v.location,delta:t})}function m(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:Qn(e);return Gn(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==f&&(f=0,c.replaceState(Hn({},c.state,{idx:f}),""));var v={get action(){return u},get location(){return e(a,c)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(Yn,h),d=e,function(){a.removeEventListener(Yn,h),d=null}},createHref:function(e){return t(a,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=Bn.Push;var r=Xn(v.location,e,t);n&&n(r,e);var o=Kn(r,f=p()+1),i=v.createHref(r);try{c.pushState(o,"",i)}catch(l){if(l instanceof DOMException&&"DataCloneError"===l.name)throw l;a.location.assign(i)}s&&d&&d({action:u,location:v.location,delta:1})},replace:function(e,t){u=Bn.Replace;var r=Xn(v.location,e,t);n&&n(r,e);var o=Kn(r,f=p()),i=v.createHref(r);c.replaceState(o,"",i),s&&d&&d({action:u,location:v.location,delta:0})},go:function(e){return c.go(e)}};return v}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Vn||(Vn={}));var tr=new Set(["lazy","caseSensitive","path","id","index","children"]);function nr(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((function(e,o){var i=[].concat((0,F.Z)(n),[o]),a="string"===typeof e.id?e.id:i.join("-");if(Gn(!0!==e.index||!e.children,"Cannot specify children on an index route"),Gn(!r[a],'Found a route id collision on id "'+a+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var l=Hn({},e,t(e),{id:a});return r[a]=l,l}var s=Hn({},e,t(e),{id:a,children:void 0});return r[a]=s,e.children&&(s.children=nr(e.children,t,i,r)),s}))}function rr(e,t,n){void 0===n&&(n="/");var r=gr(("string"===typeof t?Jn(t):t).pathname||"/",n);if(null==r)return null;var o=or(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=hr(o[a],vr(r));return i}function or(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(Gn(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var l=wr([r,a.relativePath]),s=n.concat(a);e.children&&e.children.length>0&&(Gn(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),or(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:pr(l,e.index),routesMeta:s})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=J(ir(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(l){i.e(l)}finally{i.f()}}else o(e,t)})),t}function ir(e){var t=e.split("/");if(0===t.length)return[];var n=qn(t),r=n[0],o=n.slice(1),i=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===o.length)return i?[a,""]:[a];var l=ir(o.join("/")),s=[];return s.push.apply(s,(0,F.Z)(l.map((function(e){return""===e?a:[a,e].join("/")})))),i&&s.push.apply(s,(0,F.Z)(l)),s.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var ar=/^:\w+$/,lr=3,sr=2,cr=1,ur=10,dr=-2,fr=function(e){return"*"===e};function pr(e,t){var n=e.split("/"),r=n.length;return n.some(fr)&&(r+=dr),t&&(r+=sr),n.filter((function(e){return!fr(e)})).reduce((function(e,t){return e+(ar.test(t)?lr:""===t?cr:ur)}),r)}function hr(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var l=n[a],s=a===n.length-1,c="/"===o?t:t.slice(o.length)||"/",u=mr({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},c);if(!u)return null;Object.assign(r,u.params);var d=l.route;i.push({params:r,pathname:wr([o,u.pathname]),pathnameBase:Sr(wr([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=wr([o,u.pathnameBase]))}return i}function mr(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);$n("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var l=a[0],s=l.replace(/(.)\/+$/,"$1"),c=a.slice(1),u=i.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";s=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return $n(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{});return{params:u,pathname:l,pathnameBase:s,pattern:e}}function vr(e){try{return decodeURI(e)}catch(t){return $n(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function gr(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function yr(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function br(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function xr(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=Jn(e):(Gn(!(o=Hn({},e)).pathname||!o.pathname.includes("?"),yr("?","pathname","search",o)),Gn(!o.pathname||!o.pathname.includes("#"),yr("#","pathname","hash",o)),Gn(!o.search||!o.search.includes("#"),yr("#","search","hash",o)));var i,a=""===e||""===o.pathname,l=a?"/":o.pathname;if(r||null==l)i=n;else{var s=t.length-1;if(l.startsWith("..")){for(var c=l.split("/");".."===c[0];)c.shift(),s-=1;o.pathname=c.join("/")}i=s>=0?t[s]:"/"}var u=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Jn(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,l=void 0===a?"":a,s=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:s,search:kr(i),hash:jr(l)}}(o,i),d=l&&"/"!==l&&l.endsWith("/"),f=(a||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}var wr=function(e){return e.join("/").replace(/\/\/+/g,"/")},Sr=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},kr=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},jr=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Er=function(e){$(n,e);var t=K(n);function n(){return W(this,n),t.apply(this,arguments)}return H(n)}(X(Error));var Or=H((function e(t,n,r,o){W(this,e),void 0===o&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}));function Cr(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Pr=["post","put","patch","delete"],Zr=new Set(Pr),_r=["get"].concat(Pr),Tr=new Set(_r),Mr=new Set([301,302,303,307,308]),Ar=new Set([307,308]),Rr={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Nr={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ir={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Dr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zr=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}};function Lr(e){var t,n=e.window?e.window:"undefined"!==typeof window?window:void 0,r="undefined"!==typeof n&&"undefined"!==typeof n.document&&"undefined"!==typeof n.document.createElement,o=!r;if(Gn(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var i=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:i(e)}}}else t=zr;var a,l={},s=nr(e.routes,t,void 0,l),c=e.basename||"/",d=Hn({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),f=null,p=new Set,h=null,m=null,v=null,g=null!=e.hydrationData,y=rr(s,e.history.location,c),b=null;if(null==y){var x=oo(404,{pathname:e.history.location.pathname}),w=ro(s),S=w.matches,k=w.route;y=S,b=(0,u.Z)({},k.id,x)}var j,E,O=!y.some((function(e){return e.route.lazy}))&&(!y.some((function(e){return e.route.loader}))||null!=e.hydrationData),C={historyAction:e.history.action,location:e.history.location,matches:y,initialized:O,navigation:Rr,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},P=Bn.Pop,Z=!1,_=!1,T=!1,M=[],A=[],N=new Map,z=0,L=-1,B=new Map,W=new Set,U=new Map,q=new Map,H=new Map,V=!1;function Y(e){C=Hn({},C,e),p.forEach((function(e){return e(C)}))}function G(t,n){var r,o,i,l=null!=C.actionData&&null!=C.navigation.formMethod&&mo(C.navigation.formMethod)&&"loading"===C.navigation.state&&!0!==(null==(r=t.state)?void 0:r._isRedirect);i=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:l?C.actionData:null;var c=n.loaderData?to(C.loaderData,n.loaderData,n.matches||[],n.errors):C.loaderData,u=C.blockers;u.size>0&&(u=new Map(u)).forEach((function(e,t){return u.set(t,Ir)}));var d=!0===Z||null!=C.navigation.formMethod&&mo(C.navigation.formMethod)&&!0!==(null==(o=t.state)?void 0:o._isRedirect);a&&(s=a,a=void 0),_||P===Bn.Pop||(P===Bn.Push?e.history.push(t,t.state):P===Bn.Replace&&e.history.replace(t,t.state)),Y(Hn({},n,{actionData:i,loaderData:c,historyAction:P,location:t,initialized:!0,navigation:Rr,revalidation:"idle",restoreScrollPosition:je(t,n.matches||C.matches),preventScrollReset:d,blockers:u})),P=Bn.Pop,Z=!1,_=!1,T=!1,M=[],A=[]}function $(e,t){return K.apply(this,arguments)}function K(){return K=I(R().mark((function t(n,r){var o,i,a,l,s,u,f,p,h,m,v;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("number"!==typeof n){t.next=3;break}return e.history.go(n),t.abrupt("return");case 3:if(o=Br(C.location,C.matches,c,d.v7_prependBasename,n,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),i=Fr(d.v7_normalizeFormMethod,!1,o,r),a=i.path,l=i.submission,s=i.error,u=C.location,f=Hn({},f=Xn(C.location,a,r&&r.state),e.history.encodeLocation(f)),p=r&&null!=r.replace?r.replace:void 0,h=Bn.Push,!0===p?h=Bn.Replace:!1===p||null!=l&&mo(l.formMethod)&&l.formAction===C.location.pathname+C.location.search&&(h=Bn.Replace),m=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,!(v=xe({currentLocation:u,nextLocation:f,historyAction:h}))){t.next=16;break}return be(v,{state:"blocked",location:f,proceed:function(){be(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),$(n,r)},reset:function(){var e=new Map(C.blockers);e.set(v,Ir),Y({blockers:e})}}),t.abrupt("return");case 16:return t.next=18,X(h,f,{submission:l,pendingError:s,preventScrollReset:m,replace:r&&r.replace});case 18:return t.abrupt("return",t.sent);case 19:case"end":return t.stop()}}),t)}))),K.apply(this,arguments)}function X(e,t,n){return Q.apply(this,arguments)}function Q(){return Q=I(R().mark((function t(n,r,o){var i,l,d,f,p,h,m,v,g,y,b,x,w,S,k;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(E&&E.abort(),E=null,P=n,_=!0===(o&&o.startUninterruptedRevalidation),ke(C.location,C.matches),Z=!0===(o&&o.preventScrollReset),i=a||s,l=o&&o.overrideNavigation,d=rr(i,r,c)){t.next=15;break}return f=oo(404,{pathname:r.pathname}),p=ro(i),h=p.matches,m=p.route,we(),G(r,{matches:h,loaderData:{},errors:(0,u.Z)({},m.id,f)}),t.abrupt("return");case 15:if(!C.initialized||T||!lo(C.location,r)||o&&o.submission&&mo(o.submission.formMethod)){t.next=18;break}return G(r,{matches:d}),t.abrupt("return");case 18:if(E=new AbortController,v=Kr(e.history,r,E.signal,o&&o.submission),!o||!o.pendingError){t.next=24;break}y=(0,u.Z)({},no(d).route.id,o.pendingError),t.next=34;break;case 24:if(!(o&&o.submission&&mo(o.submission.formMethod))){t.next=34;break}return t.next=27,ee(v,r,o.submission,d,{replace:o.replace});case 27:if(!(b=t.sent).shortCircuited){t.next=30;break}return t.abrupt("return");case 30:g=b.pendingActionData,y=b.pendingActionError,l=ko(r,o.submission),v=new Request(v.url,{signal:v.signal});case 34:return t.next=36,ne(v,r,d,l,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,g,y);case 36:if(x=t.sent,w=x.shortCircuited,S=x.loaderData,k=x.errors,!w){t.next=42;break}return t.abrupt("return");case 42:E=null,G(r,Hn({matches:d},g?{actionData:g}:{},{loaderData:S,errors:k}));case 44:case"end":return t.stop()}}),t)}))),Q.apply(this,arguments)}function ee(e,t,n,r,o){return te.apply(this,arguments)}function te(){return te=I(R().mark((function e(n,r,o,i,a){var s,d,f,p;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===a&&(a={}),de(),Y({navigation:jo(r,o)}),(d=wo(i,r)).route.action||d.route.lazy){e.next=9;break}s={type:Vn.error,error:oo(405,{method:n.method,pathname:r.pathname,routeId:d.route.id})},e.next=14;break;case 9:return e.next=11,Gr("action",n,d,i,l,t,c);case 11:if(s=e.sent,!n.signal.aborted){e.next=14;break}return e.abrupt("return",{shortCircuited:!0});case 14:if(!uo(s)){e.next=19;break}return f=a&&null!=a.replace?a.replace:s.location===C.location.pathname+C.location.search,e.next=18,le(C,s,{submission:o,replace:f});case 18:return e.abrupt("return",{shortCircuited:!0});case 19:if(!co(s)){e.next=23;break}return p=no(i,d.route.id),!0!==(a&&a.replace)&&(P=Bn.Push),e.abrupt("return",{pendingActionData:{},pendingActionError:(0,u.Z)({},p.route.id,s.error)});case 23:if(!so(s)){e.next=25;break}throw oo(400,{type:"defer-action"});case 25:return e.abrupt("return",{pendingActionData:(0,u.Z)({},d.route.id,s.data)});case 26:case"end":return e.stop()}}),e)}))),te.apply(this,arguments)}function ne(e,t,n,r,o,i,a,l,s){return re.apply(this,arguments)}function re(){return re=I(R().mark((function t(n,r,o,i,l,u,d,f,p){var h,m,v,g,y,b,x,w,S,k,j,O,P,Z,I,B,F,H,V,$,K,X;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(h=i||ko(r,l),m=l||u||So(h),v=a||s,g=Ur(e.history,C,o,m,r,T,M,A,U,W,v,c,f,p),y=(0,D.Z)(g,2),b=y[0],x=y[1],we((function(e){return!(o&&o.some((function(t){return t.route.id===e})))||b&&b.some((function(t){return t.route.id===e}))})),L=++z,0!==b.length||0!==x.length){t.next=10;break}return w=ve(),G(r,Hn({matches:o,loaderData:{},errors:p||null},f?{actionData:f}:{},w?{fetchers:new Map(C.fetchers)}:{})),t.abrupt("return",{shortCircuited:!0});case 10:return _||(x.forEach((function(e){var t=C.fetchers.get(e.key),n=Eo(void 0,t?t.data:void 0);C.fetchers.set(e.key,n)})),S=f||C.actionData,Y(Hn({navigation:h},S?0===Object.keys(S).length?{actionData:null}:{actionData:S}:{},x.length>0?{fetchers:new Map(C.fetchers)}:{}))),x.forEach((function(e){N.has(e.key)&&he(e.key),e.controller&&N.set(e.key,e.controller)})),k=function(){return x.forEach((function(e){return he(e.key)}))},E&&E.signal.addEventListener("abort",k),t.next=16,ce(C.matches,o,b,x,n);case 16:if(j=t.sent,O=j.results,P=j.loaderResults,Z=j.fetcherResults,!n.signal.aborted){t.next=22;break}return t.abrupt("return",{shortCircuited:!0});case 22:if(E&&E.signal.removeEventListener("abort",k),x.forEach((function(e){return N.delete(e.key)})),!(I=io(O))){t.next=30;break}return I.idx>=b.length&&(B=x[I.idx-b.length].key,W.add(B)),t.next=29,le(C,I.result,{replace:d});case 29:return t.abrupt("return",{shortCircuited:!0});case 30:return F=eo(C,o,b,P,p,x,Z,q),H=F.loaderData,V=F.errors,q.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&q.delete(t)}))})),$=ve(),K=ge(L),X=$||K||x.length>0,t.abrupt("return",Hn({loaderData:H,errors:V},X?{fetchers:new Map(C.fetchers)}:{}));case 36:case"end":return t.stop()}}),t)}))),re.apply(this,arguments)}function oe(e){return C.fetchers.get(e)||Nr}function ie(){return ie=I(R().mark((function n(r,o,i,d,f,p){var h,m,v,g,y,b,x,w,S,k,j,O,Z,_,I,F,H,V,$,K,X,Q,J,ee,te,ne,re,oe,ie,ae,se;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(de(),U.delete(r),d.route.action||d.route.lazy){n.next=6;break}return h=oo(405,{method:p.formMethod,pathname:i,routeId:o}),fe(r,o,h),n.abrupt("return");case 6:return m=C.fetchers.get(r),v=Oo(p,m),C.fetchers.set(r,v),Y({fetchers:new Map(C.fetchers)}),g=new AbortController,y=Kr(e.history,i,g.signal,p),N.set(r,g),b=z,n.next=16,Gr("action",y,d,f,l,t,c);case 16:if(x=n.sent,!y.signal.aborted){n.next=20;break}return N.get(r)===g&&N.delete(r),n.abrupt("return");case 20:if(!uo(x)){n.next=34;break}if(N.delete(r),!(L>b)){n.next=29;break}return w=Co(void 0),C.fetchers.set(r,w),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return");case 29:return W.add(r),S=Eo(p),C.fetchers.set(r,S),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return",le(C,x,{submission:p,isFetchActionRedirect:!0}));case 34:if(!co(x)){n.next=37;break}return fe(r,o,x.error),n.abrupt("return");case 37:if(!so(x)){n.next=39;break}throw oo(400,{type:"defer-action"});case 39:return k=C.navigation.location||C.location,j=Kr(e.history,k,g.signal),O=a||s,Gn(Z="idle"!==C.navigation.state?rr(O,C.navigation.location,c):C.matches,"Didn't find any matches after fetcher action"),_=++z,B.set(r,_),I=Eo(p,x.data),C.fetchers.set(r,I),F=Ur(e.history,C,Z,p,k,T,M,A,U,W,O,c,(0,u.Z)({},d.route.id,x.data),void 0),H=(0,D.Z)(F,2),V=H[0],($=H[1]).filter((function(e){return e.key!==r})).forEach((function(e){var t=e.key,n=C.fetchers.get(t),r=Eo(void 0,n?n.data:void 0);C.fetchers.set(t,r),N.has(t)&&he(t),e.controller&&N.set(t,e.controller)})),Y({fetchers:new Map(C.fetchers)}),K=function(){return $.forEach((function(e){return he(e.key)}))},g.signal.addEventListener("abort",K),n.next=55,ce(C.matches,Z,V,$,j);case 55:if(X=n.sent,Q=X.results,J=X.loaderResults,ee=X.fetcherResults,!g.signal.aborted){n.next=61;break}return n.abrupt("return");case 61:if(g.signal.removeEventListener("abort",K),B.delete(r),N.delete(r),$.forEach((function(e){return N.delete(e.key)})),!(te=io(Q))){n.next=69;break}return te.idx>=V.length&&(ne=$[te.idx-V.length].key,W.add(ne)),n.abrupt("return",le(C,te.result));case 69:re=eo(C,C.matches,V,J,void 0,$,ee,q),oe=re.loaderData,ie=re.errors,C.fetchers.has(r)&&(ae=Co(x.data),C.fetchers.set(r,ae)),se=ge(_),"loading"===C.navigation.state&&_>L?(Gn(P,"Expected pending action"),E&&E.abort(),G(C.navigation.location,{matches:Z,loaderData:oe,errors:ie,fetchers:new Map(C.fetchers)})):(Y(Hn({errors:ie,loaderData:to(C.loaderData,oe,Z,ie)},se||$.length>0?{fetchers:new Map(C.fetchers)}:{})),T=!1);case 73:case"end":return n.stop()}}),n)}))),ie.apply(this,arguments)}function ae(){return ae=I(R().mark((function n(r,o,i,a,s,d){var f,p,h,m,v,g,y,b,x;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return f=C.fetchers.get(r),p=Eo(d,f?f.data:void 0),C.fetchers.set(r,p),Y({fetchers:new Map(C.fetchers)}),h=new AbortController,m=Kr(e.history,i,h.signal),N.set(r,h),v=z,n.next=10,Gr("loader",m,a,s,l,t,c);case 10:if(!so(g=n.sent)){n.next=18;break}return n.next=14,yo(g,m.signal,!0);case 14:if(n.t0=n.sent,n.t0){n.next=17;break}n.t0=g;case 17:g=n.t0;case 18:if(N.get(r)===h&&N.delete(r),!m.signal.aborted){n.next=21;break}return n.abrupt("return");case 21:if(!uo(g)){n.next=33;break}if(!(L>v)){n.next=29;break}return y=Co(void 0),C.fetchers.set(r,y),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return");case 29:return W.add(r),n.next=32,le(C,g);case 32:return n.abrupt("return");case 33:if(!co(g)){n.next=38;break}return b=no(C.matches,o),C.fetchers.delete(r),Y({fetchers:new Map(C.fetchers),errors:(0,u.Z)({},b.route.id,g.error)}),n.abrupt("return");case 38:Gn(!so(g),"Unhandled fetcher deferred data"),x=Co(g.data),C.fetchers.set(r,x),Y({fetchers:new Map(C.fetchers)});case 42:case"end":return n.stop()}}),n)}))),ae.apply(this,arguments)}function le(e,t,n){return se.apply(this,arguments)}function se(){return se=I(R().mark((function t(o,i,a){var l,s,u,d,f,p,h,m,v,g;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=(l=void 0===a?{}:a).submission,u=l.replace,d=l.isFetchActionRedirect,i.revalidate&&(T=!0),Gn(f=Xn(o.location,i.location,Hn({_isRedirect:!0},d?{_isFetchActionRedirect:!0}:{})),"Expected a location on the redirect navigation"),!r){t.next=10;break}if(p=!1,i.reloadDocument?p=!0:Dr.test(i.location)&&(h=e.history.createURL(i.location),p=h.origin!==n.location.origin||null==gr(h.pathname,c)),!p){t.next=10;break}return u?n.location.replace(i.location):n.location.assign(i.location),t.abrupt("return");case 10:if(E=null,m=!0===u?Bn.Replace:Bn.Push,v=s||So(o.navigation),!(Ar.has(i.status)&&v&&mo(v.formMethod))){t.next=18;break}return t.next=16,X(m,f,{submission:Hn({},v,{formAction:i.location}),preventScrollReset:Z});case 16:case 21:t.next=26;break;case 18:if(!d){t.next=23;break}return t.next=21,X(m,f,{overrideNavigation:ko(f),fetcherSubmission:v,preventScrollReset:Z});case 23:return g=ko(f,v),t.next=26,X(m,f,{overrideNavigation:g,preventScrollReset:Z});case 26:case"end":return t.stop()}}),t)}))),se.apply(this,arguments)}function ce(e,t,n,r,o){return ue.apply(this,arguments)}function ue(){return ue=I(R().mark((function n(r,o,i,a,s){var u,d,f;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([].concat((0,F.Z)(i.map((function(e){return Gr("loader",s,e,o,l,t,c)}))),(0,F.Z)(a.map((function(n){return n.matches&&n.match&&n.controller?Gr("loader",Kr(e.history,n.path,n.controller.signal),n.match,n.matches,l,t,c):{type:Vn.error,error:oo(404,{pathname:n.path})}})))));case 2:return u=n.sent,d=u.slice(0,i.length),f=u.slice(i.length),n.next=7,Promise.all([vo(r,i,d,d.map((function(){return s.signal})),!1,C.loaderData),vo(r,a.map((function(e){return e.match})),f,a.map((function(e){return e.controller?e.controller.signal:null})),!0)]);case 7:return n.abrupt("return",{results:u,loaderResults:d,fetcherResults:f});case 8:case"end":return n.stop()}}),n)}))),ue.apply(this,arguments)}function de(){var e;T=!0,(e=M).push.apply(e,(0,F.Z)(we())),U.forEach((function(e,t){N.has(t)&&(A.push(t),he(t))}))}function fe(e,t,n){var r=no(C.matches,t);pe(e),Y({errors:(0,u.Z)({},r.route.id,n),fetchers:new Map(C.fetchers)})}function pe(e){var t=C.fetchers.get(e);!N.has(e)||t&&"loading"===t.state&&B.has(e)||he(e),U.delete(e),B.delete(e),W.delete(e),C.fetchers.delete(e)}function he(e){var t=N.get(e);Gn(t,"Expected fetch controller: "+e),t.abort(),N.delete(e)}function me(e){var t,n=J(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=Co(oe(r).data);C.fetchers.set(r,o)}}catch(i){n.e(i)}finally{n.f()}}function ve(){var e,t=[],n=!1,r=J(W);try{for(r.s();!(e=r.n()).done;){var o=e.value,i=C.fetchers.get(o);Gn(i,"Expected fetcher: "+o),"loading"===i.state&&(W.delete(o),t.push(o),n=!0)}}catch(a){r.e(a)}finally{r.f()}return me(t),n}function ge(e){var t,n=[],r=J(B);try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0];if(o[1]<e){var a=C.fetchers.get(i);Gn(a,"Expected fetcher: "+i),"loading"===a.state&&(he(i),B.delete(i),n.push(i))}}}catch(l){r.e(l)}finally{r.f()}return me(n),n.length>0}function ye(e){C.blockers.delete(e),H.delete(e)}function be(e,t){var n=C.blockers.get(e)||Ir;Gn("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);var r=new Map(C.blockers);r.set(e,t),Y({blockers:r})}function xe(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==H.size){H.size>1&&$n(!1,"A router only supports one blocker at a time");var o=Array.from(H.entries()),i=(0,D.Z)(o[o.length-1],2),a=i[0],l=i[1],s=C.blockers.get(a);if(!s||"proceeding"!==s.state)return l({currentLocation:t,nextLocation:n,historyAction:r})?a:void 0}}function we(e){var t=[];return q.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),q.delete(r))})),t}function Se(e,t){if(m){var n=m(e,t.map((function(e){return function(e,t){var n=e.route,r=e.pathname,o=e.params;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}(e,C.loaderData)})));return n||e.key}return e.key}function ke(e,t){if(h&&v){var n=Se(e,t);h[n]=v()}}function je(e,t){if(h){var n=Se(e,t),r=h[n];if("number"===typeof r)return r}return null}return j={get basename(){return c},get state(){return C},get routes(){return s},initialize:function(){return f=e.history.listen((function(t){var n=t.action,r=t.location,o=t.delta;if(!V){$n(0===H.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");var i=xe({currentLocation:C.location,nextLocation:r,historyAction:n});return i&&null!=o?(V=!0,e.history.go(-1*o),void be(i,{state:"blocked",location:r,proceed:function(){be(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(o)},reset:function(){var e=new Map(C.blockers);e.set(i,Ir),Y({blockers:e})}})):X(n,r)}V=!1})),C.initialized||X(Bn.Pop,C.location),j},subscribe:function(e){return p.add(e),function(){return p.delete(e)}},enableScrollRestoration:function(e,t,n){if(h=e,v=t,m=n||null,!g&&C.navigation===Rr){g=!0;var r=je(C.location,C.matches);null!=r&&Y({restoreScrollPosition:r})}return function(){h=null,v=null,m=null}},navigate:$,fetch:function(e,t,n,r){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");N.has(e)&&he(e);var i=a||s,l=Br(C.location,C.matches,c,d.v7_prependBasename,n,t,null==r?void 0:r.relative),u=rr(i,l,c);if(u){var f=Fr(d.v7_normalizeFormMethod,!0,l,r),p=f.path,h=f.submission,m=f.error;if(m)fe(e,t,m);else{var v=wo(u,p);Z=!0===(r&&r.preventScrollReset),h&&mo(h.formMethod)?function(e,t,n,r,o,i){ie.apply(this,arguments)}(e,t,p,v,u,h):(U.set(e,{routeId:t,path:p}),function(e,t,n,r,o,i){ae.apply(this,arguments)}(e,t,p,v,u,h))}}else fe(e,t,oo(404,{pathname:l}))},revalidate:function(){de(),Y({revalidation:"loading"}),"submitting"!==C.navigation.state&&("idle"!==C.navigation.state?X(P||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation}):X(C.historyAction,C.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:oe,deleteFetcher:pe,dispose:function(){f&&f(),p.clear(),E&&E.abort(),C.fetchers.forEach((function(e,t){return pe(t)})),C.blockers.forEach((function(e,t){return ye(t)}))},getBlocker:function(e,t){var n=C.blockers.get(e)||Ir;return H.get(e)!==t&&H.set(e,t),n},deleteBlocker:ye,_internalFetchControllers:N,_internalActiveDeferreds:q,_internalSetRoutes:function(e){a=nr(e,t,void 0,l={})}},j}Symbol("deferred");function Br(e,t,n,r,o,i,a){var l,s;if(null!=i&&"path"!==a){l=[];var c,u=J(t);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l.push(d),d.route.id===i){s=d;break}}}catch(p){u.e(p)}finally{u.f()}}else l=t,s=t[t.length-1];var f=xr(o||".",br(l).map((function(e){return e.pathnameBase})),gr(e.pathname,n)||e.pathname,"path"===a);return null==o&&(f.search=e.search,f.hash=e.hash),null!=o&&""!==o&&"."!==o||!s||!s.route.index||xo(f.search)||(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(f.pathname="/"===f.pathname?n:wr([n,f.pathname])),Qn(f)}function Fr(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!ho(r.formMethod))return{path:n,error:oo(405,{method:r.formMethod})};var o,i,a=function(){return{path:n,error:oo(400,{type:"invalid-body"})}},l=r.formMethod||"get",s=e?l.toUpperCase():l.toLowerCase(),c=ao(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!mo(s))return a();var u="string"===typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((function(e,t){var n=(0,D.Z)(t,2);return""+e+n[0]+"="+n[1]+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:void 0,text:u}}}if("application/json"===r.formEncType){if(!mo(s))return a();try{var d="string"===typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch(h){return a()}}}if(Gn("function"===typeof FormData,"FormData is not available in this environment"),r.formData)o=Xr(r.formData),i=r.formData;else if(r.body instanceof FormData)o=Xr(r.body),i=r.body;else if(r.body instanceof URLSearchParams)i=Qr(o=r.body);else if(null==r.body)o=new URLSearchParams,i=new FormData;else try{i=Qr(o=new URLSearchParams(r.body))}catch(h){return a()}var f={formMethod:s,formAction:c,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(mo(f.formMethod))return{path:n,submission:f};var p=Jn(n);return t&&p.search&&xo(p.search)&&o.append("index",""),p.search="?"+o,{path:Qn(p),submission:f}}function Wr(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function Ur(e,t,n,r,o,i,a,l,s,c,u,d,f,p){var h=p?Object.values(p)[0]:f?Object.values(f)[0]:void 0,m=e.createURL(t.location),v=e.createURL(o),g=p?Object.keys(p)[0]:void 0,y=Wr(n,g).filter((function(e,n){if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||a.some((function(t){return t===e.route.id})))return!0;var o=t.matches[n],l=e;return Hr(e,Hn({currentUrl:m,currentParams:o.params,nextUrl:v,nextParams:l.params},r,{actionResult:h,defaultShouldRevalidate:i||m.pathname+m.search===v.pathname+v.search||m.search!==v.search||qr(o,l)}))})),b=[];return s.forEach((function(e,o){if(n.some((function(t){return t.route.id===e.routeId}))){var a=rr(u,e.path,d);if(a){var s=t.fetchers.get(o),f=wo(a,e.path);!c.has(o)&&(!!l.includes(o)||(s&&"idle"!==s.state&&void 0===s.data?i:Hr(f,Hn({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:i}))))&&b.push({key:o,routeId:e.routeId,path:e.path,matches:a,match:f,controller:new AbortController})}else b.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}})),[y,b]}function qr(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Hr(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"===typeof n)return n}return t.defaultShouldRevalidate}function Vr(e,t,n){return Yr.apply(this,arguments)}function Yr(){return Yr=I(R().mark((function e(t,n,r){var o,i,a,l,s,c;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.lazy){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.lazy();case 4:if(o=e.sent,t.lazy){e.next=7;break}return e.abrupt("return");case 7:for(l in Gn(i=r[t.id],"No route found in manifest"),a={},o)s=i[l],$n(!(c=void 0!==s&&"hasErrorBoundary"!==l),'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+l+'" will be ignored.'),c||tr.has(l)||(a[l]=o[l]);Object.assign(i,a),Object.assign(i,Hn({},n(i),{lazy:void 0}));case 13:case"end":return e.stop()}}),e)}))),Yr.apply(this,arguments)}function Gr(e,t,n,r,o,i,a,l){return $r.apply(this,arguments)}function $r(){return $r=I(R().mark((function e(t,n,r,o,i,a,l,s){var c,u,d,f,p,h,m,v,g,y,b,x,w,S,k,j,E,O;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s&&(s={}),f=function(e){var t,o=new Promise((function(e,n){return t=n}));return d=function(){return t()},n.signal.addEventListener("abort",d),Promise.race([e({request:n,params:r.params,context:s.requestContext}),o])},e.prev=2,p=r.route[t],!r.route.lazy){e.next=30;break}if(!p){e.next=12;break}return e.next=8,Promise.all([f(p),Vr(r.route,a,i)]);case 8:h=e.sent,u=h[0],e.next=28;break;case 12:return e.next=14,Vr(r.route,a,i);case 14:if(!(p=r.route[t])){e.next=21;break}return e.next=18,f(p);case 18:u=e.sent,e.next=28;break;case 21:if("action"!==t){e.next=27;break}throw m=new URL(n.url),v=m.pathname+m.search,oo(405,{method:n.method,pathname:v,routeId:r.route.id});case 27:return e.abrupt("return",{type:Vn.data,data:void 0});case 28:e.next=39;break;case 30:if(p){e.next=36;break}throw g=new URL(n.url),oo(404,{pathname:g.pathname+g.search});case 36:return e.next=38,f(p);case 38:u=e.sent;case 39:Gn(void 0!==u,"You defined "+("action"===t?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`."),e.next=46;break;case 42:e.prev=42,e.t0=e.catch(2),c=Vn.error,u=e.t0;case 46:return e.prev=46,d&&n.signal.removeEventListener("abort",d),e.finish(46);case 49:if(!po(u)){e.next=75;break}if(y=u.status,!Mr.has(y)){e.next=59;break}if(Gn(b=u.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),Dr.test(b)?s.isStaticRequest||(x=new URL(n.url),w=b.startsWith("//")?new URL(x.protocol+b):new URL(b),S=null!=gr(w.pathname,l),w.origin===x.origin&&S&&(b=w.pathname+w.search+w.hash)):b=Br(new URL(n.url),o.slice(0,o.indexOf(r)+1),l,!0,b),!s.isStaticRequest){e.next=58;break}throw u.headers.set("Location",b),u;case 58:return e.abrupt("return",{type:Vn.redirect,status:y,location:b,revalidate:null!==u.headers.get("X-Remix-Revalidate"),reloadDocument:null!==u.headers.get("X-Remix-Reload-Document")});case 59:if(!s.isRouteRequest){e.next=62;break}throw{type:c===Vn.error?Vn.error:Vn.data,response:u};case 62:if(!(j=u.headers.get("Content-Type"))||!/\bapplication\/json\b/.test(j)){e.next=69;break}return e.next=66,u.json();case 66:k=e.sent,e.next=72;break;case 69:return e.next=71,u.text();case 71:k=e.sent;case 72:if(c!==Vn.error){e.next=74;break}return e.abrupt("return",{type:c,error:new Or(y,u.statusText,k),headers:u.headers});case 74:return e.abrupt("return",{type:Vn.data,data:k,statusCode:u.status,headers:u.headers});case 75:if(c!==Vn.error){e.next=77;break}return e.abrupt("return",{type:c,error:u});case 77:if(!fo(u)){e.next=79;break}return e.abrupt("return",{type:Vn.deferred,deferredData:u,statusCode:null==(E=u.init)?void 0:E.status,headers:(null==(O=u.init)?void 0:O.headers)&&new Headers(u.init.headers)});case 79:return e.abrupt("return",{type:Vn.data,data:u});case 80:case"end":return e.stop()}}),e,null,[[2,42,46,49]])}))),$r.apply(this,arguments)}function Kr(e,t,n,r){var o=e.createURL(ao(t)).toString(),i={signal:n};if(r&&mo(r.formMethod)){var a=r.formMethod,l=r.formEncType;i.method=a.toUpperCase(),"application/json"===l?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(r.json)):"text/plain"===l?i.body=r.text:"application/x-www-form-urlencoded"===l&&r.formData?i.body=Xr(r.formData):i.body=r.formData}return new Request(o,i)}function Xr(e){var t,n=new URLSearchParams,r=J(e.entries());try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0],a=o[1];n.append(i,"string"===typeof a?a:a.name)}}catch(l){r.e(l)}finally{r.f()}return n}function Qr(e){var t,n=new FormData,r=J(e.entries());try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0],a=o[1];n.append(i,a)}}catch(l){r.e(l)}finally{r.f()}return n}function Jr(e,t,n,r,o){var i,a={},l=null,s=!1,c={};return n.forEach((function(n,u){var d=t[u].route.id;if(Gn(!uo(n),"Cannot handle redirect results in processLoaderData"),co(n)){var f=no(e,d),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(l=l||{})[f.route.id]&&(l[f.route.id]=p),a[d]=void 0,s||(s=!0,i=Cr(n.error)?n.error.status:500),n.headers&&(c[d]=n.headers)}else so(n)?(o.set(d,n.deferredData),a[d]=n.deferredData.data):a[d]=n.data,null==n.statusCode||200===n.statusCode||s||(i=n.statusCode),n.headers&&(c[d]=n.headers)})),r&&(l=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:l,statusCode:i||200,loaderHeaders:c}}function eo(e,t,n,r,o,i,a,l){for(var s=Jr(t,n,r,o,l),c=s.loaderData,d=s.errors,f=0;f<i.length;f++){var p=i[f],h=p.key,m=p.match,v=p.controller;Gn(void 0!==a&&void 0!==a[f],"Did not find corresponding fetcher result");var g=a[f];if(!v||!v.signal.aborted)if(co(g)){var y=no(e.matches,null==m?void 0:m.route.id);d&&d[y.route.id]||(d=Hn({},d,(0,u.Z)({},y.route.id,g.error))),e.fetchers.delete(h)}else if(uo(g))Gn(!1,"Unhandled fetcher revalidation redirect");else if(so(g))Gn(!1,"Unhandled fetcher deferred data");else{var b=Co(g.data);e.fetchers.set(h,b)}}return{loaderData:c,errors:d}}function to(e,t,n,r){var o,i=Hn({},t),a=J(n);try{for(a.s();!(o=a.n()).done;){var l=o.value,s=l.route.id;if(t.hasOwnProperty(s)?void 0!==t[s]&&(i[s]=t[s]):void 0!==e[s]&&l.route.loader&&(i[s]=e[s]),r&&r.hasOwnProperty(s))break}}catch(c){a.e(c)}finally{a.f()}return i}function no(e,t){return(t?e.slice(0,e.findIndex((function(e){return e.route.id===t}))+1):(0,F.Z)(e)).reverse().find((function(e){return!0===e.route.hasErrorBoundary}))||e[0]}function ro(e){var t=e.find((function(e){return e.index||!e.path||"/"===e.path}))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function oo(e,t){var n=void 0===t?{}:t,r=n.pathname,o=n.routeId,i=n.method,a=n.type,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",i&&r&&o?s="You made a "+i+' request to "'+r+'" but did not provide a `loader` for route "'+o+'", so there is no way to handle the request.':"defer-action"===a?s="defer() is not supported in actions":"invalid-body"===a&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+o+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",i&&r&&o?s="You made a "+i.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+o+'", so there is no way to handle the request.':i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new Or(e||500,l,new Error(s),!0)}function io(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if(uo(n))return{result:n,idx:t}}}function ao(e){return Qn(Hn({},"string"===typeof e?Jn(e):e,{hash:""}))}function lo(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}function so(e){return e.type===Vn.deferred}function co(e){return e.type===Vn.error}function uo(e){return(e&&e.type)===Vn.redirect}function fo(e){var t=e;return t&&"object"===typeof t&&"object"===typeof t.data&&"function"===typeof t.subscribe&&"function"===typeof t.cancel&&"function"===typeof t.resolveData}function po(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function ho(e){return Tr.has(e.toLowerCase())}function mo(e){return Zr.has(e.toLowerCase())}function vo(e,t,n,r,o,i){return go.apply(this,arguments)}function go(){return(go=I(R().mark((function e(t,n,r,o,i,a){var l,s;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=R().mark((function e(l){var s,c,u,d,f;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=r[l],c=n[l]){e.next=4;break}return e.abrupt("return","continue");case 4:if(u=t.find((function(e){return e.route.id===c.route.id})),d=null!=u&&!qr(u,c)&&void 0!==(a&&a[c.route.id]),!so(s)||!i&&!d){e.next=11;break}return Gn(f=o[l],"Expected an AbortSignal for revalidating fetcher deferred result"),e.next=11,yo(s,f,i).then((function(e){e&&(r[l]=e||r[l])}));case 11:case"end":return e.stop()}}),e)})),s=0;case 2:if(!(s<r.length)){e.next=10;break}return e.delegateYield(l(s),"t0",4);case 4:if("continue"!==e.t0){e.next=7;break}return e.abrupt("continue",7);case 7:s++,e.next=2;break;case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function yo(e,t,n){return bo.apply(this,arguments)}function bo(){return(bo=I(R().mark((function e(t,n,r){return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=!1),e.next=3,t.deferredData.resolveData(n);case 3:if(!e.sent){e.next=6;break}return e.abrupt("return");case 6:if(!r){e.next=14;break}return e.prev=7,e.abrupt("return",{type:Vn.data,data:t.deferredData.unwrappedData});case 11:return e.prev=11,e.t0=e.catch(7),e.abrupt("return",{type:Vn.error,error:e.t0});case 14:return e.abrupt("return",{type:Vn.data,data:t.deferredData.data});case 15:case"end":return e.stop()}}),e,null,[[7,11]])})))).apply(this,arguments)}function xo(e){return new URLSearchParams(e).getAll("index").some((function(e){return""===e}))}function wo(e,t){var n="string"===typeof t?Jn(t).search:t.search;if(e[e.length-1].route.index&&xo(n||""))return e[e.length-1];var r=br(e);return r[r.length-1]}function So(e){var t=e.formMethod,n=e.formAction,r=e.formEncType,o=e.text,i=e.formData,a=e.json;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function ko(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function jo(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Eo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t," _hasFetcherDoneAnything ":!0}}function Oo(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0," _hasFetcherDoneAnything ":!0}}function Co(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}function Po(){return Po=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Po.apply(this,arguments)}var Zo=t.createContext(null);var _o=t.createContext(null);var To=t.createContext(null);var Mo=t.createContext(null);var Ao=t.createContext(null);var Ro=t.createContext({outlet:null,matches:[],isDataRoute:!1});var No=t.createContext(null);function Io(){return null!=t.useContext(Ao)}function Do(){return Io()||Gn(!1),t.useContext(Ao).location}function zo(e){t.useContext(Mo).static||t.useLayoutEffect(e)}function Lo(){return t.useContext(Ro).isDataRoute?function(){var e=$o(Yo.UseNavigateStable).router,n=Xo(Go.UseNavigateStable),r=t.useRef(!1);return zo((function(){r.current=!0})),t.useCallback((function(t,o){void 0===o&&(o={}),r.current&&("number"===typeof t?e.navigate(t):e.navigate(t,Po({fromRouteId:n},o)))}),[e,n])}():function(){Io()||Gn(!1);var e=t.useContext(Zo),n=t.useContext(Mo),r=n.basename,o=n.navigator,i=t.useContext(Ro).matches,a=Do().pathname,l=JSON.stringify(br(i).map((function(e){return e.pathnameBase}))),s=t.useRef(!1);zo((function(){s.current=!0}));var c=t.useCallback((function(t,n){if(void 0===n&&(n={}),s.current)if("number"!==typeof t){var i=xr(t,JSON.parse(l),a,"path"===n.relative);null==e&&"/"!==r&&(i.pathname="/"===i.pathname?r:wr([r,i.pathname])),(n.replace?o.replace:o.push)(i,n.state,n)}else o.go(t)}),[r,o,l,a,e]);return c}()}var Bo=t.createContext(null);function Fo(e,n,r){Io()||Gn(!1);var o,i=t.useContext(Mo).navigator,a=t.useContext(Ro).matches,l=a[a.length-1],s=l?l.params:{},c=(l&&l.pathname,l?l.pathnameBase:"/"),u=(l&&l.route,Do());if(n){var d,f="string"===typeof n?Jn(n):n;"/"===c||(null==(d=f.pathname)?void 0:d.startsWith(c))||Gn(!1),o=f}else o=u;var p=o.pathname||"/",h=rr(e,{pathname:"/"===c?p:p.slice(c.length)||"/"});var m=Vo(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},s,e.params),pathname:wr([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:wr([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,r);return n&&m?t.createElement(Ao.Provider,{value:{location:Po({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:Bn.Pop}},m):m}function Wo(){var e=function(){var e,n=t.useContext(No),r=Ko(Go.UseRouteError),o=Xo(Go.UseRouteError);if(n)return n;return null==(e=r.errors)?void 0:e[o]}(),n=Cr(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:i},r):null,null)}var Uo=t.createElement(Wo,null),qo=function(e){$(r,e);var n=K(r);function r(e){var t;return W(this,r),(t=n.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return H(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(Ro.Provider,{value:this.props.routeContext},t.createElement(No.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),r}(t.Component);function Ho(e){var n=e.routeContext,r=e.match,o=e.children,i=t.useContext(Zo);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(Ro.Provider,{value:n},o)}function Vo(e,n,r){var o;if(void 0===n&&(n=[]),void 0===r&&(r=null),null==e){var i;if(null==(i=r)||!i.errors)return null;e=r.matches}var a=e,l=null==(o=r)?void 0:o.errors;if(null!=l){var s=a.findIndex((function(e){return e.route.id&&(null==l?void 0:l[e.route.id])}));s>=0||Gn(!1),a=a.slice(0,Math.min(a.length,s+1))}return a.reduceRight((function(e,o,i){var s=o.route.id?null==l?void 0:l[o.route.id]:null,c=null;r&&(c=o.route.errorElement||Uo);var u=n.concat(a.slice(0,i+1)),d=function(){var n;return n=s?c:o.route.Component?t.createElement(o.route.Component,null):o.route.element?o.route.element:e,t.createElement(Ho,{match:o,routeContext:{outlet:e,matches:u,isDataRoute:null!=r},children:n})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?t.createElement(qo,{location:r.location,revalidation:r.revalidation,component:c,error:s,children:d(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):d()}),null)}var Yo=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Yo||{}),Go=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Go||{});function $o(e){var n=t.useContext(Zo);return n||Gn(!1),n}function Ko(e){var n=t.useContext(_o);return n||Gn(!1),n}function Xo(e){var n=function(e){var n=t.useContext(Ro);return n||Gn(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||Gn(!1),r.route.id}var Qo=r.startTransition;function Jo(e){var n=e.fallbackElement,r=e.router,o=e.future,i=t.useState(r.state),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(o||{}).v7_startTransition,u=t.useCallback((function(e){c&&Qo?Qo((function(){return s(e)})):s(e)}),[s,c]);t.useLayoutEffect((function(){return r.subscribe(u)}),[r,u]);var d=t.useMemo((function(){return{createHref:r.createHref,encodeLocation:r.encodeLocation,go:function(e){return r.navigate(e)},push:function(e,t,n){return r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})},replace:function(e,t,n){return r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}}}),[r]),f=r.basename||"/",p=t.useMemo((function(){return{router:r,navigator:d,static:!1,basename:f}}),[r,d,f]);return t.createElement(t.Fragment,null,t.createElement(Zo.Provider,{value:p},t.createElement(_o.Provider,{value:l},t.createElement(ni,{basename:f,location:l.location,navigationType:l.historyAction,navigator:d},l.initialized?t.createElement(ei,{routes:r.routes,state:l}):n))),null)}function ei(e){return Fo(e.routes,void 0,e.state)}function ti(e){return function(e){var n=t.useContext(Ro).outlet;return n?t.createElement(Bo.Provider,{value:e},n):n}(e.context)}function ni(e){var n=e.basename,r=void 0===n?"/":n,o=e.children,i=void 0===o?null:o,a=e.location,l=e.navigationType,s=void 0===l?Bn.Pop:l,c=e.navigator,u=e.static,d=void 0!==u&&u;Io()&&Gn(!1);var f=r.replace(/^\/*/,"/"),p=t.useMemo((function(){return{basename:f,navigator:c,static:d}}),[f,c,d]);"string"===typeof a&&(a=Jn(a));var h=a,m=h.pathname,v=void 0===m?"/":m,g=h.search,y=void 0===g?"":g,b=h.hash,x=void 0===b?"":b,w=h.state,S=void 0===w?null:w,k=h.key,j=void 0===k?"default":k,E=t.useMemo((function(){var e=gr(v,f);return null==e?null:{location:{pathname:e,search:y,hash:x,state:S,key:j},navigationType:s}}),[f,v,y,x,S,j,s]);return null==E?null:t.createElement(Mo.Provider,{value:p},t.createElement(Ao.Provider,{children:i,value:E}))}var ri=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(ri||{}),oi=new Promise((function(){}));t.Component;function ii(e){var n={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(n,{element:t.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(n,{errorElement:t.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),n}function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ai.apply(this,arguments)}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function li(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ai({},t,{errors:si(t.errors)})),t}function si(e){if(!e)return null;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=(0,D.Z)(r[n],2),i=o[0],a=o[1];if(a&&"RouteErrorResponse"===a.__type)t[i]=new Or(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){if(a.__subType){var l=window[a.__subType];if("function"===typeof l)try{var s=new l(a.message);s.stack="",t[i]=s}catch(u){}}if(null==t[i]){var c=new Error(a.message);c.stack="",t[i]=c}}else t[i]=a}return t}r.startTransition;"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var ci,ui;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(ci||(ci={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ui||(ui={}));var di={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fi=t.createContext&&t.createContext(di),pi=function(){return pi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pi.apply(this,arguments)},hi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function mi(e){return e&&e.map((function(e,n){return t.createElement(e.tag,pi({key:n},e.attr),mi(e.child))}))}function vi(e){return function(n){return t.createElement(gi,pi({attr:pi({},e.attr)},n),mi(e.child))}}function gi(e){var n=function(n){var r,o=e.attr,i=e.size,a=e.title,l=hi(e,["attr","size","title"]),s=i||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",pi({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,l,{className:r,style:pi(pi({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==fi?t.createElement(fi.Consumer,null,(function(e){return n(e)})):n(di)}function yi(e){return vi({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"}}]})(e)}function bi(e){return vi({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"}}]})(e)}function xi(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(e)}function wi(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M18.906 18.06v369.23C112.4 252.618 269.43 157.82 430.37 133.76L228.42 18.06H18.906zM325.72 179.327C200.38 223.948 86.405 311.052 18.157 422.568v33.602c113.074-111.488 277-176.38 434.373-175.25L325.72 179.326zm25.56 128.682c-125.218 21.642-246.974 83.6-333.124 174.812v10.297h58.916c113.9-65.58 251.166-95.325 379.492-80.814L351.28 308.008zm-2.253 120.96c-80.122 5.884-160.432 27.957-232.61 64.15h266.42l-33.81-64.15z"}}]})(e)}function Si(e){return vi({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M96,113.89,107.06,136H84.94ZM232,56V216a8,8,0,0,1-11.58,7.16L192,208.94l-28.42,14.22a8,8,0,0,1-7.16,0L128,208.94,99.58,223.16a8,8,0,0,1-7.16,0L64,208.94,35.58,223.16A8,8,0,0,1,24,216V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM135.16,156.42l-32-64a8,8,0,0,0-14.32,0l-32,64a8,8,0,0,0,14.32,7.16L76.94,152h38.12l5.78,11.58a8,8,0,1,0,14.32-7.16ZM208,128a8,8,0,0,0-8-8H184V104a8,8,0,0,0-16,0v16H152a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V136h16A8,8,0,0,0,208,128Z"}}]})(e)}function ki(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"}}]})(e)}function ji(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3 6.5h-2v5H8v-5H6V9h6v1.5zm8.25-6.75L23 5l-2.75 1.25L19 9l-1.25-2.75L15 5l2.75-1.25L19 1l1.25 2.75zm0 14L23 19l-2.75 1.25L19 23l-1.25-2.75L15 19l2.75-1.25L19 15l1.25 2.75z"}}]})(e)}function Ei(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 22H5C3.34315 22 2 20.6569 2 19V3C2 2.44772 2.44772 2 3 2H17C17.5523 2 18 2.44772 18 3V10H22V19C22 20.6569 20.6569 22 19 22ZM18 12V19C18 19.5523 18.4477 20 19 20C19.5523 20 20 19.5523 20 19V12H18ZM5 6V12H11V6H5ZM5 13V15H15V13H5ZM5 16V18H15V16H5ZM7 8H9V10H7V8Z"}}]})(e)}var Oi=n(6934),Ci=n(418),Pi=n(6482),Zi=n(988);function _i(){var e=(0,Ci.Z)(Pi.Z);return e[Zi.Z]||e}var Ti=n(7462),Mi=n(3733),Ai=n(2421),Ri=n(104),Ni=n(2466),Ii=n(7416),Di=["sx"],zi=function(e){var t,n,r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Ii.Z;return Object.keys(e).forEach((function(t){o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Li(e){var t,n=e.sx,r=(0,T.Z)(e,Di),o=zi(r),i=o.systemProps,a=o.otherProps;return t=Array.isArray(n)?[i].concat((0,F.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,Ni.P)(e)?(0,Ti.Z)({},i,e):i}:(0,Ti.Z)({},i,n),(0,Ti.Z)({},a,{sx:t})}var Bi=n(184),Fi=["className","component"];var Wi=n(5902),Ui=n(1979),qi=(0,Ui.Z)(),Hi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.themeId,r=e.defaultTheme,o=e.defaultClassName,i=void 0===o?"MuiBox-root":o,a=e.generateClassName,l=(0,Ai.ZP)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(Ri.Z);return t.forwardRef((function(e,t){var o=(0,Ci.Z)(r),s=Li(e),c=s.className,u=s.component,d=void 0===u?"div":u,f=(0,T.Z)(s,Fi);return(0,Bi.jsx)(l,(0,Ti.Z)({as:d,ref:t,className:(0,Mi.Z)(c,a?a(i):i),theme:n&&o[n]||o},f))}))}({themeId:Zi.Z,defaultTheme:qi,defaultClassName:"MuiBox-root",generateClassName:Wi.Z.generate}),Vi=Hi,Yi=n(4419),Gi=n(6117);function $i(e){return"string"===typeof e}function Ki(e,t,n){return void 0===e||$i(e)?t:(0,Ti.Z)({},t,{ownerState:(0,Ti.Z)({},t.ownerState,n)})}function Xi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}function Qi(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function Ji(e,t,n){return"function"===typeof e?e(t,n):e}var ea=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ta(e){var t,n=e.elementType,r=e.externalSlotProps,o=e.ownerState,i=e.skipResolvingSlotProps,a=void 0!==i&&i,l=(0,T.Z)(e,ea),s=a?{}:Ji(r,o),c=function(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,i=e.className;if(!t){var a=(0,Mi.Z)(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),l=(0,Ti.Z)({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),s=(0,Ti.Z)({},n,o,r);return a.length>0&&(s.className=a),Object.keys(l).length>0&&(s.style=l),{props:s,internalRef:void 0}}var c=Xi((0,Ti.Z)({},o,r)),u=Qi(r),d=Qi(o),f=t(c),p=(0,Mi.Z)(null==f?void 0:f.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),h=(0,Ti.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),m=(0,Ti.Z)({},f,n,d,u);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:f.ref}}((0,Ti.Z)({},l,{externalSlotProps:s})),u=c.props,d=c.internalRef,f=(0,Gi.Z)(d,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return Ki(n,(0,Ti.Z)({},u,{ref:f}),o)}var na={disableDefaultClasses:!1},ra=t.createContext(na);function oa(e){var n=t.useContext(ra).disableDefaultClasses;return function(t){return n?"":e(t)}}var ia=n(2876),aa=n(2971);var la=t.forwardRef((function(e,n){var r=e.children,o=e.container,i=e.disablePortal,a=void 0!==i&&i,s=t.useState(null),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=(0,Gi.Z)(t.isValidElement(r)?r.ref:null,n);if((0,ia.Z)((function(){a||d(function(e){return"function"===typeof e?e():e}(o)||document.body)}),[o,a]),(0,ia.Z)((function(){if(u&&!a)return(0,aa.Z)(n,u),function(){(0,aa.Z)(n,null)}}),[n,u,a]),a){if(t.isValidElement(r)){var p={ref:f};return t.cloneElement(r,p)}return(0,Bi.jsx)(t.Fragment,{children:r})}return(0,Bi.jsx)(t.Fragment,{children:u?l.createPortal(r,u):u})}));var sa=n(4913),ca=n(7054),ua=n(8949),da=n(5202);function fa(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function pa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ha(e){return parseInt((0,da.Z)(e).getComputedStyle(e).paddingRight,10)||0}function ma(e,t,n,r,o){var i=[t,n].concat((0,F.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===i.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&pa(e,o)}))}function va(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function ga(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,sa.Z)(e);return t.body===e?(0,da.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var o=fa((0,sa.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(ha(r)+o,"px");var i=(0,sa.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(ha(e)+o,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=(0,sa.Z)(r).body;else{var l=r.parentElement,s=(0,da.Z)(r);a="HTML"===(null==l?void 0:l.nodeName)&&"scroll"===s.getComputedStyle(l).overflowY?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var ya=function(){function e(){W(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return H(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&pa(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);ma(t,e.mount,e.modalRef,r,!0);var o=va(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=va(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=ga(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=va(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&pa(e.modalRef,t),ma(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=o.modals[o.modals.length-1];i.modalRef&&pa(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var ba=new ya;function xa(e){var n=e.container,r=e.disableEscapeKeyDown,o=void 0!==r&&r,i=e.disableScrollLock,a=void 0!==i&&i,l=e.manager,s=void 0===l?ba:l,c=e.closeAfterTransition,u=void 0!==c&&c,d=e.onTransitionEnter,f=e.onTransitionExited,p=e.children,h=e.onClose,m=e.open,v=e.rootRef,g=t.useRef({}),y=t.useRef(null),b=t.useRef(null),x=(0,Gi.Z)(b,v),w=t.useState(!m),S=(0,D.Z)(w,2),k=S[0],j=S[1],E=function(e){return!!e&&e.props.hasOwnProperty("in")}(p),O=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(O=!1);var C=function(){return g.current.modalRef=b.current,g.current.mount=y.current,g.current},P=function(){s.mount(C(),{disableScrollLock:a}),b.current&&(b.current.scrollTop=0)},Z=(0,ca.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(n)||(0,sa.Z)(y.current).body;s.add(C(),e),b.current&&P()})),_=t.useCallback((function(){return s.isTopModal(C())}),[s]),T=(0,ca.Z)((function(e){y.current=e,e&&(m&&_()?P():b.current&&pa(b.current,O))})),M=t.useCallback((function(){s.remove(C(),O)}),[O,s]);t.useEffect((function(){return function(){M()}}),[M]),t.useEffect((function(){m?Z():E&&u||M()}),[m,M,E,u,Z]);var A=function(e){return function(t){var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&_()&&(o||(t.stopPropagation(),h&&h(t,"escapeKeyDown")))}},R=function(e){return function(t){var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&h&&h(t,"backdropClick")}};return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Xi(e);delete n.onTransitionEnter,delete n.onTransitionExited;var r=(0,Ti.Z)({},n,t);return(0,Ti.Z)({role:"presentation"},r,{onKeyDown:A(r),ref:x})},getBackdropProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,Ti.Z)({"aria-hidden":!0},e,{onClick:R(e),open:m})},getTransitionProps:function(){return{onEnter:(0,ua.Z)((function(){j(!1),d&&d()}),p.props.onEnter),onExited:(0,ua.Z)((function(){j(!0),f&&f(),u&&M()}),p.props.onExited)}},rootRef:x,portalRef:T,isTopModal:_,exited:k,hasTransition:E}}var wa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Sa(e){var t=[],n=[];return Array.from(e.querySelectorAll(wa)).forEach((function(e,r){var o=function(e){var t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function ka(){return!0}function ja(e){var n=e.children,r=e.disableAutoFocus,o=void 0!==r&&r,i=e.disableEnforceFocus,a=void 0!==i&&i,l=e.disableRestoreFocus,s=void 0!==l&&l,c=e.getTabbable,u=void 0===c?Sa:c,d=e.isEnabled,f=void 0===d?ka:d,p=e.open,h=t.useRef(!1),m=t.useRef(null),v=t.useRef(null),g=t.useRef(null),y=t.useRef(null),b=t.useRef(!1),x=t.useRef(null),w=(0,Gi.Z)(n.ref,x),S=t.useRef(null);t.useEffect((function(){p&&x.current&&(b.current=!o)}),[o,p]),t.useEffect((function(){if(p&&x.current){var e=(0,sa.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),b.current&&x.current.focus()),function(){s||(g.current&&g.current.focus&&(h.current=!0,g.current.focus()),g.current=null)}}}),[p]),t.useEffect((function(){if(p&&x.current){var e=(0,sa.Z)(x.current),t=function(t){var n=x.current;if(null!==n)if(e.hasFocus()&&!a&&f()&&!h.current){if(!n.contains(e.activeElement)){if(t&&y.current!==t.target||e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;var r=[];if(e.activeElement!==m.current&&e.activeElement!==v.current||(r=u(x.current)),r.length>0){var o,i,l=Boolean((null==(o=S.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=S.current)?void 0:i.key)),s=r[0],c=r[r.length-1];"string"!==typeof s&&"string"!==typeof c&&(l?c.focus():s.focus())}else n.focus()}}else h.current=!1},n=function(t){S.current=t,!a&&f()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(h.current=!0,v.current&&v.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[o,a,s,f,p,u]);var k=function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0};return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:m,"data-testid":"sentinelStart"}),t.cloneElement(n,{ref:w,onFocus:function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0,y.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,Bi.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:v,"data-testid":"sentinelEnd"})]})}var Ea=n(5878),Oa=n(1217);function Ca(e){return(0,Oa.Z)("MuiModal",e)}(0,Ea.Z)("MuiModal",["root","hidden","backdrop"]);var Pa=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Za=t.forwardRef((function(e,n){var r,o=e.children,i=e.closeAfterTransition,a=void 0!==i&&i,l=e.container,s=e.disableAutoFocus,c=void 0!==s&&s,u=e.disableEnforceFocus,d=void 0!==u&&u,f=e.disableEscapeKeyDown,p=void 0!==f&&f,h=e.disablePortal,m=void 0!==h&&h,v=e.disableRestoreFocus,g=void 0!==v&&v,y=e.disableScrollLock,b=void 0!==y&&y,x=e.hideBackdrop,w=void 0!==x&&x,S=e.keepMounted,k=void 0!==S&&S,j=e.onBackdropClick,E=e.open,O=e.slotProps,C=void 0===O?{}:O,P=e.slots,Z=void 0===P?{}:P,_=(0,T.Z)(e,Pa),M=(0,Ti.Z)({},e,{closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:m,disableRestoreFocus:g,disableScrollLock:b,hideBackdrop:w,keepMounted:k}),A=xa((0,Ti.Z)({},M,{rootRef:n})),R=A.getRootProps,N=A.getBackdropProps,I=A.getTransitionProps,D=A.portalRef,z=A.isTopModal,L=A.exited,B=A.hasTransition,F=(0,Ti.Z)({},M,{exited:L,hasTransition:B}),W=function(e){var t=e.open,n=e.exited,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,Yi.Z)(r,oa(Ca))}(F),U={};if(void 0===o.props.tabIndex&&(U.tabIndex="-1"),B){var q=I(),H=q.onEnter,V=q.onExited;U.onEnter=H,U.onExited=V}var Y=null!=(r=Z.root)?r:"div",G=ta({elementType:Y,externalSlotProps:C.root,externalForwardedProps:_,getSlotProps:R,className:W.root,ownerState:F}),$=Z.backdrop,K=ta({elementType:$,externalSlotProps:C.backdrop,getSlotProps:function(e){return N((0,Ti.Z)({},e,{onClick:function(t){j&&j(t),null!=e&&e.onClick&&e.onClick(t)}}))},className:W.backdrop,ownerState:F});return k||E||B&&!L?(0,Bi.jsx)(la,{ref:D,container:l,disablePortal:m,children:(0,Bi.jsxs)(Y,(0,Ti.Z)({},G,{children:[!w&&$?(0,Bi.jsx)($,(0,Ti.Z)({},K)):null,(0,Bi.jsx)(ja,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:g,isEnabled:z,open:E,children:t.cloneElement(o,U)})]}))}):null})),_a=n(1402);function Ta(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,z(e,t)}var Ma=!1,Aa=t.createContext(null),Ra="unmounted",Na="exited",Ia="entering",Da="entered",za="exiting",La=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Na,r.appearStatus=Ia):o=Da:o=t.unmountOnExit||t.mountOnEnter?Ra:Na,r.state={status:o},r.nextCallback=null,r}Ta(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ra?{status:Na}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ia&&n!==Da&&(t=Ia):n!==Ia&&n!==Da||(t=za)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ia){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Na&&this.setState({status:Ra})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||Ma?this.safeSetState({status:Da},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ia},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:Da},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!Ma?(this.props.onExit(r),this.safeSetState({status:za},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Na},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Na},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Ra)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,T.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Aa.Provider,{value:null},"function"===typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function Ba(){}La.contextType=Aa,La.propTypes={},La.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ba,onEntering:Ba,onEntered:Ba,onExit:Ba,onExiting:Ba,onExited:Ba},La.UNMOUNTED=Ra,La.EXITED=Na,La.ENTERING=Ia,La.ENTERED=Da,La.EXITING=za;var Fa=La,Wa=function(e){return e.scrollTop};function Ua(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,l=void 0===a?{}:a;return{duration:null!=(n=l.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=l.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:l.transitionDelay}}var qa=n(2071),Ha=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Va={entering:{opacity:1},entered:{opacity:1}},Ya=t.forwardRef((function(e,n){var r=_i(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=e.addEndListener,a=e.appear,l=void 0===a||a,s=e.children,c=e.easing,u=e.in,d=e.onEnter,f=e.onEntered,p=e.onEntering,h=e.onExit,m=e.onExited,v=e.onExiting,g=e.style,y=e.timeout,b=void 0===y?o:y,x=e.TransitionComponent,w=void 0===x?Fa:x,S=(0,T.Z)(e,Ha),k=t.useRef(null),j=(0,qa.Z)(k,s.ref,n),E=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},O=E(p),C=E((function(e,t){Wa(e);var n=Ua({style:g,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),d&&d(e,t)})),P=E(f),Z=E(v),_=E((function(e){var t=Ua({style:g,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),h&&h(e)})),M=E(m);return(0,Bi.jsx)(w,(0,Ti.Z)({appear:l,in:u,nodeRef:k,onEnter:C,onEntered:P,onEntering:O,onExit:_,onExited:M,onExiting:Z,addEndListener:function(e){i&&i(k.current,e)},timeout:b},S,{children:function(e,n){return t.cloneElement(s,(0,Ti.Z)({style:(0,Ti.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Va[e],g,s.props.style),ref:j},n))}}))})),Ga=Ya;function $a(e){return(0,Oa.Z)("MuiBackdrop",e)}(0,Ea.Z)("MuiBackdrop",["root","invisible"]);var Ka=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Xa=(0,Oi.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),Qa=t.forwardRef((function(e,t){var n,r,o,i=(0,_a.Z)({props:e,name:"MuiBackdrop"}),a=i.children,l=i.className,s=i.component,c=void 0===s?"div":s,u=i.components,d=void 0===u?{}:u,f=i.componentsProps,p=void 0===f?{}:f,h=i.invisible,m=void 0!==h&&h,v=i.open,g=i.slotProps,y=void 0===g?{}:g,b=i.slots,x=void 0===b?{}:b,w=i.TransitionComponent,S=void 0===w?Ga:w,k=i.transitionDuration,j=(0,T.Z)(i,Ka),E=(0,Ti.Z)({},i,{component:c,invisible:m}),O=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,Yi.Z)(n,$a,t)}(E),C=null!=(n=y.root)?n:p.root;return(0,Bi.jsx)(S,(0,Ti.Z)({in:v,timeout:k},j,{children:(0,Bi.jsx)(Xa,(0,Ti.Z)({"aria-hidden":!0},C,{as:null!=(r=null!=(o=x.root)?o:d.Root)?r:c,className:(0,Mi.Z)(O.root,l,null==C?void 0:C.className),ownerState:(0,Ti.Z)({},E,null==C?void 0:C.ownerState),classes:O,ref:t,children:a}))}))})),Ja=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],el=(0,Oi.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),tl=(0,Oi.ZP)(Qa,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),nl=t.forwardRef((function(e,n){var r,o,i,a,l,s,c=(0,_a.Z)({name:"MuiModal",props:e}),u=c.BackdropComponent,d=void 0===u?tl:u,f=c.BackdropProps,p=c.classes,h=c.className,m=c.closeAfterTransition,v=void 0!==m&&m,g=c.children,y=c.container,b=c.component,x=c.components,w=void 0===x?{}:x,S=c.componentsProps,k=void 0===S?{}:S,j=c.disableAutoFocus,E=void 0!==j&&j,O=c.disableEnforceFocus,C=void 0!==O&&O,P=c.disableEscapeKeyDown,Z=void 0!==P&&P,_=c.disablePortal,M=void 0!==_&&_,A=c.disableRestoreFocus,R=void 0!==A&&A,N=c.disableScrollLock,I=void 0!==N&&N,z=c.hideBackdrop,L=void 0!==z&&z,B=c.keepMounted,F=void 0!==B&&B,W=c.onBackdropClick,U=c.onClose,q=c.open,H=c.slotProps,V=c.slots,Y=c.theme,G=(0,T.Z)(c,Ja),$=t.useState(!0),K=(0,D.Z)($,2),X=K[0],Q=K[1],J={container:y,closeAfterTransition:v,disableAutoFocus:E,disableEnforceFocus:C,disableEscapeKeyDown:Z,disablePortal:M,disableRestoreFocus:R,disableScrollLock:I,hideBackdrop:L,keepMounted:F,onBackdropClick:W,onClose:U,open:q},ee=(0,Ti.Z)({},c,J,{exited:X}),te=null!=(r=null!=(o=null==V?void 0:V.root)?o:w.Root)?r:el,ne=null!=(i=null!=(a=null==V?void 0:V.backdrop)?a:w.Backdrop)?i:d,re=null!=(l=null==H?void 0:H.root)?l:k.root,oe=null!=(s=null==H?void 0:H.backdrop)?s:k.backdrop;return(0,Bi.jsx)(Za,(0,Ti.Z)({slots:{root:te,backdrop:ne},slotProps:{root:function(){return(0,Ti.Z)({},Ji(re,ee),!$i(te)&&{as:b,theme:Y},{className:(0,Mi.Z)(h,null==re?void 0:re.className,null==p?void 0:p.root,!ee.open&&ee.exited&&(null==p?void 0:p.hidden))})},backdrop:function(){return(0,Ti.Z)({},f,Ji(oe,ee),{className:(0,Mi.Z)(null==oe?void 0:oe.className,null==f?void 0:f.className,null==p?void 0:p.backdrop)})}},onTransitionEnter:function(){return Q(!1)},onTransitionExited:function(){return Q(!0)},ref:n},G,J,{children:g}))})),rl=n(3199),ol=n(7602),il=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function al(e,t,n){var r,o=function(e,t,n){var r,o=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=(0,ol.Z)(t);if(t.fakeTransform)r=t.fakeTransform;else{var l=a.getComputedStyle(t);r=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}var s=0,c=0;if(r&&"none"!==r&&"string"===typeof r){var u=r.split("(")[1].split(")")[0].split(",");s=parseInt(u[4],10),c=parseInt(u[5],10)}return"left"===e?"translateX(".concat(i?i.right+s-o.left:a.innerWidth+s-o.left,"px)"):"right"===e?"translateX(-".concat(i?o.right-i.left-s:o.left+o.width-s,"px)"):"up"===e?"translateY(".concat(i?i.bottom+c-o.top:a.innerHeight+c-o.top,"px)"):"translateY(-".concat(i?o.top-i.top+o.height-c:o.top+o.height-c,"px)")}(e,t,"function"===typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}var ll=t.forwardRef((function(e,n){var r=_i(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},a=e.addEndListener,l=e.appear,s=void 0===l||l,c=e.children,u=e.container,d=e.direction,f=void 0===d?"down":d,p=e.easing,h=void 0===p?o:p,m=e.in,v=e.onEnter,g=e.onEntered,y=e.onEntering,b=e.onExit,x=e.onExited,w=e.onExiting,S=e.style,k=e.timeout,j=void 0===k?i:k,E=e.TransitionComponent,O=void 0===E?Fa:E,C=(0,T.Z)(e,il),P=t.useRef(null),Z=(0,qa.Z)(c.ref,P,n),_=function(e){return function(t){e&&(void 0===t?e(P.current):e(P.current,t))}},M=_((function(e,t){al(f,e,u),Wa(e),v&&v(e,t)})),A=_((function(e,t){var n=Ua({timeout:j,style:S,easing:h},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",(0,Ti.Z)({},n)),e.style.transition=r.transitions.create("transform",(0,Ti.Z)({},n)),e.style.webkitTransform="none",e.style.transform="none",y&&y(e,t)})),R=_(g),N=_(w),I=_((function(e){var t=Ua({timeout:j,style:S,easing:h},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),al(f,e,u),b&&b(e)})),D=_((function(e){e.style.webkitTransition="",e.style.transition="",x&&x(e)})),z=t.useCallback((function(){P.current&&al(f,P.current,u)}),[f,u]);return t.useEffect((function(){if(!m&&"down"!==f&&"right"!==f){var e=(0,rl.Z)((function(){P.current&&al(f,P.current,u)})),t=(0,ol.Z)(P.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[f,m,u]),t.useEffect((function(){m||z()}),[m,z]),(0,Bi.jsx)(O,(0,Ti.Z)({nodeRef:P,onEnter:M,onEntered:R,onEntering:A,onExit:I,onExited:D,onExiting:N,addEndListener:function(e){a&&a(P.current,e)},appear:s,in:m,timeout:j},C,{children:function(e,n){return t.cloneElement(c,(0,Ti.Z)({ref:Z,style:(0,Ti.Z)({visibility:"exited"!==e||m?void 0:"hidden"},S,c.props.style)},n))}}))})),sl=ll,cl=n(2065),ul=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)};function dl(e){return(0,Oa.Z)("MuiPaper",e)}(0,Ea.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var fl=["className","component","elevation","square","variant"],pl=(0,Oi.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,Ti.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,cl.Fq)("#fff",ul(r.elevation)),", ").concat((0,cl.Fq)("#fff",ul(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),hl=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiPaper"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.elevation,l=void 0===a?1:a,s=n.square,c=void 0!==s&&s,u=n.variant,d=void 0===u?"elevation":u,f=(0,T.Z)(n,fl),p=(0,Ti.Z)({},n,{component:i,elevation:l,square:c,variant:d}),h=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,Yi.Z)(i,dl,o)}(p);return(0,Bi.jsx)(pl,(0,Ti.Z)({as:i,ownerState:p,className:(0,Mi.Z)(h.root,r),ref:t},f))})),ml=hl,vl=n(4036);function gl(e){return(0,Oa.Z)("MuiDrawer",e)}(0,Ea.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var yl=["BackdropProps"],bl=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],xl=function(e,t){var n=e.ownerState;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},wl=(0,Oi.ZP)(nl,{name:"MuiDrawer",slot:"Root",overridesResolver:xl})((function(e){var t=e.theme;return{zIndex:(t.vars||t).zIndex.drawer}})),Sl=(0,Oi.ZP)("div",{shouldForwardProp:Oi.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:xl})({flex:"0 0 auto"}),kl=(0,Oi.ZP)(ml,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["paperAnchor".concat((0,vl.Z)(n.anchor))],"temporary"!==n.variant&&t["paperAnchorDocked".concat((0,vl.Z)(n.anchor))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:"1px solid ".concat((t.vars||t).palette.divider)},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider)},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:"1px solid ".concat((t.vars||t).palette.divider)})})),jl={left:"right",right:"left",top:"down",bottom:"up"};var El=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDrawer"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r.anchor,l=void 0===a?"left":a,s=r.BackdropProps,c=r.children,u=r.className,d=r.elevation,f=void 0===d?16:d,p=r.hideBackdrop,h=void 0!==p&&p,m=r.ModalProps,v=(void 0===m?{}:m).BackdropProps,g=r.onClose,y=r.open,b=void 0!==y&&y,x=r.PaperProps,w=void 0===x?{}:x,S=r.SlideProps,k=r.TransitionComponent,j=void 0===k?sl:k,E=r.transitionDuration,O=void 0===E?i:E,C=r.variant,P=void 0===C?"temporary":C,Z=(0,T.Z)(r.ModalProps,yl),_=(0,T.Z)(r,bl),M=t.useRef(!1);t.useEffect((function(){M.current=!0}),[]);var A=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?jl[t]:t}(o,l),R=l,N=(0,Ti.Z)({},r,{anchor:R,elevation:f,open:b,variant:P},_),I=function(e){var t=e.classes,n=e.anchor,r=e.variant,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,vl.Z)(n)),"temporary"!==r&&"paperAnchorDocked".concat((0,vl.Z)(n))]};return(0,Yi.Z)(o,gl,t)}(N),D=(0,Bi.jsx)(kl,(0,Ti.Z)({elevation:"temporary"===P?f:0,square:!0},w,{className:(0,Mi.Z)(I.paper,w.className),ownerState:N,children:c}));if("permanent"===P)return(0,Bi.jsx)(Sl,(0,Ti.Z)({className:(0,Mi.Z)(I.root,I.docked,u),ownerState:N,ref:n},_,{children:D}));var z=(0,Bi.jsx)(j,(0,Ti.Z)({in:b,direction:jl[A],timeout:O,appear:M.current},S,{children:D}));return"persistent"===P?(0,Bi.jsx)(Sl,(0,Ti.Z)({className:(0,Mi.Z)(I.root,I.docked,u),ownerState:N,ref:n},_,{children:z})):(0,Bi.jsx)(wl,(0,Ti.Z)({BackdropProps:(0,Ti.Z)({},s,v,{transitionDuration:O}),className:(0,Mi.Z)(I.root,I.modal,u),open:b,ownerState:N,onClose:g,hideBackdrop:h,ref:n},_,Z,{children:z}))}));function Ol(e){return(0,Oa.Z)("MuiAppBar",e)}(0,Ea.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var Cl=["className","color","enableColorOnDark","position"],Pl=function(e,t){return e?"".concat(null==e?void 0:e.replace(")",""),", ").concat(t,")"):t},Zl=(0,Oi.ZP)(ml,{name:"MuiAppBar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,vl.Z)(n.position))],t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,Ti.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,Ti.Z)({},"default"===n.color&&{backgroundColor:r,color:t.palette.getContrastText(r)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,Ti.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,Ti.Z)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:Pl(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:Pl(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:Pl(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:Pl(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),_l=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiAppBar"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.enableColorOnDark,l=void 0!==a&&a,s=n.position,c=void 0===s?"fixed":s,u=(0,T.Z)(n,Cl),d=(0,Ti.Z)({},n,{color:i,position:c,enableColorOnDark:l}),f=function(e){var t=e.color,n=e.position,r=e.classes,o={root:["root","color".concat((0,vl.Z)(t)),"position".concat((0,vl.Z)(n))]};return(0,Yi.Z)(o,Ol,r)}(d);return(0,Bi.jsx)(Zl,(0,Ti.Z)({square:!0,component:"header",ownerState:d,elevation:4,className:(0,Mi.Z)(f.root,r,"fixed"===c&&"mui-fixed"),ref:t},u))})),Tl=_l;function Ml(e){return(0,Oa.Z)("MuiToolbar",e)}(0,Ea.Z)("MuiToolbar",["root","gutters","regular","dense"]);var Al=["className","component","disableGutters","variant"],Rl=(0,Oi.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),"dense"===n.variant&&{minHeight:48})}),(function(e){var t=e.theme;return"regular"===e.ownerState.variant&&t.mixins.toolbar})),Nl=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiToolbar"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.disableGutters,l=void 0!==a&&a,s=n.variant,c=void 0===s?"regular":s,u=(0,T.Z)(n,Al),d=(0,Ti.Z)({},n,{component:i,disableGutters:l,variant:c}),f=function(e){var t=e.classes,n={root:["root",!e.disableGutters&&"gutters",e.variant]};return(0,Yi.Z)(n,Ml,t)}(d);return(0,Bi.jsx)(Rl,(0,Ti.Z)({as:i,className:(0,Mi.Z)(f.root,r),ref:t,ownerState:d},u))}));var Il=t.createContext({});function Dl(e){return(0,Oa.Z)("MuiList",e)}(0,Ea.Z)("MuiList",["root","padding","dense","subheader"]);var zl=["children","className","component","dense","disablePadding","subheader"],Ll=(0,Oi.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Bl=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiList"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"ul":a,s=r.dense,c=void 0!==s&&s,u=r.disablePadding,d=void 0!==u&&u,f=r.subheader,p=(0,T.Z)(r,zl),h=t.useMemo((function(){return{dense:c}}),[c]),m=(0,Ti.Z)({},r,{component:l,dense:c,disablePadding:d}),v=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,Yi.Z)(n,Dl,t)}(m);return(0,Bi.jsx)(Il.Provider,{value:h,children:(0,Bi.jsxs)(Ll,(0,Ti.Z)({as:l,className:(0,Mi.Z)(v.root,i),ref:n,ownerState:m},p,{children:[f,o]}))})})),Fl=n(2564),Wl=n(5438),Ul=n(2561),ql=n(9140),Hl=(n(3361),(0,Fl.w)((function(e,n){var r=e.styles,o=(0,ql.O)([r],void 0,t.useContext(Fl.T));if(!Fl.i){for(var i,a=o.name,l=o.styles,s=o.next;void 0!==s;)a+=" "+s.name,l+=s.styles,s=s.next;var c=!0===n.compat,u=n.insert("",{name:a,styles:l},n.sheet,c);return c?null:t.createElement("style",((i={})["data-emotion"]=n.key+"-global "+a,i.dangerouslySetInnerHTML={__html:u},i.nonce=n.sheet.nonce,i))}var d=t.useRef();return(0,Ul.j)((function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),t.hydrate([i])),d.current=[t,r],function(){t.flush()}}),[n]),(0,Ul.j)((function(){var e=d.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&(0,Wl.My)(n,o.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",o,t,!1)}}),[n,o.name]),null})));function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,ql.O)(t)}var Yl=function(){var e=Vl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function Gl(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,o="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Bi.jsx)(Hl,{styles:o})}var $l=function(e){var t=e.styles,n=e.themeId,r=e.defaultTheme,o=void 0===r?{}:r,i=(0,Ci.Z)(o),a="function"===typeof t?t(n&&i[n]||i):t;return(0,Bi.jsx)(Gl,{styles:a})};var Kl=function(e){return(0,Bi.jsx)($l,(0,Ti.Z)({},e,{defaultTheme:Pi.Z,themeId:Zi.Z}))},Xl=function(e,t){return(0,Ti.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode})},Ql=function(e){return(0,Ti.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}})};var Jl=function(e){var n=(0,_a.Z)({props:e,name:"MuiCssBaseline"}),r=n.children,o=n.enableColorScheme,i=void 0!==o&&o;return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(Kl,{styles:function(e){return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={};n&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((function(t){var n,o=(0,D.Z)(t,2),i=o[0],a=o[1];r[e.getColorSchemeSelector(i).replace(/\s*&/,"")]={colorScheme:null==(n=a.palette)?void 0:n.mode}}));var o=(0,Ti.Z)({html:Xl(e,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,Ti.Z)({margin:0},Ql(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r),i=null==(t=e.components)||null==(t=t.MuiCssBaseline)?void 0:t.styleOverrides;return i&&(o=[o,i]),o}(e,i)}}),r]})};function es(e){return(0,Oa.Z)("MuiTypography",e)}(0,Ea.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var ts=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ns=(0,Oi.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,vl.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),rs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},os={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},is=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTypography"}),r=function(e){return os[e]||e}(n.color),o=Li((0,Ti.Z)({},n,{color:r})),i=o.align,a=void 0===i?"inherit":i,l=o.className,s=o.component,c=o.gutterBottom,u=void 0!==c&&c,d=o.noWrap,f=void 0!==d&&d,p=o.paragraph,h=void 0!==p&&p,m=o.variant,v=void 0===m?"body1":m,g=o.variantMapping,y=void 0===g?rs:g,b=(0,T.Z)(o,ts),x=(0,Ti.Z)({},o,{align:a,color:r,className:l,component:s,gutterBottom:u,noWrap:f,paragraph:h,variant:v,variantMapping:y}),w=s||(h?"p":y[v]||rs[v])||"span",S=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,o=e.paragraph,i=e.variant,a=e.classes,l={root:["root",i,"inherit"!==e.align&&"align".concat((0,vl.Z)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,Yi.Z)(l,es,a)}(x);return(0,Bi.jsx)(ns,(0,Ti.Z)({as:w,ref:t,ownerState:x,className:(0,Mi.Z)(S.root,l)},b))})),as=is;function ls(e){return(0,Oa.Z)("MuiDivider",e)}var ss=(0,Ea.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),cs=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],us=(0,Oi.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,cl.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.ownerState;return(0,Ti.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.ownerState;return(0,Ti.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),ds=(0,Oi.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),fs=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDivider"}),r=n.absolute,o=void 0!==r&&r,i=n.children,a=n.className,l=n.component,s=void 0===l?i?"div":"hr":l,c=n.flexItem,u=void 0!==c&&c,d=n.light,f=void 0!==d&&d,p=n.orientation,h=void 0===p?"horizontal":p,m=n.role,v=void 0===m?"hr"!==s?"separator":void 0:m,g=n.textAlign,y=void 0===g?"center":g,b=n.variant,x=void 0===b?"fullWidth":b,w=(0,T.Z)(n,cs),S=(0,Ti.Z)({},n,{absolute:o,component:s,flexItem:u,light:f,orientation:h,role:v,textAlign:y,variant:x}),k=function(e){var t=e.absolute,n=e.children,r=e.classes,o=e.flexItem,i=e.light,a=e.orientation,l=e.textAlign,s={root:["root",t&&"absolute",e.variant,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,Yi.Z)(s,ls,r)}(S);return(0,Bi.jsx)(us,(0,Ti.Z)({as:s,className:(0,Mi.Z)(k.root,a),role:v,ref:t,ownerState:S},w,{children:i?(0,Bi.jsx)(ds,{className:k.wrapper,ownerState:S,children:i}):null}))}));fs.muiSkipListHighlight=!0;var ps=fs,hs=n(9683),ms=n(3031);function vs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function gs(e,n){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return n&&(0,t.isValidElement)(e)?n(e):e}(e)})),r}function ys(e,t,n){return null!=n[t]?n[t]:e.props[t]}function bs(e,n,r){var o=gs(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(n,o);return Object.keys(i).forEach((function(a){var l=i[a];if((0,t.isValidElement)(l)){var s=a in n,c=a in o,u=n[a],d=(0,t.isValidElement)(u)&&!u.props.in;!c||s&&!d?c||!s||d?c&&s&&(0,t.isValidElement)(u)&&(i[a]=(0,t.cloneElement)(l,{onExited:r.bind(null,l),in:u.props.in,exit:ys(l,"exit",e),enter:ys(l,"enter",e)})):i[a]=(0,t.cloneElement)(l,{in:!1}):i[a]=(0,t.cloneElement)(l,{onExited:r.bind(null,l),in:!0,exit:ys(l,"exit",e),enter:ys(l,"enter",e)})}})),i}var xs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ws=function(e){function n(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(V(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ta(n,e);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=e,o=a,gs(r.children,(function(e){return(0,t.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:ys(e,"appear",r),enter:ys(e,"enter",r),exit:ys(e,"exit",r)})}))):bs(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=gs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Ti.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var e=this.props,n=e.component,r=e.childFactory,o=(0,T.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=xs(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Aa.Provider,{value:i},a):t.createElement(Aa.Provider,{value:i},t.createElement(n,o,a))},n}(t.Component);ws.propTypes={},ws.defaultProps={component:"div",childFactory:function(e){return e}};var Ss=ws;var ks=function(e){var n=e.className,r=e.classes,o=e.pulsate,i=void 0!==o&&o,a=e.rippleX,l=e.rippleY,s=e.rippleSize,c=e.in,u=e.onExited,d=e.timeout,f=t.useState(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,Mi.Z)(n,r.ripple,r.rippleVisible,i&&r.ripplePulsate),g={width:s,height:s,top:-s/2+l,left:-s/2+a},y=(0,Mi.Z)(r.child,h&&r.childLeaving,i&&r.childPulsate);return c||h||m(!0),t.useEffect((function(){if(!c&&null!=u){var e=setTimeout(u,d);return function(){clearTimeout(e)}}}),[u,c,d]),(0,Bi.jsx)("span",{className:v,style:g,children:(0,Bi.jsx)("span",{className:y})})};var js,Es,Os,Cs,Ps,Zs,_s,Ts,Ms=(0,Ea.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),As=["center","classes","className"],Rs=Yl(Ps||(Ps=js||(js=vs(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),Ns=Yl(Zs||(Zs=Es||(Es=vs(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),Is=Yl(_s||(_s=Os||(Os=vs(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),Ds=(0,Oi.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),zs=(0,Oi.ZP)(ks,{name:"MuiTouchRipple",slot:"Ripple"})(Ts||(Ts=Cs||(Cs=vs(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),Ms.rippleVisible,Rs,550,(function(e){return e.theme.transitions.easing.easeInOut}),Ms.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),Ms.child,Ms.childLeaving,Ns,550,(function(e){return e.theme.transitions.easing.easeInOut}),Ms.childPulsate,Is,(function(e){return e.theme.transitions.easing.easeInOut})),Ls=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTouchRipple"}),o=r.center,i=void 0!==o&&o,a=r.classes,l=void 0===a?{}:a,s=r.className,c=(0,T.Z)(r,As),u=t.useState([]),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=t.useRef(0),m=t.useRef(null);t.useEffect((function(){m.current&&(m.current(),m.current=null)}),[f]);var v=t.useRef(!1),g=t.useRef(0),y=t.useRef(null),b=t.useRef(null);t.useEffect((function(){return function(){g.current&&clearTimeout(g.current)}}),[]);var x=t.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;p((function(e){return[].concat((0,F.Z)(e),[(0,Bi.jsx)(zs,{classes:{ripple:(0,Mi.Z)(l.ripple,Ms.ripple),rippleVisible:(0,Mi.Z)(l.rippleVisible,Ms.rippleVisible),ripplePulsate:(0,Mi.Z)(l.ripplePulsate,Ms.ripplePulsate),child:(0,Mi.Z)(l.child,Ms.child),childLeaving:(0,Mi.Z)(l.childLeaving,Ms.childLeaving),childPulsate:(0,Mi.Z)(l.childPulsate,Ms.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])})),h.current+=1,m.current=i}),[l]),w=t.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,a=t.center,l=void 0===a?i||t.pulsate:a,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===(null==e?void 0:e.type)&&v.current)v.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(v.current=!0);var u,d,f,p=c?null:b.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(h.width/2),d=Math.round(h.height/2);else{var m=e.touches&&e.touches.length>0?e.touches[0]:e,w=m.clientX,S=m.clientY;u=Math.round(w-h.left),d=Math.round(S-h.top)}if(l)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(f+=1);else{var k=2*Math.max(Math.abs((p?p.clientWidth:0)-u),u)+2,j=2*Math.max(Math.abs((p?p.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(k,2)+Math.pow(j,2))}null!=e&&e.touches?null===y.current&&(y.current=function(){x({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})},g.current=setTimeout((function(){y.current&&(y.current(),y.current=null)}),80)):x({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})}}),[i,x]),S=t.useCallback((function(){w({},{pulsate:!0})}),[w]),k=t.useCallback((function(e,t){if(clearTimeout(g.current),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void(g.current=setTimeout((function(){k(e,t)})));y.current=null,p((function(e){return e.length>0?e.slice(1):e})),m.current=t}),[]);return t.useImperativeHandle(n,(function(){return{pulsate:S,start:w,stop:k}}),[S,w,k]),(0,Bi.jsx)(Ds,(0,Ti.Z)({className:(0,Mi.Z)(Ms.root,l.root,s),ref:b},c,{children:(0,Bi.jsx)(Ss,{component:null,exit:!0,children:f})}))})),Bs=Ls;function Fs(e){return(0,Oa.Z)("MuiButtonBase",e)}var Ws,Us=(0,Ea.Z)("MuiButtonBase",["root","disabled","focusVisible"]),qs=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Hs=(0,Oi.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Ws={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,u.Z)(Ws,"&.".concat(Us.disabled),{pointerEvents:"none",cursor:"default"}),(0,u.Z)(Ws,"@media print",{colorAdjust:"exact"}),Ws)),Vs=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiButtonBase"}),o=r.action,i=r.centerRipple,a=void 0!==i&&i,l=r.children,s=r.className,c=r.component,u=void 0===c?"button":c,d=r.disabled,f=void 0!==d&&d,p=r.disableRipple,h=void 0!==p&&p,m=r.disableTouchRipple,v=void 0!==m&&m,g=r.focusRipple,y=void 0!==g&&g,b=r.LinkComponent,x=void 0===b?"a":b,w=r.onBlur,S=r.onClick,k=r.onContextMenu,j=r.onDragLeave,E=r.onFocus,O=r.onFocusVisible,C=r.onKeyDown,P=r.onKeyUp,Z=r.onMouseDown,_=r.onMouseLeave,M=r.onMouseUp,A=r.onTouchEnd,R=r.onTouchMove,N=r.onTouchStart,I=r.tabIndex,z=void 0===I?0:I,L=r.TouchRippleProps,B=r.touchRippleRef,F=r.type,W=(0,T.Z)(r,qs),U=t.useRef(null),q=t.useRef(null),H=(0,qa.Z)(q,B),V=(0,ms.Z)(),Y=V.isFocusVisibleRef,G=V.onFocus,$=V.onBlur,K=V.ref,X=t.useState(!1),Q=(0,D.Z)(X,2),J=Q[0],ee=Q[1];f&&J&&ee(!1),t.useImperativeHandle(o,(function(){return{focusVisible:function(){ee(!0),U.current.focus()}}}),[]);var te=t.useState(!1),ne=(0,D.Z)(te,2),re=ne[0],oe=ne[1];t.useEffect((function(){oe(!0)}),[]);var ie=re&&!h&&!f;function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return(0,hs.Z)((function(r){return t&&t(r),!n&&q.current&&q.current[e](r),!0}))}t.useEffect((function(){J&&y&&!h&&re&&q.current.pulsate()}),[h,y,J,re]);var le=ae("start",Z),se=ae("stop",k),ce=ae("stop",j),ue=ae("stop",M),de=ae("stop",(function(e){J&&e.preventDefault(),_&&_(e)})),fe=ae("start",N),pe=ae("stop",A),he=ae("stop",R),me=ae("stop",(function(e){$(e),!1===Y.current&&ee(!1),w&&w(e)}),!1),ve=(0,hs.Z)((function(e){U.current||(U.current=e.currentTarget),G(e),!0===Y.current&&(ee(!0),O&&O(e)),E&&E(e)})),ge=function(){var e=U.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ye=t.useRef(!1),be=(0,hs.Z)((function(e){y&&!ye.current&&J&&q.current&&" "===e.key&&(ye.current=!0,q.current.stop(e,(function(){q.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!f&&(e.preventDefault(),S&&S(e))})),xe=(0,hs.Z)((function(e){y&&" "===e.key&&q.current&&J&&!e.defaultPrevented&&(ye.current=!1,q.current.stop(e,(function(){q.current.pulsate(e)}))),P&&P(e),S&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&S(e)})),we=u;"button"===we&&(W.href||W.to)&&(we=x);var Se={};"button"===we?(Se.type=void 0===F?"button":F,Se.disabled=f):(W.href||W.to||(Se.role="button"),f&&(Se["aria-disabled"]=f));var ke=(0,qa.Z)(n,K,U);var je=(0,Ti.Z)({},r,{centerRipple:a,component:u,disabled:f,disableRipple:h,disableTouchRipple:v,focusRipple:y,tabIndex:z,focusVisible:J}),Ee=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Yi.Z)(i,Fs,o);return n&&r&&(a.root+=" ".concat(r)),a}(je);return(0,Bi.jsxs)(Hs,(0,Ti.Z)({as:we,className:(0,Mi.Z)(Ee.root,s),ownerState:je,onBlur:me,onClick:S,onContextMenu:se,onFocus:ve,onKeyDown:be,onKeyUp:xe,onMouseDown:le,onMouseLeave:de,onMouseUp:ue,onDragLeave:ce,onTouchEnd:pe,onTouchMove:he,onTouchStart:fe,ref:ke,tabIndex:f?-1:z,type:F},Se,W,{children:[l,ie?(0,Bi.jsx)(Bs,(0,Ti.Z)({ref:H,center:a},L)):null]}))})),Ys=Vs;function Gs(e){return(0,Oa.Z)("MuiIconButton",e)}var $s=(0,Ea.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ks=["edge","children","className","color","disabled","disableFocusRipple","size"],Xs=(0,Oi.ZP)(Ys,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))],n.edge&&t["edge".concat((0,vl.Z)(n.edge))],t["size".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,r=e.ownerState,o=null==(t=(n.vars||n).palette)?void 0:t[r.color];return(0,Ti.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,Ti.Z)({color:null==o?void 0:o.main},!r.disableRipple&&{"&:hover":(0,Ti.Z)({},o&&{backgroundColor:n.vars?"rgba(".concat(o.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,u.Z)({},"&.".concat($s.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),Qs=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiIconButton"}),r=n.edge,o=void 0!==r&&r,i=n.children,a=n.className,l=n.color,s=void 0===l?"default":l,c=n.disabled,u=void 0!==c&&c,d=n.disableFocusRipple,f=void 0!==d&&d,p=n.size,h=void 0===p?"medium":p,m=(0,T.Z)(n,Ks),v=(0,Ti.Z)({},n,{edge:o,color:s,disabled:u,disableFocusRipple:f,size:h}),g=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,vl.Z)(r)),o&&"edge".concat((0,vl.Z)(o)),"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(a,Gs,t)}(v);return(0,Bi.jsx)(Xs,(0,Ti.Z)({className:(0,Mi.Z)(g.root,a),centerRipple:!0,focusRipple:!f,disabled:u,ref:t,ownerState:v},m,{children:i}))})),Js=Qs;function ec(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"}}]})(e)}function tc(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 256c52.805 0 96-43.201 96-96s-43.195-96-96-96-96 43.201-96 96 43.195 96 96 96zm0 48c-63.598 0-192 32.402-192 96v48h384v-48c0-63.598-128.402-96-192-96zM112 224v-64H80v64H16v32h64v64h32v-64h64v-32h-64z"}}]})(e)}var nc=n(1009),rc=n(8996),oc=n(3701),ic=n(162);function ac(e){return(0,Oa.Z)("MuiListItem",e)}var lc=(0,Ea.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function sc(e){return(0,Oa.Z)("MuiListItemButton",e)}var cc=(0,Ea.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function uc(e){return(0,Oa.Z)("MuiListItemSecondaryAction",e)}(0,Ea.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var dc=["className"],fc=(0,Oi.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.disableGutters&&t.disableGutters]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})})),pc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemSecondaryAction"}),o=r.className,i=(0,T.Z)(r,dc),a=t.useContext(Il),l=(0,Ti.Z)({},r,{disableGutters:a.disableGutters}),s=function(e){var t=e.disableGutters,n=e.classes,r={root:["root",t&&"disableGutters"]};return(0,Yi.Z)(r,uc,n)}(l);return(0,Bi.jsx)(fc,(0,Ti.Z)({className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n},i))}));pc.muiName="ListItemSecondaryAction";var hc=pc,mc=["className"],vc=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],gc=(0,Oi.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!r.disablePadding&&(0,Ti.Z)({paddingTop:8,paddingBottom:8},r.dense&&{paddingTop:4,paddingBottom:4},!r.disableGutters&&{paddingLeft:16,paddingRight:16},!!r.secondaryAction&&{paddingRight:48}),!!r.secondaryAction&&(0,u.Z)({},"& > .".concat(cc.root),{paddingRight:48}),(t={},(0,u.Z)(t,"&.".concat(lc.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(lc.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(lc.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(lc.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},r.button&&(0,u.Z)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(lc.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),r.hasSecondaryAction&&{paddingRight:48})})),yc=(0,Oi.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,t){return t.container}})({position:"relative"}),bc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItem"}),o=r.alignItems,i=void 0===o?"center":o,a=r.autoFocus,l=void 0!==a&&a,s=r.button,c=void 0!==s&&s,u=r.children,d=r.className,f=r.component,p=r.components,h=void 0===p?{}:p,m=r.componentsProps,v=void 0===m?{}:m,g=r.ContainerComponent,y=void 0===g?"li":g,b=r.ContainerProps,x=(void 0===b?{}:b).className,w=r.dense,S=void 0!==w&&w,k=r.disabled,j=void 0!==k&&k,E=r.disableGutters,O=void 0!==E&&E,C=r.disablePadding,P=void 0!==C&&C,Z=r.divider,_=void 0!==Z&&Z,M=r.focusVisibleClassName,A=r.secondaryAction,R=r.selected,N=void 0!==R&&R,I=r.slotProps,D=void 0===I?{}:I,z=r.slots,L=void 0===z?{}:z,B=(0,T.Z)(r.ContainerProps,mc),F=(0,T.Z)(r,vc),W=t.useContext(Il),U=t.useMemo((function(){return{dense:S||W.dense||!1,alignItems:i,disableGutters:O}}),[i,W.dense,S,O]),q=t.useRef(null);(0,ic.Z)((function(){l&&q.current&&q.current.focus()}),[l]);var H=t.Children.toArray(u),V=H.length&&(0,oc.Z)(H[H.length-1],["ListItemSecondaryAction"]),Y=(0,Ti.Z)({},r,{alignItems:i,autoFocus:l,button:c,dense:U.dense,disabled:j,disableGutters:O,disablePadding:P,divider:_,hasSecondaryAction:V,selected:N}),G=function(e){var t=e.alignItems,n=e.button,r=e.classes,o=e.dense,i=e.disabled,a={root:["root",o&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,Yi.Z)(a,ac,r)}(Y),$=(0,qa.Z)(q,n),K=L.root||h.Root||gc,X=D.root||v.root||{},Q=(0,Ti.Z)({className:(0,Mi.Z)(G.root,X.className,d),disabled:j},F),J=f||"li";return c&&(Q.component=f||"div",Q.focusVisibleClassName=(0,Mi.Z)(lc.focusVisible,M),J=Ys),V?(J=Q.component||f?J:"div","li"===y&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),(0,Bi.jsx)(Il.Provider,{value:U,children:(0,Bi.jsxs)(yc,(0,Ti.Z)({as:y,className:(0,Mi.Z)(G.container,x),ref:$,ownerState:Y},B,{children:[(0,Bi.jsx)(K,(0,Ti.Z)({},X,!$i(K)&&{as:J,ownerState:(0,Ti.Z)({},Y,X.ownerState)},Q,{children:H})),H.pop()]}))})):(0,Bi.jsx)(Il.Provider,{value:U,children:(0,Bi.jsxs)(K,(0,Ti.Z)({},X,{as:J,ref:$},!$i(K)&&{ownerState:(0,Ti.Z)({},Y,X.ownerState)},Q,{children:[H,A&&(0,Bi.jsx)(hc,{children:A})]}))})})),xc=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],wc=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiListItemButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)((t={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,u.Z)(t,"&.".concat(cc.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(cc.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(cc.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,u.Z)(t,"&.".concat(cc.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(cc.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===r.alignItems&&{alignItems:"flex-start"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.dense&&{paddingTop:4,paddingBottom:4})})),Sc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemButton"}),o=r.alignItems,i=void 0===o?"center":o,a=r.autoFocus,l=void 0!==a&&a,s=r.component,c=void 0===s?"div":s,u=r.children,d=r.dense,f=void 0!==d&&d,p=r.disableGutters,h=void 0!==p&&p,m=r.divider,v=void 0!==m&&m,g=r.focusVisibleClassName,y=r.selected,b=void 0!==y&&y,x=r.className,w=(0,T.Z)(r,xc),S=t.useContext(Il),k=t.useMemo((function(){return{dense:f||S.dense||!1,alignItems:i,disableGutters:h}}),[i,S.dense,f,h]),j=t.useRef(null);(0,ic.Z)((function(){l&&j.current&&j.current.focus()}),[l]);var E=(0,Ti.Z)({},r,{alignItems:i,dense:k.dense,disableGutters:h,divider:v,selected:b}),O=function(e){var t=e.alignItems,n=e.classes,r=e.dense,o=e.disabled,i={root:["root",r&&"dense",!e.disableGutters&&"gutters",e.divider&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",e.selected&&"selected"]},a=(0,Yi.Z)(i,sc,n);return(0,Ti.Z)({},n,a)}(E),C=(0,qa.Z)(j,n);return(0,Bi.jsx)(Il.Provider,{value:k,children:(0,Bi.jsx)(wc,(0,Ti.Z)({ref:C,href:w.href||w.to,component:(w.href||w.to)&&"div"===c?"button":c,focusVisibleClassName:(0,Mi.Z)(O.focusVisible,g),ownerState:E,className:(0,Mi.Z)(O.root,x)},w,{classes:O,children:u}))})}));function kc(e){return(0,Oa.Z)("MuiListItemIcon",e)}var jc=(0,Ea.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Ec=["className"],Oc=(0,Oi.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),Cc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemIcon"}),o=r.className,i=(0,T.Z)(r,Ec),a=t.useContext(Il),l=(0,Ti.Z)({},r,{alignItems:a.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,Yi.Z)(r,kc,n)}(l);return(0,Bi.jsx)(Oc,(0,Ti.Z)({className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n},i))}));function Pc(e){return(0,Oa.Z)("MuiListItemText",e)}var Zc=(0,Ea.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),_c=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Tc=(0,Oi.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(Zc.primary),t.primary),(0,u.Z)({},"& .".concat(Zc.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),Mc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemText"}),o=r.children,i=r.className,a=r.disableTypography,l=void 0!==a&&a,s=r.inset,c=void 0!==s&&s,u=r.primary,d=r.primaryTypographyProps,f=r.secondary,p=r.secondaryTypographyProps,h=(0,T.Z)(r,_c),m=t.useContext(Il).dense,v=null!=u?u:o,g=f,y=(0,Ti.Z)({},r,{disableTypography:l,inset:c,primary:!!v,secondary:!!g,dense:m}),b=function(e){var t=e.classes,n=e.inset,r=e.primary,o=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,Yi.Z)(i,Pc,t)}(y);return null==v||v.type===as||l||(v=(0,Bi.jsx)(as,(0,Ti.Z)({variant:m?"body2":"body1",className:b.primary,component:null!=d&&d.variant?void 0:"span",display:"block"},d,{children:v}))),null==g||g.type===as||l||(g=(0,Bi.jsx)(as,(0,Ti.Z)({variant:"body2",className:b.secondary,color:"text.secondary",display:"block"},p,{children:g}))),(0,Bi.jsxs)(Tc,(0,Ti.Z)({className:(0,Mi.Z)(b.root,i),ownerState:y,ref:n},h,{children:[v,g]}))})),Ac=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Rc(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Nc={entering:{opacity:1,transform:Rc(1)},entered:{opacity:1,transform:"none"}},Ic="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Dc=t.forwardRef((function(e,n){var r=e.addEndListener,o=e.appear,i=void 0===o||o,a=e.children,l=e.easing,s=e.in,c=e.onEnter,u=e.onEntered,d=e.onEntering,f=e.onExit,p=e.onExited,h=e.onExiting,m=e.style,v=e.timeout,g=void 0===v?"auto":v,y=e.TransitionComponent,b=void 0===y?Fa:y,x=(0,T.Z)(e,Ac),w=t.useRef(),S=t.useRef(),k=_i(),j=t.useRef(null),E=(0,qa.Z)(j,a.ref,n),O=function(e){return function(t){if(e){var n=j.current;void 0===t?e(n):e(n,t)}}},C=O(d),P=O((function(e,t){Wa(e);var n,r=Ua({style:m,timeout:g,easing:l},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===g?(n=k.transitions.getAutoHeightDuration(e.clientHeight),S.current=n):n=o,e.style.transition=[k.transitions.create("opacity",{duration:n,delay:i}),k.transitions.create("transform",{duration:Ic?n:.666*n,delay:i,easing:a})].join(","),c&&c(e,t)})),Z=O(u),_=O(h),M=O((function(e){var t,n=Ua({style:m,timeout:g,easing:l},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===g?(t=k.transitions.getAutoHeightDuration(e.clientHeight),S.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:o}),k.transitions.create("transform",{duration:Ic?t:.666*t,delay:Ic?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=Rc(.75),f&&f(e)})),A=O(p);return t.useEffect((function(){return function(){clearTimeout(w.current)}}),[]),(0,Bi.jsx)(b,(0,Ti.Z)({appear:i,in:s,nodeRef:j,onEnter:P,onEntered:Z,onEntering:C,onExit:M,onExited:A,onExiting:_,addEndListener:function(e){"auto"===g&&(w.current=setTimeout(e,S.current||0)),r&&r(j.current,e)},timeout:"auto"===g?null:g},x,{children:function(e,n){return t.cloneElement(a,(0,Ti.Z)({style:(0,Ti.Z)({opacity:0,transform:Rc(.75),visibility:"exited"!==e||s?void 0:"hidden"},Nc[e],m,a.props.style),ref:E},n))}}))}));Dc.muiSupportAuto=!0;var zc=Dc;function Lc(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Bc(e){return e instanceof Lc(e).Element||e instanceof Element}function Fc(e){return e instanceof Lc(e).HTMLElement||e instanceof HTMLElement}function Wc(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Lc(e).ShadowRoot||e instanceof ShadowRoot)}var Uc=Math.max,qc=Math.min,Hc=Math.round;function Vc(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(Vc())}function Gc(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Fc(e)&&(o=e.offsetWidth>0&&Hc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Hc(r.height)/e.offsetHeight||1);var a=(Bc(e)?Lc(e):window).visualViewport,l=!Yc()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function $c(e){var t=Lc(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Kc(e){return e?(e.nodeName||"").toLowerCase():null}function Xc(e){return((Bc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qc(e){return Gc(Xc(e)).left+$c(e).scrollLeft}function Jc(e){return Lc(e).getComputedStyle(e)}function eu(e){var t=Jc(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function tu(e,t,n){void 0===n&&(n=!1);var r=Fc(t),o=Fc(t)&&function(e){var t=e.getBoundingClientRect(),n=Hc(t.width)/e.offsetWidth||1,r=Hc(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Xc(t),a=Gc(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Kc(t)||eu(i))&&(l=function(e){return e!==Lc(e)&&Fc(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:$c(e);var t}(t)),Fc(t)?((s=Gc(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Qc(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function nu(e){var t=Gc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ru(e){return"html"===Kc(e)?e:e.assignedSlot||e.parentNode||(Wc(e)?e.host:null)||Xc(e)}function ou(e){return["html","body","#document"].indexOf(Kc(e))>=0?e.ownerDocument.body:Fc(e)&&eu(e)?e:ou(ru(e))}function iu(e,t){var n;void 0===t&&(t=[]);var r=ou(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Lc(r),a=o?[i].concat(i.visualViewport||[],eu(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(iu(ru(a)))}function au(e){return["table","td","th"].indexOf(Kc(e))>=0}function lu(e){return Fc(e)&&"fixed"!==Jc(e).position?e.offsetParent:null}function su(e){for(var t=Lc(e),n=lu(e);n&&au(n)&&"static"===Jc(n).position;)n=lu(n);return n&&("html"===Kc(n)||"body"===Kc(n)&&"static"===Jc(n).position)?t:n||function(e){var t=/firefox/i.test(Vc());if(/Trident/i.test(Vc())&&Fc(e)&&"fixed"===Jc(e).position)return null;var n=ru(e);for(Wc(n)&&(n=n.host);Fc(n)&&["html","body"].indexOf(Kc(n))<0;){var r=Jc(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var cu="top",uu="bottom",du="right",fu="left",pu="auto",hu=[cu,uu,du,fu],mu="start",vu="end",gu="clippingParents",yu="viewport",bu="popper",xu="reference",wu=hu.reduce((function(e,t){return e.concat([t+"-"+mu,t+"-"+vu])}),[]),Su=[].concat(hu,[pu]).reduce((function(e,t){return e.concat([t,t+"-"+mu,t+"-"+vu])}),[]),ku=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ju(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Eu(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ou={placement:"bottom",modifiers:[],strategy:"absolute"};function Cu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Pu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ou:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ou,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Bc(e)?iu(e):e.contextElement?iu(e.contextElement):[],popper:iu(t)};var u=function(e){var t=ju(e);return ku.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var l=i({state:o,name:t,instance:s,options:r}),c=function(){};a.push(l||c)}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Cu(t,n)){o.rects={reference:tu(t,su(n),"fixed"===o.options.strategy),popper:nu(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Eu((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){c(),l=!0}};if(!Cu(e,t))return s;function c(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Zu={passive:!0};function _u(e){return e.split("-")[0]}function Tu(e){return e.split("-")[1]}function Mu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Au(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?_u(o):null,a=o?Tu(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case cu:t={x:l,y:n.y-r.height};break;case uu:t={x:l,y:n.y+n.height};break;case du:t={x:n.x+n.width,y:s};break;case fu:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Mu(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case mu:t[c]=t[c]-(n[u]/2-r[u]/2);break;case vu:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Ru={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"===typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=fu,x=cu,w=window;if(c){var S=su(n),k="clientHeight",j="clientWidth";if(S===Lc(n)&&"static"!==Jc(S=Xc(n)).position&&"absolute"===l&&(k="scrollHeight",j="scrollWidth"),o===cu||(o===fu||o===du)&&i===vu)x=uu,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-r.height,m*=s?1:-1;if(o===fu||(o===cu||o===uu)&&i===vu)b=du,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[j])-r.width,p*=s?1:-1}var E,O=Object.assign({position:l},c&&Ru),C=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Hc(n*o)/o||0,y:Hc(r*o)/o||0}}({x:p,y:m},Lc(n)):{x:p,y:m};return p=C.x,m=C.y,s?Object.assign({},O,((E={})[x]=y?"0":"",E[b]=g?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var Iu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Fc(o)&&Kc(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Fc(r)&&Kc(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Du={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Su.reduce((function(e,n){return e[n]=function(e,t,n){var r=_u(e),o=[fu,cu].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[fu,du].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},zu={left:"right",right:"left",bottom:"top",top:"bottom"};function Lu(e){return e.replace(/left|right|bottom|top/g,(function(e){return zu[e]}))}var Bu={start:"end",end:"start"};function Fu(e){return e.replace(/start|end/g,(function(e){return Bu[e]}))}function Wu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Wc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Uu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qu(e,t,n){return t===yu?Uu(function(e,t){var n=Lc(e),r=Xc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=Yc();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Qc(e),y:s}}(e,n)):Bc(t)?function(e,t){var n=Gc(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Uu(function(e){var t,n=Xc(e),r=$c(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Uc(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Uc(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Qc(e),s=-r.scrollTop;return"rtl"===Jc(o||n).direction&&(l+=Uc(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Xc(e)))}function Hu(e,t,n,r){var o="clippingParents"===t?function(e){var t=iu(ru(e)),n=["absolute","fixed"].indexOf(Jc(e).position)>=0&&Fc(e)?su(e):e;return Bc(n)?t.filter((function(e){return Bc(e)&&Wu(e,n)&&"body"!==Kc(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=qu(e,n,r);return t.top=Uc(o.top,t.top),t.right=qc(o.right,t.right),t.bottom=qc(o.bottom,t.bottom),t.left=Uc(o.left,t.left),t}),qu(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Vu(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Yu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Gu(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?gu:l,c=n.rootBoundary,u=void 0===c?yu:c,d=n.elementContext,f=void 0===d?bu:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Vu("number"!==typeof v?v:Yu(v,hu)),y=f===bu?xu:bu,b=e.rects.popper,x=e.elements[h?y:f],w=Hu(Bc(x)?x:x.contextElement||Xc(e.elements.popper),s,u,a),S=Gc(e.elements.reference),k=Au({reference:S,element:b,strategy:"absolute",placement:o}),j=Uu(Object.assign({},b,k)),E=f===bu?j:S,O={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},C=e.modifiersData.offset;if(f===bu&&C){var P=C[o];Object.keys(O).forEach((function(e){var t=[du,uu].indexOf(e)>=0?1:-1,n=[cu,uu].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}var $u={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=_u(v),y=s||(g===v||!h?[Lu(v)]:function(e){if(_u(e)===pu)return[];var t=Lu(e);return[Fu(e),t,Fu(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(_u(n)===pu?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Su:s,u=Tu(r),d=u?l?wu:wu.filter((function(e){return Tu(e)===u})):hu,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Gu(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[_u(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,j=b[0],E=0;E<b.length;E++){var O=b[E],C=_u(O),P=Tu(O)===mu,Z=[cu,uu].indexOf(C)>=0,_=Z?"width":"height",T=Gu(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),M=Z?P?du:fu:P?uu:cu;x[_]>w[_]&&(M=Lu(M));var A=Lu(M),R=[];if(i&&R.push(T[C]<=0),l&&R.push(T[M]<=0,T[A]<=0),R.every((function(e){return e}))){j=O,k=!1;break}S.set(O,R)}if(k)for(var N=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},I=h?3:1;I>0;I--){if("break"===N(I))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ku(e,t,n){return Uc(e,qc(t,n))}var Xu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Gu(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=_u(t.placement),y=Tu(t.placement),b=!y,x=Mu(g),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,E="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"===typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var Z,_="y"===x?cu:fu,T="y"===x?uu:du,M="y"===x?"height":"width",A=S[x],R=A+v[_],N=A-v[T],I=p?-j[M]/2:0,D=y===mu?k[M]:j[M],z=y===mu?-j[M]:-k[M],L=t.elements.arrow,B=p&&L?nu(L):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=F[_],U=F[T],q=Ku(0,k[M],B[M]),H=b?k[M]/2-I-q-W-O.mainAxis:D-q-W-O.mainAxis,V=b?-k[M]/2+I+q+U+O.mainAxis:z+q+U+O.mainAxis,Y=t.elements.arrow&&su(t.elements.arrow),G=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,$=null!=(Z=null==C?void 0:C[x])?Z:0,K=A+V-$,X=Ku(p?qc(R,A+H-$-G):R,A,p?Uc(N,K):N);S[x]=X,P[x]=X-A}if(l){var Q,J="x"===x?cu:fu,ee="x"===x?uu:du,te=S[w],ne="y"===w?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[cu,fu].indexOf(g),ae=null!=(Q=null==C?void 0:C[w])?Q:0,le=ie?re:te-k[ne]-j[ne]-ae+O.altAxis,se=ie?te+k[ne]+j[ne]-ae-O.altAxis:oe,ce=p&&ie?function(e,t,n){var r=Ku(e,t,n);return r>n?n:r}(le,te,se):Ku(p?le:re,te,p?se:oe);S[w]=ce,P[w]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};var Qu={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=_u(n.placement),s=Mu(l),c=[fu,du].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return Vu("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Yu(e,hu))}(o.padding,n),d=nu(i),f="y"===s?cu:fu,p="y"===s?uu:du,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],v=su(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[f],x=g-d[c]-u[p],w=g/2-d[c]/2+y,S=Ku(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&Wu(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ju(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ed(e){return[cu,du,uu,fu].some((function(t){return e[t]>=0}))}var td=Pu({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Lc(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Zu)})),l&&s.addEventListener("resize",n.update,Zu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Zu)})),l&&s.removeEventListener("resize",n.update,Zu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Au({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:_u(t.placement),variation:Tu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Nu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Iu,Du,$u,Xu,Qu,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Gu(t,{elementContext:"reference"}),l=Gu(t,{altBoundary:!0}),s=Ju(a,r),c=Ju(l,o,i),u=ed(s),d=ed(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function nd(e){return(0,Oa.Z)("MuiPopper",e)}(0,Ea.Z)("MuiPopper",["root"]);var rd=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],od=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function id(e){return"function"===typeof e?e():e}function ad(e){return void 0!==e.nodeType}var ld={},sd=t.forwardRef((function(e,n){var r,o=e.anchorEl,i=e.children,a=e.direction,l=e.disablePortal,s=e.modifiers,c=e.open,u=e.placement,d=e.popperOptions,f=e.popperRef,p=e.slotProps,h=void 0===p?{}:p,m=e.slots,v=void 0===m?{}:m,g=e.TransitionProps,y=(0,T.Z)(e,rd),b=t.useRef(null),x=(0,Gi.Z)(b,n),w=t.useRef(null),S=(0,Gi.Z)(w,f),k=t.useRef(S);(0,ia.Z)((function(){k.current=S}),[S]),t.useImperativeHandle(f,(function(){return w.current}),[]);var j=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),E=t.useState(j),O=(0,D.Z)(E,2),C=O[0],P=O[1],Z=t.useState(id(o)),_=(0,D.Z)(Z,2),M=_[0],A=_[1];t.useEffect((function(){w.current&&w.current.forceUpdate()})),t.useEffect((function(){o&&A(id(o))}),[o]),(0,ia.Z)((function(){if(M&&c){var e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;P(t.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));var t=td(M,b.current,(0,Ti.Z)({placement:j},d,{modifiers:e}));return k.current(t),function(){t.destroy(),k.current(null)}}}),[M,l,s,c,d,j]);var R={placement:C};null!==g&&(R.TransitionProps=g);var N=(0,Yi.Z)({root:["root"]},oa(nd)),I=null!=(r=v.root)?r:"div",z=ta({elementType:I,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:N.root});return(0,Bi.jsx)(I,(0,Ti.Z)({},z,{children:"function"===typeof i?i(R):i}))})),cd=t.forwardRef((function(e,n){var r,o=e.anchorEl,i=e.children,a=e.container,l=e.direction,s=void 0===l?"ltr":l,c=e.disablePortal,u=void 0!==c&&c,d=e.keepMounted,f=void 0!==d&&d,p=e.modifiers,h=e.open,m=e.placement,v=void 0===m?"bottom":m,g=e.popperOptions,y=void 0===g?ld:g,b=e.popperRef,x=e.style,w=e.transition,S=void 0!==w&&w,k=e.slotProps,j=void 0===k?{}:k,E=e.slots,O=void 0===E?{}:E,C=(0,T.Z)(e,od),P=t.useState(!0),Z=(0,D.Z)(P,2),_=Z[0],M=Z[1];if(!f&&!h&&(!S||_))return null;if(a)r=a;else if(o){var A=id(o);r=A&&ad(A)?(0,sa.Z)(A).body:(0,sa.Z)(null).body}var R=h||!f||S&&!_?void 0:"none",N=S?{in:h,onEnter:function(){M(!1)},onExited:function(){M(!0)}}:void 0;return(0,Bi.jsx)(la,{disablePortal:u,container:r,children:(0,Bi.jsx)(sd,(0,Ti.Z)({anchorEl:o,direction:s,disablePortal:u,modifiers:p,ref:n,open:S?!_:h,placement:v,popperOptions:y,popperRef:b,slotProps:j,slots:O},C,{style:(0,Ti.Z)({position:"fixed",top:0,left:0,display:R},x),TransitionProps:N,children:i}))})})),ud=n(9120),dd=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],fd=(0,Oi.ZP)(cd,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),pd=t.forwardRef((function(e,t){var n,r=(0,ud.Z)(),o=(0,_a.Z)({props:e,name:"MuiPopper"}),i=o.anchorEl,a=o.component,l=o.components,s=o.componentsProps,c=o.container,u=o.disablePortal,d=o.keepMounted,f=o.modifiers,p=o.open,h=o.placement,m=o.popperOptions,v=o.popperRef,g=o.transition,y=o.slots,b=o.slotProps,x=(0,T.Z)(o,dd),w=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,S=(0,Ti.Z)({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:v,transition:g},x);return(0,Bi.jsx)(fd,(0,Ti.Z)({as:a,direction:null==r?void 0:r.direction,slots:{root:w},slotProps:null!=b?b:s},S,{ref:t}))})),hd=n(7384),md=n(5158);function vd(e){return(0,Oa.Z)("MuiTooltip",e)}var gd=(0,Ea.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),yd=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function bd(e){return Math.round(1e5*e)/1e5}var xd=(0,Oi.ZP)(pd,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((function(e){var t,n=e.theme,r=e.ownerState,o=e.open;return(0,Ti.Z)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!o&&{pointerEvents:"none"},r.arrow&&(t={},(0,u.Z)(t,'&[data-popper-placement*="bottom"] .'.concat(gd.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),(0,u.Z)(t,'&[data-popper-placement*="top"] .'.concat(gd.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),(0,u.Z)(t,'&[data-popper-placement*="right"] .'.concat(gd.arrow),(0,Ti.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),(0,u.Z)(t,'&[data-popper-placement*="left"] .'.concat(gd.arrow),(0,Ti.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),t))})),wd=(0,Oi.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,vl.Z)(n.placement.split("-")[0]))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({backgroundColor:n.vars?n.vars.palette.Tooltip.bg:(0,cl.Fq)(n.palette.grey[700],.92),borderRadius:(n.vars||n).shape.borderRadius,color:(n.vars||n).palette.common.white,fontFamily:n.typography.fontFamily,padding:"4px 8px",fontSize:n.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:n.typography.fontWeightMedium},r.arrow&&{position:"relative",margin:0},r.touch&&{padding:"8px 16px",fontSize:n.typography.pxToRem(14),lineHeight:"".concat(bd(16/14),"em"),fontWeight:n.typography.fontWeightRegular},(t={},(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="left"] &'),(0,Ti.Z)({transformOrigin:"right center"},r.isRtl?(0,Ti.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}):(0,Ti.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}))),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="right"] &'),(0,Ti.Z)({transformOrigin:"left center"},r.isRtl?(0,Ti.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}):(0,Ti.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}))),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="top"] &'),(0,Ti.Z)({transformOrigin:"center bottom",marginBottom:"14px"},r.touch&&{marginBottom:"24px"})),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="bottom"] &'),(0,Ti.Z)({transformOrigin:"center top",marginTop:"14px"},r.touch&&{marginTop:"24px"})),t))})),Sd=(0,Oi.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(e,t){return t.arrow}})((function(e){var t=e.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,cl.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),kd=!1,jd=null,Ed={x:0,y:0};function Od(e,t){return function(n){t&&t(n),e(n)}}var Cd=t.forwardRef((function(e,n){var r,o,i,a,l,s,c,u,d,f,p,h,m,v,g,y,b,x,w,S=(0,_a.Z)({props:e,name:"MuiTooltip"}),k=S.arrow,j=void 0!==k&&k,E=S.children,O=S.components,C=void 0===O?{}:O,P=S.componentsProps,Z=void 0===P?{}:P,_=S.describeChild,M=void 0!==_&&_,A=S.disableFocusListener,R=void 0!==A&&A,N=S.disableHoverListener,I=void 0!==N&&N,z=S.disableInteractive,L=void 0!==z&&z,B=S.disableTouchListener,F=void 0!==B&&B,W=S.enterDelay,U=void 0===W?100:W,q=S.enterNextDelay,H=void 0===q?0:q,V=S.enterTouchDelay,Y=void 0===V?700:V,G=S.followCursor,$=void 0!==G&&G,K=S.id,X=S.leaveDelay,Q=void 0===X?0:X,J=S.leaveTouchDelay,ee=void 0===J?1500:J,te=S.onClose,ne=S.onOpen,re=S.open,oe=S.placement,ie=void 0===oe?"bottom":oe,ae=S.PopperComponent,le=S.PopperProps,se=void 0===le?{}:le,ce=S.slotProps,ue=void 0===ce?{}:ce,de=S.slots,fe=void 0===de?{}:de,pe=S.title,he=S.TransitionComponent,me=void 0===he?zc:he,ve=S.TransitionProps,ge=(0,T.Z)(S,yd),ye=t.isValidElement(E)?E:(0,Bi.jsx)("span",{children:E}),be=_i(),xe="rtl"===be.direction,we=t.useState(),Se=(0,D.Z)(we,2),ke=Se[0],je=Se[1],Ee=t.useState(null),Oe=(0,D.Z)(Ee,2),Ce=Oe[0],Pe=Oe[1],Ze=t.useRef(!1),_e=L||$,Te=t.useRef(),Me=t.useRef(),Ae=t.useRef(),Re=t.useRef(),Ne=(0,md.Z)({controlled:re,default:!1,name:"Tooltip",state:"open"}),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=Ie[1],Le=De,Be=(0,hd.Z)(K),Fe=t.useRef(),We=t.useCallback((function(){void 0!==Fe.current&&(document.body.style.WebkitUserSelect=Fe.current,Fe.current=void 0),clearTimeout(Re.current)}),[]);t.useEffect((function(){return function(){clearTimeout(Te.current),clearTimeout(Me.current),clearTimeout(Ae.current),We()}}),[We]);var Ue=function(e){clearTimeout(jd),kd=!0,ze(!0),ne&&!Le&&ne(e)},qe=(0,hs.Z)((function(e){clearTimeout(jd),jd=setTimeout((function(){kd=!1}),800+Q),ze(!1),te&&Le&&te(e),clearTimeout(Te.current),Te.current=setTimeout((function(){Ze.current=!1}),be.transitions.duration.shortest)})),He=function(e){Ze.current&&"touchstart"!==e.type||(ke&&ke.removeAttribute("title"),clearTimeout(Me.current),clearTimeout(Ae.current),U||kd&&H?Me.current=setTimeout((function(){Ue(e)}),kd?H:U):Ue(e))},Ve=function(e){clearTimeout(Me.current),clearTimeout(Ae.current),Ae.current=setTimeout((function(){qe(e)}),Q)},Ye=(0,ms.Z)(),Ge=Ye.isFocusVisibleRef,$e=Ye.onBlur,Ke=Ye.onFocus,Xe=Ye.ref,Qe=t.useState(!1),Je=(0,D.Z)(Qe,2)[1],et=function(e){$e(e),!1===Ge.current&&(Je(!1),Ve(e))},tt=function(e){ke||je(e.currentTarget),Ke(e),!0===Ge.current&&(Je(!0),He(e))},nt=function(e){Ze.current=!0;var t=ye.props;t.onTouchStart&&t.onTouchStart(e)},rt=He,ot=Ve;t.useEffect((function(){if(Le)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||qe(e)}}),[qe,Le]);var it=(0,qa.Z)(ye.ref,Xe,je,n);pe||0===pe||(Le=!1);var at=t.useRef(),lt={},st="string"===typeof pe;M?(lt.title=Le||!st||I?null:pe,lt["aria-describedby"]=Le?Be:null):(lt["aria-label"]=st?pe:null,lt["aria-labelledby"]=Le&&!st?Be:null);var ct=(0,Ti.Z)({},lt,ge,ye.props,{className:(0,Mi.Z)(ge.className,ye.props.className),onTouchStart:nt,ref:it},$?{onMouseMove:function(e){var t=ye.props;t.onMouseMove&&t.onMouseMove(e),Ed={x:e.clientX,y:e.clientY},at.current&&at.current.update()}}:{});var ut={};F||(ct.onTouchStart=function(e){nt(e),clearTimeout(Ae.current),clearTimeout(Te.current),We(),Fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Re.current=setTimeout((function(){document.body.style.WebkitUserSelect=Fe.current,He(e)}),Y)},ct.onTouchEnd=function(e){ye.props.onTouchEnd&&ye.props.onTouchEnd(e),We(),clearTimeout(Ae.current),Ae.current=setTimeout((function(){qe(e)}),ee)}),I||(ct.onMouseOver=Od(rt,ct.onMouseOver),ct.onMouseLeave=Od(ot,ct.onMouseLeave),_e||(ut.onMouseOver=rt,ut.onMouseLeave=ot)),R||(ct.onFocus=Od(tt,ct.onFocus),ct.onBlur=Od(et,ct.onBlur),_e||(ut.onFocus=tt,ut.onBlur=et));var dt=t.useMemo((function(){var e,t=[{name:"arrow",enabled:Boolean(Ce),options:{element:Ce,padding:4}}];return null!=(e=se.popperOptions)&&e.modifiers&&(t=t.concat(se.popperOptions.modifiers)),(0,Ti.Z)({},se.popperOptions,{modifiers:t})}),[Ce,se]),ft=(0,Ti.Z)({},S,{isRtl:xe,arrow:j,disableInteractive:_e,placement:ie,PopperComponentProp:ae,touch:Ze.current}),pt=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,o=e.touch,i=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat((0,vl.Z)(i.split("-")[0]))],arrow:["arrow"]};return(0,Yi.Z)(a,vd,t)}(ft),ht=null!=(r=null!=(o=fe.popper)?o:C.Popper)?r:xd,mt=null!=(i=null!=(a=null!=(l=fe.transition)?l:C.Transition)?a:me)?i:zc,vt=null!=(s=null!=(c=fe.tooltip)?c:C.Tooltip)?s:wd,gt=null!=(u=null!=(d=fe.arrow)?d:C.Arrow)?u:Sd,yt=Ki(ht,(0,Ti.Z)({},se,null!=(f=ue.popper)?f:Z.popper,{className:(0,Mi.Z)(pt.popper,null==se?void 0:se.className,null==(p=null!=(h=ue.popper)?h:Z.popper)?void 0:p.className)}),ft),bt=Ki(mt,(0,Ti.Z)({},ve,null!=(m=ue.transition)?m:Z.transition),ft),xt=Ki(vt,(0,Ti.Z)({},null!=(v=ue.tooltip)?v:Z.tooltip,{className:(0,Mi.Z)(pt.tooltip,null==(g=null!=(y=ue.tooltip)?y:Z.tooltip)?void 0:g.className)}),ft),wt=Ki(gt,(0,Ti.Z)({},null!=(b=ue.arrow)?b:Z.arrow,{className:(0,Mi.Z)(pt.arrow,null==(x=null!=(w=ue.arrow)?w:Z.arrow)?void 0:x.className)}),ft);return(0,Bi.jsxs)(t.Fragment,{children:[t.cloneElement(ye,ct),(0,Bi.jsx)(ht,(0,Ti.Z)({as:null!=ae?ae:pd,placement:ie,anchorEl:$?{getBoundingClientRect:function(){return{top:Ed.y,left:Ed.x,right:Ed.x,bottom:Ed.y,width:0,height:0}}}:ke,popperRef:at,open:!!ke&&Le,id:Be,transition:!0},ut,yt,{popperOptions:dt,children:function(e){var t=e.TransitionProps;return(0,Bi.jsx)(mt,(0,Ti.Z)({timeout:be.transitions.duration.shorter},t,bt,{children:(0,Bi.jsxs)(vt,(0,Ti.Z)({},xt,{children:[pe,j?(0,Bi.jsx)(gt,(0,Ti.Z)({},wt,{ref:Pe})):null]}))}))}}))]})})),Pd=Cd,Zd=n(501),_d=n(2338),Td=n(8252);function Md(e){return(0,Oa.Z)("MuiDialog",e)}var Ad=(0,Ea.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var Rd=t.createContext({}),Nd=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Id=(0,Oi.ZP)(Qa,{name:"MuiDialog",slot:"Backdrop",overrides:function(e,t){return t.backdrop}})({zIndex:-1}),Dd=(0,Oi.ZP)(nl,{name:"MuiDialog",slot:"Root",overridesResolver:function(e,t){return t.root}})({"@media print":{position:"absolute !important"}}),zd=(0,Oi.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(e,t){var n=e.ownerState;return[t.container,t["scroll".concat((0,vl.Z)(n.scroll))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),Ld=(0,Oi.ZP)(ml,{name:"MuiDialog",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["scrollPaper".concat((0,vl.Z)(n.scroll))],t["paperWidth".concat((0,vl.Z)(String(n.maxWidth)))],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&(0,u.Z)({maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)")},"&.".concat(Ad.paperScrollBody),(0,u.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),n.maxWidth&&"xs"!==n.maxWidth&&(0,u.Z)({maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)},"&.".concat(Ad.paperScrollBody),(0,u.Z)({},t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&(0,u.Z)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(Ad.paperScrollBody),{margin:0,maxWidth:"100%"}))})),Bd=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDialog"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r["aria-describedby"],l=r["aria-labelledby"],s=r.BackdropComponent,c=r.BackdropProps,u=r.children,d=r.className,f=r.disableEscapeKeyDown,p=void 0!==f&&f,h=r.fullScreen,m=void 0!==h&&h,v=r.fullWidth,g=void 0!==v&&v,y=r.maxWidth,b=void 0===y?"sm":y,x=r.onBackdropClick,w=r.onClose,S=r.open,k=r.PaperComponent,j=void 0===k?ml:k,E=r.PaperProps,O=void 0===E?{}:E,C=r.scroll,P=void 0===C?"paper":C,Z=r.TransitionComponent,_=void 0===Z?Ga:Z,M=r.transitionDuration,A=void 0===M?i:M,R=r.TransitionProps,N=(0,T.Z)(r,Nd),I=(0,Ti.Z)({},r,{disableEscapeKeyDown:p,fullScreen:m,fullWidth:g,maxWidth:b,scroll:P}),D=function(e){var t=e.classes,n=e.scroll,r=e.maxWidth,o=e.fullWidth,i=e.fullScreen,a={root:["root"],container:["container","scroll".concat((0,vl.Z)(n))],paper:["paper","paperScroll".concat((0,vl.Z)(n)),"paperWidth".concat((0,vl.Z)(String(r))),o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,Yi.Z)(a,Md,t)}(I),z=t.useRef(),L=(0,Td.Z)(l),B=t.useMemo((function(){return{titleId:L}}),[L]);return(0,Bi.jsx)(Dd,(0,Ti.Z)({className:(0,Mi.Z)(D.root,d),closeAfterTransition:!0,components:{Backdrop:Id},componentsProps:{backdrop:(0,Ti.Z)({transitionDuration:A,as:s},c)},disableEscapeKeyDown:p,onClose:w,open:S,ref:n,onClick:function(e){z.current&&(z.current=null,x&&x(e),w&&w(e,"backdropClick"))},ownerState:I},N,{children:(0,Bi.jsx)(_,(0,Ti.Z)({appear:!0,in:S,timeout:A,role:"presentation"},R,{children:(0,Bi.jsx)(zd,{className:(0,Mi.Z)(D.container),onMouseDown:function(e){z.current=e.target===e.currentTarget},ownerState:I,children:(0,Bi.jsx)(Ld,(0,Ti.Z)({as:j,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":L},O,{className:(0,Mi.Z)(D.paper,O.className),ownerState:I,children:(0,Bi.jsx)(Rd.Provider,{value:B,children:u})}))})}))}))}));function Fd(e){return(0,Oa.Z)("MuiDialogTitle",e)}var Wd=(0,Ea.Z)("MuiDialogTitle",["root"]),Ud=["className","id"],qd=(0,Oi.ZP)(as,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:"16px 24px",flex:"0 0 auto"}),Hd=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDialogTitle"}),o=r.className,i=r.id,a=(0,T.Z)(r,Ud),l=r,s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Fd,t)}(l),c=t.useContext(Rd).titleId,u=void 0===c?i:c;return(0,Bi.jsx)(qd,(0,Ti.Z)({component:"h2",className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n,variant:"h6",id:null!=i?i:u},a))}));function Vd(e){return(0,Oa.Z)("MuiDialogContent",e)}(0,Ea.Z)("MuiDialogContent",["root","dividers"]);var Yd=["className","dividers"],Gd=(0,Oi.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:(0,u.Z)({},".".concat(Wd.root," + &"),{paddingTop:0}))})),$d=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogContent"}),r=n.className,o=n.dividers,i=void 0!==o&&o,a=(0,T.Z)(n,Yd),l=(0,Ti.Z)({},n,{dividers:i}),s=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,Yi.Z)(n,Vd,t)}(l);return(0,Bi.jsx)(Gd,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))}));function Kd(e){return(0,Oa.Z)("MuiDialogContentText",e)}(0,Ea.Z)("MuiDialogContentText",["root"]);var Xd=["children","className"],Qd=(0,Oi.ZP)(as,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Jd=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogContentText"}),r=n.className,o=(0,T.Z)(n,Xd),i=function(e){var t=e.classes,n=(0,Yi.Z)({root:["root"]},Kd,t);return(0,Ti.Z)({},t,n)}(o);return(0,Bi.jsx)(Qd,(0,Ti.Z)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:(0,Mi.Z)(i.root,r)},n,{classes:i}))}));function ef(e){return(0,Oa.Z)("MuiDialogActions",e)}(0,Ea.Z)("MuiDialogActions",["root","spacing"]);var tf=["className","disableSpacing"],nf=(0,Oi.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),rf=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=(0,T.Z)(n,tf),l=(0,Ti.Z)({},n,{disableSpacing:i}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Yi.Z)(n,ef,t)}(l);return(0,Bi.jsx)(nf,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))})),of=n(5735);function af(e){return(0,Oa.Z)("MuiButton",e)}var lf=(0,Ea.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var sf=t.createContext({}),cf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],uf=function(e){return(0,Ti.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},df=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,vl.Z)(n.color))],t["size".concat((0,vl.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,vl.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,o=e.theme,i=e.ownerState,a="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,Ti.Z)({},o.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,Ti.Z)({textDecoration:"none",backgroundColor:o.vars?"rgba(".concat(o.vars.palette.text.primaryChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat((o.vars||o).palette[i.color].main),backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:(o.vars||o).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[i.color].main}}),"&:active":(0,Ti.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[8]})},(0,u.Z)(t,"&.".concat(lf.focusVisible),(0,Ti.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[6]})),(0,u.Z)(t,"&.".concat(lf.disabled),(0,Ti.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat((o.vars||o).palette.action.disabledBackground)},"contained"===i.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})),t),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main,border:o.vars?"1px solid rgba(".concat(o.vars.palette[i.color].mainChannel," / 0.5)"):"1px solid ".concat((0,cl.Fq)(o.palette[i.color].main,.5))},"contained"===i.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(r=o.palette).getContrastText)?void 0:n.call(r,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:a,boxShadow:(o.vars||o).shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].contrastText,backgroundColor:(o.vars||o).palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,u.Z)(t,"&.".concat(lf.focusVisible),{boxShadow:"none"}),(0,u.Z)(t,"&:active",{boxShadow:"none"}),(0,u.Z)(t,"&.".concat(lf.disabled),{boxShadow:"none"}),t)})),ff=(0,Oi.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},uf(t))})),pf=(0,Oi.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},uf(t))})),hf=t.forwardRef((function(e,n){var r=t.useContext(sf),o=(0,of.Z)(r,e),i=(0,_a.Z)({props:o,name:"MuiButton"}),a=i.children,l=i.color,s=void 0===l?"primary":l,c=i.component,u=void 0===c?"button":c,d=i.className,f=i.disabled,p=void 0!==f&&f,h=i.disableElevation,m=void 0!==h&&h,v=i.disableFocusRipple,g=void 0!==v&&v,y=i.endIcon,b=i.focusVisibleClassName,x=i.fullWidth,w=void 0!==x&&x,S=i.size,k=void 0===S?"medium":S,j=i.startIcon,E=i.type,O=i.variant,C=void 0===O?"text":O,P=(0,T.Z)(i,cf),Z=(0,Ti.Z)({},i,{color:s,component:u,disabled:p,disableElevation:m,disableFocusRipple:g,fullWidth:w,size:k,type:E,variant:C}),_=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,o=e.size,i=e.variant,a=e.classes,l={root:["root",i,"".concat(i).concat((0,vl.Z)(t)),"size".concat((0,vl.Z)(o)),"".concat(i,"Size").concat((0,vl.Z)(o)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,vl.Z)(o))],endIcon:["endIcon","iconSize".concat((0,vl.Z)(o))]},s=(0,Yi.Z)(l,af,a);return(0,Ti.Z)({},a,s)}(Z),M=j&&(0,Bi.jsx)(ff,{className:_.startIcon,ownerState:Z,children:j}),A=y&&(0,Bi.jsx)(pf,{className:_.endIcon,ownerState:Z,children:y});return(0,Bi.jsxs)(df,(0,Ti.Z)({ownerState:Z,className:(0,Mi.Z)(r.className,_.root,d),component:u,disabled:p,focusRipple:!g,focusVisibleClassName:(0,Mi.Z)(_.focusVisible,b),ref:n,type:E},P,{classes:_,children:[M,a,A]}))})),mf=hf,vf=n(6711),gf=function(e){var t=e.open,n=e.onClose,r=e.onConfirm,o=e.message,i=e.title,a=e.content,l=e.submitLabel,s=e.show,c=e.disable,u=e.showCancel,d=void 0===u||u;return(0,Bi.jsxs)(Bd,{open:t,onClose:n,children:[(0,Bi.jsxs)(Hd,{sx:{backgroundColor:"primary.main",color:"white",fontSize:"18px",display:"flex",justifyContent:"space-between"},children:[i,(0,Bi.jsx)(vf.Z,{onClick:n,style:{fontSize:"25px"}})]}),(0,Bi.jsxs)($d,{children:[a,(0,Bi.jsx)(Jd,{sx:{marginTop:3},children:o})]}),(0,Bi.jsxs)(rf,{children:[d?(0,Bi.jsx)(mf,{variant:"outlined",size:"small",onClick:n,sx:{marginRight:2},children:"Cancel"}):null,s&&(0,Bi.jsx)(mf,{onClick:r,size:"small",variant:"contained",color:"primary",disabled:c,children:l})]})]})},yf=function(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)};function bf(e,t){return function(){return e.apply(t,arguments)}}var xf,wf=Object.prototype.toString,Sf=Object.getPrototypeOf,kf=(xf=Object.create(null),function(e){var t=wf.call(e);return xf[t]||(xf[t]=t.slice(8,-1).toLowerCase())}),jf=function(e){return e=e.toLowerCase(),function(t){return kf(t)===e}},Ef=function(e){return function(t){return typeof t===e}},Of=Array.isArray,Cf=Ef("undefined");var Pf=jf("ArrayBuffer");var Zf=Ef("string"),_f=Ef("function"),Tf=Ef("number"),Mf=function(e){return null!==e&&"object"===typeof e},Af=function(e){if("object"!==kf(e))return!1;var t=Sf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Rf=jf("Date"),Nf=jf("File"),If=jf("Blob"),Df=jf("FileList"),zf=jf("URLSearchParams");function Lf(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Of(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,l=i?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;for(n=0;n<s;n++)a=l[n],t.call(null,e[a],a,e)}}function Bf(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var Ff="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Wf=function(e){return!Cf(e)&&e!==Ff};var Uf,qf=(Uf="undefined"!==typeof Uint8Array&&Sf(Uint8Array),function(e){return Uf&&e instanceof Uf}),Hf=jf("HTMLFormElement"),Vf=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),Yf=jf("RegExp"),Gf=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Lf(n,(function(n,o){!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},$f="abcdefghijklmnopqrstuvwxyz",Kf="0123456789",Xf={DIGIT:Kf,ALPHA:$f,ALPHA_DIGIT:$f+$f.toUpperCase()+Kf};var Qf=jf("AsyncFunction"),Jf={isArray:Of,isArrayBuffer:Pf,isBuffer:function(e){return null!==e&&!Cf(e)&&null!==e.constructor&&!Cf(e.constructor)&&_f(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||_f(e.append)&&("formdata"===(t=kf(e))||"object"===t&&_f(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pf(e.buffer)},isString:Zf,isNumber:Tf,isBoolean:function(e){return!0===e||!1===e},isObject:Mf,isPlainObject:Af,isUndefined:Cf,isDate:Rf,isFile:Nf,isBlob:If,isRegExp:Yf,isFunction:_f,isStream:function(e){return Mf(e)&&_f(e.pipe)},isURLSearchParams:zf,isTypedArray:qf,isFileList:Df,forEach:Lf,merge:function e(){for(var t=(Wf(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&Bf(n,o)||o;Af(n[i])&&Af(r)?n[i]=e(n[i],r):Af(r)?n[i]=e({},r):Of(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o<i;o++)arguments[o]&&Lf(arguments[o],r);return n},extend:function(e,t,n){return Lf(t,(function(t,r){n&&_f(t)?e[r]=bf(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,l={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:kf,kindOfTest:jf,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(Of(e))return e;var t=e.length;if(!Tf(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Hf,hasOwnProperty:Vf,hasOwnProp:Vf,reduceDescriptors:Gf,freezeMethods:function(e){Gf(e,(function(t,n){if(_f(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];_f(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return Of(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Bf,global:Ff,isContextDefined:Wf,ALPHABET:Xf,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xf.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&_f(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(Mf(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=Of(n)?[]:{};return Lf(n,(function(t,n){var i=e(t,r+1);!Cf(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:Qf,isThenable:function(e){return e&&(Mf(e)||_f(e))&&_f(e.then)&&_f(e.catch)}};function ep(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Jf.inherits(ep,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Jf.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var tp=ep.prototype,np={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){np[e]={value:e}})),Object.defineProperties(ep,np),Object.defineProperty(tp,"isAxiosError",{value:!0}),ep.from=function(e,t,n,r,o,i){var a=Object.create(tp);return Jf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),ep.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var rp=ep;function op(e){return Jf.isPlainObject(e)||Jf.isArray(e)}function ip(e){return Jf.endsWith(e,"[]")?e.slice(0,-2):e}function ap(e,t,n){return e?e.concat(t).map((function(e,t){return e=ip(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var lp=Jf.toFlatObject(Jf,{},null,(function(e){return/^is[A-Z]/.test(e)}));var sp=function(e,t,n){if(!Jf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=Jf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Jf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Jf.isSpecCompliantForm(t);if(!Jf.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Jf.isDate(e))return e.toISOString();if(!l&&Jf.isBlob(e))throw new rp("Blob is not supported. Use a Buffer instead.");return Jf.isArrayBuffer(e)||Jf.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){var l=e;if(e&&!o&&"object"===typeof e)if(Jf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Jf.isArray(e)&&function(e){return Jf.isArray(e)&&!e.some(op)}(e)||(Jf.isFileList(e)||Jf.endsWith(n,"[]"))&&(l=Jf.toArray(e)))return n=ip(n),l.forEach((function(e,r){!Jf.isUndefined(e)&&null!==e&&t.append(!0===a?ap([n],r,i):null===a?n:n+"[]",s(e))})),!1;return!!op(e)||(t.append(ap(o,n,i),s(e)),!1)}var u=[],d=Object.assign(lp,{defaultVisitor:c,convertValue:s,isVisitable:op});if(!Jf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Jf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Jf.forEach(n,(function(n,i){!0===(!(Jf.isUndefined(n)||null===n)&&o.call(t,n,Jf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function cp(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function up(e,t){this._pairs=[],e&&sp(e,this,t)}var dp=up.prototype;dp.append=function(e,t){this._pairs.push([e,t])},dp.toString=function(e){var t=e?function(t){return e.call(this,t,cp)}:cp;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var fp=up;function pp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function hp(e,t,n){if(!t)return e;var r,o=n&&n.encode||pp,i=n&&n.serialize;if(r=i?i(t,n):Jf.isURLSearchParams(t)?t.toString():new fp(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var mp=function(){function e(){W(this,e),this.handlers=[]}return H(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Jf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),vp=mp,gp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yp={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:fp,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var bp=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),l=o>=e.length;return i=!i&&Jf.isArray(r)?r.length:i,l?(Jf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Jf.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Jf.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(Jf.isFormData(e)&&Jf.isFunction(e.entries)){var n={};return Jf.forEachEntry(e,(function(e,r){t(function(e){return Jf.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},xp={"Content-Type":void 0};var wp={transitional:gp,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=Jf.isObject(e);if(i&&Jf.isHTMLForm(e)&&(e=new FormData(e)),Jf.isFormData(e))return o&&o?JSON.stringify(bp(e)):e;if(Jf.isArrayBuffer(e)||Jf.isBuffer(e)||Jf.isStream(e)||Jf.isFile(e)||Jf.isBlob(e))return e;if(Jf.isArrayBufferView(e))return e.buffer;if(Jf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return sp(e,new yp.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return yp.isNode&&Jf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=Jf.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return sp(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(Jf.isString(e))try{return(t||JSON.parse)(e),Jf.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||wp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Jf.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw rp.from(i,rp.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yp.classes.FormData,Blob:yp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Jf.forEach(["delete","get","head"],(function(e){wp.headers[e]={}})),Jf.forEach(["post","put","patch"],(function(e){wp.headers[e]=Jf.merge(xp)}));var Sp=wp,kp=Jf.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jp=Symbol("internals");function Ep(e){return e&&String(e).trim().toLowerCase()}function Op(e){return!1===e||null==e?e:Jf.isArray(e)?e.map(Op):String(e)}function Cp(e,t,n,r,o){return Jf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Jf.isString(t)?Jf.isString(r)?-1!==t.indexOf(r):Jf.isRegExp(r)?r.test(t):void 0:void 0)}var Pp=function(e,t){function n(e){W(this,n),e&&this.set(e)}return H(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Ep(t);if(!o)throw new Error("header name must be a non-empty string");var i=Jf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Op(e))}var i=function(e,t){return Jf.forEach(e,(function(e,n){return o(e,n,t)}))};return Jf.isPlainObject(e)||e instanceof this.constructor?i(e,t):Jf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&kp[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=Ep(e)){var n=Jf.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(Jf.isFunction(t))return t.call(this,r,n);if(Jf.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ep(e)){var n=Jf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Cp(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Ep(e)){var o=Jf.findKey(n,e);!o||t&&!Cp(0,n[o],o,t)||(delete n[o],r=!0)}}return Jf.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!Cp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return Jf.forEach(this,(function(r,o){var i=Jf.findKey(n,o);if(i)return t[i]=Op(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Op(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Jf.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&Jf.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=(0,D.Z)(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[jp]=this[jp]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Ep(e);t[r]||(!function(e,t){var n=Jf.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Jf.isArray(e)?e.forEach(r):r(e),this}}]),n}();Pp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Jf.freezeMethods(Pp.prototype),Jf.freezeMethods(Pp);var Zp=Pp;function _p(e,t){var n=this||Sp,r=t||n,o=Zp.from(r.headers),i=r.data;return Jf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Tp(e){return!(!e||!e.__CANCEL__)}function Mp(e,t,n){rp.call(this,null==e?"canceled":e,rp.ERR_CANCELED,t,n),this.name="CanceledError"}Jf.inherits(Mp,rp,{__CANCEL__:!0});var Ap=Mp;var Rp=yp.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),Jf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Jf.isString(r)&&a.push("path="+r),Jf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Np(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ip=yp.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=Jf.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var Dp=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(l){var s=Date.now(),c=o[a];n||(n=s),r[i]=l,o[i]=s;for(var u=a,d=0;u!==i;)d+=r[u++],u%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(s-n<t)){var f=c&&s-c;return f?Math.round(1e3*d/f):void 0}}};function zp(e,t){var n=0,r=Dp(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-n,s=r(l);n=i;var c={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}var Lp="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,o=e.data,i=Zp.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}Jf.isFormData(o)&&(yp.isStandardBrowserEnv||yp.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));var s=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(c+":"+u))}var d=Np(e.baseURL,e.url);function f(){if(s){var r=Zp.from("getAllResponseHeaders"in s&&s.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new rp("Request failed with status code "+n.status,[rp.ERR_BAD_REQUEST,rp.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:a&&"text"!==a&&"json"!==a?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:r,config:e,request:s}),s=null}}if(s.open(e.method.toUpperCase(),hp(d,e.params,e.paramsSerializer),!0),s.timeout=e.timeout,"onloadend"in s?s.onloadend=f:s.onreadystatechange=function(){s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&setTimeout(f)},s.onabort=function(){s&&(n(new rp("Request aborted",rp.ECONNABORTED,e,s)),s=null)},s.onerror=function(){n(new rp("Network Error",rp.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||gp;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new rp(t,r.clarifyTimeoutError?rp.ETIMEDOUT:rp.ECONNABORTED,e,s)),s=null},yp.isStandardBrowserEnv){var p=(e.withCredentials||Ip(d))&&e.xsrfCookieName&&Rp.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}void 0===o&&i.setContentType(null),"setRequestHeader"in s&&Jf.forEach(i.toJSON(),(function(e,t){s.setRequestHeader(t,e)})),Jf.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),a&&"json"!==a&&(s.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&s.addEventListener("progress",zp(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",zp(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){s&&(n(!t||t.type?new Ap(null,e,s):t),s.abort(),s=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var h=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);h&&-1===yp.protocols.indexOf(h)?n(new rp("Unsupported protocol "+h+":",rp.ERR_BAD_REQUEST,e)):s.send(o||null)}))},Bp={http:null,xhr:Lp};Jf.forEach(Bp,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var Fp=function(e){for(var t,n,r=(e=Jf.isArray(e)?e:[e]).length,o=0;o<r&&(t=e[o],!(n=Jf.isString(t)?Bp[t.toLowerCase()]:t));o++);if(!n){if(!1===n)throw new rp("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(Jf.hasOwnProp(Bp,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!Jf.isFunction(n))throw new TypeError("adapter is not a function");return n};function Wp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ap(null,e)}function Up(e){return Wp(e),e.headers=Zp.from(e.headers),e.data=_p.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fp(e.adapter||Sp.adapter)(e).then((function(t){return Wp(e),t.data=_p.call(e,e.transformResponse,t),t.headers=Zp.from(t.headers),t}),(function(t){return Tp(t)||(Wp(e),t&&t.response&&(t.response.data=_p.call(e,e.transformResponse,t.response),t.response.headers=Zp.from(t.response.headers))),Promise.reject(t)}))}var qp=function(e){return e instanceof Zp?e.toJSON():e};function Hp(e,t){t=t||{};var n={};function r(e,t,n){return Jf.isPlainObject(e)&&Jf.isPlainObject(t)?Jf.merge.call({caseless:n},e,t):Jf.isPlainObject(t)?Jf.merge({},t):Jf.isArray(t)?t.slice():t}function o(e,t,n){return Jf.isUndefined(t)?Jf.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Jf.isUndefined(t))return r(void 0,t)}function a(e,t){return Jf.isUndefined(t)?Jf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:function(e,t){return o(qp(e),qp(t),!0)}};return Jf.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=s[r]||o,a=i(e[r],t[r],r);Jf.isUndefined(a)&&i!==l||(n[r]=a)})),n}var Vp="1.4.0",Yp={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Yp[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Gp={};Yp.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new rp(r(o," has been removed"+(t?" in "+t:"")),rp.ERR_DEPRECATED);return t&&!Gp[o]&&(Gp[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var $p={assertOptions:function(e,t,n){if("object"!==typeof e)throw new rp("options must be an object",rp.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var l=e[i],s=void 0===l||a(l,i,e);if(!0!==s)throw new rp("option "+i+" must be "+s,rp.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new rp("Unknown option "+i,rp.ERR_BAD_OPTION)}},validators:Yp},Kp=$p.validators,Xp=function(){function e(t){W(this,e),this.defaults=t,this.interceptors={request:new vp,response:new vp}}return H(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=Hp(this.defaults,t),o=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==o&&$p.assertOptions(o,{silentJSONParsing:Kp.transitional(Kp.boolean),forcedJSONParsing:Kp.transitional(Kp.boolean),clarifyTimeoutError:Kp.transitional(Kp.boolean)},!1),null!=i&&(Jf.isFunction(i)?t.paramsSerializer={serialize:i}:$p.assertOptions(i,{encode:Kp.function,serialize:Kp.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=a&&Jf.merge(a.common,a[t.method]))&&Jf.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=Zp.concat(n,a);var l=[],s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));var c,u=[];this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));var d,f=0;if(!s){var p=[Up.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),d=p.length,c=Promise.resolve(t);f<d;)c=c.then(p[f++],p[f++]);return c}d=l.length;var h=t;for(f=0;f<d;){var m=l[f++],v=l[f++];try{h=m(h)}catch(g){v.call(this,g);break}}try{c=Up.call(this,h)}catch(g){return Promise.reject(g)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}},{key:"getUri",value:function(e){return hp(Np((e=Hp(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();Jf.forEach(["delete","get","head","options"],(function(e){Xp.prototype[e]=function(t,n){return this.request(Hp(n||{},{method:e,url:t,data:(n||{}).data}))}})),Jf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Hp(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Xp.prototype[e]=t(),Xp.prototype[e+"Form"]=t(!0)}));var Qp=Xp,Jp=function(){function e(t){if(W(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new Ap(e,t,o),n(r.reason))}))}return H(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t,n=new e((function(e){t=e}));return{token:n,cancel:t}}}]),e}(),eh=Jp;var th={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(th).forEach((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];th[r]=n}));var nh=th;var rh=function e(t){var n=new Qp(t),r=bf(Qp.prototype.request,n);return Jf.extend(r,Qp.prototype,n,{allOwnKeys:!0}),Jf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Hp(t,n))},r}(Sp);rh.Axios=Qp,rh.CanceledError=Ap,rh.CancelToken=eh,rh.isCancel=Tp,rh.VERSION=Vp,rh.toFormData=sp,rh.AxiosError=rp,rh.Cancel=rh.CanceledError,rh.all=function(e){return Promise.all(e)},rh.spread=function(e){return function(t){return e.apply(null,t)}},rh.isAxiosError=function(e){return Jf.isObject(e)&&!0===e.isAxiosError},rh.mergeConfig=Hp,rh.AxiosHeaders=Zp,rh.formToJSON=function(e){return bp(Jf.isHTMLForm(e)?new FormData(e):e)},rh.HttpStatusCode=nh,rh.default=rh;var oh=rh.create({baseURL:window.location.hostname.includes("localhost")?"http://127.0.0.1:8000":"http://quiz-be-test.hematitecorp.com"});oh.interceptors.request.use((function(e){var t=!!sessionStorage.getItem("accessToken");return te(te({},e),{},{headers:te(te({},t&&{Authorization:"Bearer ".concat(sessionStorage.getItem("accessToken"))}),e.headers)})}),(function(e){return Promise.reject(e)})),oh.interceptors.response.use((function(e){return e.data}),(function(e){return Promise.reject(e)}));var ih=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oh.get(e,{headers:t})},ah=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oh.post(e,t,{headers:n})},lh=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oh.put(e,t,{headers:n})},sh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oh.delete(e,{headers:t})},ch=n(5146),uh={token:"/api/token/",exams:"/api/exam/",question:"/api/question/",voucher:"/api/voucher/",feedback:"/api/feedback/",student:"/api/user/student-register/",branch:"/api/branch/",staff:"/api/user/employee-register/",user:"/api/user/",employee:"/api/employee/",password:"/api/user/forget-passwords/",result:"/api/result/results/",submit_exam:"/api/result/submitexam/",start_exam:"/api/question/examquestions",upload_csv:"/api/upload-csv/",feedbackAns:"/api/feedback-answer/",batch:"/api/batch/",batchWiseStudent:"/api/batch-wise-students/",scheduled:"/api/schedule/",sendEmail:"/api/send-email/",course:"/api/course/",enquiry:"/api/enquiry/",enroll:"/api/enroll/",loginUser:"/api/user/me/"},dh=function(e){return/^[a-zA-Z]{2,20}$/.test(e)},fh=function(e){return/^[6789]\d{9}$/.test(e)},ph=function(e){return/^[a-zA-Z0-9._%+-]+@[a-zA-Z]{3,}\.[a-zA-Z]{2,}$/g.test(e)},hh=function(e){return/^[0-9]{16,20}$/.test(e)},mh=function(e){return/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])[A-Za-z\d!@#$%^&*]{8,14}$/.test(e)},vh=function(e){return/^[1-5]{1}$/.test(e)},gh=function(e){return/^[A-Za-z]{2,30}$/.test(e)},yh=function(e){return/^[a-zA-Z]{2,500}$/.test(e)},bh=function(e){return/^[0-9]{3}$/.test(e)},xh=function(e){return(0,Bi.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(ch.Z,{})," ",(0,Bi.jsx)("span",{style:{paddingLeft:"5px"},children:e})]})},wh=240,Sh=function(e){return{width:wh,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden"}},kh=function(e){return(0,u.Z)({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"calc(".concat(e.spacing(7)," + 1px)")},e.breakpoints.up("sm"),{width:"calc(".concat(e.spacing(8)," + 1px)")})},jh=(0,Oi.ZP)("div")((function(e){var t=e.theme;return te({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:t.spacing(0,1)},t.mixins.toolbar)})),Eh=(0,Oi.ZP)(Tl,{shouldForwardProp:function(e){return"open"!==e}})((function(e){var t=e.theme,n=e.open;return te({zIndex:t.zIndex.drawer+1,transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.leavingScreen})},n&&{marginLeft:wh,width:"calc(100% - ".concat(wh,"px)"),transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.enteringScreen})})})),Oh=(0,Oi.ZP)(El,{shouldForwardProp:function(e){return"open"!==e}})((function(e){var t=e.theme,n=e.open;return te(te({width:wh,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box"},n&&te(te({},Sh(t)),{},{"& .MuiDrawer-paper":Sh(t)})),!n&&te(te({},kh(t)),{},{"& .MuiDrawer-paper":kh(t)}))})),Ch=function(){var e=_i(),n=t.useState(!0),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=t.useState(!1),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=t.useState(!1),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=x((function(e){return e.user})),m=h.loginUser,v=_(),g=t.useState(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=t.useState("info"),k=(0,D.Z)(S,2),j=(k[0],k[1]),E=Lo(),O=Do();(0,t.useEffect)((function(){ih("".concat(uh.loginUser)).then((function(e){v(hn.GetLogginUser(e.data))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var C="admin"===(null===m||void 0===m?void 0:m.role),P="counsellor"===(null===m||void 0===m?void 0:m.role),Z=null===m||void 0===m?void 0:m.role,T="".concat(null===m||void 0===m?void 0:m.fname," ").concat(null===m||void 0===m?void 0:m.lname),M=function(e){E(e)};return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(Vi,{sx:{display:"flex"},children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsx)(Eh,{position:"fixed",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(Js,{color:"inherit","aria-label":"open drawer",onClick:function(){return i(!o)},edge:"start",children:(0,Bi.jsx)(xi,{})}),(0,Bi.jsxs)(as,{variant:"h6",sx:{fontSize:"18px"},noWrap:!0,component:"div",children:["Hematite Infotech Pvt Ltd ",(0,Bi.jsx)("span",{style:{marginLeft:"15px",marginRight:"15px"},children:"|"})," ",yf(Z)," Dashboard"]}),(0,Bi.jsx)(Vi,{sx:{flexGrow:1}}),T?(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,sx:{fontSize:"18px"},component:"div",children:["Welcome ",T]}):(0,Bi.jsx)(as,{variant:"h6",sx:{fontSize:"18px"},noWrap:!0,component:"div",children:"Dashboard"}),(0,Bi.jsx)(as,{sx:{marginLeft:"15px"},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){j("warning"),w("Are you sure you want to logout as ".concat(Z,"?")),c(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),(0,Bi.jsxs)(Oh,{variant:"permanent",open:o,children:[(0,Bi.jsx)(jh,{children:(0,Bi.jsx)(Js,{onClick:function(){i(!1)},children:"rtl"===e.direction?(0,Bi.jsx)(rc.Z,{}):(0,Bi.jsx)(nc.Z,{})})}),(0,Bi.jsx)(ps,{}),(0,Bi.jsxs)(Bl,{children:[(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/student"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/student")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Student",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(bi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Student",sx:{opacity:o?1:0}})]})}),(C||P)&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/register-student"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/register-student")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Registered Student",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(tc,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Registered Student",sx:{opacity:o?1:0}})]})}),(C||P)&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/enquiry"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/enquiry")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"enquiry",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(yi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Enquiry",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/batch"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/batch")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Batch",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(_d.Z,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Batch",sx:{opacity:o?1:0}})]})}),C&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/staff"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/staff")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Employee",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Zd.Z,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Employee",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/exam"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/exam")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Exam",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Ei,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Exam",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/question"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/question")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Question",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(wi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Question",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/voucher"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/voucher")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Voucher",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(ji,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Voucher",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/feedback"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/feedback")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Feedback",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(ki,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Feedback",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/result"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/result")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Result",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Si,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Result",sx:{opacity:o?1:0}})]})})]}),(0,Bi.jsx)(ps,{})]}),(0,Bi.jsx)("div",{className:"child-components",children:(0,Bi.jsx)(ti,{})})]}),(0,Bi.jsx)(gf,{open:s,onClose:function(){return c(!1)},show:!0,onConfirm:function(){c(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),sessionStorage.removeItem("studentId"),E("/")},title:"Confirmation",message:b,submitLabel:"Logout"}),(0,Bi.jsx)(gf,{show:!0,showCancel:!1,open:f,onClose:function(){return p(!1)},onConfirm:function(){p(!1),E("/dashboard/schedule")},title:"Confirmation",message:b,submitLabel:"OK"})]})};var Ph=t.createContext();function Zh(e){return(0,Oa.Z)("MuiTable",e)}(0,Ea.Z)("MuiTable",["root","stickyHeader"]);var _h=["className","component","padding","size","stickyHeader"],Th=(0,Oi.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,Ti.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),Mh="table",Ah=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTable"}),o=r.className,i=r.component,a=void 0===i?Mh:i,l=r.padding,s=void 0===l?"normal":l,c=r.size,u=void 0===c?"medium":c,d=r.stickyHeader,f=void 0!==d&&d,p=(0,T.Z)(r,_h),h=(0,Ti.Z)({},r,{component:a,padding:s,size:u,stickyHeader:f}),m=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,Yi.Z)(n,Zh,t)}(h),v=t.useMemo((function(){return{padding:s,size:u,stickyHeader:f}}),[s,u,f]);return(0,Bi.jsx)(Ph.Provider,{value:v,children:(0,Bi.jsx)(Th,(0,Ti.Z)({as:a,role:a===Mh?null:"table",ref:n,className:(0,Mi.Z)(m.root,o),ownerState:h},p))})}));var Rh=t.createContext();function Nh(e){return(0,Oa.Z)("MuiTableBody",e)}(0,Ea.Z)("MuiTableBody",["root"]);var Ih=["className","component"],Dh=(0,Oi.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-row-group"}),zh={variant:"body"},Lh="tbody",Bh=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableBody"}),r=n.className,o=n.component,i=void 0===o?Lh:o,a=(0,T.Z)(n,Ih),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Nh,t)}(l);return(0,Bi.jsx)(Rh.Provider,{value:zh,children:(0,Bi.jsx)(Dh,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),as:i,ref:t,role:i===Lh?null:"rowgroup",ownerState:l},a))})}));function Fh(e){return(0,Oa.Z)("MuiTableCell",e)}var Wh=(0,Ea.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Uh=["align","className","component","padding","scope","size","sortDirection","variant"],qh=(0,Oi.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,vl.Z)(n.size))],"normal"!==n.padding&&t["padding".concat((0,vl.Z)(n.padding))],"inherit"!==n.align&&t["align".concat((0,vl.Z)(n.align))],n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n ".concat("light"===t.palette.mode?(0,cl.$n)((0,cl.Fq)(t.palette.divider,1),.88):(0,cl._j)((0,cl.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:(t.vars||t).palette.text.primary},"footer"===n.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&(0,u.Z)({padding:"6px 16px"},"&.".concat(Wh.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),Hh=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiTableCell"}),i=o.align,a=void 0===i?"inherit":i,l=o.className,s=o.component,c=o.padding,u=o.scope,d=o.size,f=o.sortDirection,p=o.variant,h=(0,T.Z)(o,Uh),m=t.useContext(Ph),v=t.useContext(Rh),g=v&&"head"===v.variant,y=u;"td"===(r=s||(g?"th":"td"))?y=void 0:!y&&g&&(y="col");var b=p||v&&v.variant,x=(0,Ti.Z)({},o,{align:a,component:r,padding:c||(m&&m.padding?m.padding:"normal"),size:d||(m&&m.size?m.size:"medium"),sortDirection:f,stickyHeader:"head"===b&&m&&m.stickyHeader,variant:b}),w=function(e){var t=e.classes,n=e.variant,r=e.align,o=e.padding,i=e.size,a={root:["root",n,e.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat((0,vl.Z)(r)),"normal"!==o&&"padding".concat((0,vl.Z)(o)),"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(a,Fh,t)}(x),S=null;return f&&(S="asc"===f?"ascending":"descending"),(0,Bi.jsx)(qh,(0,Ti.Z)({as:r,ref:n,className:(0,Mi.Z)(w.root,l),"aria-sort":S,scope:y,ownerState:x},h))})),Vh=Hh;function Yh(e){return(0,Oa.Z)("MuiTableContainer",e)}(0,Ea.Z)("MuiTableContainer",["root"]);var Gh=["className","component"],$h=(0,Oi.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:"100%",overflowX:"auto"}),Kh=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,T.Z)(n,Gh),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Yh,t)}(l);return(0,Bi.jsx)($h,(0,Ti.Z)({ref:t,as:i,className:(0,Mi.Z)(s.root,r),ownerState:l},a))}));function Xh(e){return(0,Oa.Z)("MuiTableHead",e)}(0,Ea.Z)("MuiTableHead",["root"]);var Qh=["className","component"],Jh=(0,Oi.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),em={variant:"head"},tm="thead",nm=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableHead"}),r=n.className,o=n.component,i=void 0===o?tm:o,a=(0,T.Z)(n,Qh),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Xh,t)}(l);return(0,Bi.jsx)(Rh.Provider,{value:em,children:(0,Bi.jsx)(Jh,(0,Ti.Z)({as:i,className:(0,Mi.Z)(s.root,r),ref:t,role:i===tm?null:"rowgroup",ownerState:l},a))})})),rm=n(6189),om=n(2254),im=["onChange","maxRows","minRows","style","value"];function am(e){return parseInt(e,10)||0}var lm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function sm(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var cm=t.forwardRef((function(e,n){var r=e.onChange,o=e.maxRows,i=e.minRows,a=void 0===i?1:i,s=e.style,c=e.value,u=(0,T.Z)(e,im),d=t.useRef(null!=c).current,f=t.useRef(null),p=(0,Gi.Z)(n,f),h=t.useRef(null),m=t.useRef(0),v=t.useState({outerHeightStyle:0}),g=(0,D.Z)(v,2),y=g[0],b=g[1],x=t.useCallback((function(){var t=f.current,n=(0,da.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var r=h.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n.boxSizing,l=am(n.paddingBottom)+am(n.paddingTop),s=am(n.borderBottomWidth)+am(n.borderTopWidth),c=r.scrollHeight;r.value="x";var u=r.scrollHeight,d=c;return a&&(d=Math.max(Number(a)*u,d)),o&&(d=Math.min(Number(o)*u,d)),{outerHeightStyle:(d=Math.max(d,u))+("border-box"===i?l+s:0),overflow:Math.abs(d-c)<=1}}),[o,a,e.placeholder]),w=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return m.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(m.current+=1,{overflow:r,outerHeightStyle:n}):e},S=t.useCallback((function(){var e=x();sm(e)||b((function(t){return w(t,e)}))}),[x]);t.useEffect((function(){var e,t=(0,om.Z)((function(){m.current=0,f.current&&function(){var e=x();sm(e)||l.flushSync((function(){b((function(t){return w(t,e)}))}))}()})),n=f.current,r=(0,da.Z)(n);return r.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(n),function(){t.clear(),r.removeEventListener("resize",t),e&&e.disconnect()}})),(0,ia.Z)((function(){S()})),t.useEffect((function(){m.current=0}),[c]);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)("textarea",(0,Ti.Z)({value:c,onChange:function(e){m.current=0,d||S(),r&&r(e)},ref:p,rows:a,style:(0,Ti.Z)({height:y.outerHeightStyle,overflow:y.overflow?"hidden":void 0},s)},u)),(0,Bi.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:(0,Ti.Z)({},lm,s,{paddingTop:0,paddingBottom:0})})]})}));function um(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}var dm=t.createContext(void 0);function fm(){return t.useContext(dm)}function pm(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function hm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(pm(e.value)&&""!==e.value||t&&pm(e.defaultValue)&&""!==e.defaultValue)}function mm(e){return(0,Oa.Z)("MuiInputBase",e)}var vm=(0,Ea.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),gm=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],ym=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,vl.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},bm=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xm=(0,Oi.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ym})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},t.typography.body1,(0,u.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(vm.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,Ti.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),wm=(0,Oi.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:bm})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode,i=(0,Ti.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),a={opacity:"0 !important"},l=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return(0,Ti.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,u.Z)(t,"label[data-shrink=false] + .".concat(vm.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus:-ms-input-placeholder":l,"&:focus::-ms-input-placeholder":l}),(0,u.Z)(t,"&.".concat(vm.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Sm=(0,Bi.jsx)(Kl,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),km=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiInputBase"}),i=o["aria-describedby"],a=o.autoComplete,l=o.autoFocus,s=o.className,c=o.components,u=void 0===c?{}:c,d=o.componentsProps,f=void 0===d?{}:d,p=o.defaultValue,h=o.disabled,m=o.disableInjectingGlobalStyles,v=o.endAdornment,g=o.fullWidth,y=void 0!==g&&g,b=o.id,x=o.inputComponent,w=void 0===x?"input":x,S=o.inputProps,k=void 0===S?{}:S,j=o.inputRef,E=o.maxRows,O=o.minRows,C=o.multiline,P=void 0!==C&&C,Z=o.name,_=o.onBlur,M=o.onChange,A=o.onClick,R=o.onFocus,N=o.onKeyDown,I=o.onKeyUp,z=o.placeholder,L=o.readOnly,B=o.renderSuffix,F=o.rows,W=o.slotProps,U=void 0===W?{}:W,q=o.slots,H=void 0===q?{}:q,V=o.startAdornment,Y=o.type,G=void 0===Y?"text":Y,$=o.value,K=(0,T.Z)(o,gm),X=null!=k.value?k.value:$,Q=t.useRef(null!=X).current,J=t.useRef(),ee=t.useCallback((function(e){0}),[]),te=(0,qa.Z)(J,j,k.ref,ee),ne=t.useState(!1),re=(0,D.Z)(ne,2),oe=re[0],ie=re[1],ae=fm();var le=um({props:o,muiFormControl:ae,states:["color","disabled","error","hiddenLabel","size","required","filled"]});le.focused=ae?ae.focused:oe,t.useEffect((function(){!ae&&h&&oe&&(ie(!1),_&&_())}),[ae,h,oe,_]);var se=ae&&ae.onFilled,ce=ae&&ae.onEmpty,ue=t.useCallback((function(e){hm(e)?se&&se():ce&&ce()}),[se,ce]);(0,ic.Z)((function(){Q&&ue({value:X})}),[X,ue,Q]);t.useEffect((function(){ue(J.current)}),[]);var de=w,fe=k;P&&"input"===de&&(fe=F?(0,Ti.Z)({type:void 0,minRows:F,maxRows:F},fe):(0,Ti.Z)({type:void 0,maxRows:E,minRows:O},fe),de=cm);t.useEffect((function(){ae&&ae.setAdornedStart(Boolean(V))}),[ae,V]);var pe=(0,Ti.Z)({},o,{color:le.color||"primary",disabled:le.disabled,endAdornment:v,error:le.error,focused:le.focused,formControl:ae,fullWidth:y,hiddenLabel:le.hiddenLabel,multiline:P,size:le.size,startAdornment:V,type:G}),he=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,l=e.formControl,s=e.fullWidth,c=e.hiddenLabel,u=e.multiline,d=e.readOnly,f=e.size,p=e.startAdornment,h=e.type,m={root:["root","color".concat((0,vl.Z)(n)),r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===f&&"sizeSmall",u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return(0,Yi.Z)(m,mm,t)}(pe),me=H.root||u.Root||xm,ve=U.root||f.root||{},ge=H.input||u.Input||wm;return fe=(0,Ti.Z)({},fe,null!=(r=U.input)?r:f.input),(0,Bi.jsxs)(t.Fragment,{children:[!m&&Sm,(0,Bi.jsxs)(me,(0,Ti.Z)({},ve,!$i(me)&&{ownerState:(0,Ti.Z)({},pe,ve.ownerState)},{ref:n,onClick:function(e){J.current&&e.currentTarget===e.target&&J.current.focus(),A&&!le.disabled&&A(e)}},K,{className:(0,Mi.Z)(he.root,ve.className,s,L&&"MuiInputBase-readOnly"),children:[V,(0,Bi.jsx)(dm.Provider,{value:null,children:(0,Bi.jsx)(ge,(0,Ti.Z)({ownerState:pe,"aria-invalid":le.error,"aria-describedby":i,autoComplete:a,autoFocus:l,defaultValue:p,disabled:le.disabled,id:b,onAnimationStart:function(e){ue("mui-auto-fill-cancel"===e.animationName?J.current:{value:"x"})},name:Z,placeholder:z,readOnly:L,required:le.required,rows:F,value:X,onKeyDown:N,onKeyUp:I,type:G},fe,!$i(ge)&&{as:de,ownerState:(0,Ti.Z)({},pe,fe.ownerState)},{ref:te,className:(0,Mi.Z)(he.input,fe.className,L&&"MuiInputBase-readOnly"),onBlur:function(e){_&&_(e),k.onBlur&&k.onBlur(e),ae&&ae.onBlur?ae.onBlur(e):ie(!1)},onChange:function(e){if(!Q){var t=e.target||J.current;if(null==t)throw new Error((0,rm.Z)(1));ue({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];k.onChange&&k.onChange.apply(k,[e].concat(r)),M&&M.apply(void 0,[e].concat(r))},onFocus:function(e){le.disabled?e.stopPropagation():(R&&R(e),k.onFocus&&k.onFocus(e),ae&&ae.onFocus?ae.onFocus(e):ie(!0))}}))}),v,B?B((0,Ti.Z)({},le,{startAdornment:V})):null]}))]})})),jm=km;function Em(e){return(0,Oa.Z)("MuiMenuItem",e)}var Om=(0,Ea.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Cm=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Pm=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,u.Z)(t,"&.".concat(Om.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Om.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(Om.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,u.Z)(t,"&.".concat(Om.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(Om.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,u.Z)(t,"& + .".concat(ss.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,u.Z)(t,"& + .".concat(ss.inset),{marginLeft:52}),(0,u.Z)(t,"& .".concat(Zc.root),{marginTop:0,marginBottom:0}),(0,u.Z)(t,"& .".concat(Zc.inset),{paddingLeft:36}),(0,u.Z)(t,"& .".concat(jc.root),{minWidth:36}),t),!r.dense&&(0,u.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),r.dense&&(0,Ti.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,u.Z)({},"& .".concat(jc.root," svg"),{fontSize:"1.25rem"})))})),Zm=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiMenuItem"}),o=r.autoFocus,i=void 0!==o&&o,a=r.component,l=void 0===a?"li":a,s=r.dense,c=void 0!==s&&s,u=r.divider,d=void 0!==u&&u,f=r.disableGutters,p=void 0!==f&&f,h=r.focusVisibleClassName,m=r.role,v=void 0===m?"menuitem":m,g=r.tabIndex,y=r.className,b=(0,T.Z)(r,Cm),x=t.useContext(Il),w=t.useMemo((function(){return{dense:c||x.dense||!1,disableGutters:p}}),[x.dense,c,p]),S=t.useRef(null);(0,ic.Z)((function(){i&&S.current&&S.current.focus()}),[i]);var k,j=(0,Ti.Z)({},r,{dense:w.dense,divider:d,disableGutters:p}),E=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,i=e.selected,a=e.classes,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},s=(0,Yi.Z)(l,Em,a);return(0,Ti.Z)({},a,s)}(r),O=(0,qa.Z)(S,n);return r.disabled||(k=void 0!==g?g:-1),(0,Bi.jsx)(Il.Provider,{value:w,children:(0,Bi.jsx)(Pm,(0,Ti.Z)({ref:O,role:v,tabIndex:k,component:l,focusVisibleClassName:(0,Mi.Z)(E.focusVisible,h),className:(0,Mi.Z)(E.root,y)},b,{ownerState:j,classes:E}))})})),_m=(n(8457),n(8301)),Tm=fa,Mm=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Am(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Rm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Nm(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Im(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return!1;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Nm(l,i)&&!s)return l.focus(),!0;l=o(e,l,n)}return!1}var Dm=t.forwardRef((function(e,n){var r=e.actions,o=e.autoFocus,i=void 0!==o&&o,a=e.autoFocusItem,l=void 0!==a&&a,s=e.children,c=e.className,u=e.disabledItemsFocusable,d=void 0!==u&&u,f=e.disableListWrap,p=void 0!==f&&f,h=e.onKeyDown,m=e.variant,v=void 0===m?"selectedMenu":m,g=(0,T.Z)(e,Mm),y=t.useRef(null),b=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,ic.Z)((function(){i&&y.current.focus()}),[i]),t.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!y.current.style.width;if(e.clientHeight<y.current.clientHeight&&n){var r="".concat(Tm((0,_m.Z)(e)),"px");y.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,y.current.style.width="calc(100% + ".concat(r,")")}return y.current}}}),[]);var x=(0,qa.Z)(y,n),w=-1;t.Children.forEach(s,(function(e,n){t.isValidElement(e)?(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===w)&&(w=n),w===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(w+=1)>=s.length&&(w=-1)):w===n&&(w+=1)>=s.length&&(w=-1)}));var S=t.Children.map(s,(function(e,n){if(n===w){var r={};return l&&(r.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===v&&(r.tabIndex=0),t.cloneElement(e,r)}return e}));return(0,Bi.jsx)(Bl,(0,Ti.Z)({role:"menu",ref:x,className:c,onKeyDown:function(e){var t=y.current,n=e.key,r=(0,_m.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Im(t,r,p,d,Am);else if("ArrowUp"===n)e.preventDefault(),Im(t,r,p,d,Rm);else if("Home"===n)e.preventDefault(),Im(t,null,p,d,Am);else if("End"===n)e.preventDefault(),Im(t,null,p,d,Rm);else if(1===n.length){var o=b.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&Nm(r,o);o.previousKeyMatched&&(l||Im(t,r,!1,d,Am,o))?e.preventDefault():o.previousKeyMatched=!1}h&&h(e)},tabIndex:i?0:-1},g,{children:S}))}));function zm(e){return(0,Oa.Z)("MuiPopover",e)}(0,Ea.Z)("MuiPopover",["root","paper"]);var Lm=["onEntering"],Bm=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],Fm=["slotProps"];function Wm(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Um(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function qm(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function Hm(e){return"function"===typeof e?e():e}var Vm=(0,Oi.ZP)(nl,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ym=(0,Oi.ZP)(ml,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Gm=t.forwardRef((function(e,n){var r,o,i,a=(0,_a.Z)({props:e,name:"MuiPopover"}),l=a.action,s=a.anchorEl,c=a.anchorOrigin,u=void 0===c?{vertical:"top",horizontal:"left"}:c,d=a.anchorPosition,f=a.anchorReference,p=void 0===f?"anchorEl":f,h=a.children,m=a.className,v=a.container,g=a.elevation,y=void 0===g?8:g,b=a.marginThreshold,x=void 0===b?16:b,w=a.open,S=a.PaperProps,k=void 0===S?{}:S,j=a.slots,E=a.slotProps,O=a.transformOrigin,C=void 0===O?{vertical:"top",horizontal:"left"}:O,P=a.TransitionComponent,Z=void 0===P?zc:P,_=a.transitionDuration,M=void 0===_?"auto":_,A=a.TransitionProps,R=(void 0===A?{}:A).onEntering,N=(0,T.Z)(a.TransitionProps,Lm),I=(0,T.Z)(a,Bm),z=null!=(r=null==E?void 0:E.paper)?r:k,L=t.useRef(),B=(0,qa.Z)(L,z.ref),F=(0,Ti.Z)({},a,{anchorOrigin:u,anchorReference:p,elevation:y,marginThreshold:x,externalPaperSlotProps:z,transformOrigin:C,TransitionComponent:Z,transitionDuration:M,TransitionProps:N}),W=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],paper:["paper"]},zm,t)}(F),U=t.useCallback((function(){if("anchorPosition"===p)return d;var e=Hm(s),t=(e&&1===e.nodeType?e:(0,_m.Z)(L.current).body).getBoundingClientRect();return{top:t.top+Wm(t,u.vertical),left:t.left+Um(t,u.horizontal)}}),[s,u.horizontal,u.vertical,d,p]),q=t.useCallback((function(e){return{vertical:Wm(e,C.vertical),horizontal:Um(e,C.horizontal)}}),[C.horizontal,C.vertical]),H=t.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=q(t);if("none"===p)return{top:null,left:null,transformOrigin:qm(n)};var r=U(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,l=i+t.width,c=(0,ol.Z)(Hm(s)),u=c.innerHeight-x,d=c.innerWidth-x;if(o<x){var f=o-x;o-=f,n.vertical+=f}else if(a>u){var h=a-u;o-=h,n.vertical+=h}if(i<x){var m=i-x;i-=m,n.horizontal+=m}else if(l>d){var v=l-d;i-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:qm(n)}}),[s,p,U,q,x]),V=t.useState(w),Y=(0,D.Z)(V,2),G=Y[0],$=Y[1],K=t.useCallback((function(){var e=L.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)}}),[H]);t.useEffect((function(){w&&K()})),t.useImperativeHandle(l,(function(){return w?{updatePosition:function(){K()}}:null}),[w,K]),t.useEffect((function(){if(w){var e=(0,rl.Z)((function(){K()})),t=(0,ol.Z)(s);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[s,w,K]);var X=M;"auto"!==M||Z.muiSupportAuto||(X=void 0);var Q=v||(s?(0,_m.Z)(Hm(s)).body:void 0),J=null!=(o=null==j?void 0:j.root)?o:Vm,ee=null!=(i=null==j?void 0:j.paper)?i:Ym,te=ta({elementType:ee,externalSlotProps:(0,Ti.Z)({},z,{style:G?z.style:(0,Ti.Z)({},z.style,{opacity:0})}),additionalProps:{elevation:y,ref:B},ownerState:F,className:(0,Mi.Z)(W.paper,null==z?void 0:z.className)}),ne=ta({elementType:J,externalSlotProps:(null==E?void 0:E.root)||{},externalForwardedProps:I,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Q,open:w},ownerState:F,className:(0,Mi.Z)(W.root,m)}),re=ne.slotProps,oe=(0,T.Z)(ne,Fm);return(0,Bi.jsx)(J,(0,Ti.Z)({},oe,!$i(J)&&{slotProps:re},{children:(0,Bi.jsx)(Z,(0,Ti.Z)({appear:!0,in:w,onEntering:function(e,t){R&&R(e,t),K()},onExited:function(){$(!1)},timeout:X},N,{children:(0,Bi.jsx)(ee,(0,Ti.Z)({},te,{children:h}))}))}))})),$m=Gm;function Km(e){return(0,Oa.Z)("MuiMenu",e)}(0,Ea.Z)("MuiMenu",["root","paper","list"]);var Xm=["onEntering"],Qm=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Jm={vertical:"top",horizontal:"right"},ev={vertical:"top",horizontal:"left"},tv=(0,Oi.ZP)($m,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),nv=(0,Oi.ZP)(Ym,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),rv=(0,Oi.ZP)(Dm,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),ov=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiMenu"}),a=i.autoFocus,l=void 0===a||a,s=i.children,c=i.className,u=i.disableAutoFocusItem,d=void 0!==u&&u,f=i.MenuListProps,p=void 0===f?{}:f,h=i.onClose,m=i.open,v=i.PaperProps,g=void 0===v?{}:v,y=i.PopoverClasses,b=i.transitionDuration,x=void 0===b?"auto":b,w=i.TransitionProps,S=(void 0===w?{}:w).onEntering,k=i.variant,j=void 0===k?"selectedMenu":k,E=i.slots,O=void 0===E?{}:E,C=i.slotProps,P=void 0===C?{}:C,Z=(0,T.Z)(i.TransitionProps,Xm),_=(0,T.Z)(i,Qm),M=_i(),A="rtl"===M.direction,R=(0,Ti.Z)({},i,{autoFocus:l,disableAutoFocusItem:d,MenuListProps:p,onEntering:S,PaperProps:g,transitionDuration:x,TransitionProps:Z,variant:j}),N=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],paper:["paper"],list:["list"]},Km,t)}(R),I=l&&!d&&m,D=t.useRef(null),z=-1;t.Children.map(s,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===j&&e.props.selected||-1===z)&&(z=n))}));var L=null!=(r=O.paper)?r:nv,B=null!=(o=P.paper)?o:g,F=ta({elementType:O.root,externalSlotProps:P.root,ownerState:R,className:[N.root,c]}),W=ta({elementType:L,externalSlotProps:B,ownerState:R,className:N.paper});return(0,Bi.jsx)(tv,(0,Ti.Z)({onClose:h,anchorOrigin:{vertical:"bottom",horizontal:A?"right":"left"},transformOrigin:A?Jm:ev,slots:{paper:L,root:O.root},slotProps:{root:F,paper:W},open:m,ref:n,transitionDuration:x,TransitionProps:(0,Ti.Z)({onEntering:function(e,t){D.current&&D.current.adjustStyleForScrollbar(e,M),S&&S(e,t)}},Z),ownerState:R},_,{classes:y,children:(0,Bi.jsx)(rv,(0,Ti.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),h&&h(e,"tabKeyDown"))},actions:D,autoFocus:l&&(-1===z||d),autoFocusItem:I,variant:j},p,{className:(0,Mi.Z)(N.list,p.className),children:s}))}))}));function iv(e){return(0,Oa.Z)("MuiNativeSelect",e)}var av=(0,Ea.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),lv=["className","disabled","error","IconComponent","inputRef","variant"],sv=function(e){var t,n=e.ownerState,r=e.theme;return(0,Ti.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,Ti.Z)({},r.vars?{backgroundColor:"rgba(".concat(r.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,u.Z)(t,"&.".concat(av.disabled),{cursor:"default"}),(0,u.Z)(t,"&[multiple]",{height:"auto"}),(0,u.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(r.vars||r).palette.background.paper}),(0,u.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},cv=(0,Oi.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Oi.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,u.Z)({},"&.".concat(av.multiple),t.multiple)]}})(sv),uv=function(e){var t=e.ownerState,n=e.theme;return(0,Ti.Z)((0,u.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(av.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},dv=(0,Oi.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,vl.Z)(n.variant))],n.open&&t.iconOpen]}})(uv),fv=t.forwardRef((function(e,n){var r=e.className,o=e.disabled,i=e.error,a=e.IconComponent,l=e.inputRef,s=e.variant,c=void 0===s?"standard":s,u=(0,T.Z)(e,lv),d=(0,Ti.Z)({},e,{disabled:o,variant:c,error:i}),f=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,vl.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,Yi.Z)(a,iv,t)}(d);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(cv,(0,Ti.Z)({ownerState:d,className:(0,Mi.Z)(f.select,r),disabled:o,ref:l||n},u)),e.multiple?null:(0,Bi.jsx)(dv,{as:a,ownerState:d,className:f.icon})]})}));function pv(e){return(0,Oa.Z)("MuiSelect",e)}var hv,mv=(0,Ea.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),vv=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],gv=(0,Oi.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"&.".concat(mv.select),t.select),(0,u.Z)({},"&.".concat(mv.select),t[n.variant]),(0,u.Z)({},"&.".concat(mv.error),t.error),(0,u.Z)({},"&.".concat(mv.multiple),t.multiple)]}})(sv,(0,u.Z)({},"&.".concat(mv.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),yv=(0,Oi.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,vl.Z)(n.variant))],n.open&&t.iconOpen]}})(uv),bv=(0,Oi.ZP)("input",{shouldForwardProp:function(e){return(0,Oi.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function xv(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function wv(e){return null==e||"string"===typeof e&&!e.trim()}var Sv=t.forwardRef((function(e,n){var r=e["aria-describedby"],o=e["aria-label"],i=e.autoFocus,a=e.autoWidth,l=e.children,s=e.className,c=e.defaultOpen,u=e.defaultValue,d=e.disabled,f=e.displayEmpty,p=e.error,h=void 0!==p&&p,m=e.IconComponent,v=e.inputRef,g=e.labelId,y=e.MenuProps,b=void 0===y?{}:y,x=e.multiple,w=e.name,S=e.onBlur,k=e.onChange,j=e.onClose,E=e.onFocus,O=e.onOpen,C=e.open,P=e.readOnly,Z=e.renderValue,_=e.SelectDisplayProps,M=void 0===_?{}:_,A=e.tabIndex,R=e.value,N=e.variant,I=void 0===N?"standard":N,z=(0,T.Z)(e,vv),L=(0,md.Z)({controlled:R,default:u,name:"Select"}),B=(0,D.Z)(L,2),F=B[0],W=B[1],U=(0,md.Z)({controlled:C,default:c,name:"Select"}),q=(0,D.Z)(U,2),H=q[0],V=q[1],Y=t.useRef(null),G=t.useRef(null),$=t.useState(null),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=t.useRef(null!=C).current,ee=t.useState(),te=(0,D.Z)(ee,2),ne=te[0],re=te[1],oe=(0,qa.Z)(n,v),ie=t.useCallback((function(e){G.current=e,e&&Q(e)}),[]),ae=null==X?void 0:X.parentNode;t.useImperativeHandle(oe,(function(){return{focus:function(){G.current.focus()},node:Y.current,value:F}}),[F]),t.useEffect((function(){c&&H&&X&&!J&&(re(a?null:ae.clientWidth),G.current.focus())}),[X,a]),t.useEffect((function(){i&&G.current.focus()}),[i]),t.useEffect((function(){if(g){var e=(0,_m.Z)(G.current).getElementById(g);if(e){var t=function(){getSelection().isCollapsed&&G.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[g]);var le,se,ce=function(e,t){e?O&&O(t):j&&j(t),J||(re(a?null:ae.clientWidth),V(e))},ue=t.Children.toArray(l),de=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(x){n=Array.isArray(F)?F.slice():[];var r=F.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(W(n),k)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:w}}),k(i,e)}x||ce(!1,t)}}},fe=null!==X&&H;delete z["aria-invalid"];var pe=[],he=!1;(hm({value:F})||f)&&(Z?le=Z(F):he=!0);var me=ue.map((function(e){if(!t.isValidElement(e))return null;var n;if(x){if(!Array.isArray(F))throw new Error((0,rm.Z)(2));(n=F.some((function(t){return xv(t,e.props.value)})))&&he&&pe.push(e.props.children)}else(n=xv(F,e.props.value))&&he&&(se=e.props.children);return n&&!0,t.cloneElement(e,{"aria-selected":n?"true":"false",onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));he&&(le=x?0===pe.length?null:pe.reduce((function(e,t,n){return e.push(t),n<pe.length-1&&e.push(", "),e}),[]):se);var ve,ge=ne;!a&&J&&X&&(ge=ae.clientWidth),ve="undefined"!==typeof A?A:d?null:0;var ye=M.id||(w?"mui-component-select-".concat(w):void 0),be=(0,Ti.Z)({},e,{variant:I,value:F,open:fe,error:h}),xe=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,vl.Z)(n)),i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,Yi.Z)(a,pv,t)}(be);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(gv,(0,Ti.Z)({ref:ie,tabIndex:ve,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":fe?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(e){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ce(!0,e))}},onMouseDown:d||P?null:function(e){0===e.button&&(e.preventDefault(),G.current.focus(),ce(!0,e))},onBlur:function(e){!fe&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:w}}),S(e))},onFocus:E},M,{ownerState:be,className:(0,Mi.Z)(M.className,xe.select,s),id:ye,children:wv(le)?hv||(hv=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):le})),(0,Bi.jsx)(bv,(0,Ti.Z)({"aria-invalid":h,value:Array.isArray(F)?F.join(","):F,name:w,ref:Y,"aria-hidden":!0,onChange:function(e){var t=ue.find((function(t){return t.props.value===e.target.value}));void 0!==t&&(W(t.props.value),k&&k(e,t))},tabIndex:-1,disabled:d,className:xe.nativeInput,autoFocus:i,ownerState:be},z)),(0,Bi.jsx)(yv,{as:m,className:xe.icon,ownerState:be}),(0,Bi.jsx)(ov,(0,Ti.Z)({id:"menu-".concat(w||""),anchorEl:ae,open:fe,onClose:function(e){ce(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:(0,Ti.Z)({"aria-labelledby":g,role:"listbox",disableListWrap:!0},b.MenuListProps),PaperProps:(0,Ti.Z)({},b.PaperProps,{style:(0,Ti.Z)({minWidth:ge},null!=b.PaperProps?b.PaperProps.style:null)}),children:me}))]})})),kv=Sv,jv=n(9201),Ev=(0,jv.Z)((0,Bi.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Ov(e){return(0,Oa.Z)("MuiInput",e)}var Cv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiInput",["root","underline","input"])),Pv=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Zv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,F.Z)(ym(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(o="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),(0,Ti.Z)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[r.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,u.Z)(t,"&.".concat(Cv.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,u.Z)(t,"&.".concat(Cv.error),{"&:before, &:after":{borderBottomColor:(n.vars||n).palette.error.main}}),(0,u.Z)(t,"&:before",{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,u.Z)(t,"&:hover:not(.".concat(Cv.disabled,", .").concat(Cv.error,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}}),(0,u.Z)(t,"&.".concat(Cv.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),_v=(0,Oi.ZP)(wm,{name:"MuiInput",slot:"Input",overridesResolver:bm})({}),Tv=t.forwardRef((function(e,t){var n,r,o,i,a=(0,_a.Z)({props:e,name:"MuiInput"}),l=a.disableUnderline,s=a.components,c=void 0===s?{}:s,u=a.componentsProps,d=a.fullWidth,f=void 0!==d&&d,p=a.inputComponent,h=void 0===p?"input":p,m=a.multiline,v=void 0!==m&&m,g=a.slotProps,y=a.slots,b=void 0===y?{}:y,x=a.type,w=void 0===x?"text":x,S=(0,T.Z)(a,Pv),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Yi.Z)(n,Ov,t);return(0,Ti.Z)({},t,r)}(a),j={root:{ownerState:{disableUnderline:l}}},E=(null!=g?g:u)?(0,Ni.Z)(null!=g?g:u,j):j,O=null!=(n=null!=(r=b.root)?r:c.Root)?n:Zv,C=null!=(o=null!=(i=b.input)?i:c.Input)?o:_v;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:O,input:C},slotProps:E,fullWidth:f,inputComponent:h,multiline:v,ref:t,type:w},S,{classes:k}))}));Tv.muiName="Input";var Mv=Tv;function Av(e){return(0,Oa.Z)("MuiFilledInput",e)}var Rv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiFilledInput",["root","underline","input"])),Nv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Iv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiFilledInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,F.Z)(ym(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n,r,o=e.theme,i=e.ownerState,a="light"===o.palette.mode,l=a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",d=a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,Ti.Z)((t={position:"relative",backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(o.vars||o).shape.borderRadius,borderTopRightRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create("background-color",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),"&:hover":{backgroundColor:o.vars?o.vars.palette.FilledInput.hoverBg:c,"@media (hover: none)":{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s}}},(0,u.Z)(t,"&.".concat(Rv.focused),{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s}),(0,u.Z)(t,"&.".concat(Rv.disabled),{backgroundColor:o.vars?o.vars.palette.FilledInput.disabledBg:d}),t),!i.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(null==(r=(o.vars||o).palette[i.color||"primary"])?void 0:r.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:o.transitions.create("transform",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),pointerEvents:"none"}},(0,u.Z)(n,"&.".concat(Rv.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,u.Z)(n,"&.".concat(Rv.error),{"&:before, &:after":{borderBottomColor:(o.vars||o).palette.error.main}}),(0,u.Z)(n,"&:before",{borderBottom:"1px solid ".concat(o.vars?"rgba(".concat(o.vars.palette.common.onBackgroundChannel," / ").concat(o.vars.opacity.inputUnderline,")"):l),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:o.transitions.create("border-bottom-color",{duration:o.transitions.duration.shorter}),pointerEvents:"none"}),(0,u.Z)(n,"&:hover:not(.".concat(Rv.disabled,", .").concat(Rv.error,"):before"),{borderBottom:"1px solid ".concat((o.vars||o).palette.text.primary)}),(0,u.Z)(n,"&.".concat(Rv.disabled,":before"),{borderBottomStyle:"dotted"}),n),i.startAdornment&&{paddingLeft:12},i.endAdornment&&{paddingRight:12},i.multiline&&(0,Ti.Z)({padding:"25px 12px 8px"},"small"===i.size&&{paddingTop:21,paddingBottom:4},i.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),Dv=(0,Oi.ZP)(wm,{name:"MuiFilledInput",slot:"Input",overridesResolver:bm})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&(0,u.Z)({"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),zv=t.forwardRef((function(e,t){var n,r,o,i,a=(0,_a.Z)({props:e,name:"MuiFilledInput"}),l=a.components,s=void 0===l?{}:l,c=a.componentsProps,u=a.fullWidth,d=void 0!==u&&u,f=a.inputComponent,p=void 0===f?"input":f,h=a.multiline,m=void 0!==h&&h,v=a.slotProps,g=a.slots,y=void 0===g?{}:g,b=a.type,x=void 0===b?"text":b,w=(0,T.Z)(a,Nv),S=(0,Ti.Z)({},a,{fullWidth:d,inputComponent:p,multiline:m,type:x}),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Yi.Z)(n,Av,t);return(0,Ti.Z)({},t,r)}(a),j={root:{ownerState:S},input:{ownerState:S}},E=(null!=v?v:c)?(0,Ni.Z)(null!=v?v:c,j):j,O=null!=(n=null!=(r=y.root)?r:s.Root)?n:Iv,C=null!=(o=null!=(i=y.input)?i:s.Input)?o:Dv;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:O,input:C},componentsProps:E,fullWidth:d,inputComponent:p,multiline:m,ref:t,type:x},w,{classes:k}))}));zv.muiName="Input";var Lv,Bv=zv,Fv=["children","classes","className","label","notched"],Wv=(0,Oi.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Uv=(0,Oi.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,Ti.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,Ti.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function qv(e){return(0,Oa.Z)("MuiOutlinedInput",e)}var Hv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),Vv=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Yv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:ym})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Ti.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,u.Z)(t,"&:hover .".concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,u.Z)(t,"@media (hover: none)",(0,u.Z)({},"&:hover .".concat(Hv.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):o})),(0,u.Z)(t,"&.".concat(Hv.focused," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,u.Z)(t,"&.".concat(Hv.error," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,u.Z)(t,"&.".concat(Hv.disabled," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,Ti.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),Gv=(0,Oi.ZP)((function(e){var t=e.className,n=e.label,r=e.notched,o=(0,T.Z)(e,Fv),i=null!=n&&""!==n,a=(0,Ti.Z)({},e,{notched:r,withLabel:i});return(0,Bi.jsx)(Wv,(0,Ti.Z)({"aria-hidden":!0,className:t,ownerState:a},o,{children:(0,Bi.jsx)(Uv,{ownerState:a,children:i?(0,Bi.jsx)("span",{children:n}):Lv||(Lv=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),$v=(0,Oi.ZP)(wm,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:bm})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,u.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),Kv=t.forwardRef((function(e,n){var r,o,i,a,l,s=(0,_a.Z)({props:e,name:"MuiOutlinedInput"}),c=s.components,u=void 0===c?{}:c,d=s.fullWidth,f=void 0!==d&&d,p=s.inputComponent,h=void 0===p?"input":p,m=s.label,v=s.multiline,g=void 0!==v&&v,y=s.notched,b=s.slots,x=void 0===b?{}:b,w=s.type,S=void 0===w?"text":w,k=(0,T.Z)(s,Vv),j=function(e){var t=e.classes,n=(0,Yi.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},qv,t);return(0,Ti.Z)({},t,n)}(s),E=fm(),O=um({props:s,muiFormControl:E,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=(0,Ti.Z)({},s,{color:O.color||"primary",disabled:O.disabled,error:O.error,focused:O.focused,formControl:E,fullWidth:f,hiddenLabel:O.hiddenLabel,multiline:g,size:O.size,type:S}),P=null!=(r=null!=(o=x.root)?o:u.Root)?r:Yv,Z=null!=(i=null!=(a=x.input)?a:u.Input)?i:$v;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:P,input:Z},renderSuffix:function(e){return(0,Bi.jsx)(Gv,{ownerState:C,className:j.notchedOutline,label:null!=m&&""!==m&&O.required?l||(l=(0,Bi.jsxs)(t.Fragment,{children:[m,"\u2009","*"]})):m,notched:"undefined"!==typeof y?y:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:f,inputComponent:h,multiline:g,ref:n,type:S},k,{classes:(0,Ti.Z)({},j,{notchedOutline:null})}))}));Kv.muiName="Input";var Xv=Kv,Qv=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Jv={name:"MuiSelect",overridesResolver:function(e,t){return t.root},shouldForwardProp:function(e){return(0,Oi.FO)(e)&&"variant"!==e},slot:"Root"},eg=(0,Oi.ZP)(Mv,Jv)(""),tg=(0,Oi.ZP)(Xv,Jv)(""),ng=(0,Oi.ZP)(Bv,Jv)(""),rg=t.forwardRef((function(e,n){var r=(0,_a.Z)({name:"MuiSelect",props:e}),o=r.autoWidth,i=void 0!==o&&o,a=r.children,l=r.classes,s=void 0===l?{}:l,c=r.className,u=r.defaultOpen,d=void 0!==u&&u,f=r.displayEmpty,p=void 0!==f&&f,h=r.IconComponent,m=void 0===h?Ev:h,v=r.id,g=r.input,y=r.inputProps,b=r.label,x=r.labelId,w=r.MenuProps,S=r.multiple,k=void 0!==S&&S,j=r.native,E=void 0!==j&&j,O=r.onClose,C=r.onOpen,P=r.open,Z=r.renderValue,_=r.SelectDisplayProps,M=r.variant,A=void 0===M?"outlined":M,R=(0,T.Z)(r,Qv),N=E?fv:kv,I=um({props:r,muiFormControl:fm(),states:["variant","error"]}),D=I.variant||A,z=(0,Ti.Z)({},r,{variant:D,classes:s}),L=function(e){return e.classes}(z),B=g||{standard:(0,Bi.jsx)(eg,{ownerState:z}),outlined:(0,Bi.jsx)(tg,{label:b,ownerState:z}),filled:(0,Bi.jsx)(ng,{ownerState:z})}[D],F=(0,qa.Z)(n,B.ref);return(0,Bi.jsx)(t.Fragment,{children:t.cloneElement(B,(0,Ti.Z)({inputComponent:N,inputProps:(0,Ti.Z)({children:a,error:I.error,IconComponent:m,variant:D,type:void 0,multiple:k},E?{id:v}:{autoWidth:i,defaultOpen:d,displayEmpty:p,labelId:x,MenuProps:w,onClose:O,onOpen:C,open:P,renderValue:Z,SelectDisplayProps:(0,Ti.Z)({id:v},_)},y,{classes:y?(0,Ni.Z)(L,y.classes):L},g?g.props.inputProps:{})},k&&E&&"outlined"===D?{notched:!0}:{},{ref:F,className:(0,Mi.Z)(B.props.className,c)},!g&&{variant:D},R))})}));rg.muiName="Select";var og,ig,ag,lg,sg,cg,ug,dg,fg=rg,pg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),hg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),mg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),vg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),gg=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],yg=t.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,o=e.getItemAriaLabel,i=e.nextIconButtonProps,a=e.onPageChange,l=e.page,s=e.rowsPerPage,c=e.showFirstButton,u=e.showLastButton,d=(0,T.Z)(e,gg),f=_i();return(0,Bi.jsxs)("div",(0,Ti.Z)({ref:t},d,{children:[c&&(0,Bi.jsx)(Js,{onClick:function(e){a(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===f.direction?og||(og=(0,Bi.jsx)(mg,{})):ig||(ig=(0,Bi.jsx)(vg,{}))}),(0,Bi.jsx)(Js,(0,Ti.Z)({onClick:function(e){a(e,l-1)},disabled:0===l,color:"inherit","aria-label":o("previous",l),title:o("previous",l)},n,{children:"rtl"===f.direction?ag||(ag=(0,Bi.jsx)(hg,{})):lg||(lg=(0,Bi.jsx)(pg,{}))})),(0,Bi.jsx)(Js,(0,Ti.Z)({onClick:function(e){a(e,l+1)},disabled:-1!==r&&l>=Math.ceil(r/s)-1,color:"inherit","aria-label":o("next",l),title:o("next",l)},i,{children:"rtl"===f.direction?sg||(sg=(0,Bi.jsx)(pg,{})):cg||(cg=(0,Bi.jsx)(hg,{}))})),u&&(0,Bi.jsx)(Js,{onClick:function(e){a(e,Math.max(0,Math.ceil(r/s)-1))},disabled:l>=Math.ceil(r/s)-1,"aria-label":o("last",l),title:o("last",l),children:"rtl"===f.direction?ug||(ug=(0,Bi.jsx)(vg,{})):dg||(dg=(0,Bi.jsx)(mg,{}))})]}))}));function bg(e){return(0,Oa.Z)("MuiTablePagination",e)}var xg,wg=(0,Ea.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Sg=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],kg=(0,Oi.ZP)(Vh,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}})),jg=(0,Oi.ZP)(Nl,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(e,t){return(0,Ti.Z)((0,u.Z)({},"& .".concat(wg.actions),t.actions),t.toolbar)}})((function(e){var t,n=e.theme;return t={minHeight:52,paddingRight:2},(0,u.Z)(t,"".concat(n.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),(0,u.Z)(t,n.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),(0,u.Z)(t,"& .".concat(wg.actions),{flexShrink:0,marginLeft:20}),t})),Eg=(0,Oi.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})({flex:"1 1 100%"}),Og=(0,Oi.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(e,t){return t.selectLabel}})((function(e){var t=e.theme;return(0,Ti.Z)({},t.typography.body2,{flexShrink:0})})),Cg=(0,Oi.ZP)(fg,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(e,t){var n;return(0,Ti.Z)((n={},(0,u.Z)(n,"& .".concat(wg.selectIcon),t.selectIcon),(0,u.Z)(n,"& .".concat(wg.select),t.select),n),t.input,t.selectRoot)}})((0,u.Z)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(wg.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),Pg=(0,Oi.ZP)(Zm,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(e,t){return t.menuItem}})({}),Zg=(0,Oi.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(e,t){return t.displayedRows}})((function(e){var t=e.theme;return(0,Ti.Z)({},t.typography.body2,{flexShrink:0})}));function _g(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"\u2013").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))}function Tg(e){return"Go to ".concat(e," page")}var Mg=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiTablePagination"}),i=o.ActionsComponent,a=void 0===i?yg:i,l=o.backIconButtonProps,s=o.className,c=o.colSpan,u=o.component,d=void 0===u?Vh:u,f=o.count,p=o.getItemAriaLabel,h=void 0===p?Tg:p,m=o.labelDisplayedRows,v=void 0===m?_g:m,g=o.labelRowsPerPage,y=void 0===g?"Rows per page:":g,b=o.nextIconButtonProps,x=o.onPageChange,w=o.onRowsPerPageChange,S=o.page,k=o.rowsPerPage,j=o.rowsPerPageOptions,E=void 0===j?[10,25,50,100]:j,O=o.SelectProps,C=void 0===O?{}:O,P=o.showFirstButton,Z=void 0!==P&&P,_=o.showLastButton,M=void 0!==_&&_,A=(0,T.Z)(o,Sg),R=o,N=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},bg,t)}(R),I=C.native?"option":Pg;d!==Vh&&"td"!==d||(r=c||1e3);var D=(0,hd.Z)(C.id),z=(0,hd.Z)(C.labelId);return(0,Bi.jsx)(kg,(0,Ti.Z)({colSpan:r,ref:n,as:d,ownerState:R,className:(0,Mi.Z)(N.root,s)},A,{children:(0,Bi.jsxs)(jg,{className:N.toolbar,children:[(0,Bi.jsx)(Eg,{className:N.spacer}),E.length>1&&(0,Bi.jsx)(Og,{className:N.selectLabel,id:z,children:y}),E.length>1&&(0,Bi.jsx)(Cg,(0,Ti.Z)({variant:"standard"},!C.variant&&{input:xg||(xg=(0,Bi.jsx)(jm,{}))},{value:k,onChange:w,id:D,labelId:z},C,{classes:(0,Ti.Z)({},C.classes,{root:(0,Mi.Z)(N.input,N.selectRoot,(C.classes||{}).root),select:(0,Mi.Z)(N.select,(C.classes||{}).select),icon:(0,Mi.Z)(N.selectIcon,(C.classes||{}).icon)}),children:E.map((function(e){return(0,t.createElement)(I,(0,Ti.Z)({},!$i(I)&&{ownerState:R},{className:N.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)}))})),(0,Bi.jsx)(Zg,{className:N.displayedRows,children:v({from:0===f?0:S*k+1,to:-1===f?(S+1)*k:-1===k?f:Math.min(f,(S+1)*k),count:-1===f?-1:f,page:S})}),(0,Bi.jsx)(a,{className:N.actions,backIconButtonProps:l,count:f,nextIconButtonProps:b,onPageChange:x,page:S,rowsPerPage:k,showFirstButton:Z,showLastButton:M,getItemAriaLabel:h})]})}))}));function Ag(e){return(0,Oa.Z)("MuiTableRow",e)}var Rg=(0,Ea.Z)("MuiTableRow",["root","selected","hover","head","footer"]),Ng=["className","component","hover","selected"],Ig=(0,Oi.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((function(e){var t,n=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,u.Z)(t,"&.".concat(Rg.hover,":hover"),{backgroundColor:(n.vars||n).palette.action.hover}),(0,u.Z)(t,"&.".concat(Rg.selected),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),t})),Dg=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTableRow"}),o=r.className,i=r.component,a=void 0===i?"tr":i,l=r.hover,s=void 0!==l&&l,c=r.selected,u=void 0!==c&&c,d=(0,T.Z)(r,Ng),f=t.useContext(Rh),p=(0,Ti.Z)({},r,{component:a,hover:s,selected:u,head:f&&"head"===f.variant,footer:f&&"footer"===f.variant}),h=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,Yi.Z)(n,Ag,t)}(p);return(0,Bi.jsx)(Ig,(0,Ti.Z)({as:a,ref:n,className:(0,Mi.Z)(h.root,o),role:"tr"===a?null:"row",ownerState:p},d))})),zg=Dg;function Lg(e){return(0,Oa.Z)("PrivateSwitchBase",e)}(0,Ea.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Bg=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Fg=(0,Oi.ZP)(Ys)((function(e){var t=e.ownerState;return(0,Ti.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),Wg=(0,Oi.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ug=t.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,o=e.checkedIcon,i=e.className,a=e.defaultChecked,l=e.disabled,s=e.disableFocusRipple,c=void 0!==s&&s,u=e.edge,d=void 0!==u&&u,f=e.icon,p=e.id,h=e.inputProps,m=e.inputRef,v=e.name,g=e.onBlur,y=e.onChange,b=e.onFocus,x=e.readOnly,w=e.required,S=void 0!==w&&w,k=e.tabIndex,j=e.type,E=e.value,O=(0,T.Z)(e,Bg),C=(0,md.Z)({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),P=(0,D.Z)(C,2),Z=P[0],_=P[1],M=fm(),A=l;M&&"undefined"===typeof A&&(A=M.disabled);var R="checkbox"===j||"radio"===j,N=(0,Ti.Z)({},e,{checked:Z,disabled:A,disableFocusRipple:c,edge:d}),I=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat((0,vl.Z)(o))],input:["input"]};return(0,Yi.Z)(i,Lg,t)}(N);return(0,Bi.jsxs)(Fg,(0,Ti.Z)({component:"span",className:(0,Mi.Z)(I.root,i),centerRipple:!0,focusRipple:!c,disabled:A,tabIndex:null,role:void 0,onFocus:function(e){b&&b(e),M&&M.onFocus&&M.onFocus(e)},onBlur:function(e){g&&g(e),M&&M.onBlur&&M.onBlur(e)},ownerState:N,ref:t},O,{children:[(0,Bi.jsx)(Wg,(0,Ti.Z)({autoFocus:n,checked:r,defaultChecked:a,className:I.input,disabled:A,id:R?p:void 0,name:v,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;_(t),y&&y(e,t)}},readOnly:x,ref:m,required:S,ownerState:N,tabIndex:k,type:j},"checkbox"===j&&void 0===E?{}:{value:E},h)),Z?o:f]}))})),qg=Ug;function Hg(e){return(0,Oa.Z)("MuiSwitch",e)}var Vg=(0,Ea.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Yg=["className","color","edge","size","sx"],Gg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,vl.Z)(n.edge))],t["size".concat((0,vl.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,Ti.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,u.Z)(t,"& .".concat(Vg.thumb),{width:16,height:16}),(0,u.Z)(t,"& .".concat(Vg.switchBase),(0,u.Z)({padding:4},"&.".concat(Vg.checked),{transform:"translateX(16px)"})),t))})),$g=(0,Oi.ZP)(qg,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,u.Z)({},"& .".concat(Vg.input),t.input),"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,u.Z)(t,"&.".concat(Vg.checked),{transform:"translateX(20px)"}),(0,u.Z)(t,"&.".concat(Vg.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),(0,u.Z)(t,"&.".concat(Vg.checked," + .").concat(Vg.track),{opacity:.5}),(0,u.Z)(t,"&.".concat(Vg.disabled," + .").concat(Vg.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),(0,u.Z)(t,"& .".concat(Vg.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,u.Z)(t,"&.".concat(Vg.checked),(0,u.Z)({color:(n.vars||n).palette[r.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(Vg.disabled),{color:n.vars?n.vars.palette.Switch["".concat(r.color,"DisabledColor")]:"".concat("light"===n.palette.mode?(0,cl.$n)(n.palette[r.color].main,.62):(0,cl._j)(n.palette[r.color].main,.55))})),(0,u.Z)(t,"&.".concat(Vg.checked," + .").concat(Vg.track),{backgroundColor:(n.vars||n).palette[r.color].main}),t))})),Kg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),Xg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),Qg=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiSwitch"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.edge,l=void 0!==a&&a,s=n.size,c=void 0===s?"medium":s,u=n.sx,d=(0,T.Z)(n,Yg),f=(0,Ti.Z)({},n,{color:i,edge:l,size:c}),p=function(e){var t=e.classes,n=e.edge,r=e.size,o=e.color,i=e.checked,a=e.disabled,l={root:["root",n&&"edge".concat((0,vl.Z)(n)),"size".concat((0,vl.Z)(r))],switchBase:["switchBase","color".concat((0,vl.Z)(o)),i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},s=(0,Yi.Z)(l,Hg,t);return(0,Ti.Z)({},t,s)}(f),h=(0,Bi.jsx)(Xg,{className:p.thumb,ownerState:f});return(0,Bi.jsxs)(Gg,{className:(0,Mi.Z)(p.root,r),sx:u,ownerState:f,children:[(0,Bi.jsx)($g,(0,Ti.Z)({type:"checkbox",icon:h,checkedIcon:h,ref:t,ownerState:f},d,{classes:(0,Ti.Z)({},p,{root:p.switchBase})})),(0,Bi.jsx)(Kg,{className:p.track,ownerState:f})]})})),Jg=Qg,ey=n(7247),ty=n(1286),ny=n(2419);function ry(e){return(0,Oa.Z)("MuiCard",e)}(0,Ea.Z)("MuiCard",["root"]);var oy=["className","raised"],iy=(0,Oi.ZP)(ml,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),ay=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,T.Z)(n,oy),l=(0,Ti.Z)({},n,{raised:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},ry,t)}(l);return(0,Bi.jsx)(iy,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),elevation:i?8:void 0,ref:t,ownerState:l},a))}));function ly(e){return(0,Oa.Z)("MuiFormLabel",e)}var sy=(0,Ea.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),cy=["children","className","color","component","disabled","error","filled","focused","required"],uy=(0,Oi.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Ti.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,u.Z)(t,"&.".concat(sy.focused),{color:(n.vars||n).palette[r.color].main}),(0,u.Z)(t,"&.".concat(sy.disabled),{color:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&.".concat(sy.error),{color:(n.vars||n).palette.error.main}),t))})),dy=(0,Oi.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,u.Z)({},"&.".concat(sy.error),{color:(t.vars||t).palette.error.main})})),fy=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormLabel"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"label":i,l=(0,T.Z)(n,cy),s=um({props:n,muiFormControl:fm(),states:["color","required","focused","disabled","error","filled"]}),c=(0,Ti.Z)({},n,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=function(e){var t=e.classes,n=e.color,r=e.focused,o=e.disabled,i=e.error,a=e.filled,l=e.required,s={root:["root","color".concat((0,vl.Z)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,Yi.Z)(s,ly,t)}(c);return(0,Bi.jsxs)(uy,(0,Ti.Z)({as:a,ownerState:c,className:(0,Mi.Z)(u.root,o),ref:t},l,{children:[r,s.required&&(0,Bi.jsxs)(dy,{ownerState:c,"aria-hidden":!0,className:u.asterisk,children:["\u2009","*"]})]}))})),py=fy;function hy(e){return(0,Oa.Z)("MuiInputLabel",e)}(0,Ea.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var my=["disableAnimation","margin","shrink","variant","className"],vy=(0,Oi.ZP)(py,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(sy.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,Ti.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,Ti.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,Ti.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),gy=t.forwardRef((function(e,t){var n=(0,_a.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,o=void 0!==r&&r,i=n.shrink,a=n.className,l=(0,T.Z)(n,my),s=fm(),c=i;"undefined"===typeof c&&s&&(c=s.filled||s.focused||s.adornedStart);var u=um({props:n,muiFormControl:s,states:["size","variant","required"]}),d=(0,Ti.Z)({},n,{disableAnimation:o,formControl:s,shrink:c,size:u.size,variant:u.variant,required:u.required}),f=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,i={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},a=(0,Yi.Z)(i,hy,t);return(0,Ti.Z)({},t,a)}(d);return(0,Bi.jsx)(vy,(0,Ti.Z)({"data-shrink":c,ownerState:d,ref:t,className:(0,Mi.Z)(f.root,a)},l,{classes:f}))}));function yy(e){return(0,Oa.Z)("MuiFormControl",e)}(0,Ea.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var by=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],xy=(0,Oi.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Ti.Z)({},t.root,t["margin".concat((0,vl.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),wy=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiFormControl"}),o=r.children,i=r.className,a=r.color,l=void 0===a?"primary":a,s=r.component,c=void 0===s?"div":s,u=r.disabled,d=void 0!==u&&u,f=r.error,p=void 0!==f&&f,h=r.focused,m=r.fullWidth,v=void 0!==m&&m,g=r.hiddenLabel,y=void 0!==g&&g,b=r.margin,x=void 0===b?"none":b,w=r.required,S=void 0!==w&&w,k=r.size,j=void 0===k?"medium":k,E=r.variant,O=void 0===E?"outlined":E,C=(0,T.Z)(r,by),P=(0,Ti.Z)({},r,{color:l,component:c,disabled:d,error:p,fullWidth:v,hiddenLabel:y,margin:x,required:S,size:j,variant:O}),Z=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,o={root:["root","none"!==n&&"margin".concat((0,vl.Z)(n)),r&&"fullWidth"]};return(0,Yi.Z)(o,yy,t)}(P),_=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){if((0,oc.Z)(t,["Input","Select"])){var n=(0,oc.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),M=(0,D.Z)(_,2),A=M[0],R=M[1],N=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){(0,oc.Z)(t,["Input","Select"])&&(hm(t.props,!0)||hm(t.props.inputProps,!0))&&(e=!0)})),e})),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=t.useState(!1),F=(0,D.Z)(B,2),W=F[0],U=F[1];d&&W&&U(!1);var q,H=void 0===h||d?W:h,V=t.useMemo((function(){return{adornedStart:A,setAdornedStart:R,color:l,disabled:d,error:p,filled:z,focused:H,fullWidth:v,hiddenLabel:y,size:j,onBlur:function(){U(!1)},onEmpty:function(){L(!1)},onFilled:function(){L(!0)},onFocus:function(){U(!0)},registerEffect:q,required:S,variant:O}}),[A,l,d,p,z,H,v,y,q,S,j,O]);return(0,Bi.jsx)(dm.Provider,{value:V,children:(0,Bi.jsx)(xy,(0,Ti.Z)({as:c,ownerState:P,className:(0,Mi.Z)(Z.root,i),ref:n},C,{children:o}))})})),Sy=wy;function ky(e){return(0,Oa.Z)("MuiFormHelperText",e)}var jy,Ey=(0,Ea.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Oy=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Cy=(0,Oi.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,vl.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,u.Z)(t,"&.".concat(Ey.disabled),{color:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&.".concat(Ey.error),{color:(n.vars||n).palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),Py=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormHelperText"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"p":i,l=(0,T.Z)(n,Oy),s=um({props:n,muiFormControl:fm(),states:["variant","size","disabled","error","filled","focused","required"]}),c=(0,Ti.Z)({},n,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=function(e){var t=e.classes,n=e.contained,r=e.size,o=e.disabled,i=e.error,a=e.filled,l=e.focused,s=e.required,c={root:["root",o&&"disabled",i&&"error",r&&"size".concat((0,vl.Z)(r)),n&&"contained",l&&"focused",a&&"filled",s&&"required"]};return(0,Yi.Z)(c,ky,t)}(c);return(0,Bi.jsx)(Cy,(0,Ti.Z)({as:a,ownerState:c,className:(0,Mi.Z)(u.root,o),ref:t},l,{children:" "===r?jy||(jy=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):r}))}));function Zy(e){return(0,Oa.Z)("MuiTextField",e)}(0,Ea.Z)("MuiTextField",["root"]);var _y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Ty={standard:Mv,filled:Bv,outlined:Xv},My=(0,Oi.ZP)(Sy,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ay=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTextField"}),r=n.autoComplete,o=n.autoFocus,i=void 0!==o&&o,a=n.children,l=n.className,s=n.color,c=void 0===s?"primary":s,u=n.defaultValue,d=n.disabled,f=void 0!==d&&d,p=n.error,h=void 0!==p&&p,m=n.FormHelperTextProps,v=n.fullWidth,g=void 0!==v&&v,y=n.helperText,b=n.id,x=n.InputLabelProps,w=n.inputProps,S=n.InputProps,k=n.inputRef,j=n.label,E=n.maxRows,O=n.minRows,C=n.multiline,P=void 0!==C&&C,Z=n.name,_=n.onBlur,M=n.onChange,A=n.onClick,R=n.onFocus,N=n.placeholder,I=n.required,D=void 0!==I&&I,z=n.rows,L=n.select,B=void 0!==L&&L,F=n.SelectProps,W=n.type,U=n.value,q=n.variant,H=void 0===q?"outlined":q,V=(0,T.Z)(n,_y),Y=(0,Ti.Z)({},n,{autoFocus:i,color:c,disabled:f,error:h,fullWidth:g,multiline:P,required:D,select:B,variant:H}),G=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Zy,t)}(Y);var $={};"outlined"===H&&(x&&"undefined"!==typeof x.shrink&&($.notched=x.shrink),$.label=j),B&&(F&&F.native||($.id=void 0),$["aria-describedby"]=void 0);var K=function(e){!f&&A&&(e.stopPropagation(),A(e))},X=(0,Td.Z)(b),Q=y&&X?"".concat(X,"-helper-text"):void 0,J=j&&X?"".concat(X,"-label"):void 0,ee=Ty[H],te=(0,Bi.jsx)(ee,(0,Ti.Z)({"aria-describedby":Q,autoComplete:r,autoFocus:i,defaultValue:u,fullWidth:g,multiline:P,name:Z,rows:z,maxRows:E,minRows:O,type:W,value:U,id:X,inputRef:k,onBlur:_,onChange:M,onFocus:R,onClick:K,placeholder:N,inputProps:w},$,S));return(0,Bi.jsxs)(My,(0,Ti.Z)({className:(0,Mi.Z)(G.root,l),disabled:f,error:h,fullWidth:g,ref:t,required:D,color:c,variant:H,ownerState:Y,onClick:K},V,{children:[null!=j&&""!==j&&(0,Bi.jsx)(gy,(0,Ti.Z)({htmlFor:X,id:J},x,{children:j})),B?(0,Bi.jsx)(fg,(0,Ti.Z)({"aria-describedby":Q,id:X,labelId:J,value:U,input:te},F,{children:a})):te,y&&(0,Bi.jsx)(Py,(0,Ti.Z)({id:Q},m,{children:y}))]}))})),Ry=Ay;function Ny(e){return(0,Oa.Z)("MuiCardContent",e)}(0,Ea.Z)("MuiCardContent",["root"]);var Iy=["className","component"],Dy=(0,Oi.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),zy=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,T.Z)(n,Iy),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Ny,t)}(l);return(0,Bi.jsx)(Dy,(0,Ti.Z)({as:i,className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))})),Ly=n(1184);var By=t.createContext();function Fy(e){return(0,Oa.Z)("MuiGrid",e)}var Wy=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Uy=(0,Ea.Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,F.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,F.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,F.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-xs-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-sm-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-md-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-lg-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-xl-".concat(e)}))))),qy=Uy,Hy=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Vy(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function Yy(e){var t=e.breakpoints,n=e.values,r="";Object.keys(n).forEach((function(e){""===r&&0!==n[e]&&(r=e)}));var o=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return o.slice(0,o.indexOf(r))}var Gy=(0,Oi.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,o=n.direction,i=n.item,a=n.spacing,l=n.wrap,s=n.zeroMinWidth,c=n.breakpoints,u=[];r&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var o=e[t];Number(o)>0&&r.push(n["spacing-".concat(t,"-").concat(String(o))])})),r}(a,c,t));var d=[];return c.forEach((function(e){var r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,i&&t.item,s&&t.zeroMinWidth].concat((0,F.Z)(u),["row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))]],d)}})((function(e){var t=e.ownerState;return(0,Ti.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,Ly.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,Ly.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(qy.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.rowSpacing,i={};if(r&&0!==o){var a,l=(0,Ly.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof l&&(a=Yy({breakpoints:t.breakpoints.values,values:l})),i=(0,Ly.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,u.Z)({marginTop:"-".concat(Vy(o))},"& > .".concat(qy.item),{paddingTop:Vy(o)}):null!=(r=a)&&r.includes(n)?{}:(0,u.Z)({marginTop:0},"& > .".concat(qy.item),{paddingTop:0})}))}return i}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.columnSpacing,i={};if(r&&0!==o){var a,l=(0,Ly.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof l&&(a=Yy({breakpoints:t.breakpoints.values,values:l})),i=(0,Ly.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,u.Z)({width:"calc(100% + ".concat(Vy(o),")"),marginLeft:"-".concat(Vy(o))},"& > .".concat(qy.item),{paddingLeft:Vy(o)}):null!=(r=a)&&r.includes(n)?{}:(0,u.Z)({width:"100%",marginLeft:0},"& > .".concat(qy.item),{paddingLeft:0})}))}return i}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=(0,Ly.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof a?a[o]:a;if(void 0===l||null===l)return e;var s="".concat(Math.round(t/l*1e8)/1e6,"%"),c={};if(r.container&&r.item&&0!==r.columnSpacing){var u=n.spacing(r.columnSpacing);if("0px"!==u){var d="calc(".concat(s," + ").concat(Vy(u),")");c={flexBasis:d,maxWidth:d}}}i=(0,Ti.Z)({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})}));var $y=function(e){var t=e.classes,n=e.container,r=e.direction,o=e.item,i=e.spacing,a=e.wrap,l=e.zeroMinWidth,s=e.breakpoints,c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var o="spacing-".concat(t,"-").concat(String(r));n.push(o)}})),n}(i,s));var u=[];s.forEach((function(t){var n=e[t];n&&u.push("grid-".concat(t,"-").concat(String(n)))}));var d={root:["root",n&&"container",o&&"item",l&&"zeroMinWidth"].concat((0,F.Z)(c),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==a&&"wrap-xs-".concat(String(a))],u)};return(0,Yi.Z)(d,Fy,t)},Ky=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiGrid"}),o=_i().breakpoints,i=Li(r),a=i.className,l=i.columns,s=i.columnSpacing,c=i.component,u=void 0===c?"div":c,d=i.container,f=void 0!==d&&d,p=i.direction,h=void 0===p?"row":p,m=i.item,v=void 0!==m&&m,g=i.rowSpacing,y=i.spacing,b=void 0===y?0:y,x=i.wrap,w=void 0===x?"wrap":x,S=i.zeroMinWidth,k=void 0!==S&&S,j=(0,T.Z)(i,Hy),E=g||b,O=s||b,C=t.useContext(By),P=f?l||12:C,Z={},_=(0,Ti.Z)({},j);o.keys.forEach((function(e){null!=j[e]&&(Z[e]=j[e],delete _[e])}));var M=(0,Ti.Z)({},i,{columns:P,container:f,direction:h,item:v,rowSpacing:E,columnSpacing:O,wrap:w,zeroMinWidth:k,spacing:b},Z,{breakpoints:o.keys}),A=$y(M);return(0,Bi.jsx)(By.Provider,{value:P,children:(0,Bi.jsx)(Gy,(0,Ti.Z)({ownerState:M,className:(0,Mi.Z)(A.root,a),as:u,ref:n},_))})})),Xy=Ky;function Qy(e){return e.substring(2).toLowerCase()}function Jy(e){var n=e.children,r=e.disableReactTree,o=void 0!==r&&r,i=e.mouseEvent,a=void 0===i?"onClick":i,l=e.onClickAway,s=e.touchEvent,c=void 0===s?"onTouchEnd":s,u=t.useRef(!1),d=t.useRef(null),f=t.useRef(!1),p=t.useRef(!1);t.useEffect((function(){return setTimeout((function(){f.current=!0}),0),function(){f.current=!1}}),[]);var h=(0,Gi.Z)(n.ref,d),m=(0,ca.Z)((function(e){var t=p.current;p.current=!1;var n=(0,sa.Z)(d.current);!f.current||!d.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n)||(u.current?u.current=!1:(e.composedPath?e.composedPath().indexOf(d.current)>-1:!n.documentElement.contains(e.target)||d.current.contains(e.target))||!o&&t||l(e))})),v=function(e){return function(t){p.current=!0;var r=n.props[e];r&&r(t)}},g={ref:h};return!1!==c&&(g[c]=v(c)),t.useEffect((function(){if(!1!==c){var e=Qy(c),t=(0,sa.Z)(d.current),n=function(){u.current=!0};return t.addEventListener(e,m),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,m),t.removeEventListener("touchmove",n)}}}),[m,c]),!1!==a&&(g[a]=v(a)),t.useEffect((function(){if(!1!==a){var e=Qy(a),t=(0,sa.Z)(d.current);return t.addEventListener(e,m),function(){t.removeEventListener(e,m)}}}),[m,a]),(0,Bi.jsx)(t.Fragment,{children:t.cloneElement(n,g)})}function eb(e){return(0,Oa.Z)("MuiSnackbarContent",e)}(0,Ea.Z)("MuiSnackbarContent",["root","message","action"]);var tb=["action","className","message","role"],nb=(0,Oi.ZP)(ml,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n="light"===t.palette.mode?.8:.98,r=(0,cl._4)(t.palette.background.default,n);return(0,Ti.Z)({},t.typography.body2,(0,u.Z)({color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(r),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1},t.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),rb=(0,Oi.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0"}),ob=(0,Oi.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),ib=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiSnackbarContent"}),r=n.action,o=n.className,i=n.message,a=n.role,l=void 0===a?"alert":a,s=(0,T.Z)(n,tb),c=n,u=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],action:["action"],message:["message"]},eb,t)}(c);return(0,Bi.jsxs)(nb,(0,Ti.Z)({role:l,square:!0,elevation:6,className:(0,Mi.Z)(u.root,o),ownerState:c,ref:t},s,{children:[(0,Bi.jsx)(rb,{className:u.message,ownerState:c,children:i}),r?(0,Bi.jsx)(ob,{className:u.action,ownerState:c,children:r}):null]}))}));function ab(e){return(0,Oa.Z)("MuiSnackbar",e)}(0,Ea.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var lb=["onEnter","onExited"],sb=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],cb=(0,Oi.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["anchorOrigin".concat((0,vl.Z)(n.anchorOrigin.vertical)).concat((0,vl.Z)(n.anchorOrigin.horizontal))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===n.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===n.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===n.anchorOrigin.horizontal&&{justifyContent:"flex-end"},(0,u.Z)({},t.breakpoints.up("sm"),(0,Ti.Z)({},"top"===n.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===n.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===n.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===n.anchorOrigin.horizontal&&{right:24,left:"auto"})))})),ub=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiSnackbar"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r.action,l=r.anchorOrigin,s=void 0===l?{vertical:"bottom",horizontal:"left"}:l,c=s.vertical,u=s.horizontal,d=r.autoHideDuration,f=void 0===d?null:d,p=r.children,h=r.className,m=r.ClickAwayListenerProps,v=r.ContentProps,g=r.disableWindowBlurListener,y=void 0!==g&&g,b=r.message,x=r.open,w=r.TransitionComponent,S=void 0===w?zc:w,k=r.transitionDuration,j=void 0===k?i:k,E=r.TransitionProps,O=void 0===E?{}:E,C=O.onEnter,P=O.onExited,Z=(0,T.Z)(r.TransitionProps,lb),_=(0,T.Z)(r,sb),M=(0,Ti.Z)({},r,{anchorOrigin:{vertical:c,horizontal:u},autoHideDuration:f,disableWindowBlurListener:y,TransitionComponent:S,transitionDuration:j}),A=function(e){var t=e.classes,n=e.anchorOrigin,r={root:["root","anchorOrigin".concat((0,vl.Z)(n.vertical)).concat((0,vl.Z)(n.horizontal))]};return(0,Yi.Z)(r,ab,t)}(M),R=function(e){var n=e.autoHideDuration,r=void 0===n?null:n,o=e.disableWindowBlurListener,i=void 0!==o&&o,a=e.onClose,l=e.open,s=e.resumeHideDuration,c=t.useRef();t.useEffect((function(){if(l)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==a||a(e,"escapeKeyDown")}}),[l,a]);var u=(0,ca.Z)((function(e,t){null==a||a(e,t)})),d=(0,ca.Z)((function(e){a&&null!=e&&(clearTimeout(c.current),c.current=setTimeout((function(){u(null,"timeout")}),e))}));t.useEffect((function(){return l&&d(r),function(){clearTimeout(c.current)}}),[l,r,d]);var f=function(){clearTimeout(c.current)},p=t.useCallback((function(){null!=r&&d(null!=s?s:.5*r)}),[r,s,d]),h=function(e){return function(t){var n=e.onBlur;null==n||n(t),p()}},m=function(e){return function(t){var n=e.onFocus;null==n||n(t),f()}},v=function(e){return function(t){var n=e.onMouseEnter;null==n||n(t),f()}},g=function(e){return function(t){var n=e.onMouseLeave;null==n||n(t),p()}};return t.useEffect((function(){if(!i&&l)return window.addEventListener("focus",p),window.addEventListener("blur",f),function(){window.removeEventListener("focus",p),window.removeEventListener("blur",f)}}),[i,p,l]),{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Xi(e),r=(0,Ti.Z)({},n,t);return(0,Ti.Z)({role:"presentation"},r,{onBlur:h(r),onFocus:m(r),onMouseEnter:v(r),onMouseLeave:g(r)})},onClickAway:function(e){null==a||a(e,"clickaway")}}}((0,Ti.Z)({},M)),N=R.getRootProps,I=R.onClickAway,z=t.useState(!0),L=(0,D.Z)(z,2),B=L[0],F=L[1],W=ta({elementType:cb,getSlotProps:N,externalForwardedProps:_,ownerState:M,additionalProps:{ref:n},className:[A.root,h]});return!x&&B?null:(0,Bi.jsx)(Jy,(0,Ti.Z)({onClickAway:I},m,{children:(0,Bi.jsx)(cb,(0,Ti.Z)({},W,{children:(0,Bi.jsx)(S,(0,Ti.Z)({appear:!0,in:x,timeout:j,direction:"top"===c?"down":"up",onEnter:function(e,t){F(!1),C&&C(e,t)},onExited:function(e){F(!0),P&&P(e)}},Z,{children:p||(0,Bi.jsx)(ib,(0,Ti.Z)({message:b,action:a},v))}))}))}))})),db=ub,fb=n(5403);function pb(e){return(0,Oa.Z)("MuiInputAdornment",e)}var hb,mb=(0,Ea.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),vb=["children","className","component","disablePointerEvents","disableTypography","position","variant"],gb=(0,Oi.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,vl.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,u.Z)({},"&.".concat(mb.positionStart,"&:not(.").concat(mb.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),yb=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiInputAdornment"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"div":a,s=r.disablePointerEvents,c=void 0!==s&&s,u=r.disableTypography,d=void 0!==u&&u,f=r.position,p=r.variant,h=(0,T.Z)(r,vb),m=fm()||{},v=p;p&&m.variant,m&&!v&&(v=m.variant);var g=(0,Ti.Z)({},r,{hiddenLabel:m.hiddenLabel,size:m.size,disablePointerEvents:c,position:f,variant:v}),y=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,l={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,vl.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(l,pb,t)}(g);return(0,Bi.jsx)(dm.Provider,{value:null,children:(0,Bi.jsx)(gb,(0,Ti.Z)({as:l,ownerState:g,className:(0,Mi.Z)(y.root,i),ref:n},h,{children:"string"!==typeof o||d?(0,Bi.jsxs)(t.Fragment,{children:["start"===f?hb||(hb=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):null,o]}):(0,Bi.jsx)(as,{color:"text.secondary",children:o})}))})}));function bb(e){return(0,Oa.Z)("MuiAlert",e)}var xb=(0,Ea.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),wb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Sb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),kb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),jb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Eb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Ob=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Cb=(0,Oi.ZP)(ml,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,vl.Z)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?cl._j:cl.$n,o="light"===t.palette.mode?cl.$n:cl._j,i=n.color||n.severity;return(0,Ti.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&"standard"===n.variant&&(0,u.Z)({color:t.vars?t.vars.palette.Alert["".concat(i,"Color")]:r(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(i,"StandardBg")]:o(t.palette[i].light,.9)},"& .".concat(xb.icon),t.vars?{color:t.vars.palette.Alert["".concat(i,"IconColor")]}:{color:t.palette[i].main}),i&&"outlined"===n.variant&&(0,u.Z)({color:t.vars?t.vars.palette.Alert["".concat(i,"Color")]:r(t.palette[i].light,.6),border:"1px solid ".concat((t.vars||t).palette[i].light)},"& .".concat(xb.icon),t.vars?{color:t.vars.palette.Alert["".concat(i,"IconColor")]}:{color:t.palette[i].main}),i&&"filled"===n.variant&&(0,Ti.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert["".concat(i,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(i,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[i].dark:t.palette[i].main,color:t.palette.getContrastText(t.palette[i].main)}))})),Pb=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Zb=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0",minWidth:0,overflow:"auto"}),_b=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Tb={success:(0,Bi.jsx)(wb,{fontSize:"inherit"}),warning:(0,Bi.jsx)(Sb,{fontSize:"inherit"}),error:(0,Bi.jsx)(kb,{fontSize:"inherit"}),info:(0,Bi.jsx)(jb,{fontSize:"inherit"})},Mb=t.forwardRef((function(e,t){var n,r,o,i,a,l,s=(0,_a.Z)({props:e,name:"MuiAlert"}),c=s.action,u=s.children,d=s.className,f=s.closeText,p=void 0===f?"Close":f,h=s.color,m=s.components,v=void 0===m?{}:m,g=s.componentsProps,y=void 0===g?{}:g,b=s.icon,x=s.iconMapping,w=void 0===x?Tb:x,S=s.onClose,k=s.role,j=void 0===k?"alert":k,E=s.severity,O=void 0===E?"success":E,C=s.slotProps,P=void 0===C?{}:C,Z=s.slots,_=void 0===Z?{}:Z,M=s.variant,A=void 0===M?"standard":M,R=(0,T.Z)(s,Ob),N=(0,Ti.Z)({},s,{color:h,severity:O,variant:A}),I=function(e){var t=e.variant,n=e.color,r=e.severity,o=e.classes,i={root:["root","".concat(t).concat((0,vl.Z)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,Yi.Z)(i,bb,o)}(N),D=null!=(n=null!=(r=_.closeButton)?r:v.CloseButton)?n:Js,z=null!=(o=null!=(i=_.closeIcon)?i:v.CloseIcon)?o:Eb,L=null!=(a=P.closeButton)?a:y.closeButton,B=null!=(l=P.closeIcon)?l:y.closeIcon;return(0,Bi.jsxs)(Cb,(0,Ti.Z)({role:j,elevation:0,ownerState:N,className:(0,Mi.Z)(I.root,d),ref:t},R,{children:[!1!==b?(0,Bi.jsx)(Pb,{ownerState:N,className:I.icon,children:b||w[O]||Tb[O]}):null,(0,Bi.jsx)(Zb,{ownerState:N,className:I.message,children:u}),null!=c?(0,Bi.jsx)(_b,{ownerState:N,className:I.action,children:c}):null,null==c&&S?(0,Bi.jsx)(_b,{ownerState:N,className:I.action,children:(0,Bi.jsx)(D,(0,Ti.Z)({size:"small","aria-label":p,title:p,color:"inherit",onClick:S},L,{children:(0,Bi.jsx)(z,(0,Ti.Z)({fontSize:"small"},B))}))}):null]}))})),Ab=Mb,Rb=n(2715),Nb=n(1133),Ib=n(5397),Db=n(111);var zb=function(e){var t=e.count,n=e.page,r=e.rowsPerPage,o=e.onPageChange,i=e.direction,a=function(e,t){o(e,t)};return(0,Bi.jsxs)(Vi,{sx:{flexShrink:0,ml:2.5},children:[(0,Bi.jsx)(Js,{onClick:function(e){return a(e,0)},disabled:0===n,"aria-label":"first page",children:"rtl"===i?(0,Bi.jsx)(Db.Z,{}):(0,Bi.jsx)(Rb.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,n-1)},disabled:0===n,"aria-label":"previous page",children:"rtl"===i?(0,Bi.jsx)(Ib.Z,{}):(0,Bi.jsx)(Nb.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,n+1)},disabled:n>=Math.ceil(t/r)-1,"aria-label":"next page",children:"rtl"===i?(0,Bi.jsx)(Nb.Z,{}):(0,Bi.jsx)(Ib.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,Math.max(0,Math.ceil(t/r)-1))},disabled:n>=Math.ceil(t/r)-1,"aria-label":"last page",children:"rtl"===i?(0,Bi.jsx)(Rb.Z,{}):(0,Bi.jsx)(Db.Z,{})})]})};var Lb=function(){var e=(0,t.useState)([]),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(null),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(!0),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)("success"),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(!1),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(0),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(5),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(""),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)({id:null,examName:"",examTime:null,examStatus:!1,totalQuestion:0,showResult:!1}),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)({examNameError:!1,examTimeError:!1,totalQuestionError:!1}),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=x((function(e){return e.exam})),ie=oe.allExam,ae=x((function(e){return e.exam})),le=ae.SingleExam,se=_(),ce=(0,t.useState)(!0),ue=(0,D.Z)(ce,2),de=ue[0];ue[1],(0,t.useEffect)((function(){ih(uh.exams).then((function(e){console.log("exam data from mysql",e.data);var t=e.data.reverse();se(sn.GET_EXAM(t))})).catch((function(e){w(!0),E("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Z("error")}))}),[]),(0,t.useEffect)((function(){o((0,F.Z)(ie))}),[ie.length>0,se]),(0,t.useEffect)((function(){o((0,F.Z)(ie))})),(0,t.useEffect)((function(){if(le){var e=le.id,t=void 0===e?0:e,n=le.examName,r=void 0===n?"":n,o=le.examTime,i=void 0===o?null:o,a=le.examStatus,l=void 0!==a&&a,s=le.showResult,c=void 0!==s&&s,u=le.totalQuestion;Q({id:t,examName:r,examStatus:l,examTime:i,totalQuestion:void 0===u?0:u,showResult:c})}}),[le]);var fe=function(e){var t=e.target,n=t.name,r=t.value;if("examName"===n){var o=!function(e){return/^[a-zA-Z0-9\- ]{2,30}$/.test(e)}(r);re((function(e){return te(te({},e),{},{examNameError:o})}))}if("examTime"===n){var i=!function(e){return/^[a-zA-Z0-9]{1,3}min$/.test(e)}(r);re((function(e){return te(te({},e),{},{examTimeError:i})}))}if("totalQuestion"===n){var a=!/^[0-9]{1,3}$/.test(r);re((function(e){return te(te({},e),{},{totalQuestionError:a})}))}},pe=function(e){var t=e.target,n=t.name,r=t.value,o="radio"===t.type?"true"===r:r;switch(n){case"examName":Q((function(e){return te(te({},e),{},{examName:o.toLowerCase()})}));break;case"examTime":Q((function(e){return te(te({},e),{},{examTime:o.toLowerCase()})}));break;case"totalQuestion":Q((function(e){return te(te({},e),{},{totalQuestion:o.toLowerCase()})}));break;case"examStatus":Q((function(e){return te(te({},e),{},{examStatus:o})}))}},he=function(){s(!1),f(null)},me=function(e){!function(e){s(!0),f(e)}(e)},ve=function(e){e.preventDefault();var t=X.id,n=void 0===t?null:t,o=X.examName,i=X.examTime,a=X.examStatus,l=X.totalQuestion,s=X.showResult,c={id:n,examName:o,examTime:i,examStatus:a,totalQuestion:l,showResult:s},u={id:n,examName:o,examTime:i,examStatus:!1,totalQuestion:l,showResult:s},d=r.some((function(e){return e.examName===o&&e.id!==n}));if(m){if(d)return w(!0),E("An exam with the same name already exists."),void Z("error");ah(uh.exams,u).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){w(!0),E("Exam Added!."),Z("success"),se(sn.ADD_EXAM(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(ie));se(sn.GET_EXAM(n))}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}else lh("".concat(uh.exams).concat(n,"/"),c).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(w(!0),E("Exam Updated!."),Z("success"),se(sn.UPDATE_EXAM(e.data)))})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}));ge()},ge=function(){R(!1),re((function(e){return te(te({},e),{},{examNameError:!1,examTimeError:!1,totalQuestionError:!1})}))},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=r.find((function(t){return t.id===e}));t&&(Q(te({},t)),R(!0),v(!1))}else Q({id:null,examName:"",examStatus:!1,totalQuestion:0,showResult:!1}),R(!0),v(!0)},be=function(){w(!1),E("")},xe=r.filter((function(e){var t,n,r=Y.toLowerCase(),o=(null===e||void 0===e?void 0:e.examName)&&(null===e||void 0===e||null===(t=e.examName)||void 0===t?void 0:t.toLowerCase().includes(r)),i=(null===e||void 0===e?void 0:e.id)&&(null===e||void 0===e||null===(n=e.id)||void 0===n?void 0:n.toString().includes(r));return o||i})),we=!X.examName||ne.examNameError||ne.examTimeError||ne.totalQuestionError||!X.examTime||!X.totalQuestion;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none",borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Exam"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:Y,onChange:function(e){G(e.target.value),L(0)},placeholder:"Search Exam",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",sx:{marginBottom:2},size:"small",type:"button",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return ye()},children:"Exam"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Id"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Status"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Time(min)"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Total Questions"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Show Answer"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===xe.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):xe&&xe.length>0&&xe.slice(z*U,z*U+U).map((function(e,t){var n=z*U+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:e.id}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.examName)}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.examStatus,onChange:function(){return function(e,t){var n=xe[z*U+e],i=r.findIndex((function(e){return e.id===n.id}));if(console.log(i),i>=0){var a=te(te({},r[i]),{},{examStatus:t});console.log(a),lh("".concat(uh.exams).concat(n.id,"/"),a).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){se(sn.UPDATE_EXAM(e.data));var t=(0,F.Z)(r);t[i]=e.data,o(t)}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}}(t,!e.examStatus)},inputProps:{"aria-label":"controlled"}})}),(0,Bi.jsx)(Vh,{align:"left",children:e.examTime}),(0,Bi.jsx)(Vh,{align:"left",children:e.totalQuestion}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.showResult,onChange:function(){return function(e,t){var n=xe[z*U+e],i=r.findIndex((function(e){return e.id===n.id}));if(console.log(i),i>=0){var a=te(te({},r[i]),{},{showResult:t});console.log(a),lh("".concat(uh.exams).concat(n.id,"/"),a).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){se(sn.UPDATE_EXAM(e.data));var t=(0,F.Z)(r);t[i]=e.data,o(t)}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}}(t,!e.showResult)},color:"primary"})}),(0,Bi.jsxs)(Vh,{align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"edit",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return ye(e.id)},style:{color:"#2c387e",fontSize:"25px"}})}),(0,Bi.jsx)(Js,{"aria-label":"delete",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return me(e.id)},style:{color:"#2c387e",fontSize:"25px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:xe.length,rowsPerPage:U,page:z,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){L(t)},onRowsPerPageChange:function(e){q(parseInt(e.target.value,10)),L(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:A,onClose:ge,onConfirm:ve,show:de,title:m?"Add Exam":"Update Exam",content:(0,Bi.jsx)("form",{onSubmit:ve,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:2},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Exam Name",variant:"outlined",fullWidth:!0,name:"examName",value:X.examName,onChange:pe,size:"small",inputProps:{maxLength:30},onBlur:fe,error:ne.examNameError,helperText:ne.examNameError&&xh("Enter Valid Exam Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Exam Time",variant:"outlined",fullWidth:!0,name:"examTime",value:X.examTime,onChange:pe,size:"small",placeholder:"enter a time (1min)",onBlur:fe,inputProps:{maxLength:6},error:ne.examTimeError,helperText:ne.examTimeError&&xh("Enter Valid Exam Time.E.g-1min")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Total Questions",variant:"outlined",fullWidth:!0,name:"totalQuestion",value:X.totalQuestion,onChange:pe,inputProps:{maxLength:3},size:"small",placeholder:"enter a count of questions",onBlur:fe,error:ne.totalQuestionError,helperText:ne.totalQuestionError&&xh("Enter Valid Questions Count")})})]})}),disable:we,submitLabel:m?"Add Exam":"Update Exam"}),(0,Bi.jsx)(gf,{open:l,onClose:he,onConfirm:function(){he(),sh("".concat(uh.exams).concat(d)).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(w(!0),E("Exam Deleted!."),Z("success"),se(sn.DELETE_EXAM(d)))})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")})),he()},show:!0,message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:b,autoHideDuration:3e3,onClose:be,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:be,severity:P,variant:"filled",sx:{width:"100%"},children:j})})]})})};function Bb(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",t="",n=0;n<6;n++)t+=e.charAt(Math.floor(36*Math.random()));return t}var Fb=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=(n[0],n[1],(0,t.useState)(!0)),o=(0,D.Z)(r,2),i=o[0],a=o[1],l=(0,t.useState)([]),s=(0,D.Z)(l,2),c=s[0],u=s[1],d=(0,t.useState)(0),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)(5),v=(0,D.Z)(m,2),g=v[0],y=v[1],b=(0,t.useState)(null),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=x((function(e){return e.voucher})),E=j.allvouchers,O=_();(0,t.useEffect)((function(){ih(uh.voucher).then((function(e){return O(on.GET_VOUCHER(e.data))})).catch((function(e){console.error("Error fetching vouchers:",e)}))}),[]),(0,t.useEffect)((function(){var e=setInterval((function(){if(!i&&null!==S){var e=Bb();C(S,e)}}),36e5);return function(){clearInterval(e)}}),[i,S]),(0,t.useEffect)((function(){u(E)}),[E]);var C=function(e,t){var n=(0,F.Z)(c),r=n.findIndex((function(t){return t.id===e}));-1!==r&&(n[r].Vcode=t,u(n))};return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Voucher"})})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"ID"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Voucher Code"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:c&&c.length>0&&c.slice(p*g,p*g+g).map((function(e,t){var n=p*g+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n}),(0,Bi.jsx)(Vh,{align:"left",children:e.Vcode}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.status,onChange:function(n){return function(e,t,n,r){var o=p*g+e;u((function(e){var n=e.map((function(e,n){return n===o?te(te({},e),{},{status:!t}):e}));if(!n[o].status){var r=Bb();n[o].Vcode=r}return k(n[o].id),a(n[o].status),lh("".concat(uh.voucher).concat(c[o].id,"/"),n[o]).then((function(e){return O(on.UPDATE_VOUCHER(e.data))})).catch((function(e){return console.log("voucher error: ",e)})),n}))}(t,e.status)},inputProps:{"aria-label":"controlled"}},t)})]},e.id)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:6,count:c.length,rowsPerPage:g,page:p,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){h(t)},onRowsPerPageChange:function(e){y(parseInt(e.target.value,10)),h(0)},ActionsComponent:zb})]})})]})})},Wb=n(1406);var Ub=t.createContext(null);function qb(){return t.useContext(Ub)}function Hb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=qb(),o=function(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}({theme:r,name:"MuiUseMediaQuery",props:{}});var i="function"===typeof e?e(r):e;i=i.replace(/^@media( ?)/m,"");var a="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,l=(0,Ti.Z)({},o,n),s=l.defaultMatches,c=void 0!==s&&s,u=l.matchMedia,d=void 0===u?a?window.matchMedia:null:u,f=l.noSsr,p=void 0!==f&&f,h=l.ssrMatchMedia,m=void 0===h?null:h,v=t.useState((function(){return p&&a?d(i).matches:m?m(i).matches:c})),g=v[0],y=v[1];return t.useEffect((function(){var e=!0;if(a){var t=d(i),n=function(){e&&y(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,d,a]),g}function Vb(e){return e&&"object"===(0,A.Z)(e)&&e.constructor===Object}function Yb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?(0,Ti.Z)({},e):e;return Vb(e)&&Vb(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Vb(t[o])&&o in e?r[o]=Yb(e[o],t[o],n):r[o]=t[o])})),r}var Gb=["xs","sm","md","lg","xl"];function $b(e,t,n){var r;return(0,Ti.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,Ti.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,u.Z)({},e.up("sm"),(0,Ti.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,u.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,u.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}function Kb(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var Xb={black:"#000",white:"#fff"},Qb={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Jb={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},ex={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},tx={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},nx={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},rx={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ox={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function ix(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function ax(e){if(e.type)return e;if("#"===e.charAt(0))return ax(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Kb(3,e));var r=e.substring(t+1,e.length-1).split(",");return r=r.map((function(e){return parseFloat(e)})),{type:n,values:r}}function lx(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function sx(e){var t="hsl"===(e=ax(e)).type?ax(function(e){var t=(e=ax(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),lx({type:l,values:s})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cx(e,t){if(e=ax(e),t=ix(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return lx(e)}function ux(e,t){if(e=ax(e),t=ix(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return lx(e)}var dx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Xb.white,default:Qb[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},fx={text:{primary:Xb.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Qb[800],default:"#303030"},action:{active:Xb.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function px(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=ux(e.main,o):"dark"===t&&(e.dark=cx(e.main,i)))}function hx(e){var t=e.primary,n=void 0===t?{light:Jb[300],main:Jb[500],dark:Jb[700]}:t,r=e.secondary,o=void 0===r?{light:ex.A200,main:ex.A400,dark:ex.A700}:r,i=e.error,a=void 0===i?{light:tx[300],main:tx[500],dark:tx[700]}:i,l=e.warning,s=void 0===l?{light:nx[300],main:nx[500],dark:nx[700]}:l,c=e.info,u=void 0===c?{light:rx[300],main:rx[500],dark:rx[700]}:c,d=e.success,f=void 0===d?{light:ox[300],main:ox[500],dark:ox[700]}:d,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,y=void 0===g?.2:g,b=M(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){var t=function(e,t){var n=sx(e),r=sx(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,fx.text.primary)>=v?fx.text.primary:dx.text.primary;return t}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,Ti.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Kb(4,t));if("string"!==typeof e.main)throw new Error(Kb(5,JSON.stringify(e.main)));return px(e,"light",n,y),px(e,"dark",r,y),e.contrastText||(e.contrastText=x(e.main)),e},S={dark:fx,light:dx};return Yb((0,Ti.Z)({common:Xb,type:h,primary:w(n),secondary:w(o,"A400","A200","A700"),error:w(a),warning:w(s),info:w(u),success:w(f),grey:Qb,contrastThreshold:v,getContrastText:x,augmentColor:w,tonalOffset:y},S[h]),b)}function mx(e){return Math.round(1e5*e)/1e5}function vx(e){return mx(e)}var gx={textTransform:"uppercase"},yx='"Roboto", "Helvetica", "Arial", sans-serif';function bx(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?yx:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,f=void 0===d?500:d,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,y=n.pxToRem,b=M(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var x=a/14,w=y||function(e){return"".concat(e/v*x,"rem")},S=function(e,t,n,r,i){return(0,Ti.Z)({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===yx?{letterSpacing:"".concat(mx(r/t),"em")}:{},i,g)},k={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(f,14,1.75,.4,gx),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,gx)};return Yb((0,Ti.Z)({htmlFontSize:v,pxToRem:w,round:vx,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:h},k),b,{clone:!1})}function xx(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var wx=["none",xx(0,2,1,-1,0,1,1,0,0,1,3,0),xx(0,3,1,-2,0,2,2,0,0,1,5,0),xx(0,3,3,-2,0,3,4,0,0,1,8,0),xx(0,2,4,-1,0,4,5,0,0,1,10,0),xx(0,3,5,-1,0,5,8,0,0,1,14,0),xx(0,3,5,-1,0,6,10,0,0,1,18,0),xx(0,4,5,-2,0,7,10,1,0,2,16,1),xx(0,5,5,-3,0,8,10,1,0,3,14,2),xx(0,5,6,-3,0,9,12,1,0,3,16,2),xx(0,6,6,-3,0,10,14,1,0,4,18,3),xx(0,6,7,-4,0,11,15,1,0,4,20,3),xx(0,7,8,-4,0,12,17,2,0,5,22,4),xx(0,7,8,-4,0,13,19,2,0,5,24,4),xx(0,7,9,-4,0,14,21,2,0,5,26,4),xx(0,8,9,-5,0,15,22,2,0,6,28,5),xx(0,8,10,-5,0,16,24,2,0,6,30,5),xx(0,8,11,-5,0,17,26,2,0,6,32,5),xx(0,9,11,-5,0,18,28,2,0,7,34,6),xx(0,9,12,-6,0,19,29,2,0,7,36,6),xx(0,10,13,-6,0,20,31,3,0,8,38,7),xx(0,10,13,-6,0,21,33,3,0,8,40,7),xx(0,10,14,-6,0,22,35,3,0,8,42,7),xx(0,11,14,-7,0,23,36,3,0,9,44,8),xx(0,11,15,-7,0,24,38,3,0,9,46,8)],Sx={borderRadius:4},kx={xs:0,sm:600,md:960,lg:1280,xl:1920},jx={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(kx[e],"px)")}};var Ex=function(e,t){return t?Yb(e,t,{clone:!1}):e};var Ox={m:"margin",p:"padding"},Cx={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Px={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zx=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!Px[e])return[e];e=Px[e]}var t=e.split(""),n=(0,D.Z)(t,2),r=n[0],o=n[1],i=Ox[r],a=Cx[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]})),_x=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Tx(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function Mx(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Ax(e){var t=Tx(e.theme);return Object.keys(e).map((function(n){if(-1===_x.indexOf(n))return null;var r=Mx(Zx(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||jx;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===(0,A.Z)(t)){var o=e.theme.breakpoints||jx;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(Ex,{})}Ax.propTypes={},Ax.filterProps=_x;var Rx={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ix(e){return"".concat(Math.round(e),"ms")}var Dx={easing:Rx,duration:Nx,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Nx.standard:n,o=t.easing,i=void 0===o?Rx.easeInOut:o,a=t.delay,l=void 0===a?0:a;M(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof r?r:Ix(r)," ").concat(i," ").concat("string"===typeof l?l:Ix(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},zx={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Lx(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,l=e.spacing,s=e.typography,c=void 0===s?{}:s,u=M(e,["breakpoints","mixins","palette","spacing","typography"]),d=hx(a),f=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,l=M(e,["values","unit","step"]);function s(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=Gb.indexOf(t);return r===Gb.length-1?s(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[Gb[r+1]]?n[Gb[r+1]]:t)-a/100).concat(o,")")}return(0,Ti.Z)({keys:Gb,values:n,up:s,down:function(e){var t=Gb.indexOf(e)+1,r=n[Gb[t]];return t===Gb.length?s("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},l)}(n),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Tx({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}(l),h=Yb({breakpoints:f,direction:"ltr",mixins:$b(f,p,o),overrides:{},palette:d,props:{},shadows:wx,typography:bx(d,c),spacing:p,shape:Sx,transitions:Dx,zIndex:zx},u),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g<m;g++)v[g-1]=arguments[g];return h=v.reduce((function(e,t){return Yb(e,t)}),h)}var Bx=Lx();function Fx(){return qb()||Bx}var Wx=n(2426),Ux=n.n(Wx),qx=function(e){return Ux()(e).format("L")},Hx=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(null),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=Hb(Fx().breakpoints.down("sm")),k=_(),j=x((function(e){return e.feedback})),E=j.allFeedback;(0,t.useEffect)((function(){ih(uh.feedback).then((function(e){var t=e.data.reverse();k(xn.getFeedback(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]);var O=E&&E.length>0&&E.filter((function(e){var t=e&&e.name&&e.name.toLowerCase().includes(d),n=e&&e.email&&e.email.toLowerCase().includes(d),r=e.datetime&&e.datetime.includes(d),o=e.contact&&e.contact.toLowerCase().includes(d),i=e&&e.branch&&e.branch.branchName&&e.branch.branchName.toLowerCase().includes(d);return t||n||i||r||o}))||[];return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Feedback"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:d,onChange:function(e){f(e.target.value),o(0)},placeholder:"Search Feedback",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Contact"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Organization"}),(0,Bi.jsx)(Vh,{align:"center",sx:{fontWeight:"bold"},children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:0===O.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):O&&O.length>0&&O.slice(r*l,r*l+l).map((function(e,t){var n=r*l+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.name)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.email)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.contact)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.organization)}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(Wb.Z,{onClick:function(){return v(e),void w(!0)},style:{color:"#2c387e",fontSize:"25px"}})})})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:O.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:b,onClose:function(){w(!1)},title:"Student Feedback",show:!1,content:m&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Student Name : ",yf(m.name)]})}),"Hematite branch"===m.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Branch:"}),yf(m.branch?m.branch.branchName:"N/A")," ",(0,Bi.jsx)("br",{})]}):"Cdac"===m.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" PRN No:"}),m.cidacPrn," ",(0,Bi.jsx)("br",{})]}):"Other branch"===m.otherbranch?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Other Branch:"}),yf(m.otherbranch?m.otherbranch:"N/A")," ",(0,Bi.jsx)("br",{})]}):null,(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" DateTime"}),qx(m.datetime)," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" How satisfied are you with our services? (1-5)"}),m.question1," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"How likely are you to recommend us to others? (1-5)"}),m.question2," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"What do you like most about our services?"}),m.question3," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"What areas do you think we can improve?"}),m.question4," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"Any additional comments or suggestions?"}),m.question5," ",(0,Bi.jsx)("br",{})]})]})})})]})})};function Vx(e){return(0,Oa.Z)("MuiFormGroup",e)}(0,Ea.Z)("MuiFormGroup",["root","row","error"]);var Yx=["className","row"],Gx=(0,Oi.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.row&&t.row]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),$x=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormGroup"}),r=n.className,o=n.row,i=void 0!==o&&o,a=(0,T.Z)(n,Yx),l=um({props:n,muiFormControl:fm(),states:["error"]}),s=(0,Ti.Z)({},n,{row:i,error:l.error}),c=function(e){var t=e.classes,n={root:["root",e.row&&"row",e.error&&"error"]};return(0,Yi.Z)(n,Vx,t)}(s);return(0,Bi.jsx)(Gx,(0,Ti.Z)({className:(0,Mi.Z)(c.root,r),ownerState:s,ref:t},a))}));var Kx=t.createContext(void 0),Xx=["actions","children","defaultValue","name","onChange","value"],Qx=t.forwardRef((function(e,n){var r=e.actions,o=e.children,i=e.defaultValue,a=e.name,l=e.onChange,s=e.value,c=(0,T.Z)(e,Xx),u=t.useRef(null),d=(0,md.Z)({controlled:s,default:i,name:"RadioGroup"}),f=(0,D.Z)(d,2),p=f[0],h=f[1];t.useImperativeHandle(r,(function(){return{focus:function(){var e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var m=(0,qa.Z)(n,u),v=(0,hd.Z)(a),g=t.useMemo((function(){return{name:v,onChange:function(e){h(e.target.value),l&&l(e,e.target.value)},value:p}}),[v,l,h,p]);return(0,Bi.jsx)(Kx.Provider,{value:g,children:(0,Bi.jsx)($x,(0,Ti.Z)({role:"radiogroup",ref:m},c,{children:o}))})})),Jx=Qx,ew=(0,n(4046).ZP)(),tw=n(7078),nw=n(5080),rw=n(5682),ow=["component","direction","spacing","divider","children","className","useFlexGap"],iw=(0,nw.Z)(),aw=ew("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return t.root}});function lw(e){return(0,tw.Z)({props:e,name:"MuiStack",defaultTheme:iw})}function sw(e,n){var r=t.Children.toArray(e).filter(Boolean);return r.reduce((function(e,o,i){return e.push(o),i<r.length-1&&e.push(t.cloneElement(n,{key:"separator-".concat(i)})),e}),[])}var cw=function(e){var t=e.ownerState,n=e.theme,r=(0,Ti.Z)({display:"flex",flexDirection:"column"},(0,Ly.k9)({theme:n},(0,Ly.P$)({values:t.direction,breakpoints:n.breakpoints.values}),(function(e){return{flexDirection:e}})));if(t.spacing){var o=(0,rw.hB)(n),i=Object.keys(n.breakpoints.values).reduce((function(e,n){return("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e}),{}),a=(0,Ly.P$)({values:t.direction,base:i}),l=(0,Ly.P$)({values:t.spacing,base:i});"object"===typeof a&&Object.keys(a).forEach((function(e,t,n){if(!a[e]){var r=t>0?a[n[t-1]]:"column";a[e]=r}}));r=(0,Ni.Z)(r,(0,Ly.k9)({theme:n},l,(function(e,n){return t.useFlexGap?{gap:(0,rw.NA)(o,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":(0,u.Z)({},"margin".concat((r=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r])),(0,rw.NA)(o,e))};var r})))}return r=(0,Ly.dt)(n.breakpoints,r)};var uw=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?aw:n,o=e.useThemeProps,i=void 0===o?lw:o,a=e.componentName,l=void 0===a?"MuiStack":a,s=r(cw),c=t.forwardRef((function(e,t){var n=Li(i(e)),r=n.component,o=void 0===r?"div":r,a=n.direction,c=void 0===a?"column":a,u=n.spacing,d=void 0===u?0:u,f=n.divider,p=n.children,h=n.className,m=n.useFlexGap,v=void 0!==m&&m,g=(0,T.Z)(n,ow),y={direction:c,spacing:d,useFlexGap:v},b=(0,Yi.Z)({root:["root"]},(function(e){return(0,Oa.Z)(l,e)}),{});return(0,Bi.jsx)(s,(0,Ti.Z)({as:o,ownerState:y,ref:t,className:(0,Mi.Z)(b.root,h)},g,{children:f?sw(p,f):p}))}));return c}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return t.root}}),useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiStack"})}}),dw=uw;function fw(e){return(0,Oa.Z)("MuiFormControlLabel",e)}var pw=(0,Ea.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),hw=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],mw=(0,Oi.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(pw.label),t.label),t.root,t["labelPlacement".concat((0,vl.Z)(n.labelPlacement))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)((0,u.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(pw.disabled),{cursor:"default"}),"start"===n.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===n.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===n.labelPlacement&&{flexDirection:"column",marginLeft:16},(0,u.Z)({},"& .".concat(pw.label),(0,u.Z)({},"&.".concat(pw.disabled),{color:(t.vars||t).palette.text.disabled})))})),vw=(0,Oi.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,u.Z)({},"&.".concat(pw.error),{color:(t.vars||t).palette.error.main})})),gw=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiFormControlLabel"}),a=i.className,l=i.componentsProps,s=void 0===l?{}:l,c=i.control,u=i.disabled,d=i.disableTypography,f=i.label,p=i.labelPlacement,h=void 0===p?"end":p,m=i.required,v=i.slotProps,g=void 0===v?{}:v,y=(0,T.Z)(i,hw),b=fm(),x=null!=(r=null!=u?u:c.props.disabled)?r:null==b?void 0:b.disabled,w=null!=m?m:c.props.required,S={disabled:x,required:w};["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof c.props[e]&&"undefined"!==typeof i[e]&&(S[e]=i[e])}));var k=um({props:i,muiFormControl:b,states:["error"]}),j=(0,Ti.Z)({},i,{disabled:x,labelPlacement:h,required:w,error:k.error}),E=function(e){var t=e.classes,n=e.disabled,r=e.labelPlacement,o=e.error,i=e.required,a={root:["root",n&&"disabled","labelPlacement".concat((0,vl.Z)(r)),o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,Yi.Z)(a,fw,t)}(j),O=null!=(o=g.typography)?o:s.typography,C=f;return null==C||C.type===as||d||(C=(0,Bi.jsx)(as,(0,Ti.Z)({component:"span"},O,{className:(0,Mi.Z)(E.label,null==O?void 0:O.className),children:C}))),(0,Bi.jsxs)(mw,(0,Ti.Z)({className:(0,Mi.Z)(E.root,a),ownerState:j,ref:n},y,{children:[t.cloneElement(c,S),w?(0,Bi.jsxs)(dw,{direction:"row",alignItems:"center",children:[C,(0,Bi.jsxs)(vw,{ownerState:j,"aria-hidden":!0,className:E.asterisk,children:["\u2009","*"]})]}):C]}))})),yw=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),bw=(0,jv.Z)((0,Bi.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),xw=(0,Oi.ZP)("span")({position:"relative",display:"flex"}),ww=(0,Oi.ZP)(yw)({transform:"scale(1)"}),Sw=(0,Oi.ZP)(bw)((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})}));var kw=function(e){var t=e.checked,n=void 0!==t&&t,r=e.classes,o=void 0===r?{}:r,i=e.fontSize,a=(0,Ti.Z)({},e,{checked:n});return(0,Bi.jsxs)(xw,{className:o.root,ownerState:a,children:[(0,Bi.jsx)(ww,{fontSize:i,className:o.background,ownerState:a}),(0,Bi.jsx)(Sw,{fontSize:i,className:o.dot,ownerState:a})]})},jw=n(1260);function Ew(e){return(0,Oa.Z)("MuiRadio",e)}var Ow=(0,Ea.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Cw=["checked","checkedIcon","color","icon","name","onChange","size","className"],Pw=(0,Oi.ZP)(qg,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&(0,u.Z)({},"&.".concat(Ow.checked),{color:(t.vars||t).palette[n.color].main}),(0,u.Z)({},"&.".concat(Ow.disabled),{color:(t.vars||t).palette.action.disabled}))}));var Zw=(0,Bi.jsx)(kw,{checked:!0}),_w=(0,Bi.jsx)(kw,{}),Tw=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiRadio"}),a=i.checked,l=i.checkedIcon,s=void 0===l?Zw:l,c=i.color,u=void 0===c?"primary":c,d=i.icon,f=void 0===d?_w:d,p=i.name,h=i.onChange,m=i.size,v=void 0===m?"medium":m,g=i.className,y=(0,T.Z)(i,Cw),b=(0,Ti.Z)({},i,{color:u,size:v}),x=function(e){var t=e.classes,n=e.color,r={root:["root","color".concat((0,vl.Z)(n))]};return(0,Ti.Z)({},t,(0,Yi.Z)(r,Ew,t))}(b),w=t.useContext(Kx),S=a,k=(0,jw.Z)(h,w&&w.onChange),j=p;return w&&("undefined"===typeof S&&(S=function(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}(w.value,i.value)),"undefined"===typeof j&&(j=w.name)),(0,Bi.jsx)(Pw,(0,Ti.Z)({type:"radio",icon:t.cloneElement(f,{fontSize:null!=(r=_w.props.fontSize)?r:v}),checkedIcon:t.cloneElement(s,{fontSize:null!=(o=Zw.props.fontSize)?o:v}),ownerState:b,classes:x,name:j,checked:S,onChange:k,ref:n,className:(0,Mi.Z)(x.root,g)},y))})),Mw=Tw,Aw=function(){var e=Lo(),n=_(),r=x((function(e){return e.feedback})),o=r.allBranch,i=Hb(Fx().breakpoints.down("sm")),a=(0,t.useState)({name:"",email:"",branch:"",contact:"",question1:"",question2:"",question3:"",question4:"",question5:"",cidacPrn:"",otherbranch:"",organization:"",datetime:(new Date).toISOString().split("T")[0]}),l=(0,D.Z)(a,2),s=l[0],c=l[1],d=(0,t.useState)({nameError:!1,emailError:!1,contactError:!1,questionError:!1,questionError2:!1,pnrNoError:!1,otherBranchError:!1,questionError3:!1,questionError4:!1,questionError5:!1}),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)(!1),v=(0,D.Z)(m,2),g=v[0],y=v[1],b=(0,t.useState)(""),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=(0,t.useState)(""),E=(0,D.Z)(j,2),O=E[0],C=E[1],P=(0,t.useState)(""),Z=(0,D.Z)(P,2),T=Z[0],M=Z[1];(0,t.useEffect)((function(){ih(uh.branch).then((function(e){return n(xn.getBranch(e.data))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]),(0,t.useEffect)((function(){}),[]),(0,t.useEffect)((function(){if(o&&1===o.length){M(o[0].branchName);var e=o.find((function(e){return e.branchName===T})),t=e?e.id:"";c(te(te({},s),{},{branch_id:t}))}}),[o]),(0,t.useEffect)((function(){var e=null===o||void 0===o?void 0:o.find((function(e){return e.branchName===T}));e&&c((function(t){return te(te({},t),{},{branch_id:e.id})}))}),[T,o]);var A=function(e){var t,n,r=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,i=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;switch(r){case"name":c(te(te({},s),{},{name:i}));break;case"email":c(te(te({},s),{},{email:i}));break;case"contact":c(te(te({},s),{},{contact:i}));break;case"question1":c(te(te({},s),{},{question1:i}));break;case"question2":c(te(te({},s),{},{question2:i}));break;case"question3":c(te(te({},s),{},{question3:i}));break;case"question4":c(te(te({},s),{},{question4:i}));break;case"question5":c(te(te({},s),{},{question5:i}));break;case"cidacPrn":c(te(te({},s),{},{cidacPrn:i}));break;case"branch":if(c((function(e){return te(te({},e),{},{branch:i})})),"branch"===r&&"Branch"===i&&(c((function(e){return te(te({},e),{},{cidacPrn:null,otherbranch:"",organization:"Hematite branch"})})),h(te(te({},p),{},{otherBranchError:!1,pnrNoError:!1}))),"branch"===r){var a=o.find((function(e){return e.branchName===i}));a&&c((function(e){return te(te({},e),{},{branch_id:a.id})}))}"branch"===r&&"cdac"===i&&(c((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),h(te(te({},p),{},{otherBranchError:!1}))),"branch"===r&&"otherbranch"===i&&(c((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,cidacPrn:null,organization:"Other branch"})})),h(te(te({},p),{},{pnrNoError:!1})));break;case"role":c(te(te({},s),{},{role:i}));break;case"organization":c(te(te({},s),{},{organization:i}));break;case"otherbranch":c(te(te({},s),{},{otherbranch:i}))}},R=function(e){var t=e.target,n=t.name,r=t.value;if("name"===n){var o=!function(e){return/^[a-zA-Z ]{2,40}$/.test(e)}(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),o))}))}if("email"===n){var i=!ph(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),i))}))}if("contact"===n){var a=!fh(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),a))}))}if("question1"===n){var l=!vh(r);h((function(e){return te(te({},e),{},{questionError:l})}))}if("question2"===n){var s=!vh(r);h((function(e){return te(te({},e),{},{questionError2:s})}))}if("question3"===n){var c=!yh(r);h((function(e){return te(te({},e),{},{questionError3:c})}))}if("question4"===n){var d=!yh(r);h((function(e){return te(te({},e),{},{questionError4:d})}))}if("question5"===n){var f=!yh(r);h((function(e){return te(te({},e),{},{questionError5:f})}))}if("cidacPrn"===n){var p=!hh(r);h((function(e){return te(te({},e),{},{pnrNoError:p})}))}if("otherbranch"===n){var m=!gh(r);h((function(e){return te(te({},e),{},{otherBranchError:m})}))}},N=function(){y(!1)},I=s.name,z=s.email,L=s.contact,B=s.question1,F=s.question2,W=s.question3,U=s.question4,q=s.question5,H=s.branch,V=s.otherbranch,Y=s.cidacPrn,G=s.datetime,$=!z||!L||!B||!F||!W||!U||!q||p.contactError||p.emailError||p.nameError||p.otherBranchError||p.pnrNoError||p.questionError||p.questionError2||p.questionError3||p.questionError4||p.questionError5;return(0,Bi.jsx)(Xy,{container:!0,justifyContent:"center",alignItems:"center",style:{minHeight:"120vh",fontSize:"45px"},children:(0,Bi.jsx)(Xy,{item:!0,xs:12,sm:10,md:8,lg:6,children:(0,Bi.jsxs)(ml,{elevation:3,style:{padding:20,fontSize:"45px"},children:[(0,Bi.jsx)(as,{variant:"h5",gutterBottom:!0,align:"center",sx:{fontSize:i?"20px":"25px",color:"primary.main"},children:"Feedback Form"}),(0,Bi.jsxs)("form",{onSubmit:function(t){return t.preventDefault(),p.nameError||p.emailError||p.contactError||p.questionError||p.questionError2||p.answerError||p.otherBranchError||p.pnrNoError||p.questionError3||p.questionError4||p.questionError5?(y(!0),C("error"),void k("Please fix the validation errors before submitting.")):"otherbranch"==H&&""==V?(y(!0),C("error"),void k("Please enter other branch.")):"cdac"!=H||""!=Y&&null!=Y?(ah(uh.feedback,s).then((function(t){201!==(null===t||void 0===t?void 0:t.status)&&200!==(null===t||void 0===t?void 0:t.status)||(y(!0),C("success"),k("Thank you! Your feedback has been submitted."),n(xn.postFeedback(t.data)),setTimeout((function(){e("/")}),2e3))})).catch((function(e){y(!0),C("error"),k(null===e||void 0===e?void 0:e.message)})),void c({name:"",email:"",branch:"",contact:"",question1:"",question2:"",question3:"",question4:"",question5:"",cidacPrn:"",otherbranch:"",organization:"",datetime:(new Date).toISOString().split("T")[0],branch_id:""})):(y(!0),C("error"),void k("Please enter PNR No."))},children:[(0,Bi.jsxs)(Xy,{container:!0,spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Full name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"name",value:I,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:40},error:p.nameError,helperText:p.nameError&&xh("Enter Valid Fullname")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Email",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"email",value:z,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",inputProps:{maxLength:30},size:"small",error:p.emailError,helperText:p.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Contact",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"contact",value:L,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:10},sx:{mb:1},error:p.contactError,helperText:p.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)(as,{style:{fontSize:"18px"},textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["Select Organization",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{row:!0,"aria-label":"organization",name:"branch",value:H||" ",onChange:function(e){return A(e)},children:[(0,Bi.jsx)(gw,{value:"Branch",control:(0,Bi.jsx)(Mw,{}),label:"Hematite Branch"}),(0,Bi.jsx)(gw,{value:"cdac",control:(0,Bi.jsx)(Mw,{}),label:"CDAC"}),(0,Bi.jsx)(gw,{value:"otherbranch",control:(0,Bi.jsx)(Mw,{}),label:"Other Branch"})]}),"Branch"===s.branch&&(o&&o.length>1?(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",children:"Select Branch "}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"selectedBranch",value:T,onChange:function(e){return A(e)},onBlur:R,"aria-label":"Choose branch",autoWidth:!0,label:"Select Branch",size:i?"small":"medium",color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose branch",children:"Select Branch"}),o&&o.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.branchName)},e.id)}))]})]}):(o&&1===o.length&&T!==o[0].id&&A({target:{name:"selectedBranch",value:o[0].id}}),null)),"cdac"===s.branch&&(0,Bi.jsx)(Ry,{variant:"outlined",label:"PRN No",name:"cidacPrn",value:Y,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:20},fullWvariant:"outlined",size:"small",error:p.pnrNoError,helperText:p.pnrNoError&&xh("Enter Valid PRN No")}),"otherbranch"===s.branch&&(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Other Branch",name:"otherbranch",value:V,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:30},variant:"outlined",size:"small",error:p.otherBranchError,helperText:p.otherBranchError&&xh("Enter Valid Other Branch")})]})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["How satisfied are you with our services?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Rate Us between 1 to 5",name:"question1",value:B,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:1},required:!0,error:p.questionError,helperText:p.questionError&&xh("Enter Valid Answer")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["How likely are you to recommend us to others?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Rate Us between 1 to 5",name:"question2",value:F,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:1},variant:"outlined",size:"small",required:!0,error:p.questionError2,helperText:p.questionError2&&xh("Enter Valid Answer")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["What do you like most about our services?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question3",value:W,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:500},variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError3,helperText:p.questionError3&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["What areas do you think we can improve?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question4",value:U,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError4,helperText:p.questionError4&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["Any additional comments or suggestions?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question5",value:q,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError5,helperText:p.questionError5&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Date and Time",name:"datetime",value:G,onChange:function(e){return A(e)},variant:"outlined",size:"small",disabled:!0})})]}),(0,Bi.jsxs)("div",{style:{display:"flex"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",type:"submit",disabled:$,size:"small",children:"Submit"}),(0,Bi.jsx)(mf,{onClick:function(){e("/")},variant:"contained",color:"primary",size:"small",sx:{marginLeft:"12px"},children:"Back"})]}),(0,Bi.jsx)(db,{open:g,autoHideDuration:6e3,onClose:N,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:N,severity:O,children:S})})]})]})})})},Rw=n(3746),Nw=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(""),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(""),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(),F=(0,D.Z)(B,2),W=F[0],U=F[1],q=(0,t.useState)(""),H=(0,D.Z)(q,2),V=H[0],Y=H[1],G=(0,t.useState)(""),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=(0,t.useState)(0),J=(0,D.Z)(Q,2),ee=J[0],ne=J[1],re=(0,t.useState)(5),oe=(0,D.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,t.useState)(""),se=(0,D.Z)(le,2),ce=se[0],ue=se[1],de=(0,t.useState)(!1),fe=(0,D.Z)(de,2),pe=fe[0],he=fe[1],me=(0,t.useState)(null),ve=(0,D.Z)(me,2),ge=ve[0],ye=ve[1],be=(0,t.useState)(!1),xe=(0,D.Z)(be,2),we=xe[0],Se=xe[1],ke=(0,t.useState)(""),je=(0,D.Z)(ke,2),Ee=je[0],Oe=je[1],Ce=(0,t.useState)("success"),Pe=(0,D.Z)(Ce,2),Ze=Pe[0],_e=Pe[1],Te=(0,t.useState)(""),Me=(0,D.Z)(Te,2),Ae=Me[0],Re=Me[1],Ne=(0,t.useState)(!1),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=Ie[1],Le=_(),Be=x((function(e){return e.user})),Fe=Be.allUser,We=x((function(e){return e.user})),Ue=We.SingleUser,qe=Hb(Fx().breakpoints.down("sm")),He=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,passwordError:!1}),Ve=(0,D.Z)(He,2),Ye=Ve[0],Ge=Ve[1],$e=(0,t.useState)(!1),Ke=(0,D.Z)($e,2),Xe=Ke[0],Qe=Ke[1];(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();Le(hn.getUser(t)),console.log(t)})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){if(Ue){var e=Ue.id,t=Ue.fname,n=Ue.lname,r=Ue.role,i=Ue.contact,a=Ue.gender,l=Ue.email,c=Ue.prnNo,u=Ue.otherbranch,d=Ue.branch,p=Ue.organization;if(o(e),s(t),f(n),v(r),w(i),E(a),Z(l),Y(c),L(u),X(p),d){R(d);var h=d.id;console.log("Branch ID:",h),U(Number(h));var m=d.branchName;console.log("Branch Name:",m);var g=d.branchStatus;console.log("Branch Status:",g)}}}),[Ue]);var Je=function(){ze(!1),Re("")},et=function(e){he(!0),ye(e)},tt=function(){he(!1),ye(null)},nt=function(){Se(!1),Oe("")},rt=function(e){if(e.preventDefault(),Ye.fnameError||Ye.lnameError||Ye.emailError||Ye.contactError||Ye.passwordError)return Se(!0),Oe("please fix validation error before submitting"),void _e("error");var t={email:P,fname:l,lname:d,branch:A,role:m,gender:j,contact:b,prnNo:V,otherbranch:z,branch_id:W,organization:K};console.log(t),console.log("uobj",t),t.id=r,lh("".concat(uh.user).concat(r,"/"),t).then((function(e){200!==e.status&&201!==e.status||(Se(!0),Oe("User updated successfully"),_e("success"),Le(hn.updateUser(e.data)))})).catch((function(e){Se(!0),Oe(e.message),_e("error")})),it(),ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();Le(hn.getUser(t)),console.log("inside the user action",t)})).catch((function(e){return console.log("user error: ",e)}))},ot=function(){o(null),s(""),f(""),v(""),w(""),E(""),Z("")},it=function(){Qe(!1)},at=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r),Ge(te(te({},Ye),{},{fnameError:!dh(r)}));break;case"lname":f(r),Ge(te(te({},Ye),{},{lnameError:!dh(r)}));break;case"contact":w(r),Ge(te(te({},Ye),{},{contactError:!fh(r)}));break;case"email":Z(r),Ge(te(te({},Ye),{},{emailError:!ph(r)}));break;case"gender":E(r)}},lt=Fe.filter((function(e){return"student"===(null===e||void 0===e?void 0:e.role)||"intern"===(null===e||void 0===e?void 0:e.role)})).filter((function(e){var t=ce.toLowerCase(),n=e.fname&&e.fname.toLowerCase().includes(t),r=e.lname&&e.lname.toLowerCase().includes(t),o=e.email&&e.email.toLowerCase().includes(t),i=e.contact&&e.contact.toLowerCase().includes(t),a=e.gender&&e.gender.toLowerCase().includes(t);return n||r||o||a||i})),st=!l||!d||!P||!b||!m||!j||Ye.fnameError||Ye.lnameError||Ye.emailError||Ye.contactError,ct=Ye.fnameError,ut=Ye.lnameError,dt=Ye.contactError,ft=Ye.emailError;return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Students"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:ce,onChange:function(e){ue(e.target.value),ne(0)},placeholder:"Search Student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Email"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Contact"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Organization"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===lt.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colspan:6,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):lt&<.length>0&<.slice(ee*ie,ee*ie+ie).map((function(e,t){var n=ee*ie+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:n}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.email}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.contact}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.organization}),(0,Bi.jsxs)(Vh,{align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"edit",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==e?(Le(hn.GetSingleUser(e)),Qe(!0)):(Qe(!0),ot())}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,ze(!0),void Re(t);var t},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"delete",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){et(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],coldiv:6,count:lt.length,rowsPerPage:ie,page:ee,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){ne(t)},onRowsPerPageChange:function(e){ae(parseInt(e.target.value,10)),ne(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:pe,onClose:tt,show:!0,onConfirm:function(){tt(),function(){var e=ge;sh("".concat(uh.user).concat(e)).then((function(t){200!==t.status&&201!==t.status||(Se(!0),Oe("User deleted successfully"),_e("success"),Le(hn.deleteUser(e)))})).catch((function(e){Se(!0),Oe(e.message),_e("error")})),tt()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:we,autoHideDuration:3e3,onClose:nt,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:nt,severity:Ze,sx:{width:"100%"},children:Ee})}),(0,Bi.jsx)(gf,{open:Xe,onClose:it,show:!0,onConfirm:function(e){it(),rt(e)},title:"Edit Student Details",content:(0,Bi.jsx)("form",{onSubmit:rt,style:{marginTop:"10px"},children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"First Name",variant:"outlined",fullWidth:!0,name:"fname",type:"text",value:l,onChange:at,error:ct,helperText:ct&&xh("Invalid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Last Name",variant:"outlined",type:"text",fullWidth:!0,name:"lname",value:d,onChange:at,error:ut,helperText:ut&&xh("Invalid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Email",variant:"outlined",fullWidth:!0,type:"email",name:"email",value:P,onChange:at,error:ft,helperText:ft&&xh("Invalid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Contact",variant:"outlined",fullWidth:!0,type:"tel",name:"contact",value:b,onChange:at,error:dt,helperText:dt&&xh("Invalid contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Role",variant:"outlined",fullWidth:!0,name:"role",value:yf(m),onChange:at})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{component:"fieldset",children:[(0,Bi.jsx)(py,{component:"legend",required:!0,children:"Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:j,onChange:at,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",checked:"male"===j,control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",checked:"female"===j,control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",checked:"other"===j,control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]})})]})}),disable:st,submitLabel:"Update"}),(0,Bi.jsx)(gf,{open:De,onClose:Je,onConfirm:function(e){Je()},show:!1,title:"Student Details",content:Ae&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:[(0,Bi.jsxs)("div",{children:[" Full Name: ",yf(Ae.fname)," ",yf(Ae.lname)]}),(0,Bi.jsxs)("div",{children:[" Gender: ",yf(Ae.gender)," "]}),(0,Bi.jsxs)("div",{children:[" Role: ",yf(Ae.role)," "]})]}),"Hematite branch"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Branch:"}),yf(Ae.branch?Ae.branch.branchName:"N/A")," ",(0,Bi.jsx)("br",{})]}):"Cdac"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" PRN No:"}),Ae.prnNo?Ae.prnNo:"N/A"," ",(0,Bi.jsx)("br",{})]}):"Other branch"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Other Branch:"}),yf(Ae.otherbranch?Ae.otherbranch:"N/A")," ",(0,Bi.jsx)("br",{})]}):null]})})})]})})},Iw=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(""),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(""),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(0),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(5),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)(!1),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)(""),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=(0,t.useState)(!0),ie=(0,D.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,t.useState)(!1),ce=(0,D.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,t.useState)(null),pe=(0,D.Z)(fe,2),he=pe[0],me=pe[1],ve=(0,t.useState)(!1),ge=(0,D.Z)(ve,2),ye=ge[0],be=ge[1],xe=(0,t.useState)(!1),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1],je=(0,t.useState)(""),Ee=(0,D.Z)(je,2),Oe=Ee[0],Ce=Ee[1],Pe=(0,t.useState)(""),Ze=(0,D.Z)(Pe,2),_e=Ze[0],Te=Ze[1],Me=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1}),Ae=(0,D.Z)(Me,2),Re=Ae[0],Ne=Ae[1],Ie=(0,t.useState)("success"),De=(0,D.Z)(Ie,2),ze=De[0],Le=De[1],Be=_(),Fe=x((function(e){return e.employee})),We=Fe.allEmployee,Ue=x((function(e){return e.employee})).emp,qe=x((function(e){return e.user})),He=qe.allUser,Ve=(0,t.useState)(!0),Ye=(0,D.Z)(Ve,2),Ge=Ye[0],$e=(Ye[1],Hb(Fx().breakpoints.down("sm")));(0,t.useEffect)((function(){ih("".concat(uh.employee)).then((function(e){var t=e.data.reverse();Be(gn.getEmployee(t))})).catch((function(e){return console.log("staff error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();Be(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){if(Ue){var e=Ue.id,t=Ue.fname,n=Ue.lname,r=Ue.role,i=Ue.dob,a=Ue.employeeId,l=Ue.contact,c=Ue.gender,u=Ue.email;o(e),s(t),f(n),v(r),w(i),E(a),Z(l),R(c),L(u)}}),[Ue]);var Ke=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r);break;case"lname":f(r);break;case"role":v(r);break;case"dob":w(r);break;case"employeeId":E(r);break;case"contact":Z(r);break;case"gender":R(r);break;case"email":L(r)}},Xe=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":var o=!dh(r);Ne((function(e){return te(te({},e),{},{fnameError:o})}));break;case"lname":var i=!dh(r);Ne((function(e){return te(te({},e),{},{lnameError:i})}));break;case"contact":var a=!fh(r);Ne((function(e){return te(te({},e),{},{contactError:a})}));break;case"email":var l=!ph(r);Ne((function(e){return te(te({},e),{},{emailError:l})}));break;case"employeeId":var s=!bh(r);Ne((function(e){return te(te({},e),{},{employeeIdError:s})})),"employeeId"===n&&(Number.isInteger(Number(r))?Ne((function(e){return te(te({},e),{},{employeeIdError:!1})})):Ne((function(e){return te(te({},e),{},{employeeIdError:!0})})))}},Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=We.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.fname,i=t.lname,a=t.role,l=t.dob,c=t.employeeId,u=t.contact,d=t.gender,p=t.email;o(n),s(r),f(i),v(a),w(l),E(c),Z(u),R(d),L(p),Q(!0),le(!1)}}else Q(!0),le(!0),rt(),ot()},Je=function(){Q(!1),rt(),ot()},et=function(){ke(!1),Ce("")},tt=function(e){de(!0),me(e)},nt=function(){de(!1),me(null)},rt=function(){o(null),s(""),f(""),v(""),Z(""),R(""),L(""),w(""),E("")},ot=function(){Ne((function(e){return te(te({},e),{},{fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1})}))},it=function(e){if(e.preventDefault(),Re.fnameError||Re.lnameError||Re.emailError||Re.contactError)return be(!0),Te("please fix validiation error before submiting"),void Le("error");if(We.some((function(e){return e.employeeId==j&&e.id!==r})))return be(!0),Te("EmployeeId already exists. Please enter a unique EmployeeId."),void Le("error");var t={email:z.toLowerCase(),fname:l.toLowerCase(),lname:d.toLowerCase(),role:m,dob:b,employeeId:j,gender:A,contact:P};ae?ah(uh.employee,t).then((function(e){if(200===e.status||201===e.status){be(!0),Te("Employee Added!."),Le("success"),Be(gn.addEmployee(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(We));Be(gn.getEmployee(n))}})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")})):(t.id=r,lh("".concat(uh.employee).concat(t.id,"/"),t).then((function(e){200!==e.status&&201!==e.status||(be(!0),Te("Employee Updated!."),Le("success"),Be(gn.updateEmployee(e.data)))})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")}))),Je(),Q(!1)},at=function(){be(!1),Te("")},lt=We&&We.filter((function(e){var t,n=ne.toLowerCase(),r=e.fname&&e.fname.toLowerCase().includes(n),o=e.lname&&e.lname.toLowerCase().includes(n),i=e.email&&e.email.toLowerCase().includes(n),a=e.role&&e.role.toLowerCase().includes(n),l=e.contact&&e.contact.toLowerCase().includes(n),s=e.employeeId&&(null===e||void 0===e||null===(t=e.employeeId)||void 0===t?void 0:t.toString().includes(n)),c=e.dob&&e.dob.includes(n),u=e.gender&&e.gender.toLowerCase().includes(n);return r||o||i||a||c||u||l||s})),st=!l||!d||!z||!b||!P||!m||!A||!j||Re.fnameError||Re.lnameError||Re.emailError||Re.contactError||Re.passwordError||Re.employeeIdError;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Employee"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:ne,onChange:function(e){re(e.target.value),q(0)},placeholder:"Search Employee",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"small",type:"button",sx:{marginBottom:2},startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return Qe()},children:"Add"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Email"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Employee Id"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===lt.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):lt&<.length>0&<.slice(U*Y,U*Y+Y).map((function(e,t){var n=U*Y+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},component:"th",align:"left",scope:"row",children:n}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:e.email}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:e.employeeId}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return Qe(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,ke(!0),void Ce(t);var t},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){tt(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:lt.length,rowsPerPage:Y,page:U,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){q(t)},onRowsPerPageChange:function(e){G(parseInt(e.target.value,10)),q(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:X,onClose:Je,show:Ge,onConfirm:function(e){Je(),it(e)},title:ae?"Add Employee":"Update Employee",content:(0,Bi.jsx)("form",{onSubmit:it,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["First Name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,name:"fname",size:"small",type:"text",value:l,inputProps:{maxLength:20},onChange:Ke,onBlur:Xe,error:Re.fnameError,helperText:Re.fnameError&&xh("Enter Valid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Last Name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",type:"text",fullWidth:!0,name:"lname",size:"small",inputProps:{maxLength:20},value:d,onChange:Ke,onBlur:Xe,error:Re.lnameError,helperText:Re.lnameError&&xh("Enter Valid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Email",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,type:"email",name:"email",size:"small",value:z,inputProps:{maxLength:40},onChange:Ke,onBlur:Xe,error:Re.emailError,helperText:Re.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Contact",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,type:"tel",name:"contact",value:P,size:"small",inputProps:{maxLength:10},onChange:Ke,onBlur:Xe,error:Re.contactError,helperText:Re.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Ry,{select:!0,margin:"normal",fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Role",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"role",size:"small",id:"role",value:m,onChange:Ke,onBlur:Xe,children:[(0,Bi.jsx)(Zm,{value:"admin",children:"Admin"}),(0,Bi.jsx)(Zm,{value:"trainer",children:"Trainer"}),(0,Bi.jsx)(Zm,{value:"counsellor",children:"Counsellor"})]})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(gy,{sx:{ml:1},children:["DOB",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,name:"dob",type:"date",size:"small",value:b,onChange:Ke})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Employee Id",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,name:"employeeId",value:j,inputProps:{maxLength:3},onChange:Ke,onBlur:Xe,helperText:Re.employeeIdError&&xh("Enter Valid Employee Id"),error:Re.employeeIdError})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{component:"fieldset",children:[(0,Bi.jsx)(py,{component:"legend",required:!0,children:"Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:A,onChange:Ke,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",checked:"male"===A,control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",checked:"female"===A,control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",checked:"other"===A,control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]})})]})}),disable:st,submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ue,onClose:nt,show:!0,onConfirm:function(){nt(),function(){var e=he,t=null===We||void 0===We?void 0:We.find((function(t){return t.id===e}));if(t){var n=t.email,r=null===He||void 0===He?void 0:He.find((function(e){return e.email===n}));sh("".concat(uh.employee).concat(e)).then((function(t){200!==t.status&&201!==t.status||(nt(),be(!0),Te("Employee Deleted!"),Le("success"),Be(gn.deleteEmployee(e)))})).catch((function(e){return console.log("Employee deletion error: ",e)})),r&&sh("".concat(uh.user).concat(r.id)).then((function(e){200!==e.status&&201!==e.status||Be(hn.deleteUser(r.id))})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")}))}}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(gf,{open:Se,onClose:et,onConfirm:function(e){et()},show:!1,title:"User Details",content:Oe&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:(0,Bi.jsxs)("div",{children:[" Full Name: ",yf(Oe.fname)," ",yf(Oe.lname)]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Gender: ",yf(Oe.gender)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Role: ",yf(Oe.role)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Contact: ",yf(Oe.contact)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Dob:",qx(Oe.dob)]})})]})})}),(0,Bi.jsx)(db,{open:ye,autoHideDuration:3e3,onClose:at,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:at,severity:ze,sx:{width:"100%"},children:_e})})]})})},Dw=n(1025),zw=n.n(Dw),Lw=n(1314);function Bw(e){return(0,Oa.Z)("MuiCollapse",e)}(0,Ea.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var Fw=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Ww=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,Ti.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"})})),Uw=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),qw=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(e,t){return t.wrapperInner}})((function(e){var t=e.ownerState;return(0,Ti.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),Hw=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiCollapse"}),o=r.addEndListener,i=r.children,a=r.className,l=r.collapsedSize,s=void 0===l?"0px":l,c=r.component,d=r.easing,f=r.in,p=r.onEnter,h=r.onEntered,m=r.onEntering,v=r.onExit,g=r.onExited,y=r.onExiting,b=r.orientation,x=void 0===b?"vertical":b,w=r.style,S=r.timeout,k=void 0===S?Lw.x9.standard:S,j=r.TransitionComponent,E=void 0===j?Fa:j,O=(0,T.Z)(r,Fw),C=(0,Ti.Z)({},r,{orientation:x,collapsedSize:s}),P=function(e){var t=e.orientation,n=e.classes,r={root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]};return(0,Yi.Z)(r,Bw,n)}(C),Z=_i(),_=t.useRef(),M=t.useRef(null),A=t.useRef(),R="number"===typeof s?"".concat(s,"px"):s,N="horizontal"===x,I=N?"width":"height";t.useEffect((function(){return function(){clearTimeout(_.current)}}),[]);var D=t.useRef(null),z=(0,qa.Z)(n,D),L=function(e){return function(t){if(e){var n=D.current;void 0===t?e(n):e(n,t)}}},B=function(){return M.current?M.current[N?"clientWidth":"clientHeight"]:0},F=L((function(e,t){M.current&&N&&(M.current.style.position="absolute"),e.style[I]=R,p&&p(e,t)})),W=L((function(e,t){var n=B();M.current&&N&&(M.current.style.position="");var r=Ua({style:w,timeout:k,easing:d},{mode:"enter"}),o=r.duration,i=r.easing;if("auto"===k){var a=Z.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(a,"ms"),A.current=a}else e.style.transitionDuration="string"===typeof o?o:"".concat(o,"ms");e.style[I]="".concat(n,"px"),e.style.transitionTimingFunction=i,m&&m(e,t)})),U=L((function(e,t){e.style[I]="auto",h&&h(e,t)})),q=L((function(e){e.style[I]="".concat(B(),"px"),v&&v(e)})),H=L(g),V=L((function(e){var t=B(),n=Ua({style:w,timeout:k,easing:d},{mode:"exit"}),r=n.duration,o=n.easing;if("auto"===k){var i=Z.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(i,"ms"),A.current=i}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style[I]=R,e.style.transitionTimingFunction=o,y&&y(e)}));return(0,Bi.jsx)(E,(0,Ti.Z)({in:f,onEnter:F,onEntered:U,onEntering:W,onExit:q,onExited:H,onExiting:V,addEndListener:function(e){"auto"===k&&(_.current=setTimeout(e,A.current||0)),o&&o(D.current,e)},nodeRef:D,timeout:"auto"===k?null:k},O,{children:function(e,t){return(0,Bi.jsx)(Ww,(0,Ti.Z)({as:c,className:(0,Mi.Z)(P.root,a,{entered:P.entered,exited:!f&&"0px"===R&&P.hidden}[e]),style:(0,Ti.Z)((0,u.Z)({},N?"minWidth":"minHeight",R),w),ownerState:(0,Ti.Z)({},C,{state:e}),ref:z},t,{children:(0,Bi.jsx)(Uw,{ownerState:(0,Ti.Z)({},C,{state:e}),className:P.wrapper,ref:M,children:(0,Bi.jsx)(qw,{ownerState:(0,Ti.Z)({},C,{state:e}),className:P.wrapperInner,children:i})})}))}}))}));Hw.muiSupportAuto=!0;var Vw=Hw;var Yw=t.createContext({});function Gw(e){return(0,Oa.Z)("MuiAccordion",e)}var $w=(0,Ea.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Kw=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Xw=(0,Oi.ZP)(ml,{name:"MuiAccordion",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat($w.region),t.region),t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r={duration:n.transitions.duration.shortest};return t={position:"relative",transition:n.transitions.create(["margin"],r),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(n.vars||n).palette.divider,transition:n.transitions.create(["opacity","background-color"],r)},"&:first-of-type":{"&:before":{display:"none"}}},(0,u.Z)(t,"&.".concat($w.expanded),{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),(0,u.Z)(t,"&.".concat($w.disabled),{backgroundColor:(n.vars||n).palette.action.disabledBackground}),t}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&(0,u.Z)({},"&.".concat($w.expanded),{margin:"16px 0"}))})),Qw=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAccordion"}),o=r.children,i=r.className,a=r.defaultExpanded,l=void 0!==a&&a,s=r.disabled,c=void 0!==s&&s,u=r.disableGutters,d=void 0!==u&&u,f=r.expanded,p=r.onChange,h=r.square,m=void 0!==h&&h,v=r.TransitionComponent,g=void 0===v?Vw:v,y=r.TransitionProps,b=(0,T.Z)(r,Kw),x=(0,md.Z)({controlled:f,default:l,name:"Accordion",state:"expanded"}),w=(0,D.Z)(x,2),S=w[0],k=w[1],j=t.useCallback((function(e){k(!S),p&&p(e,!S)}),[S,p,k]),E=qn(t.Children.toArray(o)),O=E[0],C=E.slice(1),P=t.useMemo((function(){return{expanded:S,disabled:c,disableGutters:d,toggle:j}}),[S,c,d,j]),Z=(0,Ti.Z)({},r,{square:m,disabled:c,disableGutters:d,expanded:S}),_=function(e){var t=e.classes,n={root:["root",!e.square&&"rounded",e.expanded&&"expanded",e.disabled&&"disabled",!e.disableGutters&&"gutters"],region:["region"]};return(0,Yi.Z)(n,Gw,t)}(Z);return(0,Bi.jsxs)(Xw,(0,Ti.Z)({className:(0,Mi.Z)(_.root,i),ref:n,ownerState:Z,square:m},b,{children:[(0,Bi.jsx)(Yw.Provider,{value:P,children:O}),(0,Bi.jsx)(g,(0,Ti.Z)({in:S,timeout:"auto"},y,{children:(0,Bi.jsx)("div",{"aria-labelledby":O.props.id,id:O.props["aria-controls"],role:"region",className:_.region,children:C})}))]}))})),Jw=Qw;function eS(e){return(0,Oa.Z)("MuiAccordionSummary",e)}var tS=(0,Ea.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),nS=["children","className","expandIcon","focusVisibleClassName","onClick"],rS=(0,Oi.ZP)(Ys,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState,o={duration:n.transitions.duration.shortest};return(0,Ti.Z)((t={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],o)},(0,u.Z)(t,"&.".concat(tS.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(tS.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,u.Z)(t,"&:hover:not(.".concat(tS.disabled,")"),{cursor:"pointer"}),t),!r.disableGutters&&(0,u.Z)({},"&.".concat(tS.expanded),{minHeight:64}))})),oS=(0,Oi.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&(0,u.Z)({transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest})},"&.".concat(tS.expanded),{margin:"20px 0"}))})),iS=(0,Oi.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(e,t){return t.expandIconWrapper}})((function(e){var t=e.theme;return(0,u.Z)({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest})},"&.".concat(tS.expanded),{transform:"rotate(180deg)"})})),aS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAccordionSummary"}),o=r.children,i=r.className,a=r.expandIcon,l=r.focusVisibleClassName,s=r.onClick,c=(0,T.Z)(r,nS),u=t.useContext(Yw),d=u.disabled,f=void 0!==d&&d,p=u.disableGutters,h=u.expanded,m=u.toggle,v=(0,Ti.Z)({},r,{expanded:h,disabled:f,disableGutters:p}),g=function(e){var t=e.classes,n=e.expanded,r=e.disabled,o=e.disableGutters,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,Yi.Z)(i,eS,t)}(v);return(0,Bi.jsxs)(rS,(0,Ti.Z)({focusRipple:!1,disableRipple:!0,disabled:f,component:"div","aria-expanded":h,className:(0,Mi.Z)(g.root,i),focusVisibleClassName:(0,Mi.Z)(g.focusVisible,l),onClick:function(e){m&&m(e),s&&s(e)},ref:n,ownerState:v},c,{children:[(0,Bi.jsx)(oS,{className:g.content,ownerState:v,children:o}),a&&(0,Bi.jsx)(iS,{className:g.expandIconWrapper,ownerState:v,children:a})]}))}));function lS(e){return(0,Oa.Z)("MuiAccordionDetails",e)}(0,Ea.Z)("MuiAccordionDetails",["root"]);var sS=["className"],cS=(0,Oi.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{padding:e.theme.spacing(1,2,2)}})),uS=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiAccordionDetails"}),r=n.className,o=(0,T.Z)(n,sS),i=n,a=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},lS,t)}(i);return(0,Bi.jsx)(cS,(0,Ti.Z)({className:(0,Mi.Z)(a.root,r),ref:t,ownerState:i},o))})),dS=(0,jv.Z)([(0,Bi.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,Bi.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"},"1")],"PhotoCamera"),fS=n(1131);function pS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11 16h2V7h3l-4-5-4 5h3z"}},{tag:"path",attr:{d:"M5 22h14c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-4v2h4v9H5v-9h4V9H5c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2z"}}]})(e)}function hS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m12 18 4-5h-3V2h-2v11H8z"}},{tag:"path",attr:{d:"M19 9h-4v2h4v9H5v-9h4V9H5c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2z"}}]})(e)}function mS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18 22a2 2 0 0 0 2-2v-5l-5 4v-3H8v-2h7v-3l5 4V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12zM13 4l5 5h-5V4z"}}]})(e)}function vS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.579 2 2 6.579 2 12s4.579 10 10 10 10-4.579 10-10S17.421 2 12 2zm0 5c1.727 0 3 1.272 3 3s-1.273 3-3 3c-1.726 0-3-1.272-3-3s1.274-3 3-3zm-5.106 9.772c.897-1.32 2.393-2.2 4.106-2.2h2c1.714 0 3.209.88 4.106 2.2C15.828 18.14 14.015 19 12 19s-3.828-.86-5.106-2.228z"}}]})(e)}var gS=function(){var e=(0,t.useState)({open:!1,selectedExam:null,question:"",option1:"",option2:"",option3:"",option4:"",answer:"",questionImage:null,marks:null,editingQuestion:null,level:""}),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=r.open,a=r.selectedExam,l=r.question,s=r.option1,c=r.option2,d=r.option3,f=r.option4,p=r.answer,h=r.marks,m=r.questionImage,v=r.editingQuestion,g=r.level,y=(0,t.useState)(0),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(!0),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(!0),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(!1),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=(0,t.useState)(""),z=(0,D.Z)(I,2),L=z[0],B=z[1],W=(0,t.useState)(5),U=(0,D.Z)(W,2),q=U[0],H=U[1],V=x((function(e){return e.question})),Y=V.allquestions,G=x((function(e){return e.exam})),$=G.allExam,K=(0,t.useState)(null),X=(0,D.Z)(K,2),Q=X[0],J=X[1],ee=(0,t.useState)(!1),ne=(0,D.Z)(ee,2),re=ne[0],oe=ne[1],ie=(0,t.useState)(""),ae=(0,D.Z)(ie,2),le=ae[0],se=ae[1],ce=(0,t.useState)([]),ue=(0,D.Z)(ce,2),de=ue[0],fe=ue[1],pe=(0,t.useState)(""),he=(0,D.Z)(pe,2),me=he[0],ve=he[1],ge=Hb(Fx().breakpoints.down("sm")),ye=_(),be=t.forwardRef((function(e,t){return(0,Bi.jsx)(Ab,te({elevation:6,ref:t,variant:"filled"},e))})),xe=(0,t.useState)({marksError:!1}),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1];(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();ye(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.question).then((function(e){ye(kn.getQuestion(e.data))})).catch((function(e){return console.log("Exam error: ",e)}))}),[a,r,re]),(0,t.useEffect)((function(){if(Y&&Y.length>=0&&null!==a){var e=Y.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id)===a})),t=e.map((function(e){return{question:e.question,option1:e.option1,option2:e.option2,option3:e.option3,option4:e.option4,answer:e.answer,marks:e.marks,level:e.level,exam_id:a}})),n=$.find((function(e){return e.id===a}));ve(null!==n?null===n||void 0===n?void 0:n.examName:"");var r=[["question","option1","option2","option3","option4","answer","marks","level","exam_id"]].concat((0,F.Z)(t));fe(r)}}),[Y,a,$]);var je=function(e,t){if("questionImage"===e&&t instanceof File){if(t.size>5242880)return B("File size should be less than 5MB."),N(!0),void O(!1);O(!0)}"marks"===e&&(Number.isInteger(Number(t))||(B("Only numeric value accepted ."),N(!0),T(!1))),o((function(n){return te(te({},n),{},(0,u.Z)({},e,t))}))},Ee=function(){N(!1)},Oe=function(e){if(e.preventDefault(),E&&Z){if(""==l||""==s||""==c)return B("Please provide a question, answer, and at least two options."),N(!0),void O(!1);var t=new FormData;t.append("question",l),t.append("option1",s),t.append("option2",c),t.append("option3",d),t.append("option4",f),t.append("answer",p),t.append("marks",h),t.append("level",g),t.append("exam_id",a),m&&t.append("questionImage",m),ah(uh.question,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("Question added !"),ye(kn.addQuestion(e.data))),o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null})),Ce()})).catch((function(e){N(!0),B(null===e||void 0===e?void 0:e.message)}))}},Ce=function(){o((function(e){return te(te({},e),{},{open:!1})}))},Pe=function(){oe(!1)},Ze=!l||!s||!c||!p||!h||!E||!g,_e=Y&&Y.length>0&&Y.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id)===a}));return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(db,{open:R,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:3e3,onClose:Ee,children:(0,Bi.jsx)(be,{onClose:Ee,severity:"error",children:L})}),(0,Bi.jsx)(db,{open:re,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:3e3,onClose:Pe,children:(0,Bi.jsx)(be,{onClose:Pe,severity:"success",children:le})}),(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Question"}),a&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)("label",{htmlFor:"file-upload",className:"custom-file-upload",style:{fontSize:ge?"13px":"15px"},children:[(0,Bi.jsx)("input",{id:"file-upload",size:ge?"small":"medium",type:"file",accept:".csv",onChange:function(e){return J(e.target.files[0])}}),Q?Q.name:ge?"Select file":"Click here to select a file"]}),(0,Bi.jsx)(mf,{sx:{fontSize:ge?"10px":"14px",color:"black",marginLeft:"8px"},variant:"contained",color:"inherit",component:"label",startIcon:(0,Bi.jsx)(hS,{}),onClick:function(){if(!Q)return N(!0),void B("Please select a file to upload.");var e=new FormData;e.append("file",Q),zw().parse(Q,{complete:function(t){if(t.errors&&t.errors.length>0)return N(!0),void B("There was an error with the file format.");t.data&&t.data.length>0?ah(uh.upload_csv,e).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("File uploaded successfully!"),ye(kn.addCsvFile(e.data)))})).catch((function(e){var t,n;console.error(e),N(!0),B((null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||"An error occurred during file upload.")})):(N(!0),B("No valid data found in the file."))},error:function(e){console.error(e),N(!0),B("Error parsing the CSV file.")}})},children:"Import Csv"})]})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsx)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(zg,{children:(0,Bi.jsxs)(Vh,{colSpan:9,sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[a&&(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null,open:!0,editingQuestion:null}))},children:"Add"}),_e.length>0?(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",sx:{left:"7%"},startIcon:(0,Bi.jsx)(pS,{}),onClick:function(){var e="data:text/csv;charset=utf-8,"+encodeURIComponent(de.map((function(e){return Object.values(e).join(",")})).join("\n")),t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download","".concat(me,"_Questions.csv")),document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:"Export CSV"}):null]}),!a&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",startIcon:(0,Bi.jsx)(mS,{}),onClick:function(){var e="data:text/csv;charset=utf-8,".concat(["question","option1","option2","option3","option4","answer","marks","level","exam_id"].join(","),"\n").concat(["HTML stands for?","HyperText Machine Language","HyperText Markup Language","HyperText Marking Language","HighText Marking Language","option2","1","simple/intermediate/complex","1"].join(","),"\n"),t=document.createElement("a");t.setAttribute("href",encodeURI(e)),t.setAttribute("download","QuestionsCsvFormat.csv"),document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:"Export CSV Format"}),(0,Bi.jsxs)(Sy,{size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",style:{fontSize:ge?"12px":"16px"},children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",value:a,onChange:function(e){var t=Number(e.target.value);o((function(e){return te(te({},e),{},{selectedExam:t})}))},autoWidth:!0,style:{backgroundColor:"white",width:ge?"130px":"200px",height:ge?"30px":"40px"},label:"Select Exam",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,sx:{width:ge?"130px":"200px",height:ge?"30px":"40px",justifyContent:"center"},children:"None"}),$.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,sx:{width:ge?"130px":"200px",height:ge?"30px":"40px",justifyContent:"center"},children:yf(e.examName)},e.id)}))]})]})]})}),(0,Bi.jsxs)(Bd,{open:i,onClose:Ce,children:[(0,Bi.jsxs)(Hd,{sx:{backgroundColor:"primary.main",color:"white",fontSize:"18px",display:"flex",justifyContent:"space-between"},children:[v?"Edit Question":"Add Question",(0,Bi.jsx)(vf.Z,{onClick:Ce,style:{fontSize:"25px"}})]}),(0,Bi.jsx)($d,{children:(0,Bi.jsxs)("form",{onSubmit:Oe,children:[(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Question",variant:"outlined",margin:"normal",value:l,onChange:function(e){return je("question",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 1",variant:"outlined",margin:"normal",value:s,onChange:function(e){return je("option1",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 2",variant:"outlined",margin:"normal",value:c,onChange:function(e){return je("option2",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 3",variant:"outlined",margin:"normal",value:d,onChange:function(e){return je("option3",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 4",variant:"outlined",margin:"normal",value:f,onChange:function(e){return je("option4",e.target.value)}}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{marginTop:"18px"},children:[(0,Bi.jsx)(gy,{id:"answer-label",children:"Answer"}),(0,Bi.jsxs)(fg,{labelId:"answer-label",id:"answer",value:p,onChange:function(e){return je("answer",e.target.value)},label:"Answer",children:[(0,Bi.jsx)(Zm,{value:"option1",children:"Option1"}),(0,Bi.jsx)(Zm,{value:"option2",children:"Option2"}),(0,Bi.jsx)(Zm,{value:"option3",children:"Option3"}),(0,Bi.jsx)(Zm,{value:"option4",children:"Option4"})]})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{marginTop:"24px"},children:[(0,Bi.jsx)(gy,{id:"question-level-label",children:"Question Level"}),(0,Bi.jsx)(fg,{labelId:"question-level-label",id:"question-level",label:"Question level",value:g,name:"level",onChange:function(e){return je("level",e.target.value)},children:["simple","intermediate","complex"].map((function(e,t){return(0,Bi.jsx)(Zm,{value:e,children:yf(e)},t)}))})]}),(0,Bi.jsx)(Ry,{sx:{marginTop:"24px"},fullWidth:!0,label:"Marks",variant:"outlined",margin:"normal",value:h,name:"marks",onChange:function(e){return je("marks",e.target.value)},onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("marks"===n){var o=!/^[0-9]{1,2}$/.test(r);ke((function(e){return te(te({},e),{},{marksError:o})}))}},inputProps:{maxLength:2},error:Se.marksError,helperText:Se.marksError&&xh("Invalid marks.E.g-1,10")}),(0,Bi.jsx)(Ry,{fullWidth:!0,variant:"outlined",label:"Select Image",margin:"normal",type:"file",onChange:function(e){return je("questionImage",e.target.files[0])},accept:"image/*",InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"start",children:(0,Bi.jsx)(dS,{})})}})]})}),(0,Bi.jsxs)(rf,{children:[(0,Bi.jsx)(mf,{variant:"outlined",size:"small",onClick:Ce,color:"primary",children:"Cancel"}),(0,Bi.jsx)(mf,{size:"small",onClick:v?function(){var e=new FormData;if(e.append("question",l),e.append("option1",s),e.append("option2",c),e.append("option3",d),e.append("option4",f),e.append("answer",p),e.append("marks",h),e.append("level",g),e.append("exam_id",a),m instanceof File){var t=m.name;e.append("questionImage",m,t)}lh("".concat(uh.question).concat(v.id,"/"),e).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==e.status||(oe(!0),se("Question Updated !"),ye(kn.updateQuestion(e.data))),o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null})),Ce()})).catch((function(e){var t,n;N(!0),B(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)}))}:Oe,disabled:Ze,color:"primary",variant:"contained",children:v?"Save":"Submit"})]})]}),(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:_e.length>0?"Questions":"Questions not found"})})}),(0,Bi.jsx)(Bh,{children:0===_e.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:2,align:"center",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):_e&&_e.length>0&&_e.slice(w*q,w*q+q).map((function(e,t){var n=w*q+t;return(0,Bi.jsxs)(Jw,{children:[(0,Bi.jsx)(aS,{expandIcon:(0,Bi.jsx)(fS.Z,{}),children:(0,Bi.jsxs)(Xy,{container:!0,sx:{textAlign:"left"},spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:8,children:(0,Bi.jsxs)(as,{sx:{fontSize:"18px"},children:["Que ",n+1,": ",e.question]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"30%",color:"#2c387e"},children:[e.marks," Marks"]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"0%",color:"#2c387e"},children:["Level:",e.level," "]})})]})}),(0,Bi.jsxs)(uS,{children:[(0,Bi.jsxs)("ul",{style:{listStyleType:"none"},children:[e.questionImage&&(0,Bi.jsx)("li",{style:{maxWidth:"400px",objectFit:"cover"},children:(0,Bi.jsx)("img",{src:e.questionImage,alt:"Question Image",style:{maxHeight:"100%",maxWidth:"100%"}})}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 1 : ",e.option1]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 2 : ",e.option2]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 3 : ",e.option3]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 4 : ",e.option4]}),(0,Bi.jsxs)("li",{style:{backgroundColor:"#2c387eb8",color:"white",boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Answer: ",e.answer]})]}),(0,Bi.jsx)(Js,{color:"primary",onClick:function(){return function(e){var t;o({open:!0,selectedExam:null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id,question:e.question,option1:e.option1,option2:e.option2,option3:e.option3,option4:e.option4,answer:e.answer,marks:e.marks,level:e.level,questionImage:e.questionImage,editingQuestion:e})}(e)},children:(0,Bi.jsx)(ty.Z,{})}),(0,Bi.jsx)(Js,{color:"primary",onClick:function(){return t=e.id,void sh("".concat(uh.question).concat(t)).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("Question Deleted !"),ye(kn.deleteQuestion(t)))})).catch((function(e){N(!0),B(null===e||void 0===e?void 0:e.message)}));var t},children:(0,Bi.jsx)(ey.Z,{})})]})]},t)}))}),(null===_e||void 0===_e?void 0:_e.length)>0?(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:7,count:_e.length,rowsPerPage:q,page:w,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){S(t)},onRowsPerPageChange:function(e){H(parseInt(e.target.value,10)),S(0)}}):null]})})})]})]})},yS=n(1122),bS=["className","component","disableGutters","fixed","maxWidth","classes"],xS=(0,nw.Z)(),wS=ew("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,yS.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),SS=function(e){return(0,tw.Z)({props:e,name:"MuiContainer",defaultTheme:xS})};var kS=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?wS:n,o=e.useThemeProps,i=void 0===o?SS:o,a=e.componentName,l=void 0===a?"MuiContainer":a,s=r((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}))}),(function(e){var t=e.theme;return e.ownerState.fixed&&Object.keys(t.breakpoints.values).reduce((function(e,n){var r=n,o=t.breakpoints.values[r];return 0!==o&&(e[t.breakpoints.up(r)]={maxWidth:"".concat(o).concat(t.breakpoints.unit)}),e}),{})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},"xs"===n.maxWidth&&(0,u.Z)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),n.maxWidth&&"xs"!==n.maxWidth&&(0,u.Z)({},t.breakpoints.up(n.maxWidth),{maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)}))})),c=t.forwardRef((function(e,t){var n=i(e),r=n.className,o=n.component,a=void 0===o?"div":o,c=n.disableGutters,u=void 0!==c&&c,d=n.fixed,f=void 0!==d&&d,p=n.maxWidth,h=void 0===p?"lg":p,m=(0,T.Z)(n,bS),v=(0,Ti.Z)({},n,{component:a,disableGutters:u,fixed:f,maxWidth:h}),g=function(e,t){var n=e.classes,r=e.fixed,o=e.disableGutters,i=e.maxWidth,a={root:["root",i&&"maxWidth".concat((0,yS.Z)(String(i))),r&&"fixed",o&&"disableGutters"]};return(0,Yi.Z)(a,(function(e){return(0,Oa.Z)(t,e)}),n)}(v,l);return(0,Bi.jsx)(s,(0,Ti.Z)({as:a,ownerState:v,className:(0,Mi.Z)(g.root,r),ref:t},m))}));return c}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,vl.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiContainer"})}}),jS=kS,ES=n(165),OS=n(3553),CS=function(){var e=Lo(),n=(0,t.useState)(!1),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=(0,t.useState)(""),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=(0,t.useState)(""),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=(0,t.useState)(""),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(""),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(""),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(null),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(!0),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=(0,t.useState)(!1),z=(0,D.Z)(I,2),L=z[0],B=z[1],F=(0,t.useState)(!1),W=(0,D.Z)(F,2),U=W[0],q=W[1],H=_(),V=x((function(e){return e.user})),Y=V.allUser,G=(0,t.useState)({passwordError:!1,matchPasswordError:!1,password2Error:!1,emailError:!1}),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=Hb(Fx().breakpoints.down("sm"));(0,t.useEffect)((function(){ih(uh.branch).then((function(e){var t=e.data.reverse();H(hn.getBranch(t))})).catch((function(e){return console.log("Branch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();H(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var J=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);X((function(e){return te(te({},e),{},{passwordError:o})}))}if("password2"===n){var i=!mh(r);X((function(e){return te(te({},e),{},{password2Error:i})}))}if(""!==w&&""!==E&&X(w!==E?function(e){return te(te({},e),{},{matchPasswordError:!0})}:function(e){return te(te({},e),{},{matchPasswordError:!1})}),"email"===n){var a=!ph(r);X((function(e){return te(te({},e),{},{emailError:a})}))}},ee=!v||!w||K.emailError||K.password2Error||K.matchPasswordError||!E;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:8,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:"0px 0px 7px black",borderRadius:"10px",border:"none",padding:"50px"},children:[(0,Bi.jsx)(OS.Z,{style:{fontSize:"50px",color:"#2c387e"}}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:Q?"18px":"20px"},children:"Forget Password"}),(0,Bi.jsxs)(Vi,{component:"form",noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"code",label:"Enter Email Id",name:"email",autoFocus:!0,inputProps:{maxLength:30},size:"small",value:v,onChange:function(e){g(e.target.value)},onBlur:J,error:K.emailError,helperText:K.emailError&&xh("Invalid email id")}),R&&(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsx)(mf,{type:"button",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){var e=Y.find((function(e){return e.email===v.toLowerCase()}));e?(T(e),c("success"),p("User found successfully!"),N(!1)):(c("error"),p("User not found!")),i(!0)},children:"Forget Password"})}),Z&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"password",label:"New Password",name:"password",size:"small",type:L?"text":"password",value:w,onChange:function(e){return S(e.target.value)},onBlur:J,error:K.passwordError,inputProps:{maxLength:14},helperText:K.passwordError&&xh("Invalid password"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){B((function(e){return!e}))},edge:"end",children:L?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})}}),(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"password2",size:"small",label:"Confirm Password",name:"password2",type:U?"text":"password",value:E,onBlur:J,onChange:function(e){return O(e.target.value)},error:K.matchPasswordError,helperText:K.matchPasswordError&&xh("Password and Confirm Password doesn't match"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){q((function(e){return!e}))},edge:"end",children:U?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:14}}),K.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsx)(mf,{type:"button",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){if(!Z||!Z.id)return c("error"),p("User or user ID not found."),void i(!0);if(w!==E)return c("error"),p("Passwords don't match!"),void i(!0);var t=te(te({},Z),{},{password:w,password2:E,branch_id:Z.branch?Z.branch.id:null}),n="".concat(uh.password).concat(Z.id,"/");lh(n,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(c("success"),p("Password reset!"),i(!0))})).catch((function(e){c("error"),p(null===e||void 0===e?void 0:e.message),i(!0)})),setTimeout((function(){e("/")}),2e3)},disabled:ee,children:"Update Password"})]})]})]})]}),(0,Bi.jsx)(db,{open:o,autoHideDuration:3e3,onClose:function(){return i(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:function(){return i(!1)},severity:s,sx:{width:"100%"},children:f})})]})},PS=function(e){var n=e.children,r=Lo(),o=sessionStorage.getItem("accessToken"),i=sessionStorage.getItem("role");return(0,t.useEffect)((function(){if(o){if(["teacher","counsellor"].includes(i)){["/dashboard/user","/dashboard/staff"].includes(window.location.pathname)&&r("/")}else if(["student","intern"].includes(i)){["/dashboard/user","/dashboard/staff","/dashboard/exam","/dashboard/voucher","/dashboard/result","/dashboard/question","/dashboard/feedback"].includes(window.location.pathname)&&r("/")}}else r("/")}),[o,i,r]),(0,Bi.jsx)(Bi.Fragment,{children:n})},ZS=n(1141);var _S=function(e){var t=e.title,n=Hb(Fx().breakpoints.down("sm"));return(0,Bi.jsx)(Tl,{color:"primary",sx:{top:"90%",position:"-webkit-sticky",marginBottom:6},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{sx:{flexGrow:1},style:{fontSize:n?"13px":"16px",textAlign:n?"center":"left"},children:t})})})};function TS(e){return(0,Oa.Z)("MuiCardActions",e)}(0,Ea.Z)("MuiCardActions",["root","spacing"]);var MS=["disableSpacing","className"],AS=(0,Oi.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),RS=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCardActions"}),r=n.disableSpacing,o=void 0!==r&&r,i=n.className,a=(0,T.Z)(n,MS),l=(0,Ti.Z)({},n,{disableSpacing:o}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Yi.Z)(n,TS,t)}(l);return(0,Bi.jsx)(AS,(0,Ti.Z)({className:(0,Mi.Z)(s.root,i),ownerState:l,ref:t},a))})),NS=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function IS(e){return(0,Oa.Z)("MuiChip",e)}var DS=(0,Ea.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),zS=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],LS=(0,Oi.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,o=n.iconColor,i=n.clickable,a=n.onDelete,l=n.size,s=n.variant;return[(0,u.Z)({},"& .".concat(DS.avatar),t.avatar),(0,u.Z)({},"& .".concat(DS.avatar),t["avatar".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.avatar),t["avatarColor".concat((0,vl.Z)(r))]),(0,u.Z)({},"& .".concat(DS.icon),t.icon),(0,u.Z)({},"& .".concat(DS.icon),t["icon".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.icon),t["iconColor".concat((0,vl.Z)(o))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t.deleteIcon),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIcon".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIconColor".concat((0,vl.Z)(r))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIcon".concat((0,vl.Z)(s),"Color").concat((0,vl.Z)(r))]),t.root,t["size".concat((0,vl.Z)(l))],t["color".concat((0,vl.Z)(r))],i&&t.clickable,i&&"default"!==r&&t["clickableColor".concat((0,vl.Z)(r),")")],a&&t.deletable,a&&"default"!==r&&t["deletableColor".concat((0,vl.Z)(r))],t[s],t["".concat(s).concat((0,vl.Z)(r))]]}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300];return(0,Ti.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(n.vars||n).palette.text.primary,backgroundColor:(n.vars||n).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,u.Z)(t,"&.".concat(DS.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,u.Z)(t,"& .".concat(DS.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:n.vars?n.vars.palette.Chip.defaultAvatarColor:o,fontSize:n.typography.pxToRem(12)}),(0,u.Z)(t,"& .".concat(DS.avatarColorPrimary),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.dark}),(0,u.Z)(t,"& .".concat(DS.avatarColorSecondary),{color:(n.vars||n).palette.secondary.contrastText,backgroundColor:(n.vars||n).palette.secondary.dark}),(0,u.Z)(t,"& .".concat(DS.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,u.Z)(t,"& .".concat(DS.icon),(0,Ti.Z)({marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},r.iconColor===r.color&&(0,Ti.Z)({color:n.vars?n.vars.palette.Chip.defaultIconColor:o},"default"!==r.color&&{color:"inherit"}))),(0,u.Z)(t,"& .".concat(DS.deleteIcon),(0,Ti.Z)({WebkitTapHighlightColor:"transparent",color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.26)"):(0,cl.Fq)(n.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.4)"):(0,cl.Fq)(n.palette.text.primary,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:n.vars?"rgba(".concat(n.vars.palette[r.color].contrastTextChannel," / 0.7)"):(0,cl.Fq)(n.palette[r.color].contrastText,.7),"&:hover, &:active":{color:(n.vars||n).palette[r.color].contrastText}})),t),"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:(n.vars||n).palette[r.color].main,color:(n.vars||n).palette[r.color].contrastText},r.onDelete&&(0,u.Z)({},"&.".concat(DS.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),r.onDelete&&"default"!==r.color&&(0,u.Z)({},"&.".concat(DS.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({},r.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,u.Z)(t,"&.".concat(DS.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,u.Z)(t,"&:active",{boxShadow:(n.vars||n).shadows[1]}),t),r.clickable&&"default"!==r.color&&(0,u.Z)({},"&:hover, &.".concat(DS.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n,r=e.theme,o=e.ownerState;return(0,Ti.Z)({},"outlined"===o.variant&&(t={backgroundColor:"transparent",border:r.vars?"1px solid ".concat(r.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[700])},(0,u.Z)(t,"&.".concat(DS.clickable,":hover"),{backgroundColor:(r.vars||r).palette.action.hover}),(0,u.Z)(t,"&.".concat(DS.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,u.Z)(t,"& .".concat(DS.avatar),{marginLeft:4}),(0,u.Z)(t,"& .".concat(DS.avatarSmall),{marginLeft:2}),(0,u.Z)(t,"& .".concat(DS.icon),{marginLeft:4}),(0,u.Z)(t,"& .".concat(DS.iconSmall),{marginLeft:2}),(0,u.Z)(t,"& .".concat(DS.deleteIcon),{marginRight:5}),(0,u.Z)(t,"& .".concat(DS.deleteIconSmall),{marginRight:3}),t),"outlined"===o.variant&&"default"!==o.color&&(n={color:(r.vars||r).palette[o.color].main,border:"1px solid ".concat(r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.7)"):(0,cl.Fq)(r.palette[o.color].main,.7))},(0,u.Z)(n,"&.".concat(DS.clickable,":hover"),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(r.palette[o.color].main,r.palette.action.hoverOpacity)}),(0,u.Z)(n,"&.".concat(DS.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.focusOpacity,")"):(0,cl.Fq)(r.palette[o.color].main,r.palette.action.focusOpacity)}),(0,u.Z)(n,"& .".concat(DS.deleteIcon),{color:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.7)"):(0,cl.Fq)(r.palette[o.color].main,.7),"&:hover, &:active":{color:(r.vars||r).palette[o.color].main}}),n))})),BS=(0,Oi.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat((0,vl.Z)(n))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})}));function FS(e){return"Backspace"===e.key||"Delete"===e.key}var WS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiChip"}),o=r.avatar,i=r.className,a=r.clickable,l=r.color,s=void 0===l?"default":l,c=r.component,u=r.deleteIcon,d=r.disabled,f=void 0!==d&&d,p=r.icon,h=r.label,m=r.onClick,v=r.onDelete,g=r.onKeyDown,y=r.onKeyUp,b=r.size,x=void 0===b?"medium":b,w=r.variant,S=void 0===w?"filled":w,k=r.tabIndex,j=r.skipFocusWhenDisabled,E=void 0!==j&&j,O=(0,T.Z)(r,zS),C=t.useRef(null),P=(0,qa.Z)(C,n),Z=function(e){e.stopPropagation(),v&&v(e)},_=!(!1===a||!m)||a,M=_||v?Ys:c||"div",A=(0,Ti.Z)({},r,{component:M,disabled:f,size:x,color:s,iconColor:t.isValidElement(p)&&p.props.color||s,onDelete:!!v,clickable:_,variant:S}),R=function(e){var t=e.classes,n=e.disabled,r=e.size,o=e.color,i=e.iconColor,a=e.onDelete,l=e.clickable,s=e.variant,c={root:["root",s,n&&"disabled","size".concat((0,vl.Z)(r)),"color".concat((0,vl.Z)(o)),l&&"clickable",l&&"clickableColor".concat((0,vl.Z)(o)),a&&"deletable",a&&"deletableColor".concat((0,vl.Z)(o)),"".concat(s).concat((0,vl.Z)(o))],label:["label","label".concat((0,vl.Z)(r))],avatar:["avatar","avatar".concat((0,vl.Z)(r)),"avatarColor".concat((0,vl.Z)(o))],icon:["icon","icon".concat((0,vl.Z)(r)),"iconColor".concat((0,vl.Z)(i))],deleteIcon:["deleteIcon","deleteIcon".concat((0,vl.Z)(r)),"deleteIconColor".concat((0,vl.Z)(o)),"deleteIcon".concat((0,vl.Z)(s),"Color").concat((0,vl.Z)(o))]};return(0,Yi.Z)(c,IS,t)}(A),N=M===Ys?(0,Ti.Z)({component:c||"div",focusVisibleClassName:R.focusVisible},v&&{disableRipple:!0}):{},I=null;v&&(I=u&&t.isValidElement(u)?t.cloneElement(u,{className:(0,Mi.Z)(u.props.className,R.deleteIcon),onClick:Z}):(0,Bi.jsx)(NS,{className:(0,Mi.Z)(R.deleteIcon),onClick:Z}));var D=null;o&&t.isValidElement(o)&&(D=t.cloneElement(o,{className:(0,Mi.Z)(R.avatar,o.props.className)}));var z=null;return p&&t.isValidElement(p)&&(z=t.cloneElement(p,{className:(0,Mi.Z)(R.icon,p.props.className)})),(0,Bi.jsxs)(LS,(0,Ti.Z)({as:M,className:(0,Mi.Z)(R.root,i),disabled:!(!_||!f)||void 0,onClick:m,onKeyDown:function(e){e.currentTarget===e.target&&FS(e)&&e.preventDefault(),g&&g(e)},onKeyUp:function(e){e.currentTarget===e.target&&(v&&FS(e)?v(e):"Escape"===e.key&&C.current&&C.current.blur()),y&&y(e)},ref:P,tabIndex:E&&f?-1:k,ownerState:A},N,O,{children:[D||z,(0,Bi.jsx)(BS,{className:(0,Mi.Z)(R.label),ownerState:A,children:h}),I]}))})),US=WS,qS=n(2270);function HS(e){return(0,Oa.Z)("MuiLink",e)}var VS=(0,Ea.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),YS=n(8529),GS={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$S=function(e){var t=e.theme,n=e.ownerState,r=function(e){return GS[e]||e}(n.color),o=(0,YS.DW)(t,"palette.".concat(r),!1)||n.color,i=(0,YS.DW)(t,"palette.".concat(r,"Channel"));return"vars"in t&&i?"rgba(".concat(i," / 0.4)"):(0,cl.Fq)(o,.4)},KS=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],XS=(0,Oi.ZP)(as,{name:"MuiLink",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["underline".concat((0,vl.Z)(n.underline))],"button"===n.component&&t.button]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,Ti.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:$S({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&(0,u.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(VS.focusVisible),{outline:"auto"}))})),QS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiLink"}),o=r.className,i=r.color,a=void 0===i?"primary":i,l=r.component,s=void 0===l?"a":l,c=r.onBlur,u=r.onFocus,d=r.TypographyClasses,f=r.underline,p=void 0===f?"always":f,h=r.variant,m=void 0===h?"inherit":h,v=r.sx,g=(0,T.Z)(r,KS),y=(0,ms.Z)(),b=y.isFocusVisibleRef,x=y.onBlur,w=y.onFocus,S=y.ref,k=t.useState(!1),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,qa.Z)(n,S),P=(0,Ti.Z)({},r,{color:a,component:s,focusVisible:E,underline:p,variant:m}),Z=function(e){var t=e.classes,n=e.component,r=e.focusVisible,o=e.underline,i={root:["root","underline".concat((0,vl.Z)(o)),"button"===n&&"button",r&&"focusVisible"]};return(0,Yi.Z)(i,HS,t)}(P);return(0,Bi.jsx)(XS,(0,Ti.Z)({color:a,className:(0,Mi.Z)(Z.root,o),classes:d,component:s,onBlur:function(e){x(e),!1===b.current&&O(!1),c&&c(e)},onFocus:function(e){w(e),!0===b.current&&O(!0),u&&u(e)},ref:C,ownerState:P,variant:m,sx:[].concat((0,F.Z)(Object.keys(GS).includes(a)?[]:[{color:a}]),(0,F.Z)(Array.isArray(v)?v:[v]))},g))})),JS=QS;function ek(){var e=Lo();return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(ay,{sx:{maxWidth:345,margin:"auto",marginTop:10,borderRadius:10,boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)"},children:(0,Bi.jsxs)(zy,{children:[(0,Bi.jsx)(as,{gutterBottom:!0,variant:"h5",color:"primary",component:"div",children:"Exam Submitted Successfully"}),(0,Bi.jsx)(as,{align:"center",variant:"h1",color:"primary",children:(0,Bi.jsx)(ec,{})})]})}),(0,Bi.jsx)(as,{align:"center",variant:"body2",color:"secondary",sx:{marginTop:3},children:(0,Bi.jsx)(JS,{onClick:function(){e("/student-feedback")},underline:"hover",sx:{fontSize:"1.2rem",fontWeight:"bold"},children:"Click here to give feedback"})})]})}var tk=function(){var e,n=(0,t.useState)(3600),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=(0,t.useState)([]),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=(0,t.useState)([]),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=(0,t.useState)(""),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(!1),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(!1),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(0),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(null),A=(0,D.Z)(M,2),N=(A[0],A[1]),z=(0,t.useState)(!1),L=(0,D.Z)(z,2),B=L[0],W=L[1],U=(0,t.useState)(!1),q=(0,D.Z)(U,2),H=q[0],V=q[1],Y=(0,t.useState)([]),G=(0,D.Z)(Y,2),$=G[0],K=G[1],X=(0,t.useState)(!1),Q=(0,D.Z)(X,2),J=Q[0],ee=Q[1],ne=(0,t.useState)(!1),re=(0,D.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,t.useState)(!1),le=(0,D.Z)(ae,2),se=le[0],ce=le[1],ue=(0,t.useState)(0),de=(0,D.Z)(ue,2),fe=de[0],pe=de[1],he=x((function(e){return e.question})),me=he.examquestion,ve=x((function(e){return e.exam})),ge=ve.allExam,ye=x((function(e){return e.user})),be=ye.loginUser,xe=_(),we=Lo(),Se=t.useState(!1),ke=(0,D.Z)(Se,2),je=ke[0],Ee=ke[1],Oe=t.useState(""),Ce=(0,D.Z)(Oe,2),Pe=Ce[0],Ze=Ce[1],_e=t.useState("info"),Te=(0,D.Z)(_e,2),Me=(Te[0],Te[1]),Ae=Hb(Fx().breakpoints.down("sm")),Re=(new Date).getFullYear(),Ne="\xa9 2017-".concat(Re," Hematite Infotech, All Rights Reserved.");(0,t.useEffect)((function(){var e=function(e){e.preventDefault()};return window.addEventListener("contextmenu",e),function(){window.removeEventListener("contextmenu",e)}}),[]),(0,t.useEffect)((function(){ih("".concat(uh.loginUser)).then((function(e){xe(hn.GetLogginUser(e.data))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){var e=function(){var e=I(R().mark((function e(){var t;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ih(uh.start_exam);case 3:t=e.sent,xe(kn.getStartExamQuestion(t.data)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("Exam error: ",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,t.useEffect)((function(){K([0])}),[]),(0,t.useEffect)((function(){var e=function(e){e.preventDefault(),e.returnValue="Do not reload the page. Exam gets submitted automatically.",ee(!0)};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}}),[]);var Ie=function(){ee(!1)};(0,t.useEffect)((function(){var e=function(){document.hidden&&(pe((function(e){return e+1})),ie(!0))};return document.addEventListener("visibilitychange",e),function(){document.removeEventListener("visibilitychange",e)}}),[]),(0,t.useEffect)((function(){1===fe&&(i(0),ce(!0))}),[fe]);var De=function(){ie(!1)},ze=function(e){e.preventDefault()};(0,t.useEffect)((function(){return document.addEventListener("keydown",ze),function(){document.removeEventListener("keydown",ze)}}),[]),(0,t.useEffect)((function(){var e=function(e){e.preventDefault(),we("/start-exam")};return window.history.pushState(null,"",window.location.pathname),window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}}),[we]),(0,t.useEffect)((function(){if(0!==ge.length){var e=sessionStorage.getItem("examId"),t=Number(e),n=ge.find((function(e){return e.id===t}));if(n){var r="".concat(null===be||void 0===be?void 0:be.fname," ").concat(null===be||void 0===be?void 0:be.lname);r&&g(r);var o=0;if(n){var a=n.examTime.toLowerCase();if(a.endsWith("min"))o=60*parseInt(a);else if(a.endsWith("hr")){o=3600*parseInt(a)}}i(o);var l=n.totalQuestion,s=me&&me.filter((function(e){return e.exam.id===n.id})),u=Le(s).slice(0,l);c(u);var d=setInterval((function(){i((function(e){return Math.max(0,e-1)}))}),1e3);return N(d),function(){return clearInterval(d)}}}}),[me,ge]);var Le=function(e){for(var t,n,r=e.length;0!==r;)n=Math.floor(Math.random()*r),t=e[r-=1],e[r]=e[n],e[n]=t;return e},Be=function(e,t){var n=s.findIndex((function(e){return e.id===t}));if(-1!==n){var r=(0,F.Z)(s),o=Object.keys(r[n]).find((function(t){return r[n][t]===e}));o&&(r[n]=te(te({},r[n]),{},{answer:o}),c(r))}},Fe=function(){O(!1)},We=function(e){return e.some((function(e){return!e.answer||""===e.answer}))},Ue=function(){V(!1)},qe=0===Z,He=Z===s.length-1;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(db,{open:H,autoHideDuration:6e3,onClose:Ue,anchorOrigin:{vertical:"top",horizontal:"center"},message:"Please solve all questions",action:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:Ue,children:"Close"})}),(0,Bi.jsx)(db,{open:J,autoHideDuration:9e3,onClose:Ie,anchorOrigin:{vertical:"top",horizontal:"center"},message:"You refreshed the exam page. Please click the Submit button and contact the admin.",action:(0,Bi.jsx)(t.Fragment,{children:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:Ie,children:"Close"})})}),(0,Bi.jsx)(db,{open:oe,autoHideDuration:9e3,onClose:De,anchorOrigin:{vertical:"top",horizontal:"center"},message:"Warning:Please do not switch tabs.Don't do again.",action:(0,Bi.jsx)(t.Fragment,{children:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:De,children:"Close"})})}),w?we("/exam-submitted"):(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Vi,{sx:{},children:(0,Bi.jsx)(Tl,{color:"primary",position:"fixed",children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[(0,Bi.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(vS,{style:{fontSize:"25px"}}),(0,Bi.jsxs)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px",marginLeft:"10px"},children:["Welcome, ",v]})]}),(0,Bi.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(qS.Z,{style:{fontSize:"25px",marginRight:"10px"}}),(0,Bi.jsx)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px"},children:function(e){var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return"".concat(t.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0"))}(o)}),(0,Bi.jsx)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px",marginLeft:"10px"},children:"|"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){We(s)&&o>0?V(!0):(Me("warning"),Ze("Are you sure you want to logout ?"),Ee(!0))},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})]})})})}),o>0?(0,Bi.jsxs)("div",{className:"chip",style:{display:"inline-list-item"},children:[(0,Bi.jsx)(US,{color:"warning",label:"Visited",sx:{minWidth:"30px",height:"30px",fontSize:"12px"}}),(0,Bi.jsx)(US,{color:"primary",label:"Current",sx:{minWidth:"30px",height:"30px",fontSize:"12px",marginLeft:2}}),(0,Bi.jsx)(US,{color:"success",label:"Answered",sx:{minWidth:"30px",height:"30px",fontSize:"12px",marginLeft:2}})]}):null,(0,Bi.jsxs)(Vi,{sx:{padding:5,display:"flex",flexDirection:"column",flexWrap:"wrap",width:"auto"},children:[o>0?(0,Bi.jsx)(as,{sx:{fontSize:Ae?"14px":"20px"},gutterBottom:!0,children:"Questions"}):null,0==o?(0,Bi.jsx)(Vi,{sx:{marginBottom:"20px",padding:"20px",marginTop:"20px",boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},children:(0,Bi.jsx)(as,{sx:{fontSize:"20px"},variant:"h6",color:"secondary",gutterBottom:!0,children:se?"You try to switch the browser tab.Please click on submit button.":"Time is over...Please click on submit button"})}):null,o>0&&s&&s.length>0&&Z<s.length?(0,Bi.jsxs)(Vi,{sx:{marginBottom:"20px",padding:"20px",boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},children:[(0,Bi.jsxs)(as,{sx:{fontSize:"20px",textAlign:"left"},variant:"h6",gutterBottom:!0,children:[Z+1,". ",s[Z].question]}),s[Z].questionImage&&(0,Bi.jsx)("div",{style:{display:"flex",height:"400px",width:"400px",marginTop:"10px",objectFit:"cover"},children:(0,Bi.jsx)("img",{src:s[Z].questionImage,alt:"Question Image",style:{maxHeight:"100%",maxWidth:"100%"}})}),(0,Bi.jsx)("div",{style:{display:"flex"},children:(0,Bi.jsx)(Jx,{"aria-label":"question-".concat(Z),name:"question-".concat(Z),value:(null===(e=f.find((function(e){return e.questionIndex===Z})))||void 0===e?void 0:e.optionValue)||"",onChange:function(e){return function(e,t){var n=e.target.value,r=s.findIndex((function(e){return e.id===t}));null!==r&&r>=0&&Be(n,t);var o=f.filter((function(e){return e.questionIndex!==r}));o.push({questionIndex:r,optionValue:n}),p(o)}(e,s[Z].id)},children:Object.keys(s[Z]).map((function(e){return e.startsWith("option")&&s[Z][e]?(0,Bi.jsx)(gw,{value:s[Z][e],control:(0,Bi.jsx)(Mw,{}),label:s[Z][e]},e):null}))})}),!qe&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:function(){Z>0&&(T((function(e){return e-1})),$.includes(Z-1)||K((function(e){return[].concat((0,F.Z)(e),[Z-1])})))},sx:{marginRight:"10px"},children:"Previous"}),!He&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:function(){Z<s.length-1&&(T((function(e){return e+1})),$.includes(Z+1)||K((function(e){return[].concat((0,F.Z)(e),[Z+1])})))},sx:{marginRight:"10px"},children:"Next"}),(0,Bi.jsx)(Vi,{sx:{display:"flex",justifyContent:"center",marginTop:"20px",flexWrap:"wrap",gap:"5px"},children:s.map((function(e,t){return(0,Bi.jsx)(US,{label:"".concat(t+1),color:f.some((function(e){return e.questionIndex===t}))?"success":Z===t?"primary":$.includes(t)?"warning":"default",onClick:function(){return function(e){T(e),$.includes(e)||K((function(t){return[].concat((0,F.Z)(t),[e])}))}(t)},sx:{minWidth:"30px",height:"30px",fontSize:"12px"}},e)}))})]}):null,(0,Bi.jsx)(Vi,{sx:{display:"flex",justifyContent:"center",marginBottom:"27px",overflowX:"auto",overflowY:"auto"},children:(0,Bi.jsx)(mf,{variant:"outlined",color:"primary",onClick:function(){O(!0)},children:"Submit Exam"})})]}),(0,Bi.jsx)(gf,{open:E,onClose:Fe,show:!0,onConfirm:function(){Fe(),function(){if(We(s)&&o>0)V(!0);else{var e=sessionStorage.getItem("examId"),t=null===be||void 0===be?void 0:be.id,n=sessionStorage.getItem("showResult");console.log(n);var r={exam_id:e,student_id:t,questions:s};ah(uh.submit_exam,r).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||xe(On.addResult(e.data))})).catch((function(e){Me("error"),Ze(null===e||void 0===e?void 0:e.message),Ee(!0)})),B||(W(!0),V(!1),"true"==n?we("/question-answer",{state:{req:r}}):(sessionStorage.clear(),we("/exam-submitted"))),S(!0)}}()},message:"Are you sure you want to submit the exam?",title:"Confirmation",submitLabel:"submit"}),(0,Bi.jsx)(gf,{open:je,onClose:function(){return Ee(!1)},show:!0,onConfirm:function(){Ee(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),we("/")},title:"Confirmation",message:Pe,submitLabel:"Logout"})]}),(0,Bi.jsx)(_S,{title:Ne})]})};function nk(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var n=t.useState(!1),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=Lo(),l=Hb(Fx().breakpoints.down("sm")),s=t.useState(!1),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=t.useState(""),p=(0,D.Z)(f,2),h=p[0],m=(p[1],t.useState(!1)),v=(0,D.Z)(m,2),g=v[0],y=v[1];return(0,Bi.jsxs)("div",{children:[g?(0,Bi.jsx)(rk,{}):(0,Bi.jsx)(Bi.Fragment,{children:o?(0,Bi.jsx)(tk,{}):(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{maxWidth:345,margin:"auto",marginTop:10,boxShadow:"0px 0px 7px black",borderRadius:"10px"},children:[(0,Bi.jsxs)(zy,{children:[(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:l?"18px":"20px"},gutterBottom:!0,variant:"h5",component:"div",children:"Instructions"}),(0,Bi.jsx)(as,{align:"left",variant:"body2",color:"red",children:(0,Bi.jsxs)("ul",{children:[(0,Bi.jsx)("h4",{children:"Follow the Below Instruction"}),(0,Bi.jsx)("li",{children:"Do not refresh the page"}),(0,Bi.jsx)("li",{children:"Do not use keyboard"}),(0,Bi.jsx)("li",{children:"Exam will be automatically submit after time is over"}),(0,Bi.jsx)("li",{children:"Do not open another tab "})]})})]}),(0,Bi.jsxs)(RS,{sx:{display:"flex",flex:"row",justifyContent:"space-around"},children:[(0,Bi.jsx)(mf,{variant:"text",color:"primary",size:"small",onClick:function(){y(!0)},children:"Back"}),(0,Bi.jsx)(mf,{variant:"text",color:"primary",size:"small",onClick:function(){i(!0)},children:"Start Exam"})]})]})})}),(0,Bi.jsx)(gf,{open:u,onClose:function(){return d(!1)},show:!0,onConfirm:function(){d(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),a("/")},title:"Confirmation",message:h,submitLabel:"Logout"})]})}var rk=function(){var e=(0,t.useState)(""),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=x((function(e){return e.exam})),u=c.allExam,d=_(),f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,t.useState)(""),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=Hb(Fx().breakpoints.down("sm"));(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();d(sn.GET_EXAM(t))})).catch((function(e){j("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message))}))}),[]);var S=u.filter((function(e){return e.examStatus})),k=u.some((function(e){return e.id==r&&1==e.showResult})),j=function(e){b(e),m(!0)},E=!r;return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(db,{open:h,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:6e3,onClose:function(){return m(!1)},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return m(!1)},severity:"warning",children:y})}),l?(0,Bi.jsx)(nk,{}):(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{boxShadow:"0px 0px 7px black",marginTop:10},borderRadius:2,p:3,textAlign:"center",children:[(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:w?"18px":"20px"},children:"Select Exam"}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{mt:1},size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-label",children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-label",id:"demo-simple-select",value:r,label:"select Exam",name:"exam",autoWidth:!0,onChange:function(e){o(parseInt(e.target.value,10))},children:[(0,Bi.jsx)(Zm,{sx:{width:w?"240px":"345px"},children:"None"}),S.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.examName)},e.id)}))]})]}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){k?sessionStorage.setItem("showResult",!0):sessionStorage.setItem("showResult",!1),r?(sessionStorage.setItem("examId",r),s(!0)):j("Please select an exam before proceeding.")},disabled:E,children:"submit"})]})]})})]})},ok=n.p+"static/media/Hematite Logo.3eb399f731be02ad90b6.jpg";var ik=function(){var e=(0,t.useState)(""),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=t.useState(!1),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=t.useState(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=t.useState("info"),M=(0,D.Z)(T,2),A=(M[0],M[1]),R=x((function(e){return e.voucher})),N=R.allvouchers,I=_(),z=Lo(),L=Hb(Fx().breakpoints.down("sm")),B=(new Date).getFullYear(),F="\xa9 2017-".concat(B," Hematite Infotech, All Rights Reserved."),W=(0,t.useState)({voucherError:!1}),U=(0,D.Z)(W,2),q=U[0],H=U[1];(0,t.useEffect)((function(){ih(uh.voucher).then((function(e){return I(on.GET_VOUCHER(e.data))})).catch((function(e){console.error("Error fetching vouchers:",e)}))}),[]);var V=function(e){e.preventDefault(),N.some((function(e){return r===e.Vcode&&!0===e.status}))?(sessionStorage.setItem("Voucher","true"),s(!0),f("success"),v("Valid voucher code"),setTimeout((function(){s(!1),w(!0)}),1e3)):(s(!0),f("error"),v("Invalid voucher"))};return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:L?"40px":"50px",height:L?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:L?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){A("warning"),Z("Are you sure you want to logout ?"),E(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),b?(0,Bi.jsx)(rk,{}):(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:10,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:"0px 0px 7px black",borderRadius:"10px",border:"none"},children:[(0,Bi.jsx)(ZS.Z,{color:"primary",style:{fontSize:"50px"}}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:L?"18px":"20px"},children:"Enter Voucher Code"}),(0,Bi.jsxs)(Vi,{component:"form",onSubmit:V,noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"code",label:"Enter Voucher code",name:"Vcode",inputProps:{maxLength:6},autoFocus:!0,size:"small",onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("Vcode"===n){var o=!/^[A-Z0-9]{6}$/.test(r);H((function(e){return te(te({},e),{},{voucherError:o})}))}},onChange:function(e){var t=e.target,n=(t.name,t.value);o(n)},error:q.voucherError,helperText:q.voucherError&&xh("Invalid Voucher")}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:V,children:"submit"})]})]})]}),(0,Bi.jsx)(db,{open:l,autoHideDuration:3e3,onClose:function(){return s(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:function(){return s(!1)},severity:d,sx:{width:"100%"},children:m})})]}),(0,Bi.jsx)(_S,{title:F}),(0,Bi.jsx)(gf,{open:j,onClose:function(){return E(!1)},show:!0,onConfirm:function(){E(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),z("/")},title:"Confirmation",message:P,submitLabel:"Logout"})]})},ak=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function lk(e){return(0,Oa.Z)("MuiAvatar",e)}(0,Ea.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var sk=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],ck=(0,Oi.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:(t.vars||t).shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&(0,Ti.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}))})),uk=(0,Oi.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(e,t){return t.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),dk=(0,Oi.ZP)(ak,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(e,t){return t.fallback}})({width:"75%",height:"75%"});var fk=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAvatar"}),o=r.alt,i=r.children,a=r.className,l=r.component,s=void 0===l?"div":l,c=r.imgProps,u=r.sizes,d=r.src,f=r.srcSet,p=r.variant,h=void 0===p?"circular":p,m=(0,T.Z)(r,sk),v=null,g=function(e){var n=e.crossOrigin,r=e.referrerPolicy,o=e.src,i=e.srcSet,a=t.useState(!1),l=(0,D.Z)(a,2),s=l[0],c=l[1];return t.useEffect((function(){if(o||i){c(!1);var e=!0,t=new Image;return t.onload=function(){e&&c("loaded")},t.onerror=function(){e&&c("error")},t.crossOrigin=n,t.referrerPolicy=r,t.src=o,i&&(t.srcset=i),function(){e=!1}}}),[n,r,o,i]),s}((0,Ti.Z)({},c,{src:d,srcSet:f})),y=d||f,b=y&&"error"!==g,x=(0,Ti.Z)({},r,{colorDefault:!b,component:s,variant:h}),w=function(e){var t=e.classes,n={root:["root",e.variant,e.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,Yi.Z)(n,lk,t)}(x);return v=b?(0,Bi.jsx)(uk,(0,Ti.Z)({alt:o,src:d,srcSet:f,sizes:u,ownerState:x,className:w.img},c)):null!=i?i:y&&o?o[0]:(0,Bi.jsx)(dk,{ownerState:x,className:w.fallback}),(0,Bi.jsx)(ck,(0,Ti.Z)({as:s,ownerState:x,className:(0,Mi.Z)(w.root,a),ref:n},m,{children:v}))})),pk=fk,hk=n(403);function mk(){var e=t.useState(!1),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=t.useState(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=t.useState("info"),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=t.useState(!1),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=x((function(e){return e.user})),y=(g.loginUser,x((function(e){return e.login}))),b=(y.token,_()),w=Lo(),S=(0,t.useState)(null),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=Hb(Fx().breakpoints.down("sm")),C=(new Date).getFullYear(),P="\xa9 2017-".concat(C," Hematite Infotech, All Rights Reserved."),Z=(0,t.useState)({emailError:!1,passwordError:!1}),T=(0,D.Z)(Z,2),M=T[0],A=T[1],N=(0,t.useState)(null),z=(0,D.Z)(N,2),L=(z[0],z[1]),B=function(){var e=I(R().mark((function e(t){var n,r,o,i,a,l;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=new FormData(t.currentTarget),""!==(r={email:n.get("email"),password:n.get("password")}).email||""!==r.password){e.next=6;break}return W("Please enter login credentials","error"),e.abrupt("return");case 6:return e.prev=6,e.next=9,ah("".concat(uh.token),r);case 9:if(o=e.sent,console.log(o),null===o||void 0===o||!o.access){e.next=20;break}return W("Login successful","success"),sessionStorage.setItem("accessToken",o.access),b(dn.LOGIN_SUCCESS(o.access)),e.next=17,ih("".concat(uh.loginUser));case 17:i=e.sent,L(null===i||void 0===i?void 0:i.data),setTimeout((function(){var e,t=null===i||void 0===i||null===(e=i.data)||void 0===e?void 0:e.role;w("student"===t||"intern"===t?"/quizapp":"trainer"===t||"counsellor"===t?"/dashboard/exam":"/dashboard/student")}),2e3);case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(6),W((null===e.t0||void 0===e.t0||null===(a=e.t0.response)||void 0===a||null===(l=a.data)||void 0===l?void 0:l.detail)||"Login failed","error");case 25:case"end":return e.stop()}}),e,null,[[6,22]])})));return function(t){return e.apply(this,arguments)}}(),F=function(e,t){"clickaway"!==t&&o(!1)},W=function(e,t){s(e),f(t),o(!0)},U=function(){E(null)},q=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);A((function(e){return te(te({},e),{},{passwordError:o})}))}if("email"===n){var i=!ph(r);A((function(e){return te(te({},e),{},{emailError:i})}))}};return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:O?"40px":"50px",height:O?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:O?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":j?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(j),onClick:function(e){E(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:j,open:Boolean(j),onClose:U,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){w("/student-registration"),U()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){w("/employee-registration"),U()},children:"Employee"})]})]})}),(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:O?3:8,display:"flex",flexDirection:"column",alignItems:"center",position:"sticky"},children:[(0,Bi.jsx)(pk,{sx:{m:1,bgcolor:"primary.main"},children:(0,Bi.jsx)(hk.Z,{})}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:O?"18px":"20px"},children:"Login"}),(0,Bi.jsxs)(Vi,{component:"form",onSubmit:B,noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"email",label:"Email Address",name:"email",autoComplete:"email",onBlur:q,inputProps:{maxLength:30},size:"small",error:M.emailError,helperText:M.emailError&&xh("Enter valid email")}),(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,name:"password",label:"Password",type:m?"text":"password",id:"password",inputProps:{maxLength:20},autoComplete:"current-password",size:"small",onBlur:q,error:M.passwordError,helperText:M.passwordError&&xh("Enter valid password"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){v((function(e){return!e}))},edge:"end",children:m?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})}}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},children:"Sign In"}),(0,Bi.jsxs)("div",{style:{textAlign:"left",marginBottom:O?"35px":"0px"},children:[(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){e.preventDefault(),w("/forgetpassword")},children:"Forget Password ? Click Here"})," ",(0,Bi.jsx)("br",{}),(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){e.preventDefault(),w("/student-feedback")},children:"Feedback ? Click Here"})]})]})]})]}),(0,Bi.jsx)(_S,{title:P}),(0,Bi.jsx)(db,{open:r,autoHideDuration:3e3,onClose:F,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:F,severity:d,sx:{width:"100%"},children:l})})]})}var vk=t.createContext(null);function gk(){return t.useContext(vk)}var yk="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var bk=function(e){var n=e.children,r=e.theme,o=gk(),i=t.useMemo((function(){var e=null===o?r:function(e,t){return"function"===typeof t?t(e):(0,Ti.Z)({},e,t)}(o,r);return null!=e&&(e[yk]=null!==o),e}),[r,o]);return(0,Bi.jsx)(vk.Provider,{value:i,children:n})},xk={};function wk(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.useMemo((function(){var t=e&&n[e]||n;if("function"===typeof r){var i=r(t),a=e?(0,Ti.Z)({},n,(0,u.Z)({},e,i)):i;return o?function(){return a}:a}return e?(0,Ti.Z)({},n,(0,u.Z)({},e,r)):(0,Ti.Z)({},n,r)}),[e,n,r,o])}var Sk=function(e){var t=e.children,n=e.theme,r=e.themeId,o=(0,ud.Z)(xk),i=gk()||xk,a=wk(r,o,n),l=wk(r,i,n,!0);return(0,Bi.jsx)(bk,{theme:l,children:(0,Bi.jsx)(Fl.T.Provider,{value:a,children:t})})},kk=["theme"];function jk(e){var t=e.theme,n=(0,T.Z)(e,kk),r=t[Zi.Z];return(0,Bi.jsx)(Sk,(0,Ti.Z)({},n,{themeId:r?Zi.Z:void 0,theme:r||t}))}var Ek=n(2854),Ok=n.n(Ek),Ck=n(4786),Pk=n.n(Ck),Zk=n(6222),_k=n.n(Zk),Tk=n(6181),Mk=n.n(Tk),Ak=n(4286),Rk=n.n(Ak),Nk=n(3038),Ik=n.n(Nk),Dk=!0,zk="Invariant failed";function Lk(e,t){if(!e){if(Dk)throw new Error(zk);var n="function"===typeof t?t():t,r=n?"".concat(zk,": ").concat(n):zk;throw new Error(r)}}var Bk=n(6769),Fk=n.n(Bk),Wk=n(8092),Uk=n.n(Wk),qk=n(8493),Hk=n(2066),Vk=n.n(Hk),Yk=n(298),Gk=n.n(Yk),$k=function(e){return 0===e?0:e>0?1:-1},Kk=function(e){return Fk()(e)&&e.indexOf("%")===e.length-1},Xk=function(e){return Gk()(e)&&!Vk()(e)},Qk=function(e){return Xk(e)||Fk()(e)},Jk=0,ej=function(e){var t=++Jk;return"".concat(e||"").concat(t)},tj=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Xk(e)&&!Fk()(e))return r;if(Kk(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return Vk()(n)&&(n=r),o&&n>t&&(n=t),n},nj=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},rj=function(e,t){return Xk(e)&&Xk(t)?function(n){return e+n*(t-e)}:function(){return t}};function oj(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"===typeof t?t(e):Mk()(e,t))===n})):null}function ij(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function aj(e){return aj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aj(e)}var lj=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],sj=["points","pathLength"],cj={svg:["viewBox","children"],polygon:sj,polyline:sj},uj=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],dj=function(e,n){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var r=e;if((0,t.isValidElement)(e)&&(r=e.props),!Uk()(r))return null;var o={};return Object.keys(r).forEach((function(e){uj.includes(e)&&(o[e]=n||function(t){return r[e](r,t)})})),o},fj=function(e,t,n){if(!Uk()(e)||"object"!==aj(e))return null;var r=null;return Object.keys(e).forEach((function(o){var i=e[o];uj.includes(o)&&"function"===typeof i&&(r||(r={}),r[o]=function(e,t,n){return function(r){return e(t,n,r),null}}(i,t,n))})),r},pj=["children"],hj=["children"];function mj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var vj={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},gj=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},yj=null,bj=null,xj=function e(n){if(n===yj&&Array.isArray(bj))return bj;var r=[];return t.Children.forEach(n,(function(t){Ok()(t)||((0,qk.isFragment)(t)?r=r.concat(e(t.props.children)):r.push(t))})),bj=r,yj=n,r};function wj(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map((function(e){return gj(e)})):[gj(t)],xj(e).forEach((function(e){var t=Mk()(e,"type.displayName")||Mk()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n}function Sj(e,t){var n=wj(e,t);return n&&n[0]}var kj=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Xk(n)||n<=0||!Xk(r)||r<=0)},jj=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Ej=function(e){return e&&e.type&&Fk()(e.type)&&jj.indexOf(e.type)>=0},Oj=function(e,n,r){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var o=e;if((0,t.isValidElement)(e)&&(o=e.props),!Uk()(o))return null;var i={};return Object.keys(o).forEach((function(e){var t;(function(e,t,n,r){var o,i=null!==(o=null===cj||void 0===cj?void 0:cj[r])&&void 0!==o?o:[];return!Pk()(e)&&(r&&i.includes(t)||lj.includes(t))||n&&uj.includes(t)})(null===(t=o)||void 0===t?void 0:t[e],e,n,r)&&(i[e]=o[e])})),i},Cj=function e(n,r){if(n===r)return!0;var o=t.Children.count(n);if(o!==t.Children.count(r))return!1;if(0===o)return!0;if(1===o)return Pj(Array.isArray(n)?n[0]:n,Array.isArray(r)?r[0]:r);for(var i=0;i<o;i++){var a=n[i],l=r[i];if(Array.isArray(a)||Array.isArray(l)){if(!e(a,l))return!1}else if(!Pj(a,l))return!1}return!0},Pj=function(e,t){if(Ok()(e)&&Ok()(t))return!0;if(!Ok()(e)&&!Ok()(t)){var n=e.props||{},r=n.children,o=mj(n,pj),i=t.props||{},a=i.children,l=mj(i,hj);return r&&a?ij(o,l)&&Cj(r,a):!r&&!a&&ij(o,l)}return!1},Zj=function(e,t){var n=[],r={};return xj(e).forEach((function(e,o){if(Ej(e))n.push(e);else if(e){var i=gj(e.type),a=t[i]||{},l=a.handler,s=a.once;if(l&&(!s||!r[i])){var c=l(e,i,o);n.push(c),r[i]=!0}}})),n},_j=["children","width","height","viewBox","className","style","title","desc"];function Tj(){return Tj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tj.apply(this,arguments)}function Mj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Aj(e){var n=e.children,r=e.width,o=e.height,i=e.viewBox,a=e.className,l=e.style,s=e.title,c=e.desc,u=Mj(e,_j),d=i||{width:r,height:o,x:0,y:0},f=(0,Mi.Z)("recharts-surface",a);return t.createElement("svg",Tj({},Oj(u,!0,"svg"),{className:f,width:r,height:o,style:l,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height)}),t.createElement("title",null,s),t.createElement("desc",null,c),n)}var Rj=["children","className"];function Nj(){return Nj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nj.apply(this,arguments)}function Ij(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Dj=t.forwardRef((function(e,n){var r=e.children,o=e.className,i=Ij(e,Rj),a=(0,Mi.Z)("recharts-layer",o);return t.createElement("g",Nj({className:a},Oj(i,!0),{ref:n}),r)}));function zj(e){return zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zj(e)}function Lj(){return Lj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lj.apply(this,arguments)}function Bj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Fj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fj(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wj(Object(n),!0).forEach((function(t){qj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qj(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=zj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=zj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hj(e){return Array.isArray(e)&&Qk(e[0])&&Qk(e[1])?e.join(" ~ "):e}var Vj=function(e){var n=e.separator,r=void 0===n?" : ":n,o=e.contentStyle,i=void 0===o?{}:o,a=e.itemStyle,l=void 0===a?{}:a,s=e.labelStyle,c=void 0===s?{}:s,u=e.payload,d=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,m=e.label,v=e.labelFormatter,g=e.accessibilityLayer,y=void 0!==g&&g,b=Uj({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),x=Uj({margin:0},c),w=!Ok()(m),S=w?m:"",k=(0,Mi.Z)("recharts-default-tooltip",p),j=(0,Mi.Z)("recharts-tooltip-label",h);w&&v&&void 0!==u&&null!==u&&(S=v(m,u));var E=y?{role:"status","aria-live":"assertive"}:{};return t.createElement("div",Lj({className:k,style:b},E),t.createElement("p",{className:j,style:x},t.isValidElement(S)?S:"".concat(S)),function(){if(u&&u.length){var e=(f?Rk()(u,f):u).map((function(e,n){if("none"===e.type)return null;var o=Uj({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},l),i=e.formatter||d||Hj,a=e.value,s=e.name,c=a,f=s;if(i&&null!=c&&null!=f){var p=i(a,s,e,n,u);if(Array.isArray(p)){var h=Bj(p,2);c=h[0],f=h[1]}else c=p}return t.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(n),style:o},Qk(f)?t.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Qk(f)?t.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,t.createElement("span",{className:"recharts-tooltip-item-value"},c),t.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return t.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function Yj(e){return Yj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yj(e)}function Gj(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Yj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $j="recharts-tooltip-wrapper",Kj={visibility:"hidden"};function Xj(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return(0,Mi.Z)($j,Gj(Gj(Gj(Gj({},"".concat($j,"-right"),Xk(n)&&t&&Xk(t.x)&&n>=t.x),"".concat($j,"-left"),Xk(n)&&t&&Xk(t.x)&&n<t.x),"".concat($j,"-bottom"),Xk(r)&&t&&Xk(t.y)&&r>=t.y),"".concat($j,"-top"),Xk(r)&&t&&Xk(t.y)&&r<t.y))}function Qj(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,o=e.offsetTopLeft,i=e.position,a=e.reverseDirection,l=e.tooltipDimension,s=e.viewBox,c=e.viewBoxDimension;if(i&&Xk(i[r]))return i[r];var u=n[r]-l-o,d=n[r]+o;return t[r]?a[r]?u:d:a[r]?u<s[r]?Math.max(d,s[r]):Math.max(u,s[r]):d+l>s[r]+c?Math.max(u,s[r]):Math.max(d,s[r])}function Jj(e){return Jj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jj(e)}function eE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eE(Object(n),!0).forEach((function(t){sE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cE(r.key),r)}}function rE(e,t,n){return t=iE(t),function(e,t){if(t&&("object"===Jj(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return aE(e)}(e,oE()?Reflect.construct(t,n||[],iE(e).constructor):t.apply(e,n))}function oE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oE=function(){return!!e})()}function iE(e){return iE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},iE(e)}function aE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lE(e,t){return lE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lE(e,t)}function sE(e,t,n){return(t=cE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cE(e){var t=function(e,t){if("object"!=Jj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jj(t)?t:String(t)}var uE=function(e){function n(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return sE(aE(e=rE(this,n,[].concat(r))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sE(aE(e),"handleKeyDown",(function(t){var n,r,o,i;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=e.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(o=null===(i=e.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),e}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lE(e,t)}(n,e),r=n,o=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,n=this.props,r=n.active,o=n.allowEscapeViewBox,i=n.animationDuration,a=n.animationEasing,l=n.children,s=n.coordinate,c=n.hasPayload,u=n.isAnimationActive,d=n.offset,f=n.position,p=n.reverseDirection,h=n.useTranslate3d,m=n.viewBox,v=n.wrapperStyle,g=function(e){var t,n,r=e.allowEscapeViewBox,o=e.coordinate,i=e.offsetTopLeft,a=e.position,l=e.reverseDirection,s=e.tooltipBox,c=e.useTranslate3d,u=e.viewBox;return{cssProperties:s.height>0&&s.width>0&&o?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:t=Qj({allowEscapeViewBox:r,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:l,tooltipDimension:s.width,viewBox:u,viewBoxDimension:u.width}),translateY:n=Qj({allowEscapeViewBox:r,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:l,tooltipDimension:s.height,viewBox:u,viewBoxDimension:u.height}),useTranslate3d:c}):Kj,cssClasses:Xj({translateX:t,translateY:n,coordinate:o})}}({allowEscapeViewBox:o,coordinate:s,offsetTopLeft:d,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:m}),y=g.cssClasses,b=g.cssProperties,x=tE(tE({transition:u&&r?"transform ".concat(i,"ms ").concat(a):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&c?"visible":"hidden",position:"absolute",top:0,left:0},v);return t.createElement("div",{tabIndex:-1,className:y,style:x,ref:function(t){e.wrapperNode=t}},l)}}],o&&nE(r.prototype,o),i&&nE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent),dE={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return dE[e]},set:function(e,t){if("string"===typeof e)dE[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){dE[t]=e[t]}))}}},fE=n(6339),pE=n.n(fE);function hE(e,t,n){return!0===t?pE()(e,n):Pk()(t)?pE()(e,t):e}function mE(e){return mE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mE(e)}function vE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vE(Object(n),!0).forEach((function(t){kE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jE(r.key),r)}}function bE(e,t,n){return t=wE(t),function(e,t){if(t&&("object"===mE(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xE()?Reflect.construct(t,n||[],wE(e).constructor):t.apply(e,n))}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xE=function(){return!!e})()}function wE(e){return wE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wE(e)}function SE(e,t){return SE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},SE(e,t)}function kE(e,t,n){return(t=jE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jE(e){var t=function(e,t){if("object"!=mE(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mE(t)?t:String(t)}function EE(e){return e.dataKey}var OE=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),bE(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&SE(e,t)}(n,e),r=n,o=[{key:"render",value:function(){var e=this,n=this.props,r=n.active,o=n.allowEscapeViewBox,i=n.animationDuration,a=n.animationEasing,l=n.content,s=n.coordinate,c=n.filterNull,u=n.isAnimationActive,d=n.offset,f=n.payload,p=n.payloadUniqBy,h=n.position,m=n.reverseDirection,v=n.useTranslate3d,g=n.viewBox,y=n.wrapperStyle,b=null!==f&&void 0!==f?f:[];c&&b.length&&(b=hE(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,EE));var x=b.length>0;return t.createElement(uE,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:u,active:r,coordinate:s,hasPayload:x,offset:d,position:h,reverseDirection:m,useTranslate3d:v,viewBox:g,wrapperStyle:y},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):"function"===typeof e?t.createElement(e,n):t.createElement(Vj,n)}(l,gE(gE({},this.props),{},{payload:b})))}}],o&&yE(r.prototype,o),i&&yE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);kE(OE,"displayName","Tooltip"),kE(OE,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!dE.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var CE=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]},PE=n(2085),ZE=n.n(PE),_E=(Math.abs,Math.atan2,Math.cos),TE=(Math.max,Math.min,Math.sin),ME=Math.sqrt,AE=Math.PI,RE=2*AE;var NE,IE,DE,zE,LE,BE,FE,WE,UE,qE,HE,VE,YE,GE,$E={draw:function(e,t){var n=ME(t/AE);e.moveTo(n,0),e.arc(0,0,n,0,RE)}},KE={draw:function(e,t){var n=ME(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},XE=ME(1/3),QE=2*XE,JE={draw:function(e,t){var n=ME(t/QE),r=n*XE;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},eO={draw:function(e,t){var n=ME(t),r=-n/2;e.rect(r,r,n,n)}},tO=TE(AE/10)/TE(7*AE/10),nO=TE(RE/10)*tO,rO=-_E(RE/10)*tO,oO={draw:function(e,t){var n=ME(.8908130915292852*t),r=nO*n,o=rO*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=RE*i/5,l=_E(a),s=TE(a);e.lineTo(s*n,-l*n),e.lineTo(l*r-s*o,s*r+l*o)}e.closePath()}},iO=ME(3),aO={draw:function(e,t){var n=-ME(t/(3*iO));e.moveTo(0,2*n),e.lineTo(-iO*n,-n),e.lineTo(iO*n,-n),e.closePath()}},lO=-.5,sO=ME(3)/2,cO=1/ME(12),uO=3*(cO/2+1),dO={draw:function(e,t){var n=ME(t/uO),r=n/2,o=n*cO,i=r,a=n*cO+n,l=-i,s=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(l,s),e.lineTo(lO*r-sO*o,sO*r+lO*o),e.lineTo(lO*i-sO*a,sO*i+lO*a),e.lineTo(lO*l-sO*s,sO*l+lO*s),e.lineTo(lO*r+sO*o,lO*o-sO*r),e.lineTo(lO*i+sO*a,lO*a-sO*i),e.lineTo(lO*l+sO*s,lO*s-sO*l),e.closePath()}};function fO(e){return function(){return e}}var pO=Math.PI,hO=2*pO,mO=1e-6,vO=hO-mO;function gO(e){this._+=e[0];for(var t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}var yO=function(){function e(t){W(this,e),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?gO:function(e){var t=Math.floor(e);if(!(t>=0))throw new Error("invalid digits: ".concat(e));if(t>15)return gO;var n=Math.pow(10,t);return function(e){this._+=e[0];for(var t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(t)}return H(e,[{key:"moveTo",value:function(e,t){this._append(NE||(NE=vs(["M",",",""])),this._x0=this._x1=+e,this._y0=this._y1=+t)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(IE||(IE=vs(["Z"]))))}},{key:"lineTo",value:function(e,t){this._append(DE||(DE=vs(["L",",",""])),this._x1=+e,this._y1=+t)}},{key:"quadraticCurveTo",value:function(e,t,n,r){this._append(zE||(zE=vs(["Q",",",",",",",""])),+e,+t,this._x1=+n,this._y1=+r)}},{key:"bezierCurveTo",value:function(e,t,n,r,o,i){this._append(LE||(LE=vs(["C",",",",",",",",",",",""])),+e,+t,+n,+r,this._x1=+o,this._y1=+i)}},{key:"arcTo",value:function(e,t,n,r,o){if(e=+e,t=+t,n=+n,r=+r,(o=+o)<0)throw new Error("negative radius: ".concat(o));var i=this._x1,a=this._y1,l=n-e,s=r-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append(BE||(BE=vs(["M",",",""])),this._x1=e,this._y1=t);else if(d>mO)if(Math.abs(u*l-s*c)>mO&&o){var f=n-i,p=r-a,h=l*l+s*s,m=f*f+p*p,v=Math.sqrt(h),g=Math.sqrt(d),y=o*Math.tan((pO-Math.acos((h+d-m)/(2*v*g)))/2),b=y/g,x=y/v;Math.abs(b-1)>mO&&this._append(WE||(WE=vs(["L",",",""])),e+b*c,t+b*u),this._append(UE||(UE=vs(["A",",",",0,0,",",",",",""])),o,o,+(u*f>c*p),this._x1=e+x*l,this._y1=t+x*s)}else this._append(FE||(FE=vs(["L",",",""])),this._x1=e,this._y1=t);else;}},{key:"arc",value:function(e,t,n,r,o,i){if(e=+e,t=+t,i=!!i,(n=+n)<0)throw new Error("negative radius: ".concat(n));var a=n*Math.cos(r),l=n*Math.sin(r),s=e+a,c=t+l,u=1^i,d=i?r-o:o-r;null===this._x1?this._append(qE||(qE=vs(["M",",",""])),s,c):(Math.abs(this._x1-s)>mO||Math.abs(this._y1-c)>mO)&&this._append(HE||(HE=vs(["L",",",""])),s,c),n&&(d<0&&(d=d%hO+hO),d>vO?this._append(VE||(VE=vs(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),n,n,u,e-a,t-l,n,n,u,this._x1=s,this._y1=c):d>mO&&this._append(YE||(YE=vs(["A",",",",0,",",",",",",",""])),n,n,+(d>=pO),u,this._x1=e+n*Math.cos(o),this._y1=t+n*Math.sin(o)))}},{key:"rect",value:function(e,t,n,r){this._append(GE||(GE=vs(["M",",","h","v","h","Z"])),this._x0=this._x1=+e,this._y0=this._y1=+t,n=+n,+r,-n)}},{key:"toString",value:function(){return this._}}]),e}();function bO(e){var t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{var r=Math.floor(n);if(!(r>=0))throw new RangeError("invalid digits: ".concat(n));t=r}return e},function(){return new yO(t)}}yO.prototype;ME(3),ME(3);function xO(e){return xO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xO(e)}var wO=["type","size","sizeType"];function SO(){return SO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SO.apply(this,arguments)}function kO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kO(Object(n),!0).forEach((function(t){EO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EO(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=xO(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xO(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OO(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var CO={symbolCircle:$E,symbolCross:KE,symbolDiamond:JE,symbolSquare:eO,symbolStar:oO,symbolTriangle:aO,symbolWye:dO},PO=Math.PI/180,ZO=function(e){var n=e.type,r=void 0===n?"circle":n,o=e.size,i=void 0===o?64:o,a=e.sizeType,l=void 0===a?"area":a,s=jO(jO({},OO(e,wO)),{},{type:r,size:i,sizeType:l}),c=s.className,u=s.cx,d=s.cy,f=Oj(s,!0);return u===+u&&d===+d&&i===+i?t.createElement("path",SO({},f,{className:(0,Mi.Z)("recharts-symbols",c),transform:"translate(".concat(u,", ").concat(d,")"),d:function(){var e=function(e){var t="symbol".concat(ZE()(e));return CO[t]||$E}(r),t=function(e,t){var n=null,r=bO(o);function o(){var o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return e="function"===typeof e?e:fO(e||$E),t="function"===typeof t?t:fO(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"===typeof t?t:fO(t),o):e},o.size=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),o):t},o.context=function(e){return arguments.length?(n=null==e?null:e,o):n},o}().type(e).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*PO;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(i,l,r));return t()}()})):null};function _O(e){return _O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_O(e)}function TO(){return TO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TO.apply(this,arguments)}function MO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function AO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LO(r.key),r)}}function RO(e,t,n){return t=IO(t),function(e,t){if(t&&("object"===_O(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NO()?Reflect.construct(t,n||[],IO(e).constructor):t.apply(e,n))}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NO=function(){return!!e})()}function IO(e){return IO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IO(e)}function DO(e,t){return DO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DO(e,t)}function zO(e,t,n){return(t=LO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LO(e){var t=function(e,t){if("object"!=_O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_O(t)?t:String(t)}ZO.registerSymbol=function(e,t){CO["symbol".concat(ZE()(e))]=t};var BO=32,FO=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),RO(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DO(e,t)}(n,e),r=n,o=[{key:"renderIcon",value:function(e){var n=this.props.inactiveColor,r=16,o=BO/6,i=BO/3,a=e.inactive?n:e.color;if("plainline"===e.type)return t.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:BO,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return t.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(BO,"M").concat(2*i,",").concat(r,"\n A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return t.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(BO,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(t.isValidElement(e.legendIcon)){var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MO(Object(n),!0).forEach((function(t){zO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete l.legendIcon,t.cloneElement(e.legendIcon,l)}return t.createElement(ZO,{fill:a,cx:r,cy:r,size:BO,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,n=this.props,r=n.payload,o=n.iconSize,i=n.layout,a=n.formatter,l=n.inactiveColor,s={x:0,y:0,width:BO,height:BO},c={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(n,r){var i=n.formatter||a,d=(0,Mi.Z)(zO(zO({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",n.inactive));if("none"===n.type)return null;var f=Pk()(n.value)?null:n.value;CE(!Pk()(n.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=n.inactive?l:n.color;return t.createElement("li",TO({className:d,style:c,key:"legend-item-".concat(r)},fj(e.props,n,r)),t.createElement(Aj,{width:o,height:o,viewBox:s,style:u},e.renderIcon(n)),t.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,n,r):f))}))}},{key:"render",value:function(){var e=this.props,n=e.payload,r=e.layout,o=e.align;if(!n||!n.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?o:"left"};return t.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],o&&AO(r.prototype,o),i&&AO(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function WO(e){return WO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WO(e)}zO(FO,"displayName","Legend"),zO(FO,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var UO=["ref"];function qO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qO(Object(n),!0).forEach((function(t){QO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function VO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,JO(r.key),r)}}function YO(e,t,n){return t=$O(t),function(e,t){if(t&&("object"===WO(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return KO(e)}(e,GO()?Reflect.construct(t,n||[],$O(e).constructor):t.apply(e,n))}function GO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(GO=function(){return!!e})()}function $O(e){return $O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$O(e)}function KO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){return XO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XO(e,t)}function QO(e,t,n){return(t=JO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JO(e){var t=function(e,t){if("object"!=WO(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=WO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==WO(t)?t:String(t)}function eC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tC(e){return e.value}var nC=function(e){function n(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return QO(KO(e=YO(this,n,[].concat(r))),"lastBoundingBox",{width:-1,height:-1}),e}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XO(e,t)}(n,e),r=n,o=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?HO({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,l=r.margin,s=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((s||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:l&&l.right||0}:{left:l&&l.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:l&&l.bottom||0}:{top:l&&l.top||0}),HO(HO({},t),n)}},{key:"render",value:function(){var e=this,n=this.props,r=n.content,o=n.width,i=n.height,a=n.wrapperStyle,l=n.payloadUniqBy,s=n.payload,c=HO(HO({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return t.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if("function"===typeof e)return t.createElement(e,n);n.ref;var r=eC(n,UO);return t.createElement(FO,r)}(r,HO(HO({},this.props),{},{payload:hE(s,l,tC)})))}}],i=[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&Xk(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],o&&VO(r.prototype,o),i&&VO(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rC.apply(this,arguments)}QO(nC,"displayName","Legend"),QO(nC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var oC=function(e){var n=e.cx,r=e.cy,o=e.r,i=e.className,a=(0,Mi.Z)("recharts-dot",i);return n===+n&&r===+r&&o===+o?t.createElement("circle",rC({},Oj(e,!1),dj(e),{className:a,cx:n,cy:r,r:o})):null},iC=n(2007),aC=n.n(iC),lC=Object.getOwnPropertyNames,sC=Object.getOwnPropertySymbols,cC=Object.prototype.hasOwnProperty;function uC(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function dC(e){return function(t,n,r){if(!t||!n||"object"!==typeof t||"object"!==typeof n)return e(t,n,r);var o=r.cache,i=o.get(t),a=o.get(n);if(i&&a)return i===n&&a===t;o.set(t,n),o.set(n,t);var l=e(t,n,r);return o.delete(t),o.delete(n),l}}function fC(e){return lC(e).concat(sC(e))}var pC=Object.hasOwn||function(e,t){return cC.call(e,t)};function hC(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var mC="_owner",vC=Object.getOwnPropertyDescriptor,gC=Object.keys;function yC(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function bC(e,t){return hC(e.getTime(),t.getTime())}function xC(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.entries(),l=0;(r=a.next())&&!r.done;){for(var s=t.entries(),c=!1,u=0;(o=s.next())&&!o.done;){var d=r.value,f=d[0],p=d[1],h=o.value,m=h[0],v=h[1];c||i[u]||!(c=n.equals(f,m,l,u,e,t,n)&&n.equals(p,v,f,m,e,t,n))||(i[u]=!0),u++}if(!c)return!1;l++}return!0}function wC(e,t,n){var r,o=gC(e),i=o.length;if(gC(t).length!==i)return!1;for(;i-- >0;){if((r=o[i])===mC&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!pC(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function SC(e,t,n){var r,o,i,a=fC(e),l=a.length;if(fC(t).length!==l)return!1;for(;l-- >0;){if((r=a[l])===mC&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!pC(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(o=vC(e,r),i=vC(t,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function kC(e,t){return hC(e.valueOf(),t.valueOf())}function jC(e,t){return e.source===t.source&&e.flags===t.flags}function EC(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.values();(r=a.next())&&!r.done;){for(var l=t.values(),s=!1,c=0;(o=l.next())&&!o.done;)s||i[c]||!(s=n.equals(r.value,o.value,r.value,o.value,e,t,n))||(i[c]=!0),c++;if(!s)return!1}return!0}function OC(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var CC="[object Arguments]",PC="[object Boolean]",ZC="[object Date]",_C="[object Map]",TC="[object Number]",MC="[object Object]",AC="[object RegExp]",RC="[object Set]",NC="[object String]",IC=Array.isArray,DC="function"===typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,zC=Object.assign,LC=Object.prototype.toString.call.bind(Object.prototype.toString);var BC=FC();FC({strict:!0}),FC({circular:!0}),FC({circular:!0,strict:!0}),FC({createInternalComparator:function(){return hC}}),FC({strict:!0,createInternalComparator:function(){return hC}}),FC({circular:!0,createInternalComparator:function(){return hC}}),FC({circular:!0,createInternalComparator:function(){return hC},strict:!0});function FC(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,o=e.createInternalComparator,i=e.createState,a=e.strict,l=void 0!==a&&a,s=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,o={areArraysEqual:r?SC:yC,areDatesEqual:bC,areMapsEqual:r?uC(xC,SC):xC,areObjectsEqual:r?SC:wC,arePrimitiveWrappersEqual:kC,areRegExpsEqual:jC,areSetsEqual:r?uC(EC,SC):EC,areTypedArraysEqual:r?SC:OC};if(n&&(o=zC({},o,n(o))),t){var i=dC(o.areArraysEqual),a=dC(o.areMapsEqual),l=dC(o.areObjectsEqual),s=dC(o.areSetsEqual);o=zC({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:l,areSetsEqual:s})}return o}(e),c=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,l=e.areSetsEqual,s=e.areTypedArraysEqual;return function(e,c,u){if(e===c)return!0;if(null==e||null==c||"object"!==typeof e||"object"!==typeof c)return e!==e&&c!==c;var d=e.constructor;if(d!==c.constructor)return!1;if(d===Object)return o(e,c,u);if(IC(e))return t(e,c,u);if(null!=DC&&DC(e))return s(e,c,u);if(d===Date)return n(e,c,u);if(d===RegExp)return a(e,c,u);if(d===Map)return r(e,c,u);if(d===Set)return l(e,c,u);var f=LC(e);return f===ZC?n(e,c,u):f===AC?a(e,c,u):f===_C?r(e,c,u):f===RC?l(e,c,u):f===MC?"function"!==typeof e.then&&"function"!==typeof c.then&&o(e,c,u):f===CC?o(e,c,u):(f===PC||f===TC||f===NC)&&i(e,c,u)}}(s),u=o?o(c):(t=c,function(e,n,r,o,i,a,l){return t(e,n,l)});return function(e){var t=e.circular,n=e.comparator,r=e.createState,o=e.equals,i=e.strict;if(r)return function(e,a){var l=r(),s=l.cache,c=void 0===s?t?new WeakMap:void 0:s,u=l.meta;return n(e,a,{cache:c,equals:o,meta:u,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return n(e,t,a)}}({circular:r,comparator:c,createState:i,equals:u,strict:l})}function WC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame((function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):function(e){"undefined"!==typeof requestAnimationFrame&&requestAnimationFrame(e)}(r)}))}function UC(e){return UC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UC(e)}function qC(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return HC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VC(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=qC(r),i=o[0],a=o.slice(1);return"number"===typeof i?void WC(n.bind(null,a),i):(n(i),void WC(n.bind(null,a)))}"object"===UC(r)&&e(r),"function"===typeof r&&r()}};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function YC(e){return YC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YC(e)}function GC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GC(Object(n),!0).forEach((function(t){KC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KC(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==YC(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==YC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===YC(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XC=function(e){return e},QC=function(e,t){return Object.keys(t).reduce((function(n,r){return $C($C({},n),{},KC({},r,e(r,t[r])))}),{})},JC=function(e,t,n){return e.map((function(e){return"".concat((r=e,r.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(n);var r})).join(",")};function eP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||nP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tP(e){return function(e){if(Array.isArray(e))return rP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||nP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nP(e,t){if(e){if("string"===typeof e)return rP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rP(e,t):void 0}}function rP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oP=1e-4,iP=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},aP=function(e,t){return e.map((function(e,n){return e*Math.pow(t,n)})).reduce((function(e,t){return e+t}))},lP=function(e,t){return function(n){var r=iP(e,t);return aP(r,n)}},sP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var l=t[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s=eP(l[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),4);r=s[0],o=s[1],i=s[2],a=s[3]}}[r,i,o,a].every((function(e){return"number"===typeof e&&e>=0&&e<=1}));var c,u,d=lP(r,i),f=lP(o,a),p=(c=r,u=i,function(e){var t=iP(c,u),n=[].concat(tP(t.map((function(e,t){return e*t})).slice(1)),[0]);return aP(n,e)}),h=function(e){return e>1?1:e<0?0:e},m=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=d(n)-t,i=p(n);if(Math.abs(o-t)<oP||i<oP)return f(n);n=h(n-o/i)}return f(n)};return m.isStepper=!1,m},cP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"===typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return sP(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,l=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,l=r*a/1e3+e;return Math.abs(l-t)<oP&&Math.abs(i)<oP?[t,0]:[l,i]};return l.isStepper=!0,l.dt=a,l}();default:if("cubic-bezier"===r.split("(")[0])return sP(r)}return"function"===typeof r?r:null};function uP(e){return uP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uP(e)}function dP(e){return function(e){if(Array.isArray(e))return gP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fP(Object(n),!0).forEach((function(t){hP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hP(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==uP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==uP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===uP(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||vP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vP(e,t){if(e){if("string"===typeof e)return gP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gP(e,t):void 0}}function gP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yP=function(e,t,n){return e+(t-e)*n},bP=function(e){return e.from!==e.to},xP=function e(t,n,r){var o=QC((function(e,n){if(bP(n)){var r=mP(t(n.from,n.to,n.velocity),2),o=r[0],i=r[1];return pP(pP({},n),{},{from:o,velocity:i})}return n}),n);return r<1?QC((function(e,t){return bP(t)?pP(pP({},t),{},{velocity:yP(t.velocity,o[e].velocity,r),from:yP(t.from,o[e].from,r)}):t}),n):e(t,o,r-1)},wP=function(e,t,n,r,o){var i,a,l,s,c=(i=e,a=t,[Object.keys(i),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),u=c.reduce((function(n,r){return pP(pP({},n),{},hP({},r,[e[r],t[r]]))}),{}),d=c.reduce((function(n,r){return pP(pP({},n),{},hP({},r,{from:e[r],velocity:0,to:t[r]}))}),{}),f=-1,p=function(){return null};return p=n.isStepper?function(r){l||(l=r);var i=(r-l)/n.dt;d=xP(n,d,i),o(pP(pP(pP({},e),t),QC((function(e,t){return t.from}),d))),l=r,Object.values(d).filter(bP).length&&(f=requestAnimationFrame(p))}:function(i){s||(s=i);var a=(i-s)/r,l=QC((function(e,t){return yP.apply(void 0,dP(t).concat([n(a)]))}),u);if(o(pP(pP(pP({},e),t),l)),a<1)f=requestAnimationFrame(p);else{var c=QC((function(e,t){return yP.apply(void 0,dP(t).concat([n(1)]))}),u);o(pP(pP(pP({},e),t),c))}},function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}};function SP(e){return SP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SP(e)}var kP=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function jP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EP(e){return function(e){if(Array.isArray(e))return OP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return OP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OP(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function CP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CP(Object(n),!0).forEach((function(t){ZP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZP(e,t,n){return(t=TP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TP(r.key),r)}}function TP(e){var t=function(e,t){if("object"!==SP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==SP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===SP(t)?t:String(t)}function MP(e,t){return MP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},MP(e,t)}function AP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IP(e);if(t){var o=IP(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RP(this,n)}}function RP(e,t){if(t&&("object"===SP(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return NP(e)}function NP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IP(e){return IP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IP(e)}var DP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&MP(e,t)}(a,e);var n,r,o,i=AP(a);function a(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,e,t)).props,o=r.isActive,l=r.attributeName,s=r.from,c=r.to,u=r.steps,d=r.children,f=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(NP(n)),n.changeStyle=n.changeStyle.bind(NP(n)),!o||f<=0)return n.state={style:{}},"function"===typeof d&&(n.state={style:c}),RP(n);if(u&&u.length)n.state={style:u[0].style};else if(s){if("function"===typeof d)return n.state={style:s},RP(n);n.state={style:l?ZP({},l,s):s}}else n.state={style:{}};return n}return n=a,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,a=t.to,l=t.from,s=this.state.style;if(r)if(n){if(!(BC(e.to,a)&&e.canBegin&&e.isActive)){var c=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=c||i?l:e.to;if(this.state&&s){var d={style:o?ZP({},o,u):u};(o&&s[o]!==u||!o&&s!==u)&&this.setState(d)}this.runAnimation(PP(PP({},this.props),{},{from:u,begin:0}))}}else{var f={style:o?ZP({},o,a):a};this.state&&s&&(o&&s[o]!==a||!o&&s!==a)&&this.setState(f)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,o=e.duration,i=e.easing,a=e.begin,l=e.onAnimationEnd,s=e.onAnimationStart,c=wP(n,r,cP(i),o,this.changeStyle);this.manager.start([s,a,function(){t.stopJSAnimation=c()},o,l])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,o=e.onAnimationStart,i=n[0],a=i.style,l=i.duration,s=void 0===l?0:l;return this.manager.start([o].concat(EP(n.reduce((function(e,r,o){if(0===o)return e;var i=r.duration,a=r.easing,l=void 0===a?"ease":a,s=r.style,c=r.properties,u=r.onAnimationEnd,d=o>0?n[o-1]:r,f=c||Object.keys(s);if("function"===typeof l||"spring"===l)return[].concat(EP(e),[t.runJSAnimation.bind(t,{from:d.style,to:s,duration:i,easing:l}),i]);var p=JC(f,i,l),h=PP(PP(PP({},d.style),s),{},{transition:p});return[].concat(EP(e),[h,i,u]).filter(XC)}),[a,Math.max(s,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=VC());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,l=e.onAnimationEnd,s=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(s.length>1)this.runStepAnimation(e);else{var d=r?ZP({},r,o):o,f=JC(Object.keys(d),n,i);u.start([a,t,PP(PP({},d),{},{transition:f}),n,l])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,n=e.children,r=(e.begin,e.duration),o=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,jP(e,kP)),a=t.Children.count(n),l=this.state.style;if("function"===typeof n)return n(l);if(!o||0===a||r<=0)return n;var s=function(e){var n=e.props,r=n.style,o=void 0===r?{}:r,a=n.className;return(0,t.cloneElement)(e,PP(PP({},i),{},{style:PP(PP({},o),l),className:a}))};return 1===a?s(t.Children.only(n)):t.createElement("div",null,t.Children.map(n,(function(e){return s(e)})))}}],r&&_P(n.prototype,r),o&&_P(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.PureComponent);DP.displayName="Animate",DP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},DP.propTypes={from:aC().oneOfType([aC().object,aC().string]),to:aC().oneOfType([aC().object,aC().string]),attributeName:aC().string,duration:aC().number,begin:aC().number,easing:aC().oneOfType([aC().string,aC().func]),steps:aC().arrayOf(aC().shape({duration:aC().number.isRequired,style:aC().object.isRequired,easing:aC().oneOfType([aC().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),aC().func]),properties:aC().arrayOf("string"),onAnimationEnd:aC().func})),children:aC().oneOfType([aC().node,aC().func]),isActive:aC().bool,canBegin:aC().bool,onAnimationEnd:aC().func,shouldReAnimate:aC().bool,onAnimationStart:aC().func,onAnimationReStart:aC().func};var zP=DP,LP=["children","appearOptions","enterOptions","leaveOptions"];function BP(e){return BP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BP(e)}function FP(){return FP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FP.apply(this,arguments)}function WP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function UP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UP(Object(n),!0).forEach((function(t){KP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XP(r.key),r)}}function VP(e,t){return VP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},VP(e,t)}function YP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$P(e);if(t){var o=$P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===BP(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GP(e)}(this,n)}}function GP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e){return $P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$P(e)}function KP(e,t,n){return(t=XP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XP(e){var t=function(e,t){if("object"!==BP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==BP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===BP(t)?t:String(t)}var QP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(n)?n:0},JP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VP(e,t)}(a,e);var n,r,o,i=YP(a);function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),KP(GP(e=i.call(this)),"handleEnter",(function(t,n){var r=e.props,o=r.appearOptions,i=r.enterOptions;e.handleStyleActive(n?o:i)})),KP(GP(e),"handleExit",(function(){var t=e.props.leaveOptions;e.handleStyleActive(t)})),e.state={isActive:!1},e}return n=a,r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(qP(qP({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,n=e.enterOptions,r=e.leaveOptions;return QP(t)+QP(n)+QP(r)}},{key:"render",value:function(){var e=this,n=this.props,r=n.children,o=(n.appearOptions,n.enterOptions,n.leaveOptions,WP(n,LP));return t.createElement(Fa,FP({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return t.createElement(zP,e.state,t.Children.only(r))}))}}],r&&HP(n.prototype,r),o&&HP(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.Component);JP.propTypes={appearOptions:aC().object,enterOptions:aC().object,leaveOptions:aC().object,children:aC().element};var eZ=JP;function tZ(e){var n=e.component,r=e.children,o=e.appear,i=e.enter,a=e.leave;return t.createElement(Ss,{component:n},t.Children.map(r,(function(e,n){return t.createElement(eZ,{appearOptions:o,enterOptions:i,leaveOptions:a,key:"child-".concat(n)},e)})))}tZ.propTypes={appear:aC().object,enter:aC().object,leave:aC().object,children:aC().oneOfType([aC().array,aC().element]),component:aC().any},tZ.defaultProps={component:"span"};var nZ=zP;function rZ(e){return rZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rZ(e)}function oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oZ.apply(this,arguments)}function iZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return aZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aZ(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lZ(Object(n),!0).forEach((function(t){cZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cZ(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rZ(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uZ=function(e,t,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),l=r>=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(e,",").concat(t+l*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+s*u[0],",").concat(t)),i+="L ".concat(e+n-s*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+l*u[1])),i+="L ".concat(e+n,",").concat(t+r-l*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n ").concat(e+n-s*u[2],",").concat(t+r)),i+="L ".concat(e+s*u[3],",").concat(t+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-l*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(e,",").concat(t+l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+s*f,",").concat(t,"\n L ").concat(e+n-s*f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+l*f,"\n L ").concat(e+n,",").concat(t+r-l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-s*f,",").concat(t+r,"\n L ").concat(e+s*f,",").concat(t+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-l*f," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},dZ=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,l=t.height;if(Math.abs(a)>0&&Math.abs(l)>0){var s=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+l),d=Math.max(i,i+l);return n>=s&&n<=c&&r>=u&&r<=d}return!1},fZ={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},pZ=function(e){var n=sZ(sZ({},fZ),e),r=(0,t.useRef)(),o=iZ((0,t.useState)(-1),2),i=o[0],a=o[1];(0,t.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch(t){}}),[]);var l=n.x,s=n.y,c=n.width,u=n.height,d=n.radius,f=n.className,p=n.animationEasing,h=n.animationDuration,m=n.animationBegin,v=n.isAnimationActive,g=n.isUpdateAnimationActive;if(l!==+l||s!==+s||c!==+c||u!==+u||0===c||0===u)return null;var y=(0,Mi.Z)("recharts-rectangle",f);return g?t.createElement(nZ,{canBegin:i>0,from:{width:c,height:u,x:l,y:s},to:{width:c,height:u,x:l,y:s},duration:h,animationEasing:p,isActive:g},(function(e){var o=e.width,a=e.height,l=e.x,s=e.y;return t.createElement(nZ,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:h,isActive:v,easing:p},t.createElement("path",oZ({},Oj(n,!0),{className:y,d:uZ(l,s,o,a,d),ref:r})))})):t.createElement("path",oZ({},Oj(n,!0),{className:y,d:uZ(l,s,c,u,d)}))};function hZ(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function mZ(e,t){switch(arguments.length){case 0:break;case 1:"function"===typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"===typeof t?this.interpolator(t):this.range(t)}return this}var vZ=function(e){$(n,e);var t=K(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xZ;if(W(this,n),r=t.call(this),Object.defineProperties(V(r),{_intern:{value:new Map},_key:{value:o}}),null!=e){var i,a=J(e);try{for(a.s();!(i=a.n()).done;){var l=(0,D.Z)(i.value,2),s=l[0],c=l[1];r.set(s,c)}}catch(u){a.e(u)}finally{a.f()}}return r}return H(n,[{key:"get",value:function(e){return G(Y(n.prototype),"get",this).call(this,gZ(this,e))}},{key:"has",value:function(e){return G(Y(n.prototype),"has",this).call(this,gZ(this,e))}},{key:"set",value:function(e,t){return G(Y(n.prototype),"set",this).call(this,yZ(this,e),t)}},{key:"delete",value:function(e){return G(Y(n.prototype),"delete",this).call(this,bZ(this,e))}}]),n}(X(Map));function gZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)?n.get(r):t}function yZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)?n.get(r):(n.set(r,t),t)}function bZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)&&(t=n.get(r),n.delete(r)),t}function xZ(e){return null!==e&&"object"===typeof e?e.valueOf():e}var wZ=Symbol("implicit");function SZ(){var e=new vZ,t=[],n=[],r=wZ;function o(o){var i=e.get(o);if(void 0===i){if(r!==wZ)return r;e.set(o,i=t.push(o)-1)}return n[i%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new vZ;var r,i=J(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;e.has(a)||e.set(a,t.push(a)-1)}}catch(l){i.e(l)}finally{i.f()}return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return SZ(t,n).unknown(r)},hZ.apply(o,arguments),o}function kZ(){var e,t,n=SZ().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,l=!1,s=0,c=0,u=.5;function d(){var n=r().length,d=a<i,f=d?a:i,p=d?i:a;e=(p-f)/Math.max(1,n-s+2*c),l&&(e=Math.floor(e)),f+=(p-f-e*(n-s))*u,t=e*(1-s),l&&(f=Math.round(f),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return f+e*t}));return o(d?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){var t;return arguments.length?(t=(0,D.Z)(e,2),i=t[0],a=t[1],i=+i,a=+a,d()):[i,a]},n.rangeRound=function(e){var t;return t=(0,D.Z)(e,2),i=t[0],a=t[1],i=+i,a=+a,l=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(l=!!e,d()):l},n.padding=function(e){return arguments.length?(s=Math.min(1,c=+e),d()):s},n.paddingInner=function(e){return arguments.length?(s=Math.min(1,e),d()):s},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return kZ(r(),[i,a]).round(l).paddingInner(s).paddingOuter(c).align(u)},hZ.apply(d(),arguments)}function jZ(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return jZ(t())},e}function EZ(){return jZ(kZ.apply(null,arguments).paddingInner(1))}function OZ(e){return OZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OZ(e)}function CZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CZ(Object(n),!0).forEach((function(t){ZZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZZ(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=OZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=OZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==OZ(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _Z={widthCache:{},cacheCount:0},TZ={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},MZ="recharts_measurement_span";var AZ=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||dE.isSsr)return{width:0,height:0};var n=function(e){var t=PZ({},e);return Object.keys(t).forEach((function(e){t[e]||delete t[e]})),t}(t),r=JSON.stringify({text:e,copyStyle:n});if(_Z.widthCache[r])return _Z.widthCache[r];try{var o=document.getElementById(MZ);o||((o=document.createElement("span")).setAttribute("id",MZ),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var i=PZ(PZ({},TZ),n);Object.assign(o.style,i),o.textContent="".concat(e);var a=o.getBoundingClientRect(),l={width:a.width,height:a.height};return _Z.widthCache[r]=l,++_Z.cacheCount>2e3&&(_Z.cacheCount=0,_Z.widthCache={}),l}catch(s){return{width:0,height:0}}};function RZ(e){return RZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RZ(e)}function NZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return IZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IZ(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zZ(r.key),r)}}function zZ(e){var t=function(e,t){if("object"!=RZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=RZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==RZ(t)?t:String(t)}var LZ=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,BZ=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,FZ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,WZ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,UZ={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},qZ=Object.keys(UZ),HZ="NaN";var VZ=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""===n||FZ.test(n)||(this.num=NaN,this.unit=""),qZ.includes(n)&&(this.num=function(e,t){return e*UZ[t]}(t,n),this.unit="px")}var t,n,r;return t=e,r=[{key:"parse",value:function(t){var n,r=NZ(null!==(n=WZ.exec(t))&&void 0!==n?n:[],3),o=r[1],i=r[2];return new e(parseFloat(o),null!==i&&void 0!==i?i:"")}}],(n=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&DZ(t.prototype,n),r&&DZ(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function YZ(e){if(e.includes(HZ))return HZ;for(var t=e;t.includes("*")||t.includes("/");){var n,r=NZ(null!==(n=LZ.exec(t))&&void 0!==n?n:[],4),o=r[1],i=r[2],a=r[3],l=VZ.parse(null!==o&&void 0!==o?o:""),s=VZ.parse(null!==a&&void 0!==a?a:""),c="*"===i?l.multiply(s):l.divide(s);if(c.isNaN())return HZ;t=t.replace(LZ,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=NZ(null!==(u=BZ.exec(t))&&void 0!==u?u:[],4),f=d[1],p=d[2],h=d[3],m=VZ.parse(null!==f&&void 0!==f?f:""),v=VZ.parse(null!==h&&void 0!==h?h:""),g="+"===p?m.add(v):m.subtract(v);if(g.isNaN())return HZ;t=t.replace(BZ,g.toString())}return t}var GZ=/\(([^()]*)\)/;function $Z(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=NZ(GZ.exec(t),2)[1];t=t.replace(GZ,YZ(n))}return t}(t),t=YZ(t)}function KZ(e){var t=function(e){try{return $Z(e)}catch(t){return HZ}}(e.slice(5,-1));return t===HZ?"":t}var XZ=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],QZ=["dx","dy","angle","className","breakAll"];function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(this,arguments)}function e_(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function t_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return n_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n_(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var r_=/[ \f\n\r\t\v\u2028\u2029]+/,o_=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var o=[];return Ok()(t)||(o=n?t.toString().split(""):t.toString().split(r_)),{wordsWithComputedWidth:o.map((function(e){return{word:e,width:AZ(e,r).width}})),spaceWidth:n?0:AZ("\xa0",r).width}}catch(i){return null}},i_=function(e){return[{words:Ok()(e)?[]:e.toString().split(r_)}]},a_=function(e){var t=e.width,n=e.scaleToFit,r=e.children,o=e.style,i=e.breakAll,a=e.maxLines;if((t||n)&&!dE.isSsr){var l=o_({breakAll:i,children:r,style:o});return l?function(e,t,n,r,o){var i=e.maxLines,a=e.children,l=e.style,s=e.breakAll,c=Xk(i),u=a,d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,l=e[e.length-1];if(l&&(null==r||o||l.width+a+n<Number(r)))l.words.push(i),l.width+=a+n;else{var s={words:[i],width:a};e.push(s)}return e}),[])},f=d(t);if(!c)return f;for(var p,h=function(e){var t=u.slice(0,e),n=o_({breakAll:s,style:l,children:t+"\u2026"}).wordsWithComputedWidth,o=d(n),a=o.length>i||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>Number(r);return[a,o]},m=0,v=u.length-1,g=0;m<=v&&g<=u.length-1;){var y=Math.floor((m+v)/2),b=t_(h(y-1),2),x=b[0],w=b[1],S=t_(h(y),1)[0];if(x||S||(m=y+1),x&&S&&(v=y-1),!x&&S){p=w;break}g++}return p||f}({breakAll:i,children:r,maxLines:a,style:o},l.wordsWithComputedWidth,l.spaceWidth,t,n):i_(r)}return i_(r)},l_="#808080",s_=function(e){var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.lineHeight,l=void 0===a?"1em":a,s=e.capHeight,c=void 0===s?"0.71em":s,u=e.scaleToFit,d=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,m=void 0===h?"end":h,v=e.fill,g=void 0===v?l_:v,y=e_(e,XZ),b=(0,t.useMemo)((function(){return a_({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:d,style:y.style,width:y.width})}),[y.breakAll,y.children,y.maxLines,d,y.style,y.width]),x=y.dx,w=y.dy,S=y.angle,k=y.className,j=y.breakAll,E=e_(y,QZ);if(!Qk(r)||!Qk(i))return null;var O,C=r+(Xk(x)?x:0),P=i+(Xk(w)?w:0);switch(m){case"start":O=KZ("calc(".concat(c,")"));break;case"middle":O=KZ("calc(".concat((b.length-1)/2," * -").concat(l," + (").concat(c," / 2))"));break;default:O=KZ("calc(".concat(b.length-1," * -").concat(l,")"))}var Z=[];if(d){var _=b[0].width,T=y.width;Z.push("scale(".concat((Xk(T)?T/_:1)/_,")"))}return S&&Z.push("rotate(".concat(S,", ").concat(C,", ").concat(P,")")),Z.length&&(E.transform=Z.join(" ")),t.createElement("text",JZ({},Oj(E,!0),{x:C,y:P,className:(0,Mi.Z)("recharts-text",k),textAnchor:p,fill:g.includes("url")?l_:g}),b.map((function(e,n){var r=e.words.join(j?"":" ");return t.createElement("tspan",{x:C,dy:0===n?O:l,key:r},r)})))},c_=Math.sqrt(50),u_=Math.sqrt(10),d_=Math.sqrt(2);function f_(e,t,n){var r,o,i,a=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(a)),s=a/Math.pow(10,l),c=s>=c_?10:s>=u_?5:s>=d_?2:1;return l<0?(i=Math.pow(10,-l)/c,(r=Math.round(e*i))/i<e&&++r,(o=Math.round(t*i))/i>t&&--o,i=-i):(i=Math.pow(10,l)*c,(r=Math.round(e/i))*i<e&&++r,(o=Math.round(t/i))*i>t&&--o),o<r&&.5<=n&&n<2?f_(e,t,2*n):[r,o,i]}function p_(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];var r=t<e,o=r?f_(t,e,n):f_(e,t,n),i=(0,D.Z)(o,3),a=i[0],l=i[1],s=i[2];if(!(l>=a))return[];var c=l-a+1,u=new Array(c);if(r)if(s<0)for(var d=0;d<c;++d)u[d]=(l-d)/-s;else for(var f=0;f<c;++f)u[f]=(l-f)*s;else if(s<0)for(var p=0;p<c;++p)u[p]=(a+p)/-s;else for(var h=0;h<c;++h)u[h]=(a+h)*s;return u}function h_(e,t,n){return f_(e=+e,t=+t,n=+n)[2]}function m_(e,t,n){n=+n;var r=(t=+t)<(e=+e),o=r?h_(t,e,n):h_(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function v_(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function g_(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function y_(e){var t,n,r;function o(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(o<i){if(0!==t(r,r))return i;do{var a=o+i>>>1;n(e[a],r)<0?o=a+1:i=a}while(o<i)}return o}return 2!==e.length?(t=v_,n=function(t,n){return v_(e(t),n)},r=function(t,n){return e(t)-n}):(t=e===v_||e===g_?e:b_,n=e,r=e),{left:o,center:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=o(e,t,n,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length)-1);return i>n&&r(e[i-1],t)>-r(e[i],t)?i-1:i},right:function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(o<i){if(0!==t(r,r))return i;do{var a=o+i>>>1;n(e[a],r)<=0?o=a+1:i=a}while(o<i)}return o}}}function b_(){return 0}var x_=R().mark(S_);function w_(e){return null===e?NaN:+e}function S_(e,t){var n,r,o,i,a,l,s;return R().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(void 0!==t){c.next=21;break}n=J(e),c.prev=2,n.s();case 4:if((r=n.n()).done){c.next=11;break}if(!(null!=(o=r.value)&&(o=+o)>=o)){c.next=9;break}return c.next=9,o;case 9:c.next=4;break;case 11:c.next=16;break;case 13:c.prev=13,c.t0=c.catch(2),n.e(c.t0);case 16:return c.prev=16,n.f(),c.finish(16);case 19:c.next=40;break;case 21:i=-1,a=J(e),c.prev=23,a.s();case 25:if((l=a.n()).done){c.next=32;break}if(s=l.value,!(null!=(s=t(s,++i,e))&&(s=+s)>=s)){c.next=30;break}return c.next=30,s;case 30:c.next=25;break;case 32:c.next=37;break;case 34:c.prev=34,c.t1=c.catch(23),a.e(c.t1);case 37:return c.prev=37,a.f(),c.finish(37);case 40:case"end":return c.stop()}}),x_,null,[[2,13,16,19],[23,34,37,40]])}var k_=y_(v_),j_=k_.right,E_=(k_.left,y_(w_).center,j_);function O_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function C_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function P_(){}var Z_=.7,__=1/Z_,T_="\\s*([+-]?\\d+)\\s*",M_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",A_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",R_=/^#([0-9a-f]{3,8})$/,N_=new RegExp("^rgb\\(".concat(T_,",").concat(T_,",").concat(T_,"\\)$")),I_=new RegExp("^rgb\\(".concat(A_,",").concat(A_,",").concat(A_,"\\)$")),D_=new RegExp("^rgba\\(".concat(T_,",").concat(T_,",").concat(T_,",").concat(M_,"\\)$")),z_=new RegExp("^rgba\\(".concat(A_,",").concat(A_,",").concat(A_,",").concat(M_,"\\)$")),L_=new RegExp("^hsl\\(".concat(M_,",").concat(A_,",").concat(A_,"\\)$")),B_=new RegExp("^hsla\\(".concat(M_,",").concat(A_,",").concat(A_,",").concat(M_,"\\)$")),F_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function W_(){return this.rgb().formatHex()}function U_(){return this.rgb().formatRgb()}function q_(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=R_.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?H_(t):3===n?new G_(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?V_(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?V_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=N_.exec(e))?new G_(t[1],t[2],t[3],1):(t=I_.exec(e))?new G_(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=D_.exec(e))?V_(t[1],t[2],t[3],t[4]):(t=z_.exec(e))?V_(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=L_.exec(e))?eT(t[1],t[2]/100,t[3]/100,1):(t=B_.exec(e))?eT(t[1],t[2]/100,t[3]/100,t[4]):F_.hasOwnProperty(e)?H_(F_[e]):"transparent"===e?new G_(NaN,NaN,NaN,0):null}function H_(e){return new G_(e>>16&255,e>>8&255,255&e,1)}function V_(e,t,n,r){return r<=0&&(e=t=n=NaN),new G_(e,t,n,r)}function Y_(e,t,n,r){return 1===arguments.length?((o=e)instanceof P_||(o=q_(o)),o?new G_((o=o.rgb()).r,o.g,o.b,o.opacity):new G_):new G_(e,t,n,null==r?1:r);var o}function G_(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function $_(){return"#".concat(J_(this.r)).concat(J_(this.g)).concat(J_(this.b))}function K_(){var e=X_(this.opacity);return"".concat(1===e?"rgb(":"rgba(").concat(Q_(this.r),", ").concat(Q_(this.g),", ").concat(Q_(this.b)).concat(1===e?")":", ".concat(e,")"))}function X_(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Q_(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function J_(e){return((e=Q_(e))<16?"0":"")+e.toString(16)}function eT(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new nT(e,t,n,r)}function tT(e){if(e instanceof nT)return new nT(e.h,e.s,e.l,e.opacity);if(e instanceof P_||(e=q_(e)),!e)return new nT;if(e instanceof nT)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new nT(a,l,s,e.opacity)}function nT(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function rT(e){return(e=(e||0)%360)<0?e+360:e}function oT(e){return Math.max(0,Math.min(1,e||0))}function iT(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function aT(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}O_(P_,q_,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:W_,formatHex:W_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tT(this).formatHsl()},formatRgb:U_,toString:U_}),O_(G_,Y_,C_(P_,{brighter:function(e){return e=null==e?__:Math.pow(__,e),new G_(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Z_:Math.pow(Z_,e),new G_(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},clamp:function(){return new G_(Q_(this.r),Q_(this.g),Q_(this.b),X_(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$_,formatHex:$_,formatHex8:function(){return"#".concat(J_(this.r)).concat(J_(this.g)).concat(J_(this.b)).concat(J_(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:K_,toString:K_})),O_(nT,(function(e,t,n,r){return 1===arguments.length?tT(e):new nT(e,t,n,null==r?1:r)}),C_(P_,{brighter:function(e){return e=null==e?__:Math.pow(__,e),new nT(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Z_:Math.pow(Z_,e),new nT(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new G_(iT(e>=240?e-240:e+120,o,r),iT(e,o,r),iT(e<120?e+240:e-120,o,r),this.opacity)},clamp:function(){return new nT(rT(this.h),oT(this.s),oT(this.l),X_(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=X_(this.opacity);return"".concat(1===e?"hsl(":"hsla(").concat(rT(this.h),", ").concat(100*oT(this.s),"%, ").concat(100*oT(this.l),"%").concat(1===e?")":", ".concat(e,")"))}}));var lT=function(e){return function(){return e}};function sT(e,t){return function(n){return e+n*t}}function cT(e){return 1===(e=+e)?uT:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lT(isNaN(t)?n:t)}}function uT(e,t){var n=t-e;return n?sT(e,n):lT(isNaN(e)?t:e)}var dT=function e(t){var n=cT(t);function r(e,t){var r=n((e=Y_(e)).r,(t=Y_(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=uT(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function fT(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=Y_(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}fT((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return aT((n-r/t)*t,a,o,i,l)}})),fT((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return aT((n-r/t)*t,o,i,a,l)}}));function pT(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=wT(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function hT(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function mT(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function vT(e,t){var n,r={},o={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=wT(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var gT=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yT=new RegExp(gT.source,"g");function bT(e,t){var n,r,o,i=gT.lastIndex=yT.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=gT.exec(e))&&(r=yT.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:mT(n,r)})),i=yT.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function xT(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function wT(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?lT(t):("number"===o?mT:"string"===o?(n=q_(t))?(t=n,dT):bT:t instanceof q_?dT:t instanceof Date?hT:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?pT:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?vT:mT:xT))(e,t)}function ST(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function kT(e){return+e}var jT=[0,1];function ET(e){return e}function OT(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function CT(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=OT(o,r),i=n(a,i)):(r=OT(r,o),i=n(i,a)),function(e){return i(r(e))}}function PT(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=OT(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=E_(e,t,1,r)-1;return i[n](o[n](t))}}function ZT(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function _T(){var e,t,n,r,o,i,a=jT,l=jT,s=wT,c=ET;function u(){var e=Math.min(a.length,l.length);return c!==ET&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?PT:CT,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(l,a.map(e),mT)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,kT),u()):a.slice()},d.range=function(e){return arguments.length?(l=Array.from(e),u()):l.slice()},d.rangeRound=function(e){return l=Array.from(e),s=ST,u()},d.clamp=function(e){return arguments.length?(c=!!e||ET,u()):c!==ET},d.interpolate=function(e){return arguments.length?(s=e,u()):s},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function TT(){return _T()(ET,ET)}var MT,AT=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function RT(e){if(!(t=AT.exec(e)))throw new Error("invalid format: "+e);var t;return new NT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function NT(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function IT(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function DT(e){return(e=IT(Math.abs(e)))?e[1]:NaN}function zT(e,t){var n=IT(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}RT.prototype=NT.prototype,NT.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var LT={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return zT(100*e,t)},r:zT,s:function(e,t){var n=IT(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(MT=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+IT(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function BT(e){return e}var FT,WT,UT,qT=Array.prototype.map,HT=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function VT(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?BT:(t=qT.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?BT:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(qT.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"\u2212":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=RT(e)).fill,n=e.align,d=e.sign,f=e.symbol,p=e.zero,h=e.width,m=e.comma,v=e.precision,g=e.trim,y=e.type;"n"===y?(m=!0,y="g"):LT[y]||(void 0===v&&(v=12),g=!0,y="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===f?i:/[%p]/.test(y)?s:"",w=LT[y],S=/[defgprs%]/.test(y);function k(e){var o,i,s,f=b,k=x;if("c"===y)k=w(e)+k,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),j&&0===+e&&"+"!==d&&(j=!1),f=(j?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===y?HT[8+MT/3]:"")+k+(j&&"("===d?")":""),S)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){k=(46===s?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}m&&!p&&(e=r(e,1/0));var E=f.length+e.length+k.length,O=E<h?new Array(h-E+1).join(t):"";switch(m&&p&&(e=r(O+e,O.length?h-k.length:1/0),O=""),n){case"<":e=f+e+k+O;break;case"=":e=f+O+e+k;break;case"^":e=O.slice(0,E=O.length>>1)+f+e+k+O.slice(E);break;default:e=O+f+e+k}return l(e)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=RT(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(DT(t)/3))),o=Math.pow(10,-r),i=HT[8+r/3];return function(e){return n(o*e)+i}}}}function YT(e,t,n,r){var o,i=m_(e,t,n);switch((r=RT(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(DT(t)/3)))-DT(Math.abs(e)))}(i,a))||(r.precision=o),UT(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,DT(t)-DT(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-DT(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return WT(r)}function GT(e){var t=e.domain;return e.ticks=function(e){var n=t();return p_(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return YT(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,l=i.length-1,s=i[a],c=i[l],u=10;for(c<s&&(o=s,s=c,c=o,o=a,a=l,l=o);u-- >0;){if((o=h_(s,c,n))===r)return i[a]=s,i[l]=c,t(i);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function $T(){var e=TT();return e.copy=function(){return ZT(e,$T())},hZ.apply(e,arguments),GT(e)}function KT(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,kT),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return KT(e).unknown(t)},e=arguments.length?Array.from(e,kT):[0,1],GT(n)}function XT(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function QT(e){return Math.log(e)}function JT(e){return Math.exp(e)}function eM(e){return-Math.log(-e)}function tM(e){return-Math.exp(-e)}function nM(e){return isFinite(e)?+("1e"+e):e<0?0:e}function rM(e){return function(t,n){return-e(-t,n)}}function oM(e){var t,n,r=e(QT,JT),o=r.domain,i=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(i),n=function(e){return 10===e?nM:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(i),o()[0]<0?(t=rM(t),n=rM(n),e(eM,tM)):e(QT,JT),r}return r.base=function(e){return arguments.length?(i=+e,a()):i},r.domain=function(e){return arguments.length?(o(e),a()):o()},r.ticks=function(e){var r=o(),a=r[0],l=r[r.length-1],s=l<a;if(s){var c=[l,a];a=c[0],l=c[1]}var u,d,f=t(a),p=t(l),h=null==e?10:+e,m=[];if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<i;++u)if(!((d=f<0?u/n(-f):u*n(f))<a)){if(d>l)break;m.push(d)}}else for(;f<=p;++f)for(u=i-1;u>=1;--u)if(!((d=f>0?u/n(-f):u*n(f))<a)){if(d>l)break;m.push(d)}2*m.length<h&&(m=p_(a,l,h))}else m=p_(f,p,Math.min(p-f,h)).map(n);return s?m.reverse():m},r.tickFormat=function(e,o){if(null==e&&(e=10),null==o&&(o=10===i?"s":","),"function"!==typeof o&&(i%1||null!=(o=RT(o)).precision||(o.trim=!0),o=WT(o)),e===1/0)return o;var a=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i<i-.5&&(r*=i),r<=a?o(e):""}},r.nice=function(){return o(XT(o(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function iM(){var e=oM(_T()).domain([1,10]);return e.copy=function(){return ZT(e,iM()).base(e.base())},hZ.apply(e,arguments),e}function aM(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function lM(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function sM(e){var t=1,n=e(aM(t),lM(t));return n.constant=function(n){return arguments.length?e(aM(t=+n),lM(t)):t},GT(n)}function cM(){var e=sM(_T());return e.copy=function(){return ZT(e,cM()).constant(e.constant())},hZ.apply(e,arguments)}function uM(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function dM(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function fM(e){return e<0?-e*e:e*e}function pM(e){var t=e(ET,ET),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(ET,ET):.5===n?e(dM,fM):e(uM(n),uM(1/n)):n},GT(t)}function hM(){var e=pM(_T());return e.copy=function(){return ZT(e,hM()).exponent(e.exponent())},hZ.apply(e,arguments),e}function mM(){return hM.apply(null,arguments).exponent(.5)}function vM(e){return Math.sign(e)*e*e}function gM(){var e,t=TT(),n=[0,1],r=!1;function o(n){var o=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(o)?e:r?Math.round(o):o}return o.invert=function(e){return t.invert(vM(e))},o.domain=function(e){return arguments.length?(t.domain(e),o):t.domain()},o.range=function(e){return arguments.length?(t.range((n=Array.from(e,kT)).map(vM)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(r=!!e,o):r},o.clamp=function(e){return arguments.length?(t.clamp(e),o):t.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return gM(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},hZ.apply(o,arguments),GT(o)}function yM(e,t){var n;if(void 0===t){var r,o=J(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n<i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=J(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n<c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function bM(e,t){var n;if(void 0===t){var r,o=J(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n>i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=J(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function xM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v_;if(e===v_)return wM;if("function"!==typeof e)throw new TypeError("compare is not a function");return function(t,n){var r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function wM(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function SM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4?arguments[4]:void 0;if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=void 0===o?wM:xM(o);r>n;){if(r-n>600){var i=r-n+1,a=t-n+1,l=Math.log(i),s=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*s*(i-s)/i)*(a-i/2<0?-1:1);SM(e,t,Math.max(n,Math.floor(t-a*s/i+c)),Math.min(r,Math.floor(t+(i-a)*s/i+c)),o)}var u=e[t],d=n,f=r;for(kM(e,n,t),o(e[r],u)>0&&kM(e,n,r);d<f;){for(kM(e,d,f),++d,--f;o(e[d],u)<0;)++d;for(;o(e[f],u)>0;)--f}0===o(e[n],u)?kM(e,n,f):kM(e,++f,r),f<=t&&(n=f+1),t<=f&&(r=f-1)}return e}function kM(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function jM(e,t,n){if((r=(e=Float64Array.from(S_(e,n))).length)&&!isNaN(t=+t)){if(t<=0||r<2)return bM(e);if(t>=1)return yM(e);var r,o=(r-1)*t,i=Math.floor(o),a=yM(SM(e,i).subarray(0,i+1));return a+(bM(e.subarray(i+1))-a)*(o-i)}}function EM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w_;if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}function OM(){var e,t=[],n=[],r=[];function o(){var e=0,o=Math.max(1,n.length);for(r=new Array(o-1);++e<o;)r[e-1]=EM(t,e/o);return i}function i(t){return null==t||isNaN(t=+t)?e:n[E_(r,t)]}return i.invertExtent=function(e){var o=n.indexOf(e);return o<0?[NaN,NaN]:[o>0?r[o-1]:t[0],o<r.length?r[o]:t[t.length-1]]},i.domain=function(e){if(!arguments.length)return t.slice();t=[];var n,r=J(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;null==i||isNaN(i=+i)||t.push(i)}}catch(a){r.e(a)}finally{r.f()}return t.sort(v_),o()},i.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.quantiles=function(){return r.slice()},i.copy=function(){return OM().domain(t).range(n).unknown(e)},hZ.apply(i,arguments)}function CM(){var e,t=0,n=1,r=1,o=[.5],i=[0,1];function a(t){return null!=t&&t<=t?i[E_(o,t,0,r)]:e}function l(){var e=-1;for(o=new Array(r);++e<r;)o[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){var r;return arguments.length?(r=(0,D.Z)(e,2),t=r[0],n=r[1],t=+t,n=+n,l()):[t,n]},a.range=function(e){return arguments.length?(r=(i=Array.from(e)).length-1,l()):i.slice()},a.invertExtent=function(e){var a=i.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return CM().domain([t,n]).range(i).unknown(e)},hZ.apply(GT(a),arguments)}function PM(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[E_(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return PM().domain(t).range(n).unknown(e)},hZ.apply(o,arguments)}FT=VT({thousands:",",grouping:[3],currency:["$",""]}),WT=FT.format,UT=FT.formatPrefix;var ZM=1e3,_M=6e4,TM=36e5,MM=864e5,AM=6048e5,RM=2592e6,NM=31536e6,IM=new Date,DM=new Date;function zM(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,l=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return l;do{l.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return l},o.filter=function(n){return zM((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return IM.setTime(+t),DM.setTime(+r),e(IM),e(DM),Math.floor(n(IM,DM))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var LM=zM((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));LM.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?zM((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):LM:null};LM.range;var BM=zM((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*ZM)}),(function(e,t){return(t-e)/ZM}),(function(e){return e.getUTCSeconds()})),FM=(BM.range,zM((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZM)}),(function(e,t){e.setTime(+e+t*_M)}),(function(e,t){return(t-e)/_M}),(function(e){return e.getMinutes()}))),WM=(FM.range,zM((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*_M)}),(function(e,t){return(t-e)/_M}),(function(e){return e.getUTCMinutes()}))),UM=(WM.range,zM((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZM-e.getMinutes()*_M)}),(function(e,t){e.setTime(+e+t*TM)}),(function(e,t){return(t-e)/TM}),(function(e){return e.getHours()}))),qM=(UM.range,zM((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*TM)}),(function(e,t){return(t-e)/TM}),(function(e){return e.getUTCHours()}))),HM=(qM.range,zM((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_M)/MM}),(function(e){return e.getDate()-1}))),VM=(HM.range,zM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/MM}),(function(e){return e.getUTCDate()-1}))),YM=(VM.range,zM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/MM}),(function(e){return Math.floor(e/MM)})));YM.range;function GM(e){return zM((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_M)/AM}))}var $M=GM(0),KM=GM(1),XM=GM(2),QM=GM(3),JM=GM(4),eA=GM(5),tA=GM(6);$M.range,KM.range,XM.range,QM.range,JM.range,eA.range,tA.range;function nA(e){return zM((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/AM}))}var rA=nA(0),oA=nA(1),iA=nA(2),aA=nA(3),lA=nA(4),sA=nA(5),cA=nA(6),uA=(rA.range,oA.range,iA.range,aA.range,lA.range,sA.range,cA.range,zM((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),dA=(uA.range,zM((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),fA=(dA.range,zM((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));fA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?zM((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};fA.range;var pA=zM((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));pA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?zM((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};pA.range;function hA(e,t,n,r,o,i){var a=[[BM,1,ZM],[BM,5,5e3],[BM,15,15e3],[BM,30,3e4],[i,1,_M],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,TM],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,MM],[r,2,1728e5],[n,1,AM],[t,1,RM],[t,3,7776e6],[e,1,NM]];function l(t,n,r){var o=Math.abs(n-t)/r,i=y_((function(e){return(0,D.Z)(e,3)[2]})).right(a,o);if(i===a.length)return e.every(m_(t/NM,n/NM,r));if(0===i)return LM.every(Math.max(m_(t,n,r),1));var l=(0,D.Z)(a[o/a[i-1][2]<a[i][2]/o?i-1:i],2),s=l[0],c=l[1];return s.every(c)}return[function(e,t,n){var r=t<e;if(r){var o=[t,e];e=o[0],t=o[1]}var i=n&&"function"===typeof n.range?n:l(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},l]}var mA=hA(pA,dA,rA,YM,qM,WM),vA=(0,D.Z)(mA,2),gA=vA[0],yA=vA[1],bA=hA(fA,uA,$M,HM,UM,FM),xA=(0,D.Z)(bA,2),wA=xA[0],SA=xA[1];function kA(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function jA(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function EA(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var OA,CA,PA,ZA={"-":"",_:" ",0:"0"},_A=/^\s*\d+/,TA=/^%/,MA=/[\\^$*+?|[\]().{}]/g;function AA(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function RA(e){return e.replace(MA,"\\$&")}function NA(e){return new RegExp("^(?:"+e.map(RA).join("|")+")","i")}function IA(e){return new Map(e.map((function(e,t){return[e.toLowerCase(),t]})))}function DA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function zA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function LA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function BA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function FA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function WA(e,t,n){var r=_A.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function UA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function qA(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function HA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function VA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function YA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function GA(e,t,n){var r=_A.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function $A(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function KA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function XA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function QA(e,t,n){var r=_A.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function JA(e,t,n){var r=_A.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function eR(e,t,n){var r=TA.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function tR(e,t,n){var r=_A.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function nR(e,t,n){var r=_A.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function rR(e,t){return AA(e.getDate(),t,2)}function oR(e,t){return AA(e.getHours(),t,2)}function iR(e,t){return AA(e.getHours()%12||12,t,2)}function aR(e,t){return AA(1+HM.count(fA(e),e),t,3)}function lR(e,t){return AA(e.getMilliseconds(),t,3)}function sR(e,t){return lR(e,t)+"000"}function cR(e,t){return AA(e.getMonth()+1,t,2)}function uR(e,t){return AA(e.getMinutes(),t,2)}function dR(e,t){return AA(e.getSeconds(),t,2)}function fR(e){var t=e.getDay();return 0===t?7:t}function pR(e,t){return AA($M.count(fA(e)-1,e),t,2)}function hR(e){var t=e.getDay();return t>=4||0===t?JM(e):JM.ceil(e)}function mR(e,t){return e=hR(e),AA(JM.count(fA(e),e)+(4===fA(e).getDay()),t,2)}function vR(e){return e.getDay()}function gR(e,t){return AA(KM.count(fA(e)-1,e),t,2)}function yR(e,t){return AA(e.getFullYear()%100,t,2)}function bR(e,t){return AA((e=hR(e)).getFullYear()%100,t,2)}function xR(e,t){return AA(e.getFullYear()%1e4,t,4)}function wR(e,t){var n=e.getDay();return AA((e=n>=4||0===n?JM(e):JM.ceil(e)).getFullYear()%1e4,t,4)}function SR(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+AA(t/60|0,"0",2)+AA(t%60,"0",2)}function kR(e,t){return AA(e.getUTCDate(),t,2)}function jR(e,t){return AA(e.getUTCHours(),t,2)}function ER(e,t){return AA(e.getUTCHours()%12||12,t,2)}function OR(e,t){return AA(1+VM.count(pA(e),e),t,3)}function CR(e,t){return AA(e.getUTCMilliseconds(),t,3)}function PR(e,t){return CR(e,t)+"000"}function ZR(e,t){return AA(e.getUTCMonth()+1,t,2)}function _R(e,t){return AA(e.getUTCMinutes(),t,2)}function TR(e,t){return AA(e.getUTCSeconds(),t,2)}function MR(e){var t=e.getUTCDay();return 0===t?7:t}function AR(e,t){return AA(rA.count(pA(e)-1,e),t,2)}function RR(e){var t=e.getUTCDay();return t>=4||0===t?lA(e):lA.ceil(e)}function NR(e,t){return e=RR(e),AA(lA.count(pA(e),e)+(4===pA(e).getUTCDay()),t,2)}function IR(e){return e.getUTCDay()}function DR(e,t){return AA(oA.count(pA(e)-1,e),t,2)}function zR(e,t){return AA(e.getUTCFullYear()%100,t,2)}function LR(e,t){return AA((e=RR(e)).getUTCFullYear()%100,t,2)}function BR(e,t){return AA(e.getUTCFullYear()%1e4,t,4)}function FR(e,t){var n=e.getUTCDay();return AA((e=n>=4||0===n?lA(e):lA.ceil(e)).getUTCFullYear()%1e4,t,4)}function WR(){return"+0000"}function UR(){return"%"}function qR(e){return+e}function HR(e){return Math.floor(+e/1e3)}function VR(e){return new Date(e)}function YR(e){return e instanceof Date?+e:+new Date(+e)}function GR(e,t,n,r,o,i,a,l,s,c){var u=TT(),d=u.invert,f=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),y=c("%b %d"),b=c("%B"),x=c("%Y");function w(e){return(s(e)<e?p:l(e)<e?h:a(e)<e?m:i(e)<e?v:r(e)<e?o(e)<e?g:y:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,YR)):f().map(VR)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=f();return e&&"function"===typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(XT(n,e)):u},u.copy=function(){return ZT(u,GR(e,t,n,r,o,i,a,l,s,c))},u}function $R(){return hZ.apply(GR(wA,SA,fA,uA,$M,HM,UM,FM,BM,CA).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function KR(){return hZ.apply(GR(gA,yA,pA,dA,rA,VM,qM,WM,BM,PA).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function XR(){var e,t,n,r,o,i=0,a=1,l=ET,s=!1;function c(t){return null==t||isNaN(t=+t)?o:l(0===n?.5:(t=(r(t)-e)*n,s?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r,o;return arguments.length?(r=(n=(0,D.Z)(t,2))[0],o=n[1],l=e(r,o),c):[l(0),l(1)]}}return c.domain=function(o){var l;return arguments.length?(l=(0,D.Z)(o,2),i=l[0],a=l[1],e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(s=!!e,c):s},c.interpolator=function(e){return arguments.length?(l=e,c):l},c.range=u(wT),c.rangeRound=u(ST),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function QR(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function JR(){var e=GT(XR()(ET));return e.copy=function(){return QR(e,JR())},mZ.apply(e,arguments)}function eN(){var e=oM(XR()).domain([1,10]);return e.copy=function(){return QR(e,eN()).base(e.base())},mZ.apply(e,arguments)}function tN(){var e=sM(XR());return e.copy=function(){return QR(e,tN()).constant(e.constant())},mZ.apply(e,arguments)}function nN(){var e=pM(XR());return e.copy=function(){return QR(e,nN()).exponent(e.exponent())},mZ.apply(e,arguments)}function rN(){return nN.apply(null,arguments).exponent(.5)}function oN(){var e=[],t=ET;function n(n){if(null!=n&&!isNaN(n=+n))return t((E_(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,o=J(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null==i||isNaN(i=+i)||e.push(i)}}catch(a){o.e(a)}finally{o.f()}return e.sort(v_),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((function(n,r){return t(r/(e.length-1))}))},n.quantiles=function(t){return Array.from({length:t+1},(function(n,r){return jM(e,r/t)}))},n.copy=function(){return oN(t).domain(e)},mZ.apply(n,arguments)}function iN(){var e,t,n,r,o,i,a,l=0,s=.5,c=1,u=1,d=ET,f=!1;function p(e){return isNaN(e=+e)?a:(e=.5+((e=+i(e))-t)*(u*e<u*t?r:o),d(f?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var n,r,o,i;return arguments.length?(r=(n=(0,D.Z)(t,3))[0],o=n[1],i=n[2],d=function(e,t){void 0===t&&(t=e,e=wT);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return i[t](e-t)}}(e,[r,o,i]),p):[d(0),d(.5),d(1)]}}return p.domain=function(a){var d;return arguments.length?(d=(0,D.Z)(a,3),l=d[0],s=d[1],c=d[2],e=i(l=+l),t=i(s=+s),n=i(c=+c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,p):[l,s,c]},p.clamp=function(e){return arguments.length?(f=!!e,p):f},p.interpolator=function(e){return arguments.length?(d=e,p):d},p.range=h(wT),p.rangeRound=h(ST),p.unknown=function(e){return arguments.length?(a=e,p):a},function(a){return i=a,e=a(l),t=a(s),n=a(c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,p}}function aN(){var e=GT(iN()(ET));return e.copy=function(){return QR(e,aN())},mZ.apply(e,arguments)}function lN(){var e=oM(iN()).domain([.1,1,10]);return e.copy=function(){return QR(e,lN()).base(e.base())},mZ.apply(e,arguments)}function sN(){var e=sM(iN());return e.copy=function(){return QR(e,sN()).constant(e.constant())},mZ.apply(e,arguments)}function cN(){var e=pM(iN());return e.copy=function(){return QR(e,cN()).exponent(e.exponent())},mZ.apply(e,arguments)}function uN(){return cN.apply(null,arguments).exponent(.5)}function dN(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],l=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<l;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}!function(e){OA=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,l=e.months,s=e.shortMonths,c=NA(o),u=IA(o),d=NA(i),f=IA(i),p=NA(a),h=IA(a),m=NA(l),v=IA(l),g=NA(s),y=IA(s),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:rR,e:rR,f:sR,g:bR,G:wR,H:oR,I:iR,j:aR,L:lR,m:cR,M:uR,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:qR,s:HR,S:dR,u:fR,U:pR,V:mR,w:vR,W:gR,x:null,X:null,y:yR,Y:xR,Z:SR,"%":UR},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:kR,e:kR,f:PR,g:LR,G:FR,H:jR,I:ER,j:OR,L:CR,m:ZR,M:_R,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:qR,s:HR,S:TR,u:MR,U:AR,V:NR,w:IR,W:DR,x:null,X:null,y:zR,Y:BR,Z:WR,"%":UR},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return j(e,t,n,r)},d:YA,e:YA,f:JA,g:UA,G:WA,H:$A,I:$A,j:GA,L:QA,m:VA,M:KA,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:HA,Q:tR,s:nR,S:XA,u:zA,U:LA,V:BA,w:DA,W:FA,x:function(e,t,r){return j(e,n,t,r)},X:function(e,t,n){return j(e,r,t,n)},y:UA,Y:WA,Z:qA,"%":eR};function S(e,t){return function(n){var r,o,i,a=[],l=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++l<c;)37===e.charCodeAt(l)&&(a.push(e.slice(s,l)),null!=(o=ZA[r=e.charAt(++l)])?r=e.charAt(++l):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),s=l+1);return a.push(e.slice(s,l)),a.join("")}}function k(e,t){return function(n){var r,o,i=EA(1900,void 0,1);if(j(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=jA(EA(i.y,0,1))).getUTCDay(),r=o>4||0===o?oA.ceil(r):oA(r),r=VM.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=kA(EA(i.y,0,1))).getDay(),r=o>4||0===o?KM.ceil(r):KM(r),r=HM.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?jA(EA(i.y,0,1)).getUTCDay():kA(EA(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,jA(i)):kA(i)}}function j(e,t,n,r){for(var o,i,a=0,l=t.length,s=n.length;a<l;){if(r>=s)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in ZA?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=S(n,b),b.X=S(r,b),b.c=S(t,b),x.x=S(n,x),x.X=S(r,x),x.c=S(t,x),{format:function(e){var t=S(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),CA=OA.format,OA.parse,PA=OA.utcFormat,OA.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Array.prototype.slice;function fN(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function pN(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function hN(e,t){return e[t]}function mN(e){var t=[];return t.key=e,t}var vN=n(9627),gN=n.n(vN),yN=n(6452),bN=n.n(yN),xN=n(5008),wN=n.n(xN),SN=n(8111),kN=n.n(SN),jN=n(4234),EN=n.n(jN);function ON(e){return function(e){if(Array.isArray(e))return CN(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return CN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CN(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var PN=function(e){return e},ZN={"@@functional/placeholder":!0},_N=function(e){return e===ZN},TN=function(e){return function t(){return 0===arguments.length||1===arguments.length&&_N(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},MN=function e(t,n){return 1===t?n:TN((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(e){return e!==ZN})).length;return a>=t?n.apply(void 0,o):e(t-a,TN((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=o.map((function(e){return _N(e)?t.shift():e}));return n.apply(void 0,ON(i).concat(t))})))}))},AN=function(e){return MN(e.length,e)},RN=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},NN=AN((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),IN=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return PN;var r=t.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),o.apply(void 0,arguments))}},DN=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},zN=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.every((function(e,n){return e===t[n]}))?n:(t=o,n=e.apply(void 0,o))}};var LN=AN((function(e,t,n){var r=+e;return r+n*(+t-r)})),BN=AN((function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)})),FN=AN((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))})),WN={rangeStep:function(e,t,n){for(var r=new(EN())(e),o=0,i=[];r.lt(t)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},getDigitCount:function(e){return 0===e?1:Math.floor(new(EN())(e).abs().log(10).toNumber())+1},interpolateNumber:LN,uninterpolateNumber:BN,uninterpolateTruncation:FN};function UN(e){return function(e){if(Array.isArray(e))return VN(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||HN(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||HN(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HN(e,t){if(e){if("string"===typeof e)return VN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VN(e,t):void 0}}function VN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function YN(e){var t=qN(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function GN(e,t,n){if(e.lte(0))return new(EN())(0);var r=WN.getDigitCount(e.toNumber()),o=new(EN())(10).pow(r),i=e.div(o),a=1!==r?.05:.1,l=new(EN())(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?l:new(EN())(Math.ceil(l))}function $N(e,t,n){var r=1,o=new(EN())(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new(EN())(10).pow(WN.getDigitCount(e)-1),o=new(EN())(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new(EN())(Math.floor(e)))}else 0===e?o=new(EN())(Math.floor((t-1)/2)):n||(o=new(EN())(Math.floor(e)));var a=Math.floor((t-1)/2);return IN(NN((function(e){return o.add(new(EN())(e-a).mul(r)).toNumber()})),RN)(0,t)}function KN(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(EN())(0),tickMin:new(EN())(0),tickMax:new(EN())(0)};var i,a=GN(new(EN())(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new(EN())(0):(i=new(EN())(e).add(t).div(2)).sub(new(EN())(i).mod(a));var l=Math.ceil(i.sub(e).div(a).toNumber()),s=Math.ceil(new(EN())(t).sub(i).div(a).toNumber()),c=l+s+1;return c>n?KN(e,t,n,r,o+1):(c<n&&(s=t>0?s+(n-c):s,l=t>0?l:l+(n-c)),{step:a,tickMin:i.sub(new(EN())(l).mul(a)),tickMax:i.add(new(EN())(s).mul(a))})}var XN=zN((function(e){var t=qN(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=qN(YN([n,r]),2),s=l[0],c=l[1];if(s===-1/0||c===1/0){var u=c===1/0?[s].concat(UN(RN(0,o-1).map((function(){return 1/0})))):[].concat(UN(RN(0,o-1).map((function(){return-1/0}))),[c]);return n>r?DN(u):u}if(s===c)return $N(s,o,i);var d=KN(s,c,a,i),f=d.step,p=d.tickMin,h=d.tickMax,m=WN.rangeStep(p,h.add(new(EN())(.1).mul(f)),f);return n>r?DN(m):m})),QN=(zN((function(e){var t=qN(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=qN(YN([n,r]),2),s=l[0],c=l[1];if(s===-1/0||c===1/0)return[n,r];if(s===c)return $N(s,o,i);var u=GN(new(EN())(c).sub(s).div(a-1),i,0),d=IN(NN((function(e){return new(EN())(s).add(new(EN())(e).mul(u)).toNumber()})),RN)(0,a).filter((function(e){return e>=s&&e<=c}));return n>r?DN(d):d})),zN((function(e,t){var n=qN(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=qN(YN([r,o]),2),l=a[0],s=a[1];if(l===-1/0||s===1/0)return[r,o];if(l===s)return[l];var c=Math.max(t,2),u=GN(new(EN())(s).sub(l).div(c-1),i,0),d=[].concat(UN(WN.rangeStep(new(EN())(l),new(EN())(s).sub(new(EN())(.99).mul(u)),u)),[s]);return r>o?DN(d):d}))),JN=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function eI(){return eI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eI.apply(this,arguments)}function tI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return nI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nI(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oI(e){var n=e.offset,r=e.layout,o=e.width,i=e.dataKey,a=e.data,l=e.dataPointFormatter,s=e.xAxis,c=e.yAxis,u=rI(e,JN),d=Oj(u,!1);"x"===e.direction&&"number"!==s.type&&Lk(!1);var f=a.map((function(e){var a=l(e,i),u=a.x,f=a.y,p=a.value,h=a.errorVal;if(!h)return null;var m,v,g=[];if(Array.isArray(h)){var y=tI(h,2);m=y[0],v=y[1]}else m=v=h;if("vertical"===r){var b=s.scale,x=f+n,w=x+o,S=x-o,k=b(p-m),j=b(p+v);g.push({x1:j,y1:w,x2:j,y2:S}),g.push({x1:k,y1:x,x2:j,y2:x}),g.push({x1:k,y1:w,x2:k,y2:S})}else if("horizontal"===r){var E=c.scale,O=u+n,C=O-o,P=O+o,Z=E(p-m),_=E(p+v);g.push({x1:C,y1:_,x2:P,y2:_}),g.push({x1:O,y1:Z,x2:O,y2:_}),g.push({x1:C,y1:Z,x2:P,y2:Z})}return t.createElement(Dj,eI({className:"recharts-errorBar",key:"bar-".concat(g.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},d),g.map((function(e){return t.createElement("line",eI({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return t.createElement(Dj,{className:"recharts-errorBars"},f)}function iI(e){return iI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iI(e)}function aI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aI(Object(n),!0).forEach((function(t){sI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=iI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=iI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}oI.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},oI.displayName="ErrorBar";var cI=function(e){var t,n=e.children,r=e.formattedGraphicalItems,o=e.legendWidth,i=e.legendContent,a=Sj(n,nC);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(r||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:a.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(r||[]).map((function(e){var t=e.item,n=t.props,r=n.dataKey,o=n.name,i=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||i||"square",color:yI(t),value:o||r,payload:t.props}})),lI(lI(lI({},a.props),nC.getWithHeight(a,o)),{},{payload:t,item:a})):null};function uI(e){return uI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uI(e)}function dI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dI(Object(n),!0).forEach((function(t){pI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=uI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=uI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hI(e){return function(e){if(Array.isArray(e))return mI(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return mI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mI(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vI(e,t,n){return Ok()(e)||Ok()(t)?n:Qk(t)?Mk()(e,t,n):Pk()(t)?t(e):n}function gI(e,t,n,r){var o=wN()(e,(function(e){return vI(e,t)}));if("number"===n){var i=o.filter((function(e){return Xk(e)||parseFloat(e)}));return i.length?[bN()(i),gN()(i)]:[1/0,-1/0]}return(r?o.filter((function(e){return!Ok()(e)})):o).map((function(e){return Qk(e)||e instanceof Date?e:""}))}var yI=function(e){var t,n=e.type.displayName,r=e.props,o=r.stroke,i=r.fill;switch(n){case"Line":t=o;break;case"Area":case"Radar":t=o&&"none"!==o?o:i;break;default:t=i}return t},bI=function(e,t,n,r,o){var i=wj(t.props.children,oI).filter((function(e){return function(e,t,n){return!!Ok()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,o,e.props.direction)}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=vI(t,n);if(Ok()(r))return e;var o=Array.isArray(r)?[bN()(r),gN()(r)]:[r,r],i=a.reduce((function(e,n){var r=vI(t,n,0),i=o[0]-Math.abs(Array.isArray(r)?r[0]:r),a=o[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},xI=function(e,t,n,r,o){var i=t.map((function(t){var i=t.props.dataKey;return"number"===n&&i&&bI(e,t,i,r)||gI(e,i,n,o)}));if("number"===n)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e}),[])},wI=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},SI=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,l="scaleBand"===e.realScaleType?r.bandwidth()/2:2,s=(t||n)&&"category"===i&&r.bandwidth?r.bandwidth()/l:0;return s="angleAxis"===e.axisType&&(null===a||void 0===a?void 0:a.length)>=2?2*$k(a[0]-a[1])*s:s,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+s,value:e,offset:s}})).filter((function(e){return!Vk()(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+s,value:e,index:t,offset:s}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+s,value:e,offset:s}})):r.domain().map((function(e,t){return{coordinate:r(e)+s,value:o?o[e]:e,index:t,offset:s}}))},kI=new WeakMap,jI=function(e,t){if("function"!==typeof t)return e;kI.has(e)||kI.set(e,new WeakMap);var n=kI.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},EI=1e-4,OI={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0,a=0;a<t;++a){var l=Vk()(e[a][n][1])?e[a][n][0]:e[a][n][1];l>=0?(e[a][n][0]=o,e[a][n][1]=o+l,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+l,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}dN(e,t)}},none:dN,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,l=0;a<n;++a)l+=e[a][r][1]||0;o[r][1]+=o[r][0]=-l/2}dN(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var l=0,s=0,c=0;l<o;++l){for(var u=e[t[l]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,p=0;p<l;++p){var h=e[t[p]];f+=(h[a][1]||0)-(h[a-1][1]||0)}s+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,s&&(i-=c/s)}n[a-1][1]+=n[a-1][0]=i,dN(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0;i<t;++i){var a=Vk()(e[i][n][1])?e[i][n][0]:e[i][n][1];a>=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},CI=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=OI[n],i=function(){var e=fO([]),t=pN,n=dN,r=hN;function o(o){var i,a,l,s=Array.from(e.apply(this,arguments),mN),c=s.length,u=-1,d=J(o);try{for(d.s();!(l=d.n()).done;){var f=l.value;for(i=0,++u;i<c;++i)(s[i][u]=[0,+r(f,s[i].key,u,o)]).data=f}}catch(p){d.e(p)}finally{d.f()}for(i=0,a=fN(t(s));i<c;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"===typeof t?t:fO(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"===typeof e?e:fO(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?pN:"function"===typeof e?e:fO(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?dN:e,o):n},o}().keys(r).value((function(e,t){return+vI(e,t,0)})).order(pN).offset(o);return i(e)};var PI=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=r.slice(t,n+1).reduce((function(e,t){return[bN()(t.concat([e[0]]).filter(Xk)),gN()(t.concat([e[1]]).filter(Xk))]}),[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},ZI=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,_I=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,TI=function(e,t,n){if(Pk()(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(Xk(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(ZI.test(e[0])){var o=+ZI.exec(e[0])[1];r[0]=t[0]-o}else Pk()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Xk(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(_I.test(e[1])){var i=+_I.exec(e[1])[1];r[1]=t[1]+i}else Pk()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},MI=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=Rk()(t,(function(e){return e.coordinate})),i=1/0,a=1,l=o.length;a<l;a++){var s=o[a],c=o[a-1];i=Math.min((s.coordinate||0)-(c.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},AI=function(e,t,n){return e&&e.length?kN()(e,Mk()(n,"type.defaultProps.domain"))?t:e:t},RI=function(e,t){var n=e.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,l=n.tooltipType,s=n.chartType,c=n.hide;return fI(fI({},Oj(e,!1)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:yI(e),value:vI(t,r),type:l,payload:t,chartType:s,hide:c})};function NI(e){return NI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NI(e)}function II(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function DI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?II(Object(n),!0).forEach((function(t){zI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):II(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=NI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=NI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LI=["Webkit","Moz","O","ms"];function BI(e){return BI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BI(e)}function FI(){return FI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FI.apply(this,arguments)}function WI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WI(Object(n),!0).forEach((function(t){KI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XI(r.key),r)}}function HI(e,t,n){return t=YI(t),function(e,t){if(t&&("object"===BI(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GI(e)}(e,VI()?Reflect.construct(t,n||[],YI(e).constructor):t.apply(e,n))}function VI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VI=function(){return!!e})()}function YI(e){return YI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YI(e)}function GI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $I(e,t){return $I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$I(e,t)}function KI(e,t,n){return(t=XI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XI(e){var t=function(e,t){if("object"!=BI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=BI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==BI(t)?t:String(t)}var QI=function(e){return e.changedTouches&&!!e.changedTouches.length},JI=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),KI(GI(t=HI(this,n,[e])),"handleDrag",(function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)})),KI(GI(t),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])})),KI(GI(t),"handleDragEnd",(function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=t.props,n=e.endIndex,r=e.onDragEnd,o=e.startIndex;null===r||void 0===r||r({endIndex:n,startIndex:o})})),t.detachDragEndListener()})),KI(GI(t),"handleLeaveWrapper",(function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))})),KI(GI(t),"handleEnterSlideOrTraveller",(function(){t.setState({isTextActive:!0})})),KI(GI(t),"handleLeaveSlideOrTraveller",(function(){t.setState({isTextActive:!1})})),KI(GI(t),"handleSlideDragStart",(function(e){var n=QI(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()})),t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(GI(t),"startX"),endX:t.handleTravellerDragStart.bind(GI(t),"endX")},t.state={},t}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$I(e,t)}(n,e),r=n,o=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,o=this.state.scaleValues,i=this.props,a=i.gap,l=i.data.length-1,s=Math.min(t,r),c=Math.max(t,r),u=n.getIndexInRange(o,s),d=n.getIndexInRange(o,c);return{startIndex:u-u%a,endIndex:d===l?l:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=vI(n[e],o,e);return Pk()(r)?r(i,e):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,l=i.width,s=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=e.pageX-n;f>0?f=Math.min(f,a+l-s-o,a+l-s-r):f<0&&(f=Math.max(f,a-r,a-o));var p=this.getIndex({startX:r+f,endX:o+f});p.startIndex===c&&p.endIndex===u||!d||d(p),this.setState({startX:r+f,endX:o+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=QI(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,o=t.endX,i=t.startX,a=this.state[r],l=this.props,s=l.x,c=l.width,u=l.travellerWidth,d=l.onChange,f=l.gap,p=l.data,h={startX:this.state.startX,endX:this.state.endX},m=e.pageX-n;m>0?m=Math.min(m,s+c-u-a):m<0&&(m=Math.max(m,s-a)),h[r]=a+m;var v=this.getIndex(h),g=v.startIndex,y=v.endIndex;this.setState(KI(KI({},r,a+m),"brushMoveStartX",e.pageX),(function(){d&&function(){var e=p.length-1;return"startX"===r&&(o>i?g%f===0:y%f===0)||o<i&&y===e||"endX"===r&&(o>i?y%f===0:g%f===0)||o>i&&y===e}()&&d(v)}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,o=r.scaleValues,i=r.startX,a=r.endX,l=this.state[t],s=o.indexOf(l);if(-1!==s){var c=s+e;if(!(-1===c||c>=o.length)){var u=o[c];"startX"===t&&u>=a||"endX"===t&&u<=i||this.setState(KI({},t,u),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.fill,l=e.stroke;return t.createElement("rect",{stroke:l,fill:a,x:n,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.data,l=e.children,s=e.padding,c=t.Children.only(l);return c?t.cloneElement(c,{x:n,y:r,width:o,height:i,margin:s,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,r){var o,i,a=this,l=this.props,s=l.y,c=l.travellerWidth,u=l.height,d=l.traveller,f=l.ariaLabel,p=l.data,h=l.startIndex,m=l.endIndex,v=Math.max(e,this.props.x),g=UI(UI({},Oj(this.props,!1)),{},{x:v,y:s,width:c,height:u}),y=f||"Min value: ".concat(null===(o=p[h])||void 0===o?void 0:o.name,", Max value: ").concat(null===(i=p[m])||void 0===i?void 0:i.name);return t.createElement(Dj,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(d,g))}},{key:"renderSlide",value:function(e,n){var r=this.props,o=r.y,i=r.height,a=r.stroke,l=r.travellerWidth,s=Math.min(e,n)+l,c=Math.max(Math.abs(n-e)-l,0);return t.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:s,y:o,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,n=e.startIndex,r=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,l=e.stroke,s=this.state,c=s.startX,u=s.endX,d={pointerEvents:"none",fill:l};return t.createElement(Dj,{className:"recharts-brush-texts"},t.createElement(s_,FI({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:o+i/2},d),this.getTextOfTick(n)),t.createElement(s_,FI({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+a+5,y:o+i/2},d),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,n=e.data,r=e.className,o=e.children,i=e.x,a=e.y,l=e.width,s=e.height,c=e.alwaysShowText,u=this.state,d=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,m=u.isTravellerMoving,v=u.isTravellerFocused;if(!n||!n.length||!Xk(i)||!Xk(a)||!Xk(l)||!Xk(s)||l<=0||s<=0)return null;var g=(0,Mi.Z)("recharts-brush",r),y=1===t.Children.count(o),b=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=LI.reduce((function(e,r){return DI(DI({},e),{},zI({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return t.createElement(Dj,{className:g,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:b},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(d,f),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||m||v||c)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var n=e.x,r=e.y,o=e.width,i=e.height,a=e.stroke,l=Math.floor(r+i/2)-1;return t.createElement(t.Fragment,null,t.createElement("rect",{x:n,y:r,width:o,height:i,fill:a,stroke:"none"}),t.createElement("line",{x1:n+1,y1:l,x2:n+o-1,y2:l,fill:"none",stroke:"#fff"}),t.createElement("line",{x1:n+1,y1:l+2,x2:n+o-1,y2:l+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return t.isValidElement(e)?t.cloneElement(e,r):Pk()(e)?e(r):n.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,l=e.startIndex,s=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return UI({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var l=t.length,s=EZ().domain(_k()(0,l)).range([o,o+i-a]),c=s.domain().map((function(e){return s(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(n),endX:s(r),scale:s,scaleValues:c}}({data:n,width:r,x:o,travellerWidth:i,startIndex:l,endIndex:s}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var c=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],o&&qI(r.prototype,o),i&&qI(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function eD(e){return eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eD(e)}function tD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tD(Object(n),!0).forEach((function(t){rD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=eD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return iD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iD(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}KI(JI,"displayName","Brush"),KI(JI,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var aD=Math.PI/180,lD=function(e){return 180*e/Math.PI},sD=function(e,t,n,r){return{x:e+Math.cos(-aD*r)*n,y:t+Math.sin(-aD*r)*n}},cD=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},uD=function(e,t){var n=e.x,r=e.y,o=t.cx,i=t.cy,a=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var l=(n-o)/a,s=Math.acos(l);return r>i&&(s=2*Math.PI-s),{radius:a,angle:lD(s),angleInRadian:s}},dD=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},fD=function(e,t){var n=e.x,r=e.y,o=uD({x:n,y:r},t),i=o.radius,a=o.angle,l=t.innerRadius,s=t.outerRadius;if(i<l||i>s)return!1;if(0===i)return!0;var c,u=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),d=u.startAngle,f=u.endAngle,p=a;if(d<=f){for(;p>f;)p-=360;for(;p<d;)p+=360;c=p>=d&&p<=f}else{for(;p>d;)p-=360;for(;p<f;)p+=360;c=p>=f&&p<=d}return c?nD(nD({},t),{},{radius:i,angle:dD(p,t)}):null},pD=function(e){return(0,t.isValidElement)(e)||Pk()(e)||"boolean"===typeof e?"":e.className};function hD(e){return hD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hD(e)}var mD=["offset"];function vD(e){return function(e){if(Array.isArray(e))return gD(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return gD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gD(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yD(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bD(Object(n),!0).forEach((function(t){wD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=hD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=hD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SD(){return SD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SD.apply(this,arguments)}var kD=function(e){var t=e.value,n=e.formatter,r=Ok()(e.children)?t:e.children;return Pk()(n)?n(r):r},jD=function(e,n,r){var o,i,a=e.position,l=e.viewBox,s=e.offset,c=e.className,u=l,d=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,m=u.startAngle,v=u.endAngle,g=u.clockWise,y=(p+h)/2,b=function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),360)}(m,v),x=b>=0?1:-1;"insideStart"===a?(o=m+x*s,i=g):"insideEnd"===a?(o=v-x*s,i=!g):"end"===a&&(o=v+x*s,i=g),i=b<=0?i:!i;var w=sD(d,f,y,o),S=sD(d,f,y,o+359*(i?1:-1)),k="M".concat(w.x,",").concat(w.y,"\n A").concat(y,",").concat(y,",0,1,").concat(i?0:1,",\n ").concat(S.x,",").concat(S.y),j=Ok()(e.id)?ej("recharts-radial-line-"):e.id;return t.createElement("text",SD({},r,{dominantBaseline:"central",className:(0,Mi.Z)("recharts-radial-bar-label",c)}),t.createElement("defs",null,t.createElement("path",{id:j,d:k})),t.createElement("textPath",{xlinkHref:"#".concat(j)},n))},ED=function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,l=o.innerRadius,s=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=sD(i,a,s+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=sD(i,a,(l+s)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},OD=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,i=t,a=i.x,l=i.y,s=i.width,c=i.height,u=c>=0?1:-1,d=u*r,f=u>0?"end":"start",p=u>0?"start":"end",h=s>=0?1:-1,m=h*r,v=h>0?"end":"start",g=h>0?"start":"end";if("top"===o)return xD(xD({},{x:a+s/2,y:l-u*r,textAnchor:"middle",verticalAnchor:f}),n?{height:Math.max(l-n.y,0),width:s}:{});if("bottom"===o)return xD(xD({},{x:a+s/2,y:l+c+d,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(n.y+n.height-(l+c),0),width:s}:{});if("left"===o){var y={x:a-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"};return xD(xD({},y),n?{width:Math.max(y.x-n.x,0),height:c}:{})}if("right"===o){var b={x:a+s+m,y:l+c/2,textAnchor:g,verticalAnchor:"middle"};return xD(xD({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:c}:{})}var x=n?{width:s,height:c}:{};return"insideLeft"===o?xD({x:a+m,y:l+c/2,textAnchor:g,verticalAnchor:"middle"},x):"insideRight"===o?xD({x:a+s-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"},x):"insideTop"===o?xD({x:a+s/2,y:l+d,textAnchor:"middle",verticalAnchor:p},x):"insideBottom"===o?xD({x:a+s/2,y:l+c-d,textAnchor:"middle",verticalAnchor:f},x):"insideTopLeft"===o?xD({x:a+m,y:l+d,textAnchor:g,verticalAnchor:p},x):"insideTopRight"===o?xD({x:a+s-m,y:l+d,textAnchor:v,verticalAnchor:p},x):"insideBottomLeft"===o?xD({x:a+m,y:l+c-d,textAnchor:g,verticalAnchor:f},x):"insideBottomRight"===o?xD({x:a+s-m,y:l+c-d,textAnchor:v,verticalAnchor:f},x):Uk()(o)&&(Xk(o.x)||Kk(o.x))&&(Xk(o.y)||Kk(o.y))?xD({x:a+tj(o.x,s),y:l+tj(o.y,c),textAnchor:"end",verticalAnchor:"end"},x):xD({x:a+s/2,y:l+c/2,textAnchor:"middle",verticalAnchor:"middle"},x)},CD=function(e){return"cx"in e&&Xk(e.cx)};function PD(e){var n,r=e.offset,o=xD({offset:void 0===r?5:r},yD(e,mD)),i=o.viewBox,a=o.position,l=o.value,s=o.children,c=o.content,u=o.className,d=void 0===u?"":u,f=o.textBreakAll;if(!i||Ok()(l)&&Ok()(s)&&!(0,t.isValidElement)(c)&&!Pk()(c))return null;if((0,t.isValidElement)(c))return(0,t.cloneElement)(c,o);if(Pk()(c)){if(n=(0,t.createElement)(c,o),(0,t.isValidElement)(n))return n}else n=kD(o);var p=CD(i),h=Oj(o,!0);if(p&&("insideStart"===a||"insideEnd"===a||"end"===a))return jD(o,n,h);var m=p?ED(o):OD(o);return t.createElement(s_,SD({className:(0,Mi.Z)("recharts-label",d)},h,m,{breakAll:f}),n)}PD.displayName="Label";var ZD=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,l=e.radius,s=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,h=e.width,m=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if(Xk(h)&&Xk(m)){if(Xk(u)&&Xk(d))return{x:u,y:d,width:h,height:m};if(Xk(f)&&Xk(p))return{x:f,y:p,width:h,height:m}}return Xk(u)&&Xk(d)?{x:u,y:d,width:0,height:0}:Xk(t)&&Xk(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:s||0,outerRadius:c||l||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};PD.parseViewBox=ZD,PD.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=e.children,i=ZD(e),a=wj(o,PD).map((function(e,r){return(0,t.cloneElement)(e,{viewBox:n||i,key:"label-".concat(r)})}));if(!r)return a;var l=function(e,n){return e?!0===e?t.createElement(PD,{key:"label-implicit",viewBox:n}):Qk(e)?t.createElement(PD,{key:"label-implicit",viewBox:n,value:e}):(0,t.isValidElement)(e)?e.type===PD?(0,t.cloneElement)(e,{key:"label-implicit",viewBox:n}):t.createElement(PD,{key:"label-implicit",content:e,viewBox:n}):Pk()(e)?t.createElement(PD,{key:"label-implicit",content:e,viewBox:n}):Uk()(e)?t.createElement(PD,SD({viewBox:n},e,{key:"label-implicit"})):null:null}(e.label,n||i);return[l].concat(vD(a))};var _D=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},TD=n(7702),MD=n.n(TD),AD=n(2730),RD=n.n(AD);function ND(e){return ND="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ND(e)}function ID(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BD(r.key),r)}}function DD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DD(Object(n),!0).forEach((function(t){LD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LD(e,t,n){return(t=BD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BD(e){var t=function(e,t){if("object"!=ND(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ND(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ND(t)?t:String(t)}var FD=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},WD=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,n,r;return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&ID(t.prototype,n),r&&ID(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();LD(WD,"EPS",1e-4);var UD=function(e){var t=Object.keys(e).reduce((function(t,n){return zD(zD({},t),{},LD({},n,WD.create(e[n])))}),{});return zD(zD({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return MD()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:o})}))},isInRange:function(e){return RD()(e,(function(e,n){return t[n].isInRange(e)}))}})};function qD(e){return qD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qD(e)}function HD(){return HD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HD.apply(this,arguments)}function VD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VD(Object(n),!0).forEach((function(t){GD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=qD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $D(e){var n=e.x,r=e.y,o=e.r,i=e.alwaysShow,a=e.clipPathId,l=Qk(n),s=Qk(r);if(CE(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!s)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,i=UD({x:r.scale,y:o.scale}),a=i.apply({x:t,y:n},{bandAware:!0});return _D(e,"discard")&&!i.isInRange(a)?null:a}(e);if(!c)return null;var u=c.x,d=c.y,f=e.shape,p=e.className,h=YD(YD({clipPath:_D(e,"hidden")?"url(#".concat(a,")"):void 0},Oj(e,!0)),{},{cx:u,cy:d});return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-dot",p)},$D.renderDot(f,h),PD.renderCallByParent(e,{x:u-o,y:d-o,width:2*o,height:2*o}))}$D.displayName="ReferenceDot",$D.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},$D.renderDot=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(oC,HD({},n,{cx:n.cx,cy:n.cy,className:"recharts-reference-dot-dot"}))};var KD=n(4064),XD=n.n(KD),QD=(n(1211),n(9151)),JD=n.n(QD)()((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));var ez=(0,t.createContext)(void 0),tz=(0,t.createContext)(void 0),nz=(0,t.createContext)(void 0),rz=(0,t.createContext)({}),oz=(0,t.createContext)(void 0),iz=(0,t.createContext)(0),az=(0,t.createContext)(0),lz=function(e){var n=e.state,r=n.xAxisMap,o=n.yAxisMap,i=n.offset,a=e.clipPathId,l=e.children,s=e.width,c=e.height,u=JD(i);return t.createElement(ez.Provider,{value:r},t.createElement(tz.Provider,{value:o},t.createElement(rz.Provider,{value:i},t.createElement(nz.Provider,{value:u},t.createElement(oz.Provider,{value:a},t.createElement(iz.Provider,{value:c},t.createElement(az.Provider,{value:s},l)))))))};function sz(e){return sz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sz(e)}function cz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cz(Object(n),!0).forEach((function(t){dz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return pz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hz(){return hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hz.apply(this,arguments)}function mz(e){var n=e.x,r=e.y,o=e.segment,i=e.xAxisId,a=e.yAxisId,l=e.shape,s=e.className,c=e.alwaysShow,u=(0,t.useContext)(oz),d=function(e){var n=(0,t.useContext)(ez);null==n&&Lk(!1);var r=n[e];return null==r&&Lk(!1),r}(i),f=function(e){var n=(0,t.useContext)(tz);null==n&&Lk(!1);var r=n[e];return null==r&&Lk(!1),r}(a),p=(0,t.useContext)(nz);if(!u||!p)return null;CE(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,n,r,o,i,a,l,s){var c=o.x,u=o.y,d=o.width,f=o.height;if(n){var p=s.y,h=e.y.apply(p,{position:i});if(_D(s,"discard")&&!e.y.isInRange(h))return null;var m=[{x:c+d,y:h},{x:c,y:h}];return"left"===l?m.reverse():m}if(t){var v=s.x,g=e.x.apply(v,{position:i});if(_D(s,"discard")&&!e.x.isInRange(g))return null;var y=[{x:g,y:u+f},{x:g,y:u}];return"top"===a?y.reverse():y}if(r){var b=s.segment.map((function(t){return e.apply(t,{position:i})}));return _D(s,"discard")&&XD()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(UD({x:d.scale,y:f.scale}),Qk(n),Qk(r),o&&2===o.length,p,e.position,d.orientation,f.orientation,e);if(!h)return null;var m=fz(h,2),v=m[0],g=v.x,y=v.y,b=m[1],x=b.x,w=b.y,S=uz(uz({clipPath:_D(e,"hidden")?"url(#".concat(u,")"):void 0},Oj(e,!0)),{},{x1:g,y1:y,x2:x,y2:w});return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-line",s)},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement("line",hz({},n,{className:"recharts-reference-line-line"}))}(l,S),PD.renderCallByParent(e,function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return FD({x:t,y:n},{x:r,y:o})}({x1:g,y1:y,x2:x,y2:w})))}function vz(e){return vz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vz(e)}function gz(){return gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gz.apply(this,arguments)}function yz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yz(Object(n),!0).forEach((function(t){xz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=vz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=vz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}mz.displayName="ReferenceLine",mz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function wz(e){var n=e.x1,r=e.x2,o=e.y1,i=e.y2,a=e.className,l=e.alwaysShow,s=e.clipPathId;CE(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Qk(n),u=Qk(r),d=Qk(o),f=Qk(i),p=e.shape;if(!c&&!u&&!d&&!f&&!p)return null;var h=function(e,t,n,r,o){var i=o.x1,a=o.x2,l=o.y1,s=o.y2,c=o.xAxis,u=o.yAxis;if(!c||!u)return null;var d=UD({x:c.scale,y:u.scale}),f={x:e?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(l,{position:"start"}):d.y.rangeMin},p={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(s,{position:"end"}):d.y.rangeMax};return!_D(o,"discard")||d.isInRange(f)&&d.isInRange(p)?FD(f,p):null}(c,u,d,f,e);if(!h&&!p)return null;var m=_D(e,"hidden")?"url(#".concat(s,")"):void 0;return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-area",a)},wz.renderRect(p,bz(bz({clipPath:m},Oj(e,!0)),h)),PD.renderCallByParent(e,h))}function Sz(e){return function(e){if(Array.isArray(e))return kz(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return kz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kz(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}wz.displayName="ReferenceArea",wz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},wz.renderRect=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(pZ,gz({},n,{className:"recharts-reference-area-rect"}))};var jz=function(e,t,n,r,o){var i=wj(e,mz),a=wj(e,$D),l=[].concat(Sz(i),Sz(a)),s=wj(e,wz),c="".concat(r,"Id"),u=r[0],d=t;if(l.length&&(d=l.reduce((function(e,t){if(t.props[c]===n&&_D(t.props,"extendDomain")&&Xk(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),d)),s.length){var f="".concat(u,"1"),p="".concat(u,"2");d=s.reduce((function(e,t){if(t.props[c]===n&&_D(t.props,"extendDomain")&&Xk(t.props[f])&&Xk(t.props[p])){var r=t.props[f],o=t.props[p];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e}),d)}return o&&o.length&&(d=o.reduce((function(e,t){return Xk(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),d)),d},Ez=n(7143),Oz=new(n.n(Ez)()),Cz="recharts.syncMouseEvents";function Pz(e){return Pz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pz(e)}function Zz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tz(r.key),r)}}function _z(e,t,n){return(t=Tz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tz(e){var t=function(e,t){if("object"!=Pz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pz(t)?t:String(t)}var Mz=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),_z(this,"activeIndex",0),_z(this,"coordinateList",[]),_z(this,"layout","horizontal")}var t,n,r;return t=e,n=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,o=e.container,i=void 0===o?null:o,a=e.layout,l=void 0===a?null:a,s=e.offset,c=void 0===s?null:s,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=null!==r&&void 0!==r?r:this.coordinateList)&&void 0!==t?t:[],this.container=null!==i&&void 0!==i?i:this.container,this.layout=null!==l&&void 0!==l?l:this.layout,this.offset=null!==c&&void 0!==c?c:this.offset,this.mouseHandlerCallback=null!==d&&void 0!==d?d:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=this.coordinateList[this.activeIndex].coordinate,l=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,s=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=r+a+l,u=o+this.offset.top+i/2+s;this.mouseHandlerCallback({pageX:c,pageY:u})}}}],n&&Zz(t.prototype,n),r&&Zz(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();var Az=n(3977),Rz=n.n(Az),Nz=n(5127),Iz=n.n(Nz);function Dz(e){return Dz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dz(e)}function zz(){return zz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zz.apply(this,arguments)}function Lz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Bz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fz(Object(n),!0).forEach((function(t){Uz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Dz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qz=function(e,t,n,r,o){var i,a=n-r;return i="M ".concat(e,",").concat(t),i+="L ".concat(e+n,",").concat(t),i+="L ".concat(e+n-a/2,",").concat(t+o),i+="L ".concat(e+n-a/2-r,",").concat(t+o),i+="L ".concat(e,",").concat(t," Z")},Hz={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Vz=function(e){var n=Wz(Wz({},Hz),e),r=(0,t.useRef)(),o=Lz((0,t.useState)(-1),2),i=o[0],a=o[1];(0,t.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch(t){}}),[]);var l=n.x,s=n.y,c=n.upperWidth,u=n.lowerWidth,d=n.height,f=n.className,p=n.animationEasing,h=n.animationDuration,m=n.animationBegin,v=n.isUpdateAnimationActive;if(l!==+l||s!==+s||c!==+c||u!==+u||d!==+d||0===c&&0===u||0===d)return null;var g=(0,Mi.Z)("recharts-trapezoid",f);return v?t.createElement(nZ,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:s},to:{upperWidth:c,lowerWidth:u,height:d,x:l,y:s},duration:h,animationEasing:p,isActive:v},(function(e){var o=e.upperWidth,a=e.lowerWidth,l=e.height,s=e.x,c=e.y;return t.createElement(nZ,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:h,easing:p},t.createElement("path",zz({},Oj(n,!0),{className:g,d:qz(s,c,o,a,l),ref:r})))})):t.createElement("g",null,t.createElement("path",zz({},Oj(n,!0),{className:g,d:qz(l,s,c,u,d)})))};function Yz(e){return Yz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yz(e)}function Gz(){return Gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gz.apply(this,arguments)}function $z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$z(Object(n),!0).forEach((function(t){Xz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Yz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qz=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.angle,i=e.sign,a=e.isExternal,l=e.cornerRadius,s=e.cornerIsExternal,c=l*(a?1:-1)+r,u=Math.asin(l/c)/aD,d=s?o:o+i*u,f=s?o-i*u:o;return{center:sD(t,n,c,d),circleTangency:sD(t,n,r,d),lineTangency:sD(t,n,c*Math.cos(u*aD),f),theta:u}},Jz=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.startAngle,a=function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),359.999)}(i,e.endAngle),l=i+a,s=sD(t,n,o,i),c=sD(t,n,o,l),u="M ".concat(s.x,",").concat(s.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>l),",\n ").concat(c.x,",").concat(c.y,"\n ");if(r>0){var d=sD(t,n,r,i),f=sD(t,n,r,l);u+="L ".concat(f.x,",").concat(f.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=l),",\n ").concat(d.x,",").concat(d.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},eL={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},tL=function(e){var n=Kz(Kz({},eL),e),r=n.cx,o=n.cy,i=n.innerRadius,a=n.outerRadius,l=n.cornerRadius,s=n.forceCornerRadius,c=n.cornerIsExternal,u=n.startAngle,d=n.endAngle,f=n.className;if(a<i||u===d)return null;var p,h=(0,Mi.Z)("recharts-sector",f),m=a-i,v=tj(l,m,0,!0);return p=v>0&&Math.abs(u-d)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,l=e.cornerIsExternal,s=e.startAngle,c=e.endAngle,u=$k(c-s),d=Qz({cx:t,cy:n,radius:o,angle:s,sign:u,cornerRadius:i,cornerIsExternal:l}),f=d.circleTangency,p=d.lineTangency,h=d.theta,m=Qz({cx:t,cy:n,radius:o,angle:c,sign:-u,cornerRadius:i,cornerIsExternal:l}),v=m.circleTangency,g=m.lineTangency,y=m.theta,b=l?Math.abs(s-c):Math.abs(s-c)-h-y;if(b<0)return a?"M ".concat(p.x,",").concat(p.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):Jz({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c});var x="M ".concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(f.x,",").concat(f.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n ");if(r>0){var w=Qz({cx:t,cy:n,radius:r,angle:s,sign:u,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),S=w.circleTangency,k=w.lineTangency,j=w.theta,E=Qz({cx:t,cy:n,radius:r,angle:c,sign:-u,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),O=E.circleTangency,C=E.lineTangency,P=E.theta,Z=l?Math.abs(s-c):Math.abs(s-c)-j-P;if(Z<0&&0===i)return"".concat(x,"L").concat(t,",").concat(n,"Z");x+="L".concat(C.x,",").concat(C.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(O.x,",").concat(O.y,"\n A").concat(r,",").concat(r,",0,").concat(+(Z>180),",").concat(+(u>0),",").concat(S.x,",").concat(S.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(k.x,",").concat(k.y,"Z")}else x+="L".concat(t,",").concat(n,"Z");return x}({cx:r,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(v,m/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:u,endAngle:d}):Jz({cx:r,cy:o,innerRadius:i,outerRadius:a,startAngle:u,endAngle:d}),t.createElement("path",Gz({},Oj(n,!0),{className:h,d:p,role:"img"}))},nL=["option","shapeType","propTransformer","activeClassName","isActive"];function rL(e){return rL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rL(e)}function oL(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function iL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iL(Object(n),!0).forEach((function(t){lL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lL(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sL(e,t){return aL(aL({},t),e)}function cL(e){var n=e.shapeType,r=e.elementProps;switch(n){case"rectangle":return t.createElement(pZ,r);case"trapezoid":return t.createElement(Vz,r);case"sector":return t.createElement(tL,r);case"symbols":if(function(e,t){return"symbols"===e}(n))return t.createElement(ZO,r);break;default:return null}}function uL(e){var n,r=e.option,o=e.shapeType,i=e.propTransformer,a=void 0===i?sL:i,l=e.activeClassName,s=void 0===l?"recharts-active-shape":l,c=e.isActive,u=oL(e,nL);if((0,t.isValidElement)(r))n=(0,t.cloneElement)(r,aL(aL({},u),function(e){return(0,t.isValidElement)(e)?e.props:e}(r)));else if(Pk()(r))n=r(u);else if(Rz()(r)&&!Iz()(r)){var d=a(r,u);n=t.createElement(cL,{shapeType:o,elementProps:d})}else{var f=u;n=t.createElement(cL,{shapeType:o,elementProps:f})}return c?t.createElement(Dj,{className:s},n):n}function dL(e,t){return null!=t&&"trapezoids"in e.props}function fL(e,t){return null!=t&&"sectors"in e.props}function pL(e,t){return null!=t&&"points"in e.props}function hL(e,t){var n,r,o=e.x===(null===t||void 0===t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,i=e.y===(null===t||void 0===t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return o&&i}function mL(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function vL(e,t){var n=e.x===t.x,r=e.y===t.y,o=e.z===t.z;return n&&r&&o}function gL(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,o=function(e,t){var n;return dL(e,t)?n="trapezoids":fL(e,t)?n="sectors":pL(e,t)&&(n="points"),n}(n,t),i=function(e,t){var n,r;return dL(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:fL(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:pL(e,t)?t.payload:{}}(n,t),a=r.filter((function(e,r){var a=kN()(i,e),l=n.props[o].filter((function(e){var r=function(e,t){var n;return dL(e,t)?n=hL:fL(e,t)?n=mL:pL(e,t)&&(n=vL),n}(n,t);return r(e,t)})),s=n.props[o].indexOf(l[l.length-1]);return a&&r===s}));return r.indexOf(a[a.length-1])}function yL(){}function bL(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function xL(e){this._context=e}function wL(e){this._context=e}function SL(e){this._context=e}xL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bL(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},wL.prototype={areaStart:yL,areaEnd:yL,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},SL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var kL=function(){function e(t,n){W(this,e),this._context=t,this._x=n}return H(e,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}]),e}();function jL(e){this._context=e}function EL(e){this._context=e}function OL(e){return new EL(e)}function CL(e){return e<0?-1:1}function PL(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),l=(i*o+a*r)/(r+o);return(CL(i)+CL(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(l))||0}function ZL(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function _L(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,l=(i-r)/3;e._context.bezierCurveTo(r+l,o+l*t,i-l,a-l*n,i,a)}function TL(e){this._context=e}function ML(e){this._context=new AL(e)}function AL(e){this._context=e}function RL(e){this._context=e}function NL(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function IL(e,t){this._context=e,this._t=t}function DL(e){return e[0]}function zL(e){return e[1]}function LL(e,t){var n=fO(!0),r=null,o=OL,i=null,a=bO(l);function l(l){var s,c,u,d=(l=fN(l)).length,f=!1;for(null==r&&(i=o(u=a())),s=0;s<=d;++s)!(s<d&&n(c=l[s],s,l))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(c,s,l),+t(c,s,l));if(u)return i=null,u+""||null}return e="function"===typeof e?e:void 0===e?DL:fO(e),t="function"===typeof t?t:void 0===t?zL:fO(t),l.x=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),l):e},l.y=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),l):t},l.defined=function(e){return arguments.length?(n="function"===typeof e?e:fO(!!e),l):n},l.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),l):o},l.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),l):r},l}function BL(e,t,n){var r=null,o=fO(!0),i=null,a=OL,l=null,s=bO(c);function c(c){var u,d,f,p,h,m=(c=fN(c)).length,v=!1,g=new Array(m),y=new Array(m);for(null==i&&(l=a(h=s())),u=0;u<=m;++u){if(!(u<m&&o(p=c[u],u,c))===v)if(v=!v)d=u,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),f=u-1;f>=d;--f)l.point(g[f],y[f]);l.lineEnd(),l.areaEnd()}v&&(g[u]=+e(p,u,c),y[u]=+t(p,u,c),l.point(r?+r(p,u,c):g[u],n?+n(p,u,c):y[u]))}if(h)return l=null,h+""||null}function u(){return LL().defined(o).curve(a).context(i)}return e="function"===typeof e?e:void 0===e?DL:fO(+e),t="function"===typeof t?t:fO(void 0===t?0:+t),n="function"===typeof n?n:void 0===n?zL:fO(+n),c.x=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:fO(+e),c):r},c.y=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:fO(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(o="function"===typeof e?e:fO(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(l=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=l=null:l=a(i=e),c):i},c}function FL(e){return FL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},FL(e)}function WL(){return WL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WL.apply(this,arguments)}function UL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UL(Object(n),!0).forEach((function(t){HL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HL(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=FL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=FL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==FL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}jL.prototype={areaStart:yL,areaEnd:yL,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},EL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},TL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_L(this,this._t0,ZL(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,_L(this,ZL(this,n=PL(this,e,t)),n);break;default:_L(this,this._t0,n=PL(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ML.prototype=Object.create(TL.prototype)).point=function(e,t){TL.prototype.point.call(this,t,e)},AL.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},RL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=NL(e),o=NL(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},IL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var VL={curveBasisClosed:function(e){return new wL(e)},curveBasisOpen:function(e){return new SL(e)},curveBasis:function(e){return new xL(e)},curveBumpX:function(e){return new kL(e,!0)},curveBumpY:function(e){return new kL(e,!1)},curveLinearClosed:function(e){return new jL(e)},curveLinear:OL,curveMonotoneX:function(e){return new TL(e)},curveMonotoneY:function(e){return new ML(e)},curveNatural:function(e){return new RL(e)},curveStep:function(e){return new IL(e,.5)},curveStepAfter:function(e){return new IL(e,1)},curveStepBefore:function(e){return new IL(e,0)}},YL=function(e){return e.x===+e.x&&e.y===+e.y},GL=function(e){return e.x},$L=function(e){return e.y},KL=function(e){var t,n=e.type,r=void 0===n?"linear":n,o=e.points,i=void 0===o?[]:o,a=e.baseLine,l=e.layout,s=e.connectNulls,c=void 0!==s&&s,u=function(e,t){if(Pk()(e))return e;var n="curve".concat(ZE()(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?VL[n]||OL:VL["".concat(n).concat("vertical"===t?"Y":"X")]}(r,l),d=c?i.filter((function(e){return YL(e)})):i;if(Array.isArray(a)){var f=c?a.filter((function(e){return YL(e)})):a,p=d.map((function(e,t){return qL(qL({},e),{},{base:f[t]})}));return(t="vertical"===l?BL().y($L).x1(GL).x0((function(e){return e.base.x})):BL().x(GL).y1($L).y0((function(e){return e.base.y}))).defined(YL).curve(u),t(p)}return(t="vertical"===l&&Xk(a)?BL().y($L).x1(GL).x0(a):Xk(a)?BL().x(GL).y1($L).y0(a):LL().x(GL).y($L)).defined(YL).curve(u),t(d)},XL=function(e){var n=e.className,r=e.points,o=e.path,i=e.pathRef;if((!r||!r.length)&&!o)return null;var a=r&&r.length?KL(e):o;return t.createElement("path",WL({},Oj(e,!1),dj(e),{className:(0,Mi.Z)("recharts-curve",n),d:a,ref:i}))};function QL(e){return QL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QL(e)}var JL=["x","y","top","left","width","height","className"];function eB(){return eB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eB.apply(this,arguments)}function tB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nB(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=QL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=QL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==QL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var oB=function(e,t,n,r,o,i){return"M".concat(e,",").concat(o,"v").concat(r,"M").concat(i,",").concat(t,"h").concat(n)},iB=function(e){var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.top,l=void 0===a?0:a,s=e.left,c=void 0===s?0:s,u=e.width,d=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tB(Object(n),!0).forEach((function(t){nB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({x:r,y:i,top:l,left:c,width:d,height:p},rB(e,JL));return Xk(r)&&Xk(i)&&Xk(d)&&Xk(p)&&Xk(l)&&Xk(c)?t.createElement("path",eB({},Oj(m,!0),{className:(0,Mi.Z)("recharts-cross",h),d:oB(r,i,d,p,l,c)})):null};function aB(e){var t=e.cx,n=e.cy,r=e.radius,o=e.startAngle,i=e.endAngle;return{points:[sD(t,n,r,o),sD(t,n,r,i)],cx:t,cy:n,radius:r,startAngle:o,endAngle:i}}function lB(e,t,n){var r,o,i,a;if("horizontal"===e)i=r=t.x,o=n.top,a=n.top+n.height;else if("vertical"===e)a=o=t.y,r=n.left,i=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return aB(t);var l=t.cx,s=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,f=sD(l,s,c,d),p=sD(l,s,u,d);r=f.x,o=f.y,i=p.x,a=p.y}return[{x:r,y:o},{x:i,y:a}]}function sB(e){return sB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sB(e)}function cB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cB(Object(n),!0).forEach((function(t){dB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dB(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sB(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fB(e){var n,r=e.element,o=e.tooltipEventType,i=e.isActive,a=e.activeCoordinate,l=e.activePayload,s=e.offset,c=e.activeTooltipIndex,u=e.tooltipAxisBandSize,d=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!a||"ScatterChart"!==f&&"axis"!==o)return null;var p=XL;if("ScatterChart"===f)n=a,p=iB;else if("BarChart"===f)n=function(e,t,n,r){var o=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-o,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(d,a,s,u),p=pZ;else if("radial"===d){var h=aB(a),m=h.cx,v=h.cy,g=h.radius;n={cx:m,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:g,outerRadius:g},p=tL}else n={points:lB(d,a,s)},p=XL;var y=uB(uB(uB(uB({stroke:"#ccc",pointerEvents:"none"},s),n),Oj(r.props.cursor,!1)),{},{payload:l,payloadIndex:c,className:(0,Mi.Z)("recharts-tooltip-cursor",r.props.cursor.className)});return(0,t.isValidElement)(r.props.cursor)?(0,t.cloneElement)(r.props.cursor,y):(0,t.createElement)(p,y)}var pB=["item"],hB=["children","className","width","height","style","compact","title","desc"];function mB(e){return mB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mB(e)}function vB(){return vB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vB.apply(this,arguments)}function gB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||OB(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TB(r.key),r)}}function xB(e,t,n){return t=SB(t),function(e,t){if(t&&("object"===mB(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kB(e)}(e,wB()?Reflect.construct(t,n||[],SB(e).constructor):t.apply(e,n))}function wB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wB=function(){return!!e})()}function SB(e){return SB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SB(e)}function kB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jB(e,t){return jB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jB(e,t)}function EB(e){return function(e){if(Array.isArray(e))return CB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||OB(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OB(e,t){if(e){if("string"===typeof e)return CB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CB(e,t):void 0}}function CB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ZB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PB(Object(n),!0).forEach((function(t){_B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _B(e,t,n){return(t=TB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TB(e){var t=function(e,t){if("object"!=mB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mB(t)?t:String(t)}var MB={xAxis:["bottom","top"],yAxis:["left","right"]},AB={width:"100%",height:"100%"},RB={x:0,y:0};function NB(e){return e}var IB=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,o=t.dataEndIndex,i=(null!==n&&void 0!==n?n:[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(EB(e),EB(n)):e}),[]);return i.length>0?i:e&&e.length&&Xk(r)&&Xk(o)?e.slice(r,o+1):[]};function DB(e){return"number"===e?[0,"auto"]:void 0}var zB=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=IB(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(o,l){var s,c,u=null!==(s=l.props.data)&&void 0!==s?s:t;(u&&e.dataStartIndex+e.dataEndIndex!==0&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory)?c=oj(void 0===u?a:u,i.dataKey,r):c=u&&u[n]||a[n];return c?[].concat(EB(o),[RI(l,c)]):o}),[])},LB=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,l=e.tooltipAxis,s=e.tooltipTicks,c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null===n||void 0===n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,s=0;s<a;s++){var c=s>0?r[s-1].coordinate:r[a-1].coordinate,u=r[s].coordinate,d=s>=a-1?r[0].coordinate:r[s+1].coordinate,f=void 0;if($k(u-c)!==$k(d-u)){var p=[];if($k(d-u)===$k(l[1]-l[0])){f=d;var h=u+l[1]-l[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{f=c;var m=d+l[1]-l[0];p[0]=Math.min(u,(m+u)/2),p[1]=Math.max(u,(m+u)/2)}var v=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){i=r[s].index;break}}else{var g=Math.min(c,d),y=Math.max(c,d);if(e>(g+u)/2&&e<=(y+u)/2){i=r[s].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}return i}(i,a,s,l);if(c>=0&&s){var u=s[c]&&s[c].value,d=zB(e,t,c,u),f=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return ZB(ZB(ZB({},r),sD(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var l=o.coordinate,s=r.angle;return ZB(ZB(ZB({},r),sD(r.cx,r.cy,l,s)),{},{angle:s,radius:l})}return RB}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},BB=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,f=wI(c,o);return n.reduce((function(t,n){var p,h=n.props,m=h.type,v=h.dataKey,g=h.allowDataOverflow,y=h.allowDuplicatedCategory,b=h.scale,x=h.ticks,w=h.includeHidden,S=n.props[i];if(t[S])return t;var k,j,E,O=IB(e.data,{graphicalItems:r.filter((function(e){return e.props[i]===S})),dataStartIndex:l,dataEndIndex:s}),C=O.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null===e||void 0===e?void 0:e[0],o=null===e||void 0===e?void 0:e[1];if(r&&o&&Xk(r)&&Xk(o))return!0}return!1})(n.props.domain,g,m)&&(k=TI(n.props.domain,null,g),!f||"number"!==m&&"auto"===b||(E=gI(O,v,"category")));var P=DB(m);if(!k||0===k.length){var Z,_=null!==(Z=n.props.domain)&&void 0!==Z?Z:P;if(v){if(k=gI(O,v,m),"category"===m&&f){var T=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(k);y&&T?(j=k,k=_k()(0,C)):y||(k=AI(_,k,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(EB(e),[t])}),[]))}else if("category"===m)k=y?k.filter((function(e){return""!==e&&!Ok()(e)})):AI(_,k,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Ok()(t)?e:[].concat(EB(e),[t])}),[]);else if("number"===m){var M=function(e,t,n,r,o){var i=t.map((function(t){return bI(e,t,n,o,r)})).filter((function(e){return!Ok()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(O,r.filter((function(e){return e.props[i]===S&&(w||!e.props.hide)})),v,o,c);M&&(k=M)}!f||"number"!==m&&"auto"===b||(E=gI(O,v,"category"))}else k=f?_k()(0,C):a&&a[S]&&a[S].hasStack&&"number"===m?"expand"===d?[0,1]:PI(a[S].stackGroups,l,s):xI(O,r.filter((function(e){return e.props[i]===S&&(w||!e.props.hide)})),m,c,!0);if("number"===m)k=jz(u,k,S,o,x),_&&(k=TI(_,k,g));else if("category"===m&&_){var A=_;k.every((function(e){return A.indexOf(e)>=0}))&&(k=A)}}return ZB(ZB({},t),{},_B({},S,ZB(ZB({},n.props),{},{axisType:o,domain:k,categoricalDomain:E,duplicateDomain:j,originalDomain:null!==(p=n.props.domain)&&void 0!==p?p:P,isCategorical:f,layout:c})))}),{})},FB=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.children,u="".concat(r,"Id"),d=wj(c,o),f={};return d&&d.length?f=BB(e,{axes:d,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s}):i&&i.length&&(f=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=IB(e.data,{graphicalItems:n,dataStartIndex:l,dataEndIndex:s}),f=d.length,p=wI(c,o),h=-1;return n.reduce((function(e,t){var m,v=t.props[i],g=DB("number");return e[v]?e:(h++,p?m=_k()(0,f):a&&a[v]&&a[v].hasStack?(m=PI(a[v].stackGroups,l,s),m=jz(u,m,v,o)):(m=TI(g,xI(d,n.filter((function(e){return e.props[i]===v&&!e.props.hide})),"number",c),r.defaultProps.allowDataOverflow),m=jz(u,m,v,o)),ZB(ZB({},e),{},_B({},v,ZB(ZB({axisType:o},r.defaultProps),{},{hide:!0,orientation:Mk()(MB,"".concat(o,".").concat(h%2),null),domain:m,originalDomain:g,isCategorical:p,layout:c}))))}),{})}(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s})),f},WB=function(e){var t=e.children,n=e.defaultShowTooltip,r=Sj(t,JI),o=0,i=0;return e.data&&0!==e.data.length&&(i=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(o=r.props.startIndex),r.props.endIndex>=0&&(i=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(n)}},UB=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},qB=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,l=n.width,s=n.height,c=n.children,u=n.margin||{},d=Sj(c,JI),f=Sj(c,nC),p=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:ZB(ZB({},e),{},_B({},r,e[r]+n.width))}),{left:u.left||0,right:u.right||0}),h=Object.keys(o).reduce((function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:ZB(ZB({},e),{},_B({},r,Mk()(e,"".concat(r))+n.height))}),{top:u.top||0,bottom:u.bottom||0}),m=ZB(ZB({},h),p),v=m.bottom;d&&(m.bottom+=d.props.height||JI.defaultProps.height),f&&t&&(m=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,l=i-(a.left||0)-(a.right||0),s=cI({children:o,legendWidth:l});if(s){var c=r||{},u=c.width,d=c.height,f=s.align,p=s.verticalAlign,h=s.layout;if(("vertical"===h||"horizontal"===h&&"middle"===p)&&"center"!==f&&Xk(e[f]))return fI(fI({},e),{},pI({},f,e[f]+(u||0)));if(("horizontal"===h||"vertical"===h&&"center"===f)&&"middle"!==p&&Xk(e[p]))return fI(fI({},e),{},pI({},p,e[p]+(d||0)))}return e}(m,0,n,t));var g=l-m.left-m.right,y=s-m.top-m.bottom;return ZB(ZB({brushBottom:v},m),{},{width:Math.max(g,0),height:Math.max(y,0)})},HB=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},VB=["points","className","baseLinePoints","connectNulls"];function YB(){return YB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YB.apply(this,arguments)}function GB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $B(e){return function(e){if(Array.isArray(e))return KB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return KB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KB(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function KB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var XB=function(e){return e&&e.x===+e.x&&e.y===+e.y},QB=function(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach((function(e){XB(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])})),XB(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}(e);t&&(n=[n.reduce((function(e,t){return[].concat($B(e),$B(t))}),[])]);var r=n.map((function(e){return e.reduce((function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)}),"")})).join("");return 1===n.length?"".concat(r,"Z"):r},JB=function(e){var n=e.points,r=e.className,o=e.baseLinePoints,i=e.connectNulls,a=GB(e,VB);if(!n||!n.length)return null;var l=(0,Mi.Z)("recharts-polygon",r);if(o&&o.length){var s=a.stroke&&"none"!==a.stroke,c=function(e,t,n){var r=QB(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(QB(t.reverse(),n).slice(1))}(n,o,i);return t.createElement("g",{className:l},t.createElement("path",YB({},Oj(a,!0),{fill:"Z"===c.slice(-1)?a.fill:"none",stroke:"none",d:c})),s?t.createElement("path",YB({},Oj(a,!0),{fill:"none",d:QB(n,i)})):null,s?t.createElement("path",YB({},Oj(a,!0),{fill:"none",d:QB(o,i)})):null)}var u=QB(n,i);return t.createElement("path",YB({},Oj(a,!0),{fill:"Z"===u.slice(-1)?a.fill:"none",className:l,d:u}))};function eF(e){return eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eF(e)}function tF(){return tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tF.apply(this,arguments)}function nF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nF(Object(n),!0).forEach((function(t){cF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,uF(r.key),r)}}function iF(e,t,n){return t=lF(t),function(e,t){if(t&&("object"===eF(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,aF()?Reflect.construct(t,n||[],lF(e).constructor):t.apply(e,n))}function aF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(aF=function(){return!!e})()}function lF(e){return lF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lF(e)}function sF(e,t){return sF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sF(e,t)}function cF(e,t,n){return(t=uF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uF(e){var t=function(e,t){if("object"!=eF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eF(t)?t:String(t)}var dF=Math.PI/180,fF=1e-5,pF=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),iF(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sF(e,t)}(n,e),r=n,o=[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,r=t.cy,o=t.radius,i=t.orientation,a=t.tickSize||8,l=sD(n,r,o,e.coordinate),s=sD(n,r,o+("inner"===i?-1:1)*a,e.coordinate);return{x1:l.x,y1:l.y,x2:s.x,y2:s.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*dF);return n>fF?"outer"===t?"start":"end":n<-fF?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.radius,i=e.axisLine,a=e.axisLineType,l=rF(rF({},Oj(this.props,!1)),{},{fill:"none"},Oj(i,!1));if("circle"===a)return t.createElement(oC,tF({className:"recharts-polar-angle-axis-line"},l,{cx:n,cy:r,r:o}));var s=this.props.ticks.map((function(e){return sD(n,r,o,e.coordinate)}));return t.createElement(JB,tF({className:"recharts-polar-angle-axis-line"},l,{points:s}))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.tickLine,l=r.tickFormatter,s=r.stroke,c=Oj(this.props,!1),u=Oj(i,!1),d=rF(rF({},c),{},{fill:"none"},Oj(a,!1)),f=o.map((function(r,o){var f=e.getTickLineCoord(r),p=rF(rF(rF({textAnchor:e.getTickTextAnchor(r)},c),{},{stroke:"none",fill:s},u),{},{index:o,payload:r,x:f.x2,y:f.y2});return t.createElement(Dj,tF({className:(0,Mi.Z)("recharts-polar-angle-axis-tick",pD(i)),key:"tick-".concat(r.coordinate)},fj(e.props,r,o)),a&&t.createElement("line",tF({className:"recharts-polar-angle-axis-tick-line"},d,f)),i&&n.renderTickItem(i,p,l?l(r.value,o):r.value))}));return t.createElement(Dj,{className:"recharts-polar-angle-axis-ticks"},f)}},{key:"render",value:function(){var e=this.props,n=e.ticks,r=e.radius,o=e.axisLine;return r<=0||!n||!n.length?null:t.createElement(Dj,{className:(0,Mi.Z)("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks())}}],i=[{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(s_,tF({},n,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],o&&oF(r.prototype,o),i&&oF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);cF(pF,"displayName","PolarAngleAxis"),cF(pF,"axisType","angleAxis"),cF(pF,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var hF=n(8559),mF=n.n(hF),vF=n(3638),gF=n.n(vF),yF=["cx","cy","angle","ticks","axisLine"],bF=["ticks","tick","angle","tickFormatter","stroke"];function xF(e){return xF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xF(e)}function wF(){return wF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wF.apply(this,arguments)}function SF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SF(Object(n),!0).forEach((function(t){_F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jF(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TF(r.key),r)}}function OF(e,t,n){return t=PF(t),function(e,t){if(t&&("object"===xF(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,CF()?Reflect.construct(t,n||[],PF(e).constructor):t.apply(e,n))}function CF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(CF=function(){return!!e})()}function PF(e){return PF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},PF(e)}function ZF(e,t){return ZF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZF(e,t)}function _F(e,t,n){return(t=TF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TF(e){var t=function(e,t){if("object"!=xF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xF(t)?t:String(t)}var MF=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),OF(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZF(e,t)}(n,e),r=n,o=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,r=n.angle,o=n.cx,i=n.cy;return sD(o,i,t,r)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,o=e.ticks,i=mF()(o,(function(e){return e.coordinate||0}));return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:gF()(o,(function(e){return e.coordinate||0})).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.angle,i=e.ticks,a=e.axisLine,l=jF(e,yF),s=i.reduce((function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]}),[1/0,-1/0]),c=sD(n,r,s[0],o),u=sD(n,r,s[1],o),d=kF(kF(kF({},Oj(l,!1)),{},{fill:"none"},Oj(a,!1)),{},{x1:c.x,y1:c.y,x2:u.x,y2:u.y});return t.createElement("line",wF({className:"recharts-polar-radius-axis-line"},d))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.angle,l=r.tickFormatter,s=r.stroke,c=jF(r,bF),u=this.getTickTextAnchor(),d=Oj(c,!1),f=Oj(i,!1),p=o.map((function(r,o){var c=e.getTickValueCoord(r),p=kF(kF(kF(kF({textAnchor:u,transform:"rotate(".concat(90-a,", ").concat(c.x,", ").concat(c.y,")")},d),{},{stroke:"none",fill:s},f),{},{index:o},c),{},{payload:r});return t.createElement(Dj,wF({className:(0,Mi.Z)("recharts-polar-radius-axis-tick",pD(i)),key:"tick-".concat(r.coordinate)},fj(e.props,r,o)),n.renderTickItem(i,p,l?l(r.value,o):r.value))}));return t.createElement(Dj,{className:"recharts-polar-radius-axis-ticks"},p)}},{key:"render",value:function(){var e=this.props,n=e.ticks,r=e.axisLine,o=e.tick;return n&&n.length?t.createElement(Dj,{className:(0,Mi.Z)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),o&&this.renderTicks(),PD.renderCallByParent(this.props,this.getViewBox())):null}}],i=[{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(s_,wF({},n,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],o&&EF(r.prototype,o),i&&EF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);_F(MF,"displayName","PolarRadiusAxis"),_F(MF,"axisType","radiusAxis"),_F(MF,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var AF=n(5727),RF=n.n(AF);function NF(e){return NF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NF(e)}var IF=["valueAccessor"],DF=["data","dataKey","clockWise","id","textBreakAll"];function zF(e){return function(e){if(Array.isArray(e))return LF(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return LF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LF(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BF(){return BF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BF.apply(this,arguments)}function FF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FF(Object(n),!0).forEach((function(t){UF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UF(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=NF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=NF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NF(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qF(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var HF=function(e){return Array.isArray(e.value)?RF()(e.value):e.value};function VF(e){var n=e.valueAccessor,r=void 0===n?HF:n,o=qF(e,IF),i=o.data,a=o.dataKey,l=o.clockWise,s=o.id,c=o.textBreakAll,u=qF(o,DF);return i&&i.length?t.createElement(Dj,{className:"recharts-label-list"},i.map((function(e,n){var o=Ok()(a)?r(e,n):vI(e&&e.payload,a),i=Ok()(s)?{}:{id:"".concat(s,"-").concat(n)};return t.createElement(PD,BF({},Oj(e,!0),u,i,{parentViewBox:e.parentViewBox,value:o,textBreakAll:c,viewBox:PD.parseViewBox(Ok()(l)?e:WF(WF({},e),{},{clockWise:l})),key:"label-".concat(n),index:n}))}))):null}VF.displayName="LabelList",VF.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=wj(e.children,VF).map((function(e,r){return(0,t.cloneElement)(e,{data:n,key:"labelList-".concat(r)})}));return r?[function(e,n){return e?!0===e?t.createElement(VF,{key:"labelList-implicit",data:n}):t.isValidElement(e)||Pk()(e)?t.createElement(VF,{key:"labelList-implicit",data:n,content:e}):Uk()(e)?t.createElement(VF,BF({data:n},e,{key:"labelList-implicit"})):null:null}(e.label,n)].concat(zF(o)):o};var YF,GF=function(e){return null};function $F(e){return $F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$F(e)}function KF(){return KF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KF.apply(this,arguments)}function XF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XF(Object(n),!0).forEach((function(t){iW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aW(r.key),r)}}function eW(e,t,n){return t=nW(t),function(e,t){if(t&&("object"===$F(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rW(e)}(e,tW()?Reflect.construct(t,n||[],nW(e).constructor):t.apply(e,n))}function tW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tW=function(){return!!e})()}function nW(e){return nW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nW(e)}function rW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oW(e,t){return oW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oW(e,t)}function iW(e,t,n){return(t=aW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aW(e){var t=function(e,t){if("object"!=$F(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$F(t)?t:String(t)}GF.displayName="Cell";var lW=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),iW(rW(t=eW(this,n,[e])),"pieRef",null),iW(rW(t),"sectorRefs",[]),iW(rW(t),"id",ej("recharts-pie-")),iW(rW(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Pk()(e)&&e()})),iW(rW(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Pk()(e)&&e()})),t.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},t}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oW(e,t)}(n,e),r=n,o=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.label,i=r.labelLine,a=r.dataKey,l=r.valueKey,s=Oj(this.props,!1),c=Oj(o,!1),u=Oj(i,!1),d=o&&o.offsetRadius||20,f=e.map((function(e,r){var f=(e.startAngle+e.endAngle)/2,p=sD(e.cx,e.cy,e.outerRadius+d,f),h=QF(QF(QF(QF({},s),e),{},{stroke:"none"},c),{},{index:r,textAnchor:n.getTextAnchor(p.x,e.cx)},p),m=QF(QF(QF(QF({},s),e),{},{fill:"none",stroke:e.fill},u),{},{index:r,points:[sD(e.cx,e.cy,e.outerRadius,f),p],key:"line"}),v=a;return Ok()(a)&&Ok()(l)?v="value":Ok()(a)&&(v=l),t.createElement(Dj,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(r)},i&&n.renderLabelLineItem(i,m),n.renderLabelItem(o,h,vI(e,v)))}));return t.createElement(Dj,{className:"recharts-pie-labels"},f)}},{key:"renderSectorsStatically",value:function(e){var n=this,r=this.props,o=r.activeShape,i=r.blendStroke,a=r.inactiveShape;return e.map((function(r,l){if(0===(null===r||void 0===r?void 0:r.startAngle)&&0===(null===r||void 0===r?void 0:r.endAngle)&&1!==e.length)return null;var s=n.isActiveIndex(l),c=a&&n.hasActiveIndex()?a:null,u=s?o:c,d=QF(QF({},r),{},{stroke:i?r.fill:r.stroke,tabIndex:-1});return t.createElement(Dj,KF({ref:function(e){e&&!n.sectorRefs.includes(e)&&n.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},fj(n.props,r,l),{key:"sector-".concat(null===r||void 0===r?void 0:r.startAngle,"-").concat(null===r||void 0===r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(l)}),t.createElement(uL,KF({option:u,isActive:s,shapeType:"sector"},d)))}))}},{key:"renderSectorsWithAnimation",value:function(){var e=this,n=this.props,r=n.sectors,o=n.isAnimationActive,i=n.animationBegin,a=n.animationDuration,l=n.animationEasing,s=n.animationId,c=this.state,u=c.prevSectors,d=c.prevIsAnimationActive;return t.createElement(nZ,{begin:i,duration:a,isActive:o,easing:l,from:{t:0},to:{t:1},key:"pie-".concat(s,"-").concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(n){var o=n.t,i=[],a=(r&&r[0]).startAngle;return r.forEach((function(e,t){var n=u&&u[t],r=t>0?Mk()(e,"paddingAngle",0):0;if(n){var l=rj(n.endAngle-n.startAngle,e.endAngle-e.startAngle),s=QF(QF({},e),{},{startAngle:a+r,endAngle:a+l(o)+r});i.push(s),a=s.endAngle}else{var c=e.endAngle,d=e.startAngle,f=rj(0,c-d)(o),p=QF(QF({},e),{},{startAngle:a+r,endAngle:a+f+r});i.push(p),a=p.endAngle}})),t.createElement(Dj,null,e.renderSectorsStatically(i))}))}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&kN()(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,n=this.props,r=n.hide,o=n.sectors,i=n.className,a=n.label,l=n.cx,s=n.cy,c=n.innerRadius,u=n.outerRadius,d=n.isAnimationActive,f=this.state.isAnimationFinished;if(r||!o||!o.length||!Xk(l)||!Xk(s)||!Xk(c)||!Xk(u))return null;var p=(0,Mi.Z)("recharts-pie",i);return t.createElement(Dj,{tabIndex:this.props.rootTabIndex,className:p,ref:function(t){e.pieRef=t}},this.renderSectors(),a&&this.renderLabels(o),PD.renderCallByParent(this.props,null,!1),(!d||f)&&VF.renderCallByParent(this.props,o,!1))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if(Pk()(e))return e(n);var r=(0,Mi.Z)("recharts-pie-label-line","boolean"!==typeof e?e.className:"");return t.createElement(XL,KF({},n,{type:"linear",className:r}))}},{key:"renderLabelItem",value:function(e,n,r){if(t.isValidElement(e))return t.cloneElement(e,n);var o=r;if(Pk()(e)&&(o=e(n),t.isValidElement(o)))return o;var i=(0,Mi.Z)("recharts-pie-label-text","boolean"===typeof e||Pk()(e)?"":e.className);return t.createElement(s_,KF({},n,{alignmentBaseline:"middle",className:i}),o)}}],o&&JF(r.prototype,o),i&&JF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);YF=lW,iW(lW,"displayName","Pie"),iW(lW,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!dE.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),iW(lW,"parseDeltaAngle",(function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),360)})),iW(lW,"getRealPieData",(function(e){var t=e.props,n=t.data,r=t.children,o=Oj(e.props,!1),i=wj(r,GF);return n&&n.length?n.map((function(e,t){return QF(QF(QF({payload:e},o),e),i&&i[t]&&i[t].props)})):i&&i.length?i.map((function(e){return QF(QF({},o),e.props)})):[]})),iW(lW,"parseCoordinateOfPie",(function(e,t){var n=t.top,r=t.left,o=t.width,i=t.height,a=cD(o,i);return{cx:r+tj(e.props.cx,o,o/2),cy:n+tj(e.props.cy,i,i/2),innerRadius:tj(e.props.innerRadius,a,0),outerRadius:tj(e.props.outerRadius,a,.8*a),maxRadius:e.props.maxRadius||Math.sqrt(o*o+i*i)/2}})),iW(lW,"getComposedData",(function(e){var t=e.item,n=e.offset,r=YF.getRealPieData(t);if(!r||!r.length)return null;var o=t.props,i=o.cornerRadius,a=o.startAngle,l=o.endAngle,s=o.paddingAngle,c=o.dataKey,u=o.nameKey,d=o.valueKey,f=o.tooltipType,p=Math.abs(t.props.minAngle),h=YF.parseCoordinateOfPie(t,n),m=YF.parseDeltaAngle(a,l),v=Math.abs(m),g=c;Ok()(c)&&Ok()(d)?(CE(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),g="value"):Ok()(c)&&(CE(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),g=d);var y,b,x=r.filter((function(e){return 0!==vI(e,g,0)})).length,w=v-x*p-(v>=360?x:x-1)*s,S=r.reduce((function(e,t){var n=vI(t,g,0);return e+(Xk(n)?n:0)}),0);S>0&&(y=r.map((function(e,t){var n,r=vI(e,g,0),o=vI(e,u,t),l=(Xk(r)?r:0)/S,c=(n=t?b.endAngle+$k(m)*s*(0!==r?1:0):a)+$k(m)*((0!==r?p:0)+l*w),d=(n+c)/2,v=(h.innerRadius+h.outerRadius)/2,y=[{name:o,value:r,payload:e,dataKey:g,type:f}],x=sD(h.cx,h.cy,v,d);return b=QF(QF(QF({percent:l,cornerRadius:i,name:o,tooltipPayload:y,midAngle:d,middleRadius:v,tooltipPosition:x},e),h),{},{value:vI(e,g),startAngle:n,endAngle:c,payload:e,paddingAngle:$k(m)*s})})));return QF(QF({},h),{},{sectors:y,data:r})}));var sW=function(e){var n,r=e.chartName,o=e.GraphicalChild,i=e.defaultTooltipEventType,a=void 0===i?"axis":i,l=e.validateTooltipEventTypes,s=void 0===l?["axis"]:l,c=e.axisComponents,u=e.legendContent,d=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,i=t.updateId,a=t.dataStartIndex,l=t.dataEndIndex,s=e.barSize,u=e.layout,d=e.barGap,f=e.barCategoryGap,p=e.maxBarSize,h=UB(u),m=h.numericAxisName,v=h.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=gj(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),y=[];return n.forEach((function(n,h){var b=IB(e.data,{graphicalItems:[n],dataStartIndex:a,dataEndIndex:l}),x=n.props,w=x.dataKey,S=x.maxBarSize,k=n.props["".concat(m,"Id")],j=n.props["".concat(v,"Id")],E=c.reduce((function(e,r){var o=t["".concat(r.axisType,"Map")],i=n.props["".concat(r.axisType,"Id")];o&&o[i]||"zAxis"===r.axisType||Lk(!1);var a=o[i];return ZB(ZB({},e),{},_B(_B({},r.axisType,a),"".concat(r.axisType,"Ticks"),SI(a)))}),{}),O=E[v],C=E["".concat(v,"Ticks")],P=r&&r[k]&&r[k].hasStack&&function(e,t){var n=e.props.stackId;if(Qk(n)){var r=t[n];if(r){var o=r.items.indexOf(e);return o>=0?r.stackedData[o]:null}}return null}(n,r[k].stackGroups),Z=gj(n.type).indexOf("Bar")>=0,_=MI(O,C),T=[],M=g&&function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,o=void 0===r?{}:r;if(!o)return{};for(var i={},a=Object.keys(o),l=0,s=a.length;l<s;l++)for(var c=o[a[l]].stackGroups,u=Object.keys(c),d=0,f=u.length;d<f;d++){var p=c[u[d]],h=p.items,m=p.cateAxisId,v=h.filter((function(e){return gj(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,y=v[0].props[m];i[y]||(i[y]=[]);var b=Ok()(g)?t:g;i[y].push({item:v[0],stackList:v.slice(1),barSize:Ok()(b)?void 0:tj(b,n,0)})}}return i}({barSize:s,stackGroups:r,totalSize:HB(E,v)});if(Z){var A,R,N=Ok()(S)?p:S,I=null!==(A=null!==(R=MI(O,C,!0))&&void 0!==R?R:N)&&void 0!==A?A:0;T=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,l=i.length;if(l<1)return null;var s,c=tj(t,r,0,!0),u=[];if(i[0].barSize===+i[0].barSize){var d=!1,f=r/l,p=i.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(l-1)*c)>=r&&(p-=(l-1)*c,c=0),p>=r&&f>0&&(d=!0,p=l*(f*=.9));var h={offset:((r-p)/2>>0)-c,size:0};s=i.reduce((function(e,t){var n={item:t.item,position:{offset:h.offset+h.size+c,size:d?f:t.barSize}},r=[].concat(hI(e),[n]);return h=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:h})})),r}),u)}else{var m=tj(n,r,0,!0);r-2*m-(l-1)*c<=0&&(c=0);var v=(r-2*m-(l-1)*c)/l;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;s=i.reduce((function(e,t,n){var r=[].concat(hI(e),[{item:t.item,position:{offset:m+(v+c)*n+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),u)}return s}({barGap:d,barCategoryGap:f,bandSize:I!==_?I:_,sizeList:M[j],maxBarSize:N}),I!==_&&(T=T.map((function(e){return ZB(ZB({},e),{},{position:ZB(ZB({},e.position),{},{offset:e.position.offset-I/2})})})))}var D,z,L=n&&n.type&&n.type.getComposedData;L&&y.push({props:ZB(ZB({},L(ZB(ZB({},E),{},{displayedData:b,props:e,dataKey:w,item:n,bandSize:_,barPosition:T,offset:o,stackedData:P,layout:u,dataStartIndex:a,dataEndIndex:l}))),{},_B(_B(_B({key:n.key||"item-".concat(h)},m,E[m]),v,E[v]),"animationId",i)),childIndex:(D=n,z=e.children,xj(z).indexOf(D)),item:n})})),y},h=function(e,t){var n=e.props,i=e.dataStartIndex,a=e.dataEndIndex,l=e.updateId;if(!kj({props:n}))return null;var s=n.children,u=n.layout,f=n.stackOffset,h=n.data,m=n.reverseStackOrder,v=UB(u),g=v.numericAxisName,y=v.cateAxisName,b=wj(s,o),x=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],l=e[a]||{hasStack:!1,stackGroups:{}};if(Qk(i)){var s=l.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};s.items.push(t),l.hasStack=!0,l.stackGroups[i]=s}else l.stackGroups[ej("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return fI(fI({},e),{},pI({},a,l))}),{});return Object.keys(a).reduce((function(t,i){var l=a[i];return l.hasStack&&(l.stackGroups=Object.keys(l.stackGroups).reduce((function(t,i){var a=l.stackGroups[i];return fI(fI({},t),{},pI({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:CI(e,a.items,o)}))}),{})),fI(fI({},t),{},pI({},i,l))}),{})}(h,b,"".concat(g,"Id"),"".concat(y,"Id"),f,m),w=c.reduce((function(e,t){var r="".concat(t.axisType,"Map");return ZB(ZB({},e),{},_B({},r,FB(n,ZB(ZB({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&x,dataStartIndex:i,dataEndIndex:a}))))}),{}),S=qB(ZB(ZB({},w),{},{props:n,graphicalItems:b}),null===t||void 0===t?void 0:t.legendBBox);Object.keys(w).forEach((function(e){w[e]=d(n,w[e],S,e.replace("Map",""),r)}));var k=function(e){var t=nj(e),n=SI(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Rk()(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:MI(t,n)}}(w["".concat(y,"Map")]),j=p(n,ZB(ZB({},w),{},{dataStartIndex:i,dataEndIndex:a,updateId:l,graphicalItems:b,stackGroups:x,offset:S}));return ZB(ZB({formattedGraphicalItems:j,graphicalItems:b,offset:S,stackGroups:x},k),w)};return n=function(e){function n(e){var o,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),_B(kB(a=xB(this,n,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),_B(kB(a),"accessibilityManager",new Mz),_B(kB(a),"handleLegendBBoxUpdate",(function(e){if(e){var t=a.state,n=t.dataStartIndex,r=t.dataEndIndex,o=t.updateId;a.setState(ZB({legendBBox:e},h({props:a.props,dataStartIndex:n,dataEndIndex:r,updateId:o},ZB(ZB({},a.state),{},{legendBBox:e}))))}})),_B(kB(a),"handleReceiveSyncEvent",(function(e,t,n){if(a.props.syncId===e){if(n===a.eventEmitterSymbol&&"function"!==typeof a.props.syncMethod)return;a.applySyncEvent(t)}})),_B(kB(a),"handleBrushChange",(function(e){var t=e.startIndex,n=e.endIndex;if(t!==a.state.dataStartIndex||n!==a.state.dataEndIndex){var r=a.state.updateId;a.setState((function(){return ZB({dataStartIndex:t,dataEndIndex:n},h({props:a.props,dataStartIndex:t,dataEndIndex:n,updateId:r},a.state))})),a.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}})),_B(kB(a),"handleMouseEnter",(function(e){var t=a.getMouseInfo(e);if(t){var n=ZB(ZB({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseEnter;Pk()(r)&&r(n,e)}})),_B(kB(a),"triggeredAfterMouseMove",(function(e){var t=a.getMouseInfo(e),n=t?ZB(ZB({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseMove;Pk()(r)&&r(n,e)})),_B(kB(a),"handleItemMouseEnter",(function(e){a.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),_B(kB(a),"handleItemMouseLeave",(function(){a.setState((function(){return{isTooltipActive:!1}}))})),_B(kB(a),"handleMouseMove",(function(e){e.persist(),a.throttleTriggeredAfterMouseMove(e)})),_B(kB(a),"handleMouseLeave",(function(e){a.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};a.setState(t),a.triggerSyncEvent(t);var n=a.props.onMouseLeave;Pk()(n)&&n(t,e)})),_B(kB(a),"handleOuterEvent",(function(e){var t,n=function(e){var t=e&&e.type;return t&&vj[t]?vj[t]:null}(e),r=Mk()(a.props,"".concat(n));n&&Pk()(r)&&r(null!==(t=/.*touch.*/i.test(n)?a.getMouseInfo(e.changedTouches[0]):a.getMouseInfo(e))&&void 0!==t?t:{},e)})),_B(kB(a),"handleClick",(function(e){var t=a.getMouseInfo(e);if(t){var n=ZB(ZB({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onClick;Pk()(r)&&r(n,e)}})),_B(kB(a),"handleMouseDown",(function(e){var t=a.props.onMouseDown;Pk()(t)&&t(a.getMouseInfo(e),e)})),_B(kB(a),"handleMouseUp",(function(e){var t=a.props.onMouseUp;Pk()(t)&&t(a.getMouseInfo(e),e)})),_B(kB(a),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),_B(kB(a),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseDown(e.changedTouches[0])})),_B(kB(a),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseUp(e.changedTouches[0])})),_B(kB(a),"triggerSyncEvent",(function(e){void 0!==a.props.syncId&&Oz.emit(Cz,a.props.syncId,e,a.eventEmitterSymbol)})),_B(kB(a),"applySyncEvent",(function(e){var t=a.props,n=t.layout,r=t.syncMethod,o=a.state.updateId,i=e.dataStartIndex,l=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)a.setState(ZB({dataStartIndex:i,dataEndIndex:l},h({props:a.props,dataStartIndex:i,dataEndIndex:l,updateId:o},a.state)));else if(void 0!==e.activeTooltipIndex){var s=e.chartX,c=e.chartY,u=e.activeTooltipIndex,d=a.state,f=d.offset,p=d.tooltipTicks;if(!f)return;if("function"===typeof r)u=r(p,e);else if("value"===r){u=-1;for(var m=0;m<p.length;m++)if(p[m].value===e.activeLabel){u=m;break}}var v=ZB(ZB({},f),{},{x:f.left,y:f.top}),g=Math.min(s,v.x+v.width),y=Math.min(c,v.y+v.height),b=p[u]&&p[u].value,x=zB(a.state,a.props.data,u),w=p[u]?{x:"horizontal"===n?p[u].coordinate:g,y:"horizontal"===n?y:p[u].coordinate}:RB;a.setState(ZB(ZB({},e),{},{activeLabel:b,activeCoordinate:w,activePayload:x,activeTooltipIndex:u}))}else a.setState(e)})),_B(kB(a),"renderCursor",(function(e){var n,o=a.state,i=o.isTooltipActive,l=o.activeCoordinate,s=o.activePayload,c=o.offset,u=o.activeTooltipIndex,d=o.tooltipAxisBandSize,f=a.getTooltipEventType(),p=null!==(n=e.props.active)&&void 0!==n?n:i,h=a.props.layout,m=e.key||"_recharts-cursor";return t.createElement(fB,{key:m,activeCoordinate:l,activePayload:s,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:c,tooltipAxisBandSize:d,tooltipEventType:f})})),_B(kB(a),"renderPolarAxis",(function(e,n,r){var o=Mk()(e,"type.axisType"),i=Mk()(a.state,"".concat(o,"Map")),l=i&&i[e.props["".concat(o,"Id")]];return(0,t.cloneElement)(e,ZB(ZB({},l),{},{className:(0,Mi.Z)(o,l.className),key:e.key||"".concat(n,"-").concat(r),ticks:SI(l,!0)}))})),_B(kB(a),"renderPolarGrid",(function(e){var n=e.props,r=n.radialLines,o=n.polarAngles,i=n.polarRadius,l=a.state,s=l.radiusAxisMap,c=l.angleAxisMap,u=nj(s),d=nj(c),f=d.cx,p=d.cy,h=d.innerRadius,m=d.outerRadius;return(0,t.cloneElement)(e,{polarAngles:Array.isArray(o)?o:SI(d,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:SI(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:r})})),_B(kB(a),"renderLegend",(function(){var e=a.state.formattedGraphicalItems,n=a.props,r=n.children,o=n.width,i=n.height,l=a.props.margin||{},s=o-(l.left||0)-(l.right||0),c=cI({children:r,formattedGraphicalItems:e,legendWidth:s,legendContent:u});if(!c)return null;var d=c.item,f=yB(c,pB);return(0,t.cloneElement)(d,ZB(ZB({},f),{},{chartWidth:o,chartHeight:i,margin:l,onBBoxUpdate:a.handleLegendBBoxUpdate}))})),_B(kB(a),"renderTooltip",(function(){var e,n=a.props,r=n.children,o=n.accessibilityLayer,i=Sj(r,OE);if(!i)return null;var l=a.state,s=l.isTooltipActive,c=l.activeCoordinate,u=l.activePayload,d=l.activeLabel,f=l.offset,p=null!==(e=i.props.active)&&void 0!==e?e:s;return(0,t.cloneElement)(i,{viewBox:ZB(ZB({},f),{},{x:f.left,y:f.top}),active:p,label:d,payload:p?u:[],coordinate:c,accessibilityLayer:o})})),_B(kB(a),"renderBrush",(function(e){var n=a.props,r=n.margin,o=n.data,i=a.state,l=i.offset,s=i.dataStartIndex,c=i.dataEndIndex,u=i.updateId;return(0,t.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:jI(a.handleBrushChange,e.props.onChange),data:o,x:Xk(e.props.x)?e.props.x:l.left,y:Xk(e.props.y)?e.props.y:l.top+l.height+l.brushBottom-(r.bottom||0),width:Xk(e.props.width)?e.props.width:l.width,startIndex:s,endIndex:c,updateId:"brush-".concat(u)})})),_B(kB(a),"renderReferenceElement",(function(e,n,r){if(!e)return null;var o=kB(a).clipPathId,i=a.state,l=i.xAxisMap,s=i.yAxisMap,c=i.offset,u=e.props,d=u.xAxisId,f=u.yAxisId;return(0,t.cloneElement)(e,{key:e.key||"".concat(n,"-").concat(r),xAxis:l[d],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})})),_B(kB(a),"renderActivePoints",(function(e){var t=e.item,r=e.activePoint,o=e.basePoint,i=e.childIndex,a=e.isRange,l=[],s=t.props.key,c=t.item.props,u=c.activeDot,d=ZB(ZB({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:yI(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(s,"-activePoint-").concat(i)},Oj(u,!1)),dj(u));return l.push(n.renderActiveDot(u,d)),o?l.push(n.renderActiveDot(u,ZB(ZB({},d),{},{cx:o.x,cy:o.y,key:"".concat(s,"-basePoint-").concat(i)}))):a&&l.push(null),l})),_B(kB(a),"renderGraphicChild",(function(e,n,r){var o=a.filterFormatItem(e,n,r);if(!o)return null;var i=a.getTooltipEventType(),l=a.state,s=l.isTooltipActive,c=l.tooltipAxis,u=l.activeTooltipIndex,d=l.activeLabel,f=Sj(a.props.children,OE),p=o.props,h=p.points,m=p.isRange,v=p.baseLine,g=o.item.props,y=g.activeDot,b=g.hide,x=g.activeBar,w=g.activeShape,S=Boolean(!b&&s&&f&&(y||x||w)),k={};"axis"!==i&&f&&"click"===f.props.trigger?k={onClick:jI(a.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(k={onMouseLeave:jI(a.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:jI(a.handleItemMouseEnter,e.props.onMouseEnter)});var j=(0,t.cloneElement)(e,ZB(ZB({},o.props),k));if(S){if(!(u>=0)){var E,O=(null!==(E=a.getItemByXY(a.state.activeCoordinate))&&void 0!==E?E:{graphicalItem:j}).graphicalItem,C=O.item,P=void 0===C?e:C,Z=O.childIndex,_=ZB(ZB(ZB({},o.props),k),{},{activeIndex:Z});return[(0,t.cloneElement)(P,_),null,null]}var T,M;if(c.dataKey&&!c.allowDuplicatedCategory){var A="function"===typeof c.dataKey?function(e){return"function"===typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());T=oj(h,A,d),M=m&&v&&oj(v,A,d)}else T=null===h||void 0===h?void 0:h[u],M=m&&v&&v[u];if(w||x){var R=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[(0,t.cloneElement)(e,ZB(ZB(ZB({},o.props),k),{},{activeIndex:R})),null,null]}if(!Ok()(T))return[j].concat(EB(a.renderActivePoints({item:o,activePoint:T,basePoint:M,childIndex:u,isRange:m})))}return m?[j,null,null]:[j,null]})),_B(kB(a),"renderCustomized",(function(e,n,r){return(0,t.cloneElement)(e,ZB(ZB({key:"recharts-customized-".concat(r)},a.props),a.state))})),_B(kB(a),"renderMap",{CartesianGrid:{handler:NB,once:!0},ReferenceArea:{handler:a.renderReferenceElement},ReferenceLine:{handler:NB},ReferenceDot:{handler:a.renderReferenceElement},XAxis:{handler:NB},YAxis:{handler:NB},Brush:{handler:a.renderBrush,once:!0},Bar:{handler:a.renderGraphicChild},Line:{handler:a.renderGraphicChild},Area:{handler:a.renderGraphicChild},Radar:{handler:a.renderGraphicChild},RadialBar:{handler:a.renderGraphicChild},Scatter:{handler:a.renderGraphicChild},Pie:{handler:a.renderGraphicChild},Funnel:{handler:a.renderGraphicChild},Tooltip:{handler:a.renderCursor,once:!0},PolarGrid:{handler:a.renderPolarGrid,once:!0},PolarAngleAxis:{handler:a.renderPolarAxis},PolarRadiusAxis:{handler:a.renderPolarAxis},Customized:{handler:a.renderCustomized}}),a.clipPathId="".concat(null!==(o=e.id)&&void 0!==o?o:ej("recharts"),"-clip"),a.throttleTriggeredAfterMouseMove=Ik()(a.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),a.state={},a}var o,i,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jB(e,t)}(n,e),o=n,i=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,o=e.layout,i=Sj(t,OE);if(i){var a=i.props.defaultIndex;if(!("number"!==typeof a||a<0||a>this.state.tooltipTicks.length)){var l=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,s=zB(this.state,n,a,l),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,d="horizontal"===o?{x:c,y:u}:{y:c,x:u},f=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));f&&(d=ZB(ZB({},d),f.props.points[a].tooltipPosition),s=f.props.points[a].tooltipPayload);var p={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:l,activePayload:s,activeCoordinate:d};this.setState(p),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){Cj([Sj(e.children,OE)],[Sj(this.props.children,OE)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Sj(this.props.children,OE);if(e&&"boolean"===typeof e.props.shared){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:a}return a}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,n=this.container,r=n.getBoundingClientRect(),o={top:(t=r).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(e.pageX-o.left),chartY:Math.round(e.pageY-o.top)},a=r.width/n.offsetWidth||1,l=this.inRange(i.chartX,i.chartY,a);if(!l)return null;var s=this.state,c=s.xAxisMap,u=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var d=nj(c).scale,f=nj(u).scale,p=d&&d.invert?d.invert(i.chartX):null,h=f&&f.invert?f.invert(i.chartY):null;return ZB(ZB({},i),{},{xValue:p,yValue:h})}var m=LB(this.state,this.props.data,this.props.layout,l);return m?ZB(ZB({},i),m):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,o=e/n,i=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var l=this.state,s=l.angleAxisMap,c=l.radiusAxisMap;if(s&&c){var u=nj(s);return fD({x:o,y:i},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=Sj(e,OE),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ZB(ZB({},dj(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){Oz.on(Cz,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Oz.removeListener(Cz,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===e||a.props.key===e.key||t===gj(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,n=this.state.offset,r=n.left,o=n.top,i=n.height,a=n.width;return t.createElement("defs",null,t.createElement("clipPath",{id:e},t.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gB(t,2),r=n[0],o=n[1];return ZB(ZB({},e),{},_B({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gB(t,2),r=n[0],o=n[1];return ZB(ZB({},e),{},_B({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var o=0,i=n.length;o<i;o++){var a=n[o],l=a.props,s=a.item,c=gj(s.type);if("Bar"===c){var u=(l.data||[]).find((function(t){return dZ(e,t)}));if(u)return{graphicalItem:a,payload:u}}else if("RadialBar"===c){var d=(l.data||[]).find((function(t){return fD(e,t)}));if(d)return{graphicalItem:a,payload:d}}else if(dL(a,r)||fL(a,r)||pL(a,r)){var f=gL({graphicalItem:a,activeTooltipItem:r,itemData:s.props.data}),p=void 0===s.props.activeIndex?f:s.props.activeIndex;return{graphicalItem:ZB(ZB({},a),{},{childIndex:p}),payload:pL(a,r)?s.props.data[f]:a.props.data[f]}}}return null}},{key:"render",value:function(){var e=this;if(!kj(this))return null;var n,r,o=this.props,i=o.children,a=o.className,l=o.width,s=o.height,c=o.style,u=o.compact,d=o.title,f=o.desc,p=yB(o,hB),h=Oj(p,!1);if(u)return t.createElement(lz,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},t.createElement(Aj,vB({},h,{width:l,height:s,title:d,desc:f}),this.renderClipPath(),Zj(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(n=this.props.tabIndex)&&void 0!==n?n:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return t.createElement(lz,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},t.createElement("div",vB({className:(0,Mi.Z)("recharts-wrapper",a),style:ZB({position:"relative",cursor:"default",width:l,height:s},c)},m,{ref:function(t){e.container=t}}),t.createElement(Aj,vB({},h,{width:l,height:s,title:d,desc:f,style:AB}),this.renderClipPath(),Zj(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],i&&bB(o.prototype,i),l&&bB(o,l),Object.defineProperty(o,"prototype",{writable:!1}),n}(t.Component),_B(n,"displayName",r),_B(n,"defaultProps",ZB({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),_B(n,"getDerivedStateFromProps",(function(e,t){var n=e.dataKey,r=e.data,o=e.children,i=e.width,a=e.height,l=e.layout,s=e.stackOffset,c=e.margin,u=t.dataStartIndex,d=t.dataEndIndex;if(void 0===t.updateId){var f=WB(e);return ZB(ZB(ZB({},f),{},{updateId:0},h(ZB(ZB({props:e},f),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:s,prevMargin:c,prevChildren:o})}if(n!==t.prevDataKey||r!==t.prevData||i!==t.prevWidth||a!==t.prevHeight||l!==t.prevLayout||s!==t.prevStackOffset||!ij(c,t.prevMargin)){var p=WB(e),m={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=ZB(ZB({},LB(t,r,l)),{},{updateId:t.updateId+1}),g=ZB(ZB(ZB({},p),m),v);return ZB(ZB(ZB({},g),h(ZB({props:e},g),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:s,prevMargin:c,prevChildren:o})}if(!Cj(o,t.prevChildren)){var y,b,x,w,S=Sj(o,JI),k=S&&null!==(y=null===(b=S.props)||void 0===b?void 0:b.startIndex)&&void 0!==y?y:u,j=S&&null!==(x=null===(w=S.props)||void 0===w?void 0:w.endIndex)&&void 0!==x?x:d,E=k!==u||j!==d,O=!Ok()(r)&&!E?t.updateId:t.updateId+1;return ZB(ZB({updateId:O},h(ZB(ZB({props:e},t),{},{updateId:O,dataStartIndex:k,dataEndIndex:j}),t)),{},{prevChildren:o,dataStartIndex:k,dataEndIndex:j})}return null})),_B(n,"renderActiveDot",(function(e,n){var r;return r=(0,t.isValidElement)(e)?(0,t.cloneElement)(e,n):Pk()(e)?e(n):t.createElement(oC,n),t.createElement(Dj,{className:"recharts-active-dot",key:n.key},r)})),n}({chartName:"PieChart",GraphicalChild:lW,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:pF},{axisType:"radiusAxis",AxisComp:MF}],formatAxisMap:function(t,n,r,o,i){var a=t.width,l=t.height,s=t.startAngle,c=t.endAngle,u=tj(t.cx,a,a/2),d=tj(t.cy,l,l/2),f=cD(a,l,r),p=tj(t.innerRadius,f,0),h=tj(t.outerRadius,f,.8*f);return Object.keys(n).reduce((function(t,r){var a,l=n[r],f=l.domain,m=l.reversed;if(Ok()(l.range))"angleAxis"===o?a=[s,c]:"radiusAxis"===o&&(a=[p,h]),m&&(a=[a[1],a[0]]);else{var v=oD(a=l.range,2);s=v[0],c=v[1]}var g=function(t,n,r){var o=t.scale,i=t.type,a=t.layout,l=t.axisType;if("auto"===o)return"radial"===a&&"radiusAxis"===l?{scale:kZ(),realScaleType:"band"}:"radial"===a&&"angleAxis"===l?{scale:$T(),realScaleType:"linear"}:"category"===i&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:EZ(),realScaleType:"point"}:"category"===i?{scale:kZ(),realScaleType:"band"}:{scale:$T(),realScaleType:"linear"};if(Fk()(o)){var s="scale".concat(ZE()(o));return{scale:(e[s]||EZ)(),realScaleType:e[s]?s:"point"}}return Pk()(o)?{scale:o}:{scale:EZ(),realScaleType:"point"}}(l,i),y=g.realScaleType,b=g.scale;b.domain(f).range(a),function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-EI,i=Math.max(r[0],r[1])+EI,a=e(t[0]),l=e(t[n-1]);(a<o||a>i||l<o||l>i)&&e.domain([t[0],t[n-1]])}}(b);var x=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,l=n||t.scale;if("auto"!==l&&"linear"!==l)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var s=e.domain();if(!s.length)return null;var c=XN(s,o,a);return e.domain([bN()(c),gN()(c)]),{niceTicks:c}}if(o&&"number"===r){var u=e.domain();return{niceTicks:QN(u,o,a)}}return null}(b,nD(nD({},l),{},{realScaleType:y})),w=nD(nD(nD({},l),x),{},{range:a,radius:h,realScaleType:y,scale:b,cx:u,cy:d,innerRadius:p,outerRadius:h,startAngle:s,endAngle:c});return nD(nD({},t),{},rD({},r,w))}),{})},defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),cW=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=(u[0],u[1],x((function(e){return e.result}))),f=d.allresult,p=d.allBatchWiseStudent,h=d.allBatch,m=_(),v=(0,t.useState)(""),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=(0,t.useState)(""),S=(0,D.Z)(w,2),k=S[0],j=S[1],E=(0,t.useState)(""),O=(0,D.Z)(E,2),C=O[0],P=O[1],Z=x((function(e){return e.exam})),T=Z.allExam,M=Hb(Fx().breakpoints.down("sm")),A=(0,t.useState)(!1),R=(0,D.Z)(A,2),N=R[0],I=R[1];(0,t.useEffect)((function(){ih(uh.result).then((function(e){var t=e.data.reverse();m(On.getResult(t))})).catch((function(e){return console.log("result error: ",e)}))}),[]),(0,t.useEffect)((function(){}),[C]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){var t=e.data.reverse();m(On.getBatch(t))})).catch((function(e){console.error("Error fetching batch:",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();m(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();m(On.getBatchWiseStudent(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();m(On.getBatchWiseStudent(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[C]);var z=function(){var e=W.filter((function(e){var t,n=!y||(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y,r=!k||(null===e||void 0===e?void 0:e.date)==k;return n&&r})),t=e.length,n=e.filter((function(e){return"pass"===e.status})).length;return[{name:"Pass",value:t>0?n/t*100:0},{name:"Fail",value:t>0?(t-n)/t*100:0}]},L=function(e){e.name;var t=e.value;return"".concat(t.toFixed(2),"%")},B=function(e){var t;"Pass"===e.name?(t=W.filter((function(e){return"pass"===e.status&&e.date==k&&e.exam.examName===y})),I(!0),console.log("click on pass:",t)):"Fail"===e.name?(t=W.filter((function(e){return"fail"===e.status&&e.date==k&&e.exam.examName===y})),console.log("click on fail:",t),I(!0)):t=W.filter((function(e){var t=!y||e.exam.examName===y,n=!k||e.date==k;return console.log(k),t&&n})),V(t)};console.log(p),console.log(C);var F=null===p||void 0===p?void 0:p.filter((function(e){return e.batch.id==C}));console.log(F);var W=f.filter((function(e){var t,n=!y||(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y,r=!k||e.date==k,o=F.some((function(t){return t.student.id===e.student.id}));return n&&r&&o}));console.log(W);var U=(0,t.useState)(W),q=(0,D.Z)(U,2),H=q[0],V=q[1];console.log("filteredResult",W),(0,t.useEffect)((function(){I(!1)}),[C]);var Y=f&&f.length>0&&f.some((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y&&e.date===k}));return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Result"})})})}),(0,Bi.jsxs)("div",{style:{padding:"20px"},children:[(0,Bi.jsxs)(Sy,{size:"small",children:[(0,Bi.jsx)(gy,{id:"select-batch-label",children:"Select Batch"}),(0,Bi.jsxs)(fg,{labelId:"select-batch-label",id:"select-batch",value:C,onChange:function(e){P(e.target.value),o(0)},style:{backgroundColor:"white",width:M?"130px":"150px",height:M?"30px":"40px"},label:"Select Batch",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"None"}),null===h||void 0===h?void 0:h.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.batchname)},e.id)}))]})]}),(0,Bi.jsxs)(Sy,{size:"small",sx:{marginLeft:"10px"},children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",value:y,onChange:function(e){b(e.target.value),o(0)},style:{backgroundColor:"white",width:M?"130px":"150px",height:M?"30px":"40px"},label:"Select Exam",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"None"}),T&&T.length>0&&T.map((function(e){return(0,Bi.jsx)(Zm,{value:null===e||void 0===e?void 0:e.examName,children:yf(null===e||void 0===e?void 0:e.examName)},e.id)}))]})]}),(0,Bi.jsx)(Ry,{type:"date",label:"Date",value:k,onChange:function(e){j(e.target.value),o(0)},variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",marginLeft:"10px"},InputLabelProps:{shrink:!0}})]}),Y&&(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[function(){if(!y||!k||0===W.length)return null;z();return(0,Bi.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,Bi.jsxs)(sW,{width:400,height:400,children:[(0,Bi.jsx)(lW,{dataKey:"value",data:z(),cx:"50%",cy:"50%",outerRadius:100,fill:"#8884d8",label:L,onClick:B,children:z().map((function(e,t){return(0,Bi.jsx)(GF,{fill:"Pass"===e.name?"#82ca9d":"#ff5733"},"cell-".concat(t))}))}),(0,Bi.jsx)(nC,{}),(0,Bi.jsx)(OE,{formatter:function(e){return"".concat(e.toFixed(2),"%")}})]})})}(),Y&&N&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:B,style:{float:"right"},children:"Show Total Students"}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Exam Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Exam Date"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Obtained Marks"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Total Marks"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Grade"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Status"})]})}),(0,Bi.jsx)(Bh,{children:0===H.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):H&&H.length>0&&H.slice(r*l,r*l+l).map((function(e,t){var n,o,i,a=r*l+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:a}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e||null===(n=e.student)||void 0===n?void 0:n.fname)+" "+yf(e.student.lname)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e||null===(o=e.student)||void 0===o?void 0:o.email," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e||null===(i=e.exam)||void 0===i?void 0:i.examName)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[qx(null===e||void 0===e?void 0:e.date)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.obtainedmark," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.totalmark," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.grade," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e?void 0:e.status)," "]})]},e.id)}))||[]})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:7,count:W.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})]})]})]})})};var uW=function(){var e=Lo();return(0,Bi.jsxs)("body",{children:[(0,Bi.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"}),(0,Bi.jsx)("script",{src:"https://kit.fontawesome.com/4b9ba14b0f.js",crossOrigin:"anonymous"}),(0,Bi.jsxs)("div",{class:"mainbox",children:[(0,Bi.jsx)("div",{class:"err",children:"4"}),(0,Bi.jsx)("i",{class:"far fa-question-circle fa-spin"}),(0,Bi.jsx)("div",{class:"err2",children:"4"}),(0,Bi.jsxs)("div",{class:"msg",children:["Oops...? Somthings went's wrong !",(0,Bi.jsx)("p",{style:{color:"red"},children:"Error:404 Page Not Found "})," ",(0,Bi.jsxs)("p",{children:["Press Login button to return to the Login page. ",(0,Bi.jsx)(mf,{variant:"outlined",color:"error",component:"button",onClick:function(){e("/")},children:"Login"})," and try from there."]})]})]})]})},dW=function(){var e=(0,t.useState)({fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",organization:""}),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)({fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrNoError:!1,passwordError:!1,password2Error:!1,matchPasswordError:!1,otherBranchError:!1}),d=(0,D.Z)(c,2),f=d[0],p=d[1],h=(0,t.useState)(!1),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(""),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(""),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=t.useState(!1),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=t.useState(!1),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=t.useState(!1),z=(0,D.Z)(I,2),L=(z[0],z[1]),B=x((function(e){return e.user})),F=B.allBranch,W=x((function(e){return e.user})),U=W.allUser,q=_(),H=Lo(),V=Hb(Fx().breakpoints.down("sm")),Y=(new Date).getFullYear(),G=(0,t.useState)(null),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q="\xa9 2017-".concat(Y," Hematite Infotech, All Rights Reserved."),J=Do();(0,t.useEffect)((function(){ih(uh.branch).then((function(e){var t=e.data.reverse();q(hn.getBranch(t))})).catch((function(e){return console.log("Branch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();q(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){"/student-registration"!==J.pathname&&"/employee-registration"!==J.pathname||L(!0)}),[]),(0,t.useEffect)((function(){if(F&&1===F.length){var e=F[0];s(e.branchName),o((function(t){return te(te({},t),{},{branch_id:e.id})}))}}),[F]),(0,t.useEffect)((function(){var e=null===F||void 0===F?void 0:F.find((function(e){return e.branchName===l}));e&&o((function(t){return te(te({},t),{},{branch_id:e.id})}))}),[l,F]);var ee=function(e){var t,n,i=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,a=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;switch(i){case"fname":o(te(te({},r),{},{fname:a}));break;case"lname":o(te(te({},r),{},{lname:a}));break;case"email":o(te(te({},r),{},{email:a}));break;case"contact":o(te(te({},r),{},{contact:a}));break;case"password":o(te(te({},r),{},{password:a}));break;case"password2":o(te(te({},r),{},{password2:a}));break;case"gender":o(te(te({},r),{},{gender:a}));break;case"prnNo":o(te(te({},r),{},{prnNo:a}));break;case"branch":o((function(e){return te(te({},e),{},{branch:a})})),"branch"===i&&"Branch"===a&&(o((function(e){return te(te({},e),{},{prnNo:null,otherbranch:"",organization:"Hematite branch"})})),p((function(e){return te(te({},e),{},{otherBranchError:!1,pnrNoError:!1})}))),"branch"===i&&"cdac"===a&&(o((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),p((function(e){return te(te({},e),{},{otherBranchError:!1})}))),"branch"===i&&"otherbranch"===a&&(o((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,prnNo:null,organization:"Other branch"})})),p((function(e){return te(te({},e),{},{pnrNoError:!1})})));break;case"role":o(te(te({},r),{},{role:a}));break;case"organization":o(te(te({},r),{},{organization:a}));break;case"otherbranch":o(te(te({},r),{},{otherbranch:a}))}},ne=function(e){var t=e.target,n=t.name,i=t.value;if("fname"===n||"lname"===n){var a=!dh(i);p((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),a))}))}if("email"===n){var l=!ph(i);p((function(e){return te(te({},e),{},{emailError:l})}))}if("contact"===n){var s=!fh(i);p((function(e){return te(te({},e),{},{contactError:s})}))}if("prnNo"===n){var c=!hh(i);p((function(e){return te(te({},e),{},{pnrNoError:c})}))}if("otherbranch"===n){var d=!gh(i);p((function(e){return te(te({},e),{},{otherBranchError:d})}))}if("password"===n){var h=!mh(i);p((function(e){return te(te({},e),{},{passwordError:h})}))}if("password2"===n){var m=!mh(i);p((function(e){return te(te({},e),{},{password2Error:m})}))}if(""!==r.password&&""!==r.password2&&(r.password!==r.password2?p((function(e){return te(te({},e),{},{matchPasswordError:!0})})):p((function(e){return te(te({},e),{},{matchPasswordError:!1})}))),"branch"===n&&"Branch"===i&&(o((function(e){return te(te({},e),{},{prnNo:null,otherbranch:"",organization:"Hematite branch"})})),p(te(te({},f),{},{otherBranchError:!1,pnrNoError:!1}))),"branch"===n){var v=F.find((function(e){return e.branchName===i}));v&&o((function(e){return te(te({},e),{},{branch_id:v.id})}))}"branch"===n&&"cdac"===i&&(o((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),p(te(te({},f),{},{otherBranchError:!1}))),"branch"===n&&"otherbranch"===i&&(o((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,prnNo:null,organization:"Other branch"})})),p(te(te({},f),{},{pnrNoError:!1})))},re=function(){X(null)},oe=r.fname,ie=r.lname,ae=r.email,le=r.contact,se=r.gender,ce=r.role,ue=r.prnNo,de=r.branch,fe=r.otherbranch,pe=r.password,he=r.password2,me=r.organization,ve=!oe||!ie||!ae||!le||!se||!pe||!me||!de||f.fnameError||f.lnameError||f.emailError||f.contactError||f.passwordError||f.otherBranchError||f.pnrNoError||f.password2Error||f.matchPasswordError;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:V?{width:"40px",height:"35px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"}:{width:"50px",height:"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{component:"div",sx:{flexGrow:1},style:{textAlign:"left",width:"90px"},children:V?"Hematite Infotech ":"Hematite Infotech Online-Quiz"}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":K?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(K),onClick:function(e){e.preventDefault(),H("/")},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Login"}),(0,Bi.jsx)(as,{sx:{},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":K?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(K),onClick:function(e){X(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:K,open:Boolean(K),onClose:re,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){H("/student-registration"),re()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){H("/employee-registration"),re()},children:"Employee"})]})]})]})}),(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:V?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"600px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:V?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Student Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),U.some((function(e){return e.email===r.email})))return g(!0),O("error"),void S("User already exists.");if(r.password===r.password2){if(f.fnameError||f.lnameError||f.emailError||f.contactError||f.pnrNoError||f.passwordError||f.password2Error||f.otherBranchError||f.matchPasswordError)return g(!0),O("error"),void S("Please fix the validation errors before submitting.");if("otherbranch"==de&&""==fe)return g(!0),O("error"),void S("Please enter other branch.");if("cdac"==de&&(""==ue||null==ue))return g(!0),O("error"),void S("Please enter PNR No.");var t=te(te({},r),{},{email:r.email.toLowerCase(),fname:r.fname.toLowerCase(),lname:r.lname.toLowerCase()});console.log(t),ah(uh.student,t).then((function(e){console.log(e),201!==(null===e||void 0===e?void 0:e.status)&&200!==(null===e||void 0===e?void 0:e.status)||(q(hn.addUser(e.data)),g(!0),O("success"),S("Student Registered Successfully"))})).catch((function(e){console.log(e),g(!0),O("error"),S("".concat(null===e||void 0===e?void 0:e.name,":").concat(null===e||void 0===e?void 0:e.message))})),o({fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",branch_id:"",organization:""}),setTimeout((function(){H("/")}),3e3)}else o((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},children:[(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["First Name ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:oe,name:"fname",fullWidth:!0,inputProps:{maxLength:20},size:"small",error:f.fnameError,helperText:f.fnameError&&xh("Enter valid first name"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Last Name ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:ie,name:"lname",fullWidth:!0,inputProps:{maxLength:20},size:"small",error:f.lnameError,helperText:f.lnameError&&xh("Enter valid last name"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Email ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:ae,name:"email",fullWidth:!0,size:"small",inputProps:{maxLength:30},sx:{mb:4},error:f.emailError,helperText:f.emailError&&xh("Enter valid email id"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Contact Number ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:le,name:"contact",fullWidth:!0,size:"small",inputProps:{maxLength:10},sx:{mb:4},error:f.contactError,helperText:f.contactError&&xh("Enter valid contact number"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:Z?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:pe,name:"password",fullWidth:!0,size:"small",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){return T((function(e){return!e}))},edge:"end",children:Z?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:20},sx:{mb:4},error:f.passwordError,helperText:f.passwordError&&xh("Enter valid password"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:R?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Confirm Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:he,name:"password2",fullWidth:!0,size:"small",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){return N((function(e){return!e}))},edge:"end",children:R?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:14},sx:{mb:4},error:f.matchPasswordError,helperText:f.matchPasswordError&&xh("Password and Confirm Password doesn't match"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),f.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"8 characters minimum"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",sx:{marginTop:"20px"},children:[(0,Bi.jsxs)(gy,{sx:{fontSize:V?"12px":"16px"},id:"demo-simple-select-autowidth-label",children:["Select Role ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"role",value:ce,onChange:function(e){return ee(e)},onBlur:ne,autoWidth:!0,label:"Select Role",required:!0,color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose role",children:"Select Role"}),(0,Bi.jsx)(Zm,{value:"student",children:"Student"}),(0,Bi.jsx)(Zm,{value:"intern",children:"Intern"})]})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)("p",{style:{textAlign:"left",fontWeight:"bold",fontSize:V?"14px":"16px"},children:["Select Branch ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{row:!0,"aria-labelledby":"demo-row-radio-buttons-group-label",name:"branch",value:de||" ",onChange:function(e){return ee(e)},onBlur:ne,children:[(0,Bi.jsx)(gw,{value:"Branch",control:(0,Bi.jsx)(Mw,{}),label:"Hematite Branch"}),(0,Bi.jsx)(gw,{value:"cdac",control:(0,Bi.jsx)(Mw,{}),label:"CDAC"}),(0,Bi.jsx)(gw,{value:"otherbranch",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]}),"Branch"===de&&(F&&F.length>1?(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsxs)(gy,{sx:{fontSize:V?"12px":"16px"},id:"demo-simple-select-autowidth-label",children:["Select Branch ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"selectedBranch",value:l,onChange:function(e){return ee(e)},onBlur:ne,"aria-label":"Choose branch",autoWidth:!0,label:"Select Branch",color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose branch",children:"Select Branch"}),F.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.branchName)},e.id)}))]})]}):(F&&1===F.length&&l!==F[0].id&&ee({target:{name:"selectedBranch",value:F[0].id}}),null)),"cdac"===de&&(0,Bi.jsx)(Ry,{id:"prnNo",variant:"outlined",color:"primary",label:"PRN No",name:"prnNo",value:ue,onChange:function(e){return ee(e)},onBlur:ne,inputProps:{maxLength:20},error:f.pnrNoError,helperText:f.pnrNoError&&xh("Enter valid PRN-No"),fullWidth:!0,size:"small"}),"otherbranch"===de&&(0,Bi.jsx)(Ry,{id:"otherbranch",variant:"outlined",color:"primary",label:"Other Branch",name:"otherbranch",value:fe,inputProps:{maxLength:30},onChange:function(e){return ee(e)},onBlur:ne,fullWidth:!0,size:"small",error:f.otherBranchError,helperText:f.otherBranchError&&xh("Enter valid other branch")})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)("p",{style:{fontWeight:"bold",fontSize:V?"14px":"16px",textAlign:"left"},children:["Select Gender ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:se||" ",onChange:function(e){return ee(e)},onBlur:ne,sx:{mb:4},row:!0,children:[(0,Bi.jsx)(gw,{value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"8px",display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",type:"submit",size:"small",disabled:ve,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:function(){o((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",branch_id:"",organization:""})}))},variant:"contained",color:"primary",children:"Clear"})]})]})]})}),(0,Bi.jsx)(db,{open:v,autoHideDuration:4e3,onClose:function(){return g(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return g(!1)},severity:E,children:w})}),(0,Bi.jsx)(_S,{title:Q})]})})})]})};var fW=function(){var e=x((function(e){return e.employee})),n=e.allEmployee,r=x((function(e){return e.user})),o=r.allUser,i=_(),a=Lo(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],d=s[1],f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=Hb(Fx().breakpoints.down("sm")),g=(new Date).getFullYear(),y="\xa9 2017-".concat(g," Hematite Infotech, All Rights Reserved."),b=(0,t.useState)(null),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=(0,t.useState)({students:[],id:null,fname:"",lname:"",email:"",contact:"",dob:"",password:"",password2:"",gender:"",role:"",term:!1,open:!1,isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,selectedRecord:"",snackbarOpen:!1,snackbarMessage:"",severity:"",isFieldsEnabled:!1,errors:{empIdError:!1,fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,password2Error:!1,employeeIdError:!1,matchPasswordError:!1}}),E=(0,D.Z)(j,2),O=E[0],C=E[1];(0,t.useEffect)((function(){ih(uh.employee).then((function(e){var t=e.data.reverse();i(gn.getEmployee(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();i(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var P=function(e){var t,n,r=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,o=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;if("employeeId"!==r)switch(r){case"employeeId":case"fname":case"dob":C(te(te({},O),{},{fname:o}));break;case"lname":C(te(te({},O),{},{lname:o}));break;case"email":C(te(te({},O),{},{email:o}));break;case"contact":C(te(te({},O),{},{contact:o}));break;case"password":C(te(te({},O),{},{password:o}));break;case"password2":C(te(te({},O),{},{password2:o}));break;case"gender":C(te(te({},O),{},{gender:o}));break;case"role":C(te(te({},O),{},{role:o}))}else C((function(e){var t;return te(te({},e),{},(t={},(0,u.Z)(t,r,o),(0,u.Z)(t,"errors",te(te({},e.errors),{},{employeeIdError:!bh(o)})),t))}))},Z=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);C((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{passwordError:o})})}))}if("password2"===n){var i=!mh(r);C((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{password2Error:i})})}))}""!==z&&""!==L&&C(z!==L?function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{matchPasswordError:!0})})}:function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{matchPasswordError:!1})})})},T=function(){C((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",dob:"",role:"",employeeId:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,password2Error:!1,employeeIdError:!1}})}))},M=function(){k(null)},A=O.fname,R=O.lname,N=O.email,I=O.contact,z=O.password,L=O.password2,B=O.gender,F=O.dob,W=O.role,U=O.errors,q=O.employeeId,H=O.isFieldsEnabled,V=!A||!R||!N||!I||!z||!L||!B||!W||!q||!F||U.passwordError||U.password2Error;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:v?{width:"40px",height:"35px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"}:{width:"50px",height:"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{component:"div",sx:{flexGrow:1},style:{textAlign:"left",width:"90px"},children:v?"Hematite Infotech ":"Hematite Infotech Online-Quiz"}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":S?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(S),onClick:function(e){e.preventDefault(),a("/")},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Login"}),(0,Bi.jsx)(as,{sx:{},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":S?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(S),onClick:function(e){k(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:S,open:Boolean(S),onClose:M,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){a("/student-registration"),M()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){a("/employee-registration"),M()},children:"Employee"})]})]})]})}),(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:v?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"600px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:v?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Employee Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),O.password===O.password2)if(o.some((function(e){return e.email===O.email})))C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User already exists.",severity:"error"})}));else if(O.errors.passwordError||O.errors.password2Error||O.errors.employeeIdError)C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Please fix the validation errors before submitting.",severity:"error"})}));else{C((function(e){return te(te({},e),{},{students:[],fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",role:"",dob:"",employeeId:"",organization:"",term:!1,branch:"",pnr:"",otherBranch:"",isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,snackbarOpen:!1,snackbarMessage:"",severity:"success"})}));var t={fname:O.fname,lname:O.lname,email:O.email,contact:O.contact,password:O.password,password2:O.password2,gender:O.gender,dob:O.dob,role:O.role,employeeId:O.employeeId};ah(uh.staff,t).then((function(e){201!==e.status&&200!==e.status||(C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Employee registered.",severity:"success"})})),i(hn.addUser(e.data)))})).catch((function(e){C((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:e.message,severity:"error"})}))})),setTimeout((function(){a("/")}),2e3)}else C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},action:(0,Bi.jsx)(JS,{to:""}),children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Enter employee id",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:q,name:"employeeId",fullWidth:!0,size:"small",inputProps:{maxLength:3},onBlur:function(e){"employeeId"===e.target.name&&function(e){var t=parseInt(e),r=n.find((function(e){return e.employeeId===t}));r?(setTimeout((function(){C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee located successfully",severity:"success"})}))}),500),C((function(e){return te(te(te({},e),r),{},{isFieldsEnabled:!0})}))):(setTimeout((function(){C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee not found",severity:"error"})}))}),500),T(),C((function(e){return te(te({},e),{},{isFieldsEnabled:!1})})))}(e.target.value),P(e)},helperText:O.errors.employeeIdError&&xh("Enter valid employee id"),error:O.errors.employeeIdError,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"First Name",onChange:function(e){return P(e)},value:A,name:"fname",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.fnameError,helperText:O.errors.fnameError&&xh("Enter valid first name"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Last Name",onChange:function(e){return P(e)},value:R,name:"lname",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.lnameError,helperText:O.errors.lnameError&&xh("Enter valid last name"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:"Email",onChange:function(e){return P(e)},value:N,name:"email",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.emailError,helperText:O.errors.emailError&&xh("Enter valid email"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:"Contact Number",onChange:function(e){return P(e)},value:I,name:"contact",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.contactError,helperText:O.errors.contactError&&xh("Enter valid contact number"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:c?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:z,name:"password",onBlur:Z,fullWidth:!0,size:"small",disabled:!H,InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){d((function(e){return!e}))},edge:"end",children:c?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},error:O.errors.passwordError,helperText:O.errors.passwordError&&xh("Enter valid password"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:h?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Confirm Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:L,name:"password2",size:"small",onBlur:Z,disabled:!H,error:O.errors.matchPasswordError,helperText:O.errors.matchPasswordError&&xh("Password and Confirm Password does't match"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){m((function(e){return!e}))},edge:"end",children:h?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},fullWidth:!0,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),O.errors.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsxs)(Sy,{fullWidth:!0,"aria-readonly":!0,children:[(0,Bi.jsx)("p",{style:{textAlign:"left"},children:"Select Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:B||" ","aria-readonly":!0,row:!0,children:[(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",marginTop:3,children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"secondary",label:"Role",onChange:function(e){return P(e)},value:yf(W),name:"role",fullWidth:!0,required:!0,size:"small",InputProps:{readOnly:!0},disabled:!H,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{variant:"outlined",color:"secondary",onChange:function(e){return P(e)},value:F,name:"dob",label:"DOB",fullWidth:!0,size:"small",required:!0,InputProps:{readOnly:!0},disabled:!H,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(mf,{variant:"contained",size:"small",color:"primary",type:"submit",disabled:V,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:T,variant:"contained",color:"primary",children:"Clear"})]})]})]})}),(0,Bi.jsx)(db,{open:O.snackbarOpen,autoHideDuration:4e3,onClose:function(){return C((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return C((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},severity:O.severity,children:O.snackbarMessage})}),(0,Bi.jsx)(_S,{title:y})]})})})]})};var pW=function(e){var n=e.req,r=n.exam_id,o=(n.student_id,n.questions),i=Hb(Fx().breakpoints.down("sm")),a=(new Date).getFullYear(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],u=s[1],d=(0,t.useState)(""),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)("info"),v=(0,D.Z)(m,2),g=(v[0],v[1]),y="\xa9 2017-".concat(a," Hematite Infotech, All Rights Reserved."),b=Lo(),w=_(),S=x((function(e){return e.question})),k=S.allquestions,j=x((function(e){return e.exam})),E=j.allExam,O=(0,t.useState)([]),C=(0,D.Z)(O,2),P=C[0],Z=C[1];(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();w(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.question).then((function(e){w(kn.getQuestion(e.data))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){if(E.length&&k.length){var e=E.filter((function(e){return e.id==r})).map((function(e){return e.id})).join(", "),t=o.map((function(e){return e.id})).join(", "),n=k.filter((function(n){return e.includes(n.exam.id)&&t.includes(n.id)}));console.log(n);var i=n.map((function(e){return{id:e.id,answerKey:e.answer}}));console.log(i),Z(i)}}),[E,k,r,o]);var T=function(e,t){var n,r=P.find((function(t){return t.id===e})),i=null===(n=o.find((function(t){return t.id===e})))||void 0===n?void 0:n.answer;return r?r.answerKey===t?{backgroundColor:"lightgreen"}:i===t&&i!==r.answerKey?{backgroundColor:"lightcoral"}:{}:{}};return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:i?"40px":"50px",height:i?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:i?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){g("warning"),h("Are you sure you want to logout ?"),u(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),o&&o.map((function(e,t){return(0,Bi.jsxs)(Jw,{children:[(0,Bi.jsx)(aS,{expandIcon:(0,Bi.jsx)(fS.Z,{}),children:(0,Bi.jsxs)(Xy,{container:!0,sx:{textAlign:"left"},spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:8,children:(0,Bi.jsxs)(as,{sx:{fontSize:"18px"},children:["Que ",t+1," : ",e.question]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"30%",color:"#2c387e"},children:[e.marks," Marks"]})})]})}),(0,Bi.jsxs)(uS,{children:[e.questionImage&&(0,Bi.jsx)("img",{src:e.questionImage,alt:"Question ".concat(t+1)}),(0,Bi.jsxs)("ul",{children:[(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option1"),children:["Option 1: ",e.option1]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option2"),children:["Option 2: ",e.option2]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option3"),children:["Option 3: ",e.option3]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option4"),children:["Option 4: ",e.option4]})]})]})]},t)})),(0,Bi.jsx)("div",{className:"close-btn",style:{marginBottom:"80px"},children:(0,Bi.jsx)(mf,{type:"button",variant:"contained",size:"small",onClick:function(){sessionStorage.clear(),b("/exam-submitted")},children:"Close"})}),(0,Bi.jsx)(_S,{title:y}),(0,Bi.jsx)(gf,{open:c,onClose:function(){return u(!1)},show:!0,onConfirm:function(){u(!1),sessionStorage.clear(),b("/exam-submitted")},title:"Confirmation",message:p,submitLabel:"Logout"})]})},hW=n(78),mW=function(e,t,n){var r,o,i=e.keys[0];if(Array.isArray(t))t.forEach((function(t,r){n((function(t,n){r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"===typeof t){(Object.keys(t).length>e.keys.length?e.keys:(r=e.keys,o=Object.keys(t),r.filter((function(e){return o.includes(e)})))).forEach((function(r){if(-1!==e.keys.indexOf(r)){var o=t[r];void 0!==o&&n((function(t,n){i===r?Object.assign(t,n):t[e.up(r)]=n}),o)}}))}else"number"!==typeof t&&"string"!==typeof t||n((function(e,t){Object.assign(e,t)}),t)};function vW(e){return e?"Level".concat(e):""}function gW(e){return e.unstable_level>0&&e.container}function yW(e){return function(t){return"var(--Grid-".concat(t,"Spacing").concat(vW(e.unstable_level),")")}}function bW(e){return function(t){return 0===e.unstable_level?"var(--Grid-".concat(t,"Spacing)"):"var(--Grid-".concat(t,"Spacing").concat(vW(e.unstable_level-1),")")}}function xW(e){return 0===e.unstable_level?"var(--Grid-columns)":"var(--Grid-columns".concat(vW(e.unstable_level-1),")")}var wW=function(e){var t=e.theme,n=e.ownerState,r=yW(n),o={};return mW(t.breakpoints,n.gridSize,(function(e,t){var i={};!0===t&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"===typeof t&&(i={flexGrow:0,flexBasis:"auto",width:"calc(100% * ".concat(t," / ").concat(xW(n)).concat(gW(n)?" + ".concat(r("column")):"",")")}),e(o,i)})),o},SW=function(e){var t=e.theme,n=e.ownerState,r={};return mW(t.breakpoints,n.gridOffset,(function(e,t){var o={};"auto"===t&&(o={marginLeft:"auto"}),"number"===typeof t&&(o={marginLeft:0===t?"0px":"calc(100% * ".concat(t," / ").concat(xW(n),")")}),e(r,o)})),r},kW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=gW(n)?(0,u.Z)({},"--Grid-columns".concat(vW(n.unstable_level)),xW(n)):{"--Grid-columns":12};return mW(t.breakpoints,n.columns,(function(e,t){e(r,(0,u.Z)({},"--Grid-columns".concat(vW(n.unstable_level)),t))})),r},jW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=bW(n),o=gW(n)?(0,u.Z)({},"--Grid-rowSpacing".concat(vW(n.unstable_level)),r("row")):{};return mW(t.breakpoints,n.rowSpacing,(function(e,r){var i;e(o,(0,u.Z)({},"--Grid-rowSpacing".concat(vW(n.unstable_level)),"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)))})),o},EW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=bW(n),o=gW(n)?(0,u.Z)({},"--Grid-columnSpacing".concat(vW(n.unstable_level)),r("column")):{};return mW(t.breakpoints,n.columnSpacing,(function(e,r){var i;e(o,(0,u.Z)({},"--Grid-columnSpacing".concat(vW(n.unstable_level)),"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)))})),o},OW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r={};return mW(t.breakpoints,n.direction,(function(e,t){e(r,{flexDirection:t})})),r},CW=function(e){var t=e.ownerState,n=yW(t),r=bW(t);return(0,Ti.Z)({minWidth:0,boxSizing:"border-box"},t.container&&(0,Ti.Z)({display:"flex",flexWrap:"wrap"},t.wrap&&"wrap"!==t.wrap&&{flexWrap:t.wrap},{margin:"calc(".concat(n("row")," / -2) calc(").concat(n("column")," / -2)")},t.disableEqualOverflow&&{margin:"calc(".concat(n("row")," * -1) 0px 0px calc(").concat(n("column")," * -1)")}),(!t.container||gW(t))&&(0,Ti.Z)({padding:"calc(".concat(r("row")," / 2) calc(").concat(r("column")," / 2)")},(t.disableEqualOverflow||t.parentDisableEqualOverflow)&&{padding:"".concat(r("row")," 0px 0px ").concat(r("column"))}))},PW=function(e){var t=[];return Object.entries(e).forEach((function(e){var n=(0,D.Z)(e,2),r=n[0],o=n[1];!1!==o&&void 0!==o&&t.push("grid-".concat(r,"-").concat(String(o)))})),t},ZW=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xs";function n(e){return void 0!==e&&("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e&&e>0)}if(n(e))return["spacing-".concat(t,"-").concat(String(e))];if("object"===typeof e&&!Array.isArray(e)){var r=[];return Object.entries(e).forEach((function(e){var t=(0,D.Z)(e,2),o=t[0],i=t[1];n(i)&&r.push("spacing-".concat(o,"-").concat(String(i)))})),r}return[]},_W=function(e){return void 0===e?[]:"object"===typeof e?Object.entries(e).map((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];return"direction-".concat(n,"-").concat(r)})):["direction-xs-".concat(String(e))]},TW=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],MW=(0,nw.Z)(),AW=ew("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){return t.root}});function RW(e){return(0,tw.Z)({props:e,name:"MuiGrid",defaultTheme:MW})}var NW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?AW:n,o=e.useThemeProps,i=void 0===o?RW:o,a=e.componentName,l=void 0===a?"MuiGrid":a,s=t.createContext(void 0),c=r(kW,EW,jW,wW,OW,CW,SW),u=t.forwardRef((function(e,n){var r,o,a,u,d,f,p,h,m=(0,Ci.Z)(),v=Li(i(e)),g=t.useContext(s),y=v.className,b=v.children,x=v.columns,w=void 0===x?12:x,S=v.container,k=void 0!==S&&S,j=v.component,E=void 0===j?"div":j,O=v.direction,C=void 0===O?"row":O,P=v.wrap,Z=void 0===P?"wrap":P,_=v.spacing,M=void 0===_?0:_,A=v.rowSpacing,R=void 0===A?M:A,N=v.columnSpacing,I=void 0===N?M:N,z=v.disableEqualOverflow,L=v.unstable_level,B=void 0===L?0:L,W=(0,T.Z)(v,TW),U=z;B&&void 0!==z&&(U=e.disableEqualOverflow);var q={},H={},V={};Object.entries(W).forEach((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];void 0!==m.breakpoints.values[n]?q[n]=r:void 0!==m.breakpoints.values[n.replace("Offset","")]?H[n.replace("Offset","")]=r:V[n]=r}));var Y=null!=(r=e.columns)?r:B?void 0:w,G=null!=(o=e.spacing)?o:B?void 0:M,$=null!=(a=null!=(u=e.rowSpacing)?u:e.spacing)?a:B?void 0:R,K=null!=(d=null!=(f=e.columnSpacing)?f:e.spacing)?d:B?void 0:I,X=(0,Ti.Z)({},v,{level:B,columns:Y,container:k,direction:C,wrap:Z,spacing:G,rowSpacing:$,columnSpacing:K,gridSize:q,gridOffset:H,disableEqualOverflow:null!=(p=null!=(h=U)?h:g)&&p,parentDisableEqualOverflow:g}),Q=function(e,t){var n=e.container,r=e.direction,o=e.spacing,i=e.wrap,a=e.gridSize,s={root:["root",n&&"container","wrap"!==i&&"wrap-xs-".concat(String(i))].concat((0,F.Z)(_W(r)),(0,F.Z)(PW(a)),(0,F.Z)(n?ZW(o,t.breakpoints.keys[0]):[]))};return(0,Yi.Z)(s,(function(e){return(0,Oa.Z)(l,e)}),{})}(X,m),J=(0,Bi.jsx)(c,(0,Ti.Z)({ref:n,as:E,ownerState:X,className:(0,Mi.Z)(Q.root,y)},V,{children:t.Children.map(b,(function(e){var n;return t.isValidElement(e)&&(0,hW.Z)(e,["Grid"])?t.cloneElement(e,{unstable_level:null!=(n=e.props.unstable_level)?n:B+1}):e}))}));return void 0!==U&&U!==(null!=g&&g)&&(J=(0,Bi.jsx)(s.Provider,{value:U,children:J})),J}));return u.muiName="Grid",u}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:function(e,t){return t.root}}),componentName:"MuiGrid2",useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiGrid2"})}}),IW=NW,DW=n(1897);var zW=function(){var e=x((function(e){return e.employee})),n=e.allEmployee,r=x((function(e){return e.user})),o=r.allUser,i=_(),a=Lo(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],d=s[1],f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=Hb(Fx().breakpoints.down("sm")),g=(new Date).getFullYear(),y="\xa9 2017-".concat(g," Hematite Infotech, All Rights Reserved."),b=(0,t.useState)({students:[],id:null,fname:"",lname:"",email:"",contact:"",dob:"",password:"",password2:"",gender:"",role:"",term:!1,open:!1,isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,selectedRecord:"",snackbarOpen:!1,snackbarMessage:"",severity:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,employeeIdError:!1}}),w=(0,D.Z)(b,2),S=w[0],k=w[1];(0,t.useEffect)((function(){ih(uh.employee).then((function(e){var t=e.data.reverse();i(gn.getEmployee(t))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();i(hn.getUser(t))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}))}),[]);var j=function(e){var t=e.target,n=t.name,r=t.value;k((function(e){return te(te({},e),{},(0,u.Z)({},n,r))}))},E=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{passwordError:o})})}))}"employeeId"!==n||(Number.isInteger(Number(r))?k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{employeeIdError:!1})})})):k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{employeeIdError:!0})})})))},O=function(){k((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",dob:"",role:"",employeeId:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,employeeIdError:!1}})}))},C=S.fname,P=S.lname,Z=S.email,T=S.contact,M=S.password,A=S.password2,R=S.gender,N=S.dob,I=S.role,z=S.employeeId,L=S.isFieldsEnabled,B=!C||!P||!Z||!T||!M||!A||!R||!I||!z||!N;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:v?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"700px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:v?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Student Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),S.password===S.password2)if(o.some((function(e){return e.email===S.email})))k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User already exists.",severity:"error"})}));else if(S.errors.passwordError||S.errors.employeeIdError)k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Please fix the validation errors before submitting.",severity:"error"})}));else{k((function(e){return te(te({},e),{},{students:[],fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",role:"",dob:"",employeeId:"",organization:"",term:!1,branch:"",pnr:"",otherBranch:"",isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,snackbarOpen:!1,snackbarMessage:"",severity:"success"})}));var t={fname:S.fname,lname:S.lname,email:S.email,contact:S.contact,password:S.password,password2:S.password2,gender:S.gender,dob:S.dob,role:S.role,employeeId:S.employeeId};ah(uh.staff,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==e.statu||(k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User successfully registered.",severity:"success"})})),i(hn.addUser(e.data)))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:null===e||void 0===e?void 0:e.message,severity:"error"})}))})),setTimeout((function(){a("/")}),2e3)}else k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},action:(0,Bi.jsx)(JS,{to:""}),children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Enter Student Mail ID ",onChange:j,value:z,name:"employeeId",fullWidth:!0,required:!0,size:"small",onBlur:function(e){E(e),j(e),function(e){var t=parseInt(e),r=n.find((function(e){return e.employeeId===t}));r?(setTimeout((function(){k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee found successfully",severity:"success"})}))}),500),k((function(e){return te(te(te({},e),r),{},{isFieldsEnabled:!0})}))):(setTimeout((function(){k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee not found",severity:"error"})}))}),500),O(),k((function(e){return te(te({},e),{},{isFieldsEnabled:!1})})))}(e.target.value)},helperText:S.errors.employeeIdError&&xh("Please enter a valid student Email id")||"eg:john@example.com",error:S.errors.employeeIdError,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)("br",{}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"First Name",onChange:j,value:C,name:"fname",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.fnameError,helperText:S.errors.fnameError&&xh("Please enter a valid fname")||"eg:John",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Last Name",onChange:j,value:P,name:"lname",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.lnameError,helperText:S.errors.lnameError&&xh("Please enter a valid last name")||"eg: Doe",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:"Email",onChange:j,value:Z,name:"email",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.emailError,helperText:S.errors.emailError&&xh("Please enter a valid email")||"eg:jhon@gmail.com",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:"+91 Contact Number",onChange:j,value:T,name:"contact",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.contactError,helperText:S.errors.contactError&&xh("Please enter a valid contact")||"eg:9999999999",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:c?"text":"password",variant:"outlined",color:"primary",label:"Password",onChange:j,value:M,name:"password",onBlur:E,fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){d((function(e){return!e}))},edge:"end",children:c?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},error:S.errors.passwordError,helperText:S.errors.passwordError&&xh("Please enter a valid password")||"eg:Jhon@1234",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:h?"text":"password",variant:"outlined",color:"primary",label:"Confirm Password",onChange:j,value:A,name:"password2",size:"small",disabled:!L,error:S.errors.passwordError,helperText:S.errors.passwordError&&xh("Please enter a valid password")||"eg:Jhon@1234",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){m((function(e){return!e}))},edge:"end",children:h?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},fullWidth:!0,required:!0,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),S.errors.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"8 characters minimum"})]})}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(Sy,{fullWidth:!0,disabled:!L,children:[(0,Bi.jsx)("p",{style:{textAlign:"left"},children:"Select Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:R||" ",onChange:j,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",marginTop:3,children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"secondary",label:"Role",onChange:j,value:I,name:"role",fullWidth:!0,required:!0,size:"small",InputProps:{readOnly:!0},disabled:!L,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{variant:"outlined",color:"secondary",onChange:j,value:N,name:"dob",label:"DOB",fullWidth:!0,size:"small",required:!0,InputProps:{readOnly:!0},disabled:!L,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"10px"},children:[(0,Bi.jsx)(mf,{variant:"contained",size:"small",color:"primary",type:"submit",disabled:B,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:O,variant:"contained",color:"primary",children:"Clear"})]}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row",marginTop:"25px",justifyContent:"left"},children:[(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){return function(e){e.preventDefault(),a("/")}(e)},children:"Login ? Click Here"})," ",(0,Bi.jsx)("br",{})]})]})]})}),(0,Bi.jsx)(db,{open:S.snackbarOpen,autoHideDuration:4e3,onClose:function(){return k((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return k((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},severity:S.severity,children:S.snackbarMessage})}),(0,Bi.jsx)(_S,{title:y})]})})})})},LW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),BW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),FW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function WW(e){return(0,Oa.Z)("MuiCheckbox",e)}var UW=(0,Ea.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),qW=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],HW=(0,Oi.ZP)(qg,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiCheckbox",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},!r.disableRipple&&{"&:hover":{backgroundColor:n.vars?"rgba(".concat("default"===r.color?n.vars.palette.action.activeChannel:n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)("default"===r.color?n.palette.action.active:n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,u.Z)(t,"&.".concat(UW.checked,", &.").concat(UW.indeterminate),{color:(n.vars||n).palette[r.color].main}),(0,u.Z)(t,"&.".concat(UW.disabled),{color:(n.vars||n).palette.action.disabled}),t))})),VW=(0,Bi.jsx)(BW,{}),YW=(0,Bi.jsx)(LW,{}),GW=(0,Bi.jsx)(FW,{}),$W=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiCheckbox"}),a=i.checkedIcon,l=void 0===a?VW:a,s=i.color,c=void 0===s?"primary":s,u=i.icon,d=void 0===u?YW:u,f=i.indeterminate,p=void 0!==f&&f,h=i.indeterminateIcon,m=void 0===h?GW:h,v=i.inputProps,g=i.size,y=void 0===g?"medium":g,b=i.className,x=(0,T.Z)(i,qW),w=p?m:d,S=p?m:l,k=(0,Ti.Z)({},i,{color:c,indeterminate:p,size:y}),j=function(e){var t=e.classes,n=e.indeterminate,r=e.color,o=e.size,i={root:["root",n&&"indeterminate","color".concat((0,vl.Z)(r)),"size".concat((0,vl.Z)(o))]},a=(0,Yi.Z)(i,WW,t);return(0,Ti.Z)({},t,a)}(k);return(0,Bi.jsx)(HW,(0,Ti.Z)({type:"checkbox",inputProps:(0,Ti.Z)({"data-indeterminate":p},v),icon:t.cloneElement(w,{fontSize:null!=(r=w.props.fontSize)?r:y}),checkedIcon:t.cloneElement(S,{fontSize:null!=(o=S.props.fontSize)?o:y}),ownerState:k,ref:n,className:(0,Mi.Z)(j.root,b)},x,{classes:j}))})),KW=$W,XW={textAlign:"left",paddingLeft:"10px",fontSize:"16px"};var QW=function(e){var n=e.selectedBatch,r=e.updateShowBatchDetail,o=e.getTrainerName,i=(0,t.useState)([]),a=(0,D.Z)(i,2),l=(a[0],a[1]),s=(0,t.useState)(!1),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=(0,t.useState)([]),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,t.useState)({open:!1,message:"",severity:"success"}),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=(Lo(),_()),S=x((function(e){return e.user})),k=S.allUser,j=x((function(e){return e.feedbackAns})),E=j.allBatchWiseStudent,O=(0,t.useState)(!1),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(null),M=(0,D.Z)(T,2),A=M[0],R=M[1];(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();w(hn.getUser(t))})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();w(Zn.getBatchWiseStudent(t)),l(e.data)})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();w(Zn.getBatchWiseStudent(t)),l(e.data)})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[y]);var N=function(e){var t=k.find((function(t){return t.id===e}));return t?"".concat(yf(t.fname)):"Student ".concat(e).join(",")},I=function(){b(te(te({},y),{},{open:!1}))},z=function(e){Z(!0),R(e)},L=function(){Z(!1),R(null)},B=E.filter((function(e){return e.batch&&e.batch.id===n.id})),F=new Set(B.map((function(e){return e.student.id}))),W=k.filter((function(e){return"student"===e.role&&!F.has(e.id)}));return console.log(B),(0,Bi.jsxs)("div",{children:[(0,Bi.jsxs)(Vi,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{position:"static",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block",textAlign:"left"}},children:"Batch Details"}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:{flexGrow:1,textAlign:"end"},children:["Batch Start Date:"," ",null!==n&&void 0!==n&&n.startDate?null===n||void 0===n?void 0:n.startDate:"Loading..."]})]})})}),(0,Bi.jsx)(Kh,{component:ml,sx:{borderRadius:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsxs)(nm,{children:[(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:7,children:(0,Bi.jsxs)(Vi,{sx:{marginTop:"20px",display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[n&&(0,Bi.jsxs)("div",{children:[(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Trainer Name: ",yf(o(null===n||void 0===n?void 0:n.trainer))]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Course Name: ",yf(n.course.CourseName)]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Duration In Days: ",null===n||void 0===n?void 0:n.duration_in_days]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Left Days:"," ",function(e,t){if(!e||!t)return"Invalid date or duration";var n=parseInt(t.replace(/\D/g,""),10),r=new Date(e),o=new Date(r);o.setDate(r.getDate()+n);var i=o-new Date;return i<0?0:Math.ceil(i/864e5)}(null===n||void 0===n?void 0:n.startDate,null===n||void 0===n?void 0:n.duration_in_days)," ","days"]})]}),(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Vi,{sx:{minWidth:160},children:(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsx)(gy,{id:"demo-multiple-checkbox-label",children:"Select Students"}),(0,Bi.jsx)(fg,{labelId:"demo-multiple-checkbox-label",id:"demo-multiple-checkbox",multiple:!0,label:"Select Students",value:h,onChange:function(e){var t=e.target.value;m(t)},renderValue:function(e){return e.map((function(e){return N(e)})).join(", ")},children:0===W.length?(0,Bi.jsx)(Zm,{disabled:!0,value:"",children:(0,Bi.jsx)(Mc,{primary:"None"})}):W.map((function(e){return(0,Bi.jsxs)(Zm,{value:e.id,children:[(0,Bi.jsx)(KW,{checked:h.indexOf(e.id)>-1}),(0,Bi.jsx)(Mc,{primary:"".concat(yf(e.fname)," ").concat(yf(e.lname))})]},e.id)}))})]})}),(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"medium",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){if(n)if(0!==h.length){var e=(new Date).toISOString().split("T")[0];h.forEach((function(t){var r=N(t);if(E.some((function(e){return e.student.id===t&&e.batch.id===n.id})))b({open:!0,message:"Student ".concat(r," already in the batch"),severity:"warning"});else{var o={student_id:t,batch_id:n.id,date:e};ah(uh.batchWiseStudent,o).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(b({open:!0,message:"Students added successfully",severity:"success"}),w(Zn.addBatchwiseStudent(e.data)))})).catch((function(e){b({open:!0,message:"Error adding student ".concat(t),severity:"error"})}))}})),m([])}else b({open:!0,message:"No students selected",severity:"warning"});else b({open:!0,message:"Selected batch is undefined",severity:"error"})},sx:{mt:2},children:"Add student"})]})]})})}),(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"SrNo"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Student Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Student Email Id"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Organization Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})]}),(0,Bi.jsx)(Bh,{children:B.map((function(e,t){return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:t+1}),(0,Bi.jsxs)(Vh,{children:[yf(e.student.fname)," ",yf(e.student.lname)]}),(0,Bi.jsx)(Vh,{children:e.student.email}),(0,Bi.jsx)(Vh,{children:e.student.organization}),(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(Js,{onClick:function(){return t=e.id,void z(t);var t},children:(0,Bi.jsx)(ey.Z,{style:{color:"red"}})})})]},t)}))})]})})]}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){return r(!1)},children:"Back to Batches"}),(0,Bi.jsx)(Bd,{open:u,onClose:function(){d(!1)},children:(0,Bi.jsx)($d,{children:(0,Bi.jsx)(zW,{})})}),(0,Bi.jsx)(gf,{open:P,onClose:L,onConfirm:function(){L(),function(){var e="".concat(uh.batchWiseStudent).concat(A);sh(e).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){b({open:!0,message:"Student deleted successfully",severity:"success"}),w(Zn.deleteBatchWiseStudent(A));var t=B.filter((function(e){return e.id!==A}));l(t)}})).catch((function(e){b({open:!0,message:null===e||void 0===e?void 0:e.message,severity:"error"})}))}()},show:!0,message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:y.open,autoHideDuration:6e3,onClose:I,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:I,severity:y.severity,children:y.message})})]})},JW=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)("days"),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(0),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(5),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(!1),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(""),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)(!0),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)(!1),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=(0,t.useState)(null),ie=(0,D.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,t.useState)(!1),ce=(0,D.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,t.useState)(""),pe=(0,D.Z)(fe,2),he=pe[0],me=pe[1],ve=(0,t.useState)(!0),ge=(0,D.Z)(ve,2),ye=ge[0],be=ge[1],xe=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1,batchNameError:!1}),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1],je=(0,t.useState)("success"),Ee=(0,D.Z)(je,2),Oe=Ee[0],Ce=Ee[1],Pe=Lo(),Ze=_(),_e=x((function(e){return e.employee})),Te=_e.allEmployee,Me=x((function(e){return e.batch})).SingleBatch,Ae=x((function(e){return e.batch})).allBatches,Re=(0,t.useState)(!0),Ne=(0,D.Z)(Re,2),Ie=(Ne[0],Ne[1]),De=x((function(e){return e.batch})),ze=De.allCourse;(0,t.useEffect)((function(){ih(uh.course).then((function(e){return Ze(Mn.Get_Course(e.data))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){return Ze(Mn.GET_BATCH(e.data.reverse()))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[ue]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){return Ze(Mn.GET_BATCH(e.data.reverse()))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){ih("".concat(uh.employee)).then((function(e){var t=e.data.reverse();Ze(gn.getEmployee(t))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){if(Me){var e=Me.id,t=Me.courseId,n=Me.trainerId,r=Me.duration_in_days,i=Me.startDate,a=Me.batchname;o(e),f(t),s(n),w(null===r||void 0===r?void 0:r.replace(/[a-z]/g,"")),E(null===r||void 0===r?void 0:r.replace(/\d+/g,"")),v(i),Z(a)}}),[Me]);var Le=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"courseId":f(r);break;case"trainerId":s(r);break;case"duration":w(r);break;case"durationUnit":E(r);break;case"startDate":v(r);break;case"batchname":Z(r)}"duration"===n&&(Number.isInteger(Number(r))||(me("Only numeric value accepted ."),Ce("error"),de(!0),be(!1)))},Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=Ae.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.duration_in_days,i=t.startDate,a=t.batchname;o(n),f(t.course.id),s(t.trainer.id),w(r.replace(/[a-z]/g,"")),E(r.replace(/\d+/g,"")),v(i),Z(a),q(!0),Ie(!1),Q(!1)}}else q(!0),Ie(!0),Fe(),Q(!0)},Fe=function(){o(null),Z(""),f(""),w(""),s(""),v(""),E("days")},We=function(){q(!1),ke((function(e){return te(te({},e),{},{fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1,batchNameError:!1})}))},Ue=function(e){re(!0),le(e)},qe=function(){re(!1),le(null)},He=function(e){e.preventDefault();var t=Ae.some((function(e){return e.batchname==P&&e.id!==r}));if(t)return de(!0),me("Batch name already exists. Please enter a unique batch name."),void Ce("error");if(ye){var n="".concat(b).concat(j),o={course_id:d,trainer_id:l,duration_in_days:n,startDate:m,batchname:"".concat(P.toLowerCase(),"-").concat(m)};X?ah(uh.batch,o).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){de(!0),me("Batch Added!."),Ce("success"),Ze(Mn.ADD_BATCH(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(Ae));Ze(Mn.GET_BATCH(n))}})).catch((function(e){de(!0),me(null===e||void 0===e?void 0:e.message),Ce("error")})):(o.id=r,lh("".concat(uh.batch).concat(o.id,"/"),o).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(de(!0),me("Batch Updated!."),Ce("success"),Ze(Mn.UPDATE_BATCH(e.data)))})).catch((function(e){de(!0),me(e.message),Ce("error")}))),We(),q(!1)}},Ve=function(){de(!1),me("")},Ye=Ae&&Ae.filter((function(e){var t,n,r=Y.toLowerCase(),o=e.batchname&&e.batchname.toLowerCase().includes(r),i=(null===e||void 0===e||null===(t=e.course)||void 0===t?void 0:t.CourseName)&&(null===e||void 0===e||null===(n=e.course)||void 0===n?void 0:n.CourseName.toLowerCase().includes(r));return o||i})),Ge=!d||!l||!P||!m||!b||!j||Se.batchNameError;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,marginLeft:"-17px",position:"relative",borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Batch"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:Y,onChange:function(e){G(e.target.value),R(0)},placeholder:"Search Employee",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"small",type:"button",sx:{marginBottom:2},startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return Be()},children:"Add"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Batch Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Course Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Start Date"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Duration"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Trainer Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===Ye.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):Ye&&Ye.length>0&&Ye.slice(A*z,A*z+z).map((function(e,t){var n,r,o,i=A*z+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{component:"th",align:"center",scope:"row",children:i}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.batchname)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:null===e||void 0===e||null===(n=e.course)||void 0===n?void 0:n.CourseName}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:qx(e.startDate)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"center",children:e.duration_in_days}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"left",children:[yf(null===e||void 0===e||null===(r=e.trainer)||void 0===r?void 0:r.fname)+" "+yf(null===e||void 0===e||null===(o=e.trainer)||void 0===o?void 0:o.lname)," "]}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"left",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return Be(e.id)},style:{color:"#2c387e",fontSize:"25px"}})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){Ue(e)}(e.id)},style:{color:"#2c387e",fontSize:"25px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:Ye.length,rowsPerPage:z,page:A,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){R(t)},onRowsPerPageChange:function(e){L(parseInt(e.target.value,10)),R(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:U,onClose:We,show:!0,onConfirm:function(e){We(),He(e)},title:X?"Add Batch":"Update Batch",content:(0,Bi.jsx)("form",{onSubmit:He,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Batch name",variant:"outlined",fullWidth:!0,name:"batchname",size:"small",type:"text",inputProps:{maxLength:30},onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("batchname"===n){var o=!function(e){return/^[a-zA-Z0-9\- ]{2,30}$/.test(e)}(r);ke((function(e){return te(te({},e),{},{batchNameError:o})}))}},value:P,onChange:Le,error:Se.batchNameError,helperText:Se.batchNameError&&xh("Enter Valid Batch Name.")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select1-label",children:"Select course"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select1-label",id:"demo-simple-select1",value:d,name:"courseId",label:"Select course",onChange:Le,children:[" ",(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"Select Course"}),ze&&(null===ze||void 0===ze?void 0:ze.length)>0&&(null===ze||void 0===ze?void 0:ze.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.CourseName)},t)})))]})]})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-label",children:"Select trainer"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-label",id:"demo-simple-select",value:l,name:"trainerId",label:"Select trainer",onChange:Le,children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"Select Trainer"}),Te&&(null===Te||void 0===Te?void 0:Te.length)>0&&(null===Te||void 0===Te?void 0:Te.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.fname)+" "+yf(e.lname)},t)})))]})]})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,type:"date",name:"startDate",value:m,size:"small",onChange:Le,InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"start",children:"Start Date:"})}})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsx)(Ry,{label:"Duration",value:b,onChange:Le,name:"duration",fullWidth:!0,required:!0,size:"small",inputProps:{maxLength:3}})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsx)(Ry,{label:"Duration Unit",value:"days",onChange:Le,name:"durationUnit",fullWidth:!0,required:!0,"aria-readonly":!0,size:"small"})})]})}),disable:Ge,submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ne,onClose:qe,show:!0,onConfirm:function(){qe(),function(){var e=ae;sh("".concat(uh.batch).concat(e)).then((function(t){200!==(null===t||void 0===t?void 0:t.status)&&201!==(null===t||void 0===t?void 0:t.status)||(de(!0),me("batch deleted successfully"),Ce("success"),Ze(Mn.DELETE_BATCH(e)))})).catch((function(e){de(!0),me(e.message),Ce("error")})),qe()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:ue,autoHideDuration:3e3,onClose:Ve,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:Ve,severity:Oe,sx:{width:"100%"},children:he})})]}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){Pe("/dashboard/batch")},children:"Back to Courses"})]})};var eU=function(){var e=(0,t.useState)([]),n=(0,D.Z)(e,2),r=(n[0],n[1]),o=(0,t.useState)(!1),i=(0,D.Z)(o,2),a=i[0],l=i[1],s=(0,t.useState)(""),c=(0,D.Z)(s,2),u=(c[0],c[1]),d=(0,t.useState)({}),f=(0,D.Z)(d,2),p=(f[0],f[1],(0,t.useState)({})),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(null),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)([]),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)({}),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(!1),M=(0,D.Z)(T,2),A=(M[0],M[1],Lo());(0,t.useEffect)((function(){u(function(){var e=(new Date).getHours();return e<12?"Morning":e<18?"Afternoon":"Evening"}())}),[]);var R=x((function(e){return e.batch})),N=R.allBatches,I=x((function(e){return e.batch})),z=I.allCourse,L=_();(0,t.useEffect)((function(){ih(uh.course).then((function(e){return L(Mn.Get_Course(e.data))})).catch((function(e){return console.log("Batch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){var t;return L(Mn.GET_BATCH(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.reverse()))})).catch((function(e){return console.log("Batch error: ",e)}))}),[]),(0,t.useEffect)((function(){N&&N.length>0&&(r((0,F.Z)(N)),Z(W(N)))}),[N]);var B=function(e){var t="",n=e.fname,r=void 0===n?"":n,o=e.lname,i=void 0===o?"":o;return r&&i&&(t="".concat(r," ").concat(i)),t},W=function(e){return e.reduce((function(e,t){var n,r=null===t||void 0===t||null===(n=t.course)||void 0===n?void 0:n.id;return e[r]||(e[r]=0),e[r]++,e}),{})},U=function(e){var t=N.filter((function(t){var n;return(null===t||void 0===t||null===(n=t.course)||void 0===n?void 0:n.id)===e}));E(t)},q=(0,Oi.ZP)(ml)((function(e){var t=e.theme;return te(te({backgroundColor:"dark"===t.palette.mode?"#1A2027":"#fff"},t.typography.body2),{},{padding:t.spacing(2),textAlign:"center",color:t.palette.text.secondary})}));return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(Jl,{}),!a&&!b&&(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none",borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Nl,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,Bi.jsx)("div",{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,sx:{textAlign:"left",fontSize:"24px"},children:"Manage Batch"})}),(0,Bi.jsx)("div",{children:(0,Bi.jsx)(mf,{type:"button",variant:"outlined",size:"small",color:"inherit",onClick:function(){A("/dashboard/manage-batch")},children:"All Batch"})})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsx)(Vi,{sx:{flexGrow:1,padding:"10px"},children:z.length>0?(0,Bi.jsx)(IW,{container:!0,spacing:{xs:2,md:3},columns:{xs:4,sm:8,md:12},children:z.map((function(e,t){return(0,Bi.jsx)(IW,{item:!0,xs:2,sm:4,md:4,children:(0,Bi.jsxs)(q,{onClick:function(){return w(t=e),U(t.id),void l(!1);var t},children:[(0,Bi.jsx)(Tl,{position:"static",sx:{height:"50px"},children:(0,Bi.jsx)(Nl,{sx:{justifyContent:"center"},children:(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,component:"div",sx:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsxs)("div",{style:{marginRight:"10px"},children:[" ",(0,Bi.jsx)(DW.Z,{sx:{fontSize:"25px"}})]}),(0,Bi.jsx)("div",{style:{fontSize:"16px"},children:yf(null===e||void 0===e?void 0:e.CourseName)})]})})}),(0,Bi.jsx)("div",{style:{padding:"20px"},children:(0,Bi.jsxs)("span",{children:["Batch count: ",P[null===e||void 0===e?void 0:e.id]||0]})})]})},t)}))}):(0,Bi.jsx)(as,{variant:"h6",align:"center",children:"No Courses Available"})})})]}),!a&&b&&(0,Bi.jsxs)(Vi,{sx:{flexGrow:1,marginTop:7,marginRight:"25px",marginLeft:"-17px"},children:[(0,Bi.jsx)(Tl,{position:"static",children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,sx:{textAlign:"center",fontSize:"24px"},children:["Batches for ",yf(b.CourseName)]})})}),j.length>0?(0,Bi.jsx)(Kh,{component:ml,children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:"Batch Name"}),(0,Bi.jsx)(Vh,{children:"Trainer"}),(0,Bi.jsx)(Vh,{children:"Start Date"}),(0,Bi.jsx)(Vh,{children:"Duration"}),(0,Bi.jsx)(Vh,{children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:j.map((function(e,t){return(0,Bi.jsxs)(zg,{onClick:function(){return function(e){v(e),l(!0)}(e)},children:[(0,Bi.jsx)(Vh,{children:e.batchname}),(0,Bi.jsx)(Vh,{children:B(e.trainer)}),(0,Bi.jsx)(Vh,{children:e.startDate}),(0,Bi.jsx)(Vh,{children:e.duration_in_days}),(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(mf,{variant:"outlined",color:"success",size:"small",children:"See Students"})})]},t)}))})]})}):(0,Bi.jsx)(as,{variant:"h6",align:"center",sx:{marginTop:2},children:"No Batches Found"}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){return w(null)},children:"Back to Courses"})]}),a&&(0,Bi.jsx)(QW,{selectedBatch:m,getTrainerName:B,updateShowBatchDetail:l})]})};var tU=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(null),h=(0,D.Z)(p,2),m=(h[0],h[1],(0,t.useState)(!1)),v=(0,D.Z)(m,2),g=(v[0],v[1],Hb(Fx().breakpoints.down("sm")),_()),y=x((function(e){return e.enroll})),b=y.allEnrollDetails;(0,t.useEffect)((function(){ih(uh.enroll).then((function(e){var t=e.data.reverse();g(zn.getEnrollmentDetails(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]);var w=b&&b.length>0&&b.filter((function(e){var t=e&&e.fname&&e.fname.toLowerCase().includes(d),n=(e&&e.lname&&e.lname.toLowerCase().includes(d),e&&e.email&&e.email.toLowerCase().includes(d)),r=e&&e.course&&e.course.toLowerCase().includes(d),o=e&&e.mode&&e.mode.toLowerCase().includes(d);return t||n||r||o}))||[];return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Register Student"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:d,onChange:function(e){f(e.target.value),o(0)},placeholder:"Search Student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Date"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Contact"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Course"}),(0,Bi.jsx)(Vh,{align:"center",sx:{fontWeight:"bold"},children:"Trainning Mode"})]})}),(0,Bi.jsx)(Bh,{children:0===w.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):w&&w.length>0&&w.slice(r*l,r*l+l).map((function(e,t){var n=r*l+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:qx(e.enrollDate)}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(e.fname)," ",yf(e.lname)]}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.email)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.mobile)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.course)}),(0,Bi.jsx)(Vh,{align:"center",children:yf(e.mode)})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:w.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})})]})})},nU=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(0),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(5),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(!1),F=(0,D.Z)(B,2),W=F[0],U=F[1],q=(0,t.useState)(""),H=(0,D.Z)(q,2),V=H[0],Y=H[1],G=(0,t.useState)(!0),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=(0,t.useState)(!1),J=(0,D.Z)(Q,2),ee=J[0],ne=J[1],re=(0,t.useState)(null),oe=(0,D.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,t.useState)(!1),se=(0,D.Z)(le,2),ce=se[0],ue=se[1],de=(0,t.useState)(!1),fe=(0,D.Z)(de,2),pe=fe[0],he=fe[1],me=(0,t.useState)(""),ve=(0,D.Z)(me,2),ge=ve[0],ye=ve[1],be=(0,t.useState)(""),xe=(0,D.Z)(be,2),we=xe[0],Se=xe[1],ke=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1}),je=(0,D.Z)(ke,2),Ee=je[0],Oe=je[1],Ce=(0,t.useState)("success"),Pe=(0,D.Z)(Ce,2),Ze=Pe[0],_e=Pe[1],Te=_(),Me=x((function(e){return e.enquiry})),Ae=Me.allEnquiry,Re=x((function(e){return e.enquiry})).singleEnquiry,Ne=(0,t.useState)(!0),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=(Ie[1],Hb(Fx().breakpoints.down("sm")));(0,t.useEffect)((function(){ih("".concat(uh.enquiry)).then((function(e){var t=e.data.reverse();Te(Nn.getEnquiry(t))})).catch((function(e){ue(!0),Se("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),_e("error")}))}),[]),(0,t.useEffect)((function(){if(Re){var e=Re.id,t=Re.fname,n=Re.lname,r=Re.email,i=Re.message,a=Re.status,l=Re.mobile;o(e),s(t),f(n),v(a),E(l),w(i),Z(r)}}),[Re]);var Le=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r);break;case"lname":f(r);break;case"status":v(r);break;case"message":w(r);break;case"mobile":E(r);break;case"email":Z(r)}},Be=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":var o=!dh(r);Oe((function(e){return te(te({},e),{},{fnameError:o})}));break;case"lname":var i=!dh(r);Oe((function(e){return te(te({},e),{},{lnameError:i})}));break;case"mobile":var a=!fh(r);Oe((function(e){return te(te({},e),{},{contactError:a})}));break;case"email":var l=!ph(r);Oe((function(e){return te(te({},e),{},{emailError:l})}))}},Fe=function(){U(!1)},We=function(){he(!1),ye("")},Ue=function(e){ne(!0),ae(e)},qe=function(){ne(!1),ae(null)},He=function(){o(null),s(""),f(""),w(""),E(""),v(""),Z("")},Ve=function(e){if(e.preventDefault(),Ee.fnameError||Ee.lnameError||Ee.emailError||Ee.contactError)return ue(!0),Se("please fix validiation error before submiting"),void _e("error");var t={email:P,fname:l,lname:d,message:b,mobile:j,status:m};K?ah(uh.enquiry,t).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){ue(!0),Se("enquiry added successfully."),_e("success");var t=[null===e||void 0===e?void 0:e.data].reverse();Te(Nn.addEnquiry(t))}})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("true")})):(t.id=r,lh("".concat(uh.enquiry).concat(t.id,"/"),t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(ue(!0),Se("enquiry updated successfully."),_e("success"),Te(Nn.updateEnquiry(null===e||void 0===e?void 0:e.data)))})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("error")}))),Fe(),U(!1)},Ye=function(){ue(!1),Se("")},Ge=Ae&&Ae.filter((function(e){var t=V.toLowerCase(),n=e.fname&&e.fname.toLowerCase().includes(t),r=e.lname&&e.lname.toLowerCase().includes(t),o=e.email&&e.email.toLowerCase().includes(t),i=e.status&&e.status.toLowerCase().includes(t),a=e.enquiryDate&&e.enquiryDate.includes(t),l=e.mobile&&e.mobile.includes(t);return n||r||o||i||a||l}));return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Enquiry"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:V,onChange:function(e){Y(e.target.value),R(0)},placeholder:"Search student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Date"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Mobile no"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"status"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===Ge.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):Ge&&Ge.length>0&&Ge.slice(A*z,A*z+z).map((function(e,t){var n=A*z+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{component:"th",align:"left",scope:"row",children:n}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:qx(e.enquiryDate)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:e.mobile}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.status)}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=Ae.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.fname,i=t.lname,a=t.mobile,l=t.message,c=t.status,u=t.email;o(n),s(r),f(i),E(a),w(l),v(c),Z(u),U(!0),X(!1)}}else U(!0),X(!0),He()}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Pd,{title:"See Message",children:(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,he(!0),void ye(t);var t},style:{color:"#2c387e",fontSize:"18px"}})})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){Ue(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:Ge.length,rowsPerPage:z,page:A,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){R(t)},onRowsPerPageChange:function(e){L(parseInt(e.target.value,10)),R(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:W,onClose:Fe,show:De,onConfirm:function(e){Fe(),Ve(e)},title:"Edit enquiry details",content:(0,Bi.jsx)("form",{onSubmit:Ve,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"First Name",variant:"outlined",fullWidth:!0,name:"fname",size:"small",type:"text",value:l,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.fnameError,helperText:Ee.fnameError&&xh("Enter Valid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Last Name",variant:"outlined",type:"text",fullWidth:!0,name:"lname",size:"small",value:d,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.lnameError,helperText:Ee.lnameError&&xh("Enter Valid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Email",variant:"outlined",fullWidth:!0,type:"email",name:"email",size:"small",value:P,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.emailError,helperText:Ee.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Mobile No",variant:"outlined",fullWidth:!0,type:"tel",name:"mobile",value:j,"aria-readonly":!0,InputProps:{readOnly:!0},size:"small",onChange:Le,onBlur:Be,error:Ee.contactError,helperText:Ee.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsx)(gy,{sx:{ml:1},children:"Message"}),(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,name:"message",type:"text",size:"small",value:b,InputProps:{readOnly:!0},onChange:Le})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Ry,{select:!0,margin:"normal",required:!0,fullWidth:!0,label:"Status",name:"status",size:"small",id:"status",value:m,onChange:Le,onBlur:Be,children:[(0,Bi.jsx)(Zm,{value:"pending",children:"Pending"}),(0,Bi.jsx)(Zm,{value:"contacted",children:"Contacted"}),(0,Bi.jsx)(Zm,{value:"no answer",children:"No Answer"}),(0,Bi.jsx)(Zm,{value:"busy",children:"Busy"}),(0,Bi.jsx)(Zm,{value:"wrong number",children:"Wrong Number"}),(0,Bi.jsx)(Zm,{value:"Follow-Up Needed",children:"Follow-Up Needed"}),(0,Bi.jsx)(Zm,{value:"Customer Unreachable",children:"Customer Unreachable"}),(0,Bi.jsx)(Zm,{value:"wrong number",children:"Wrong Number"}),(0,Bi.jsx)(Zm,{value:"disconnected",children:"Disconnected"})]})})]})}),submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ee,onClose:qe,show:!0,onConfirm:function(){qe(),function(){var e=ie;sh("".concat(uh.enquiry).concat(e)).then((function(t){200!==(null===t||void 0===t?void 0:t.status)&&201!==(null===t||void 0===t?void 0:t.status)||(ue(!0),Se("Enquiry deleted successfully"),_e("success"),Te(Nn.deleteEnquiry(e)))})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("error")})),qe()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(gf,{open:pe,onClose:We,onConfirm:function(e){We()},show:!1,title:"User Details",content:ge&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:ze?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:[(0,Bi.jsxs)("div",{children:[" ",(0,Bi.jsx)("strong",{children:"Full Name:"})," ",yf(ge.fname)," ",yf(ge.lname)]}),(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)("strong",{children:"Email:"})," ",ge.email," "]})]}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:ze?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" ",(0,Bi.jsx)("strong",{children:"Message:"})," ",yf(ge.message)," "]})})]})})}),(0,Bi.jsx)(db,{open:ce,autoHideDuration:3e3,onClose:Ye,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:Ye,severity:Ze,sx:{width:"100%"},children:we})})]})})},rU=function(){return _t({reducer:{voucher:an,exam:cn,login:fn,user:mn,employee:yn,feedback:wn,question:jn,result:Cn,feedbackAns:_n,batch:An,enquiry:In,enroll:Ln},preloadedState:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})}();var oU=function(){var e,t=null===(e=Do().state)||void 0===e?void 0:e.req;return(0,Bi.jsx)(pW,{req:t})},iU=function(){(0,t.useEffect)((function(){if("https:"===window.location.protocol){var e=window.location.href.replace("https://","http://");window.location.replace(e)}}),[]);var e=(0,Ui.Z)({palette:{primary:{main:"#2c387e"},secondary:{main:"#f44336"}}}),n=function(e,t){return Lr({basename:null==t?void 0:t.basename,future:ai({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),er((function(e,t){var n=Jn(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,l=n.hash,s=void 0===l?"":l;return o.startsWith("/")||o.startsWith(".")||(o="/"+o),Xn("",{pathname:o,search:a,hash:s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:Qn(t))}),(function(e,t){$n("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||li(),routes:e,mapRouteProperties:ii}).initialize();var n}([{path:"",element:(0,Bi.jsx)(mk,{})},{path:"/quizapp",element:(0,Bi.jsxs)(PS,{children:[" ",(0,Bi.jsx)(ik,{})]})},{path:"/instruction",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(nk,{})})},{path:"/start-exam",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(tk,{})})},{path:"/exam-submitted",element:(0,Bi.jsx)(ek,{})},{path:"/student-registration",element:(0,Bi.jsx)(dW,{})},{path:"/employee-registration",element:(0,Bi.jsx)(fW,{})},{path:"/student-feedback",element:(0,Bi.jsx)(Aw,{})},{path:"/forgetpassword",element:(0,Bi.jsx)(CS,{})},{path:"/question-answer",element:(0,Bi.jsx)(oU,{})},{path:"*",element:(0,Bi.jsx)(uW,{})},{path:"/dashboard",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Ch,{})}),children:[{path:"exam",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Lb,{})})},{path:"voucher",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Fb,{})})},{path:"feedback",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Hx,{})})},{path:"student",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Nw,{})})},{path:"question",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(gS,{})})},{path:"staff",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Iw,{})})},{path:"result",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(cW,{})})},{path:"manage-batch",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(JW,{})})},{path:"batch",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(eU,{})})},{path:"register-student",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(tU,{})})},{path:"enquiry",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(nU,{})})}]}]);return(0,Bi.jsx)(j,{store:rU,children:(0,Bi.jsx)(jk,{theme:e,children:(0,Bi.jsx)("div",{className:"App","data-testid":"AppWrapper",children:(0,Bi.jsx)(Jo,{router:n})})})})},aU=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))};o.createRoot(document.getElementById("root")).render((0,Bi.jsx)(t.StrictMode,{children:(0,Bi.jsx)(iU,{})})),aU()}()}(); //# sourceMappingURL=main.dbe7cbc3.js.mapEvidence 1540483477Solution Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.
-
-
-
Risk=Informational, Confidence=High (1)
-
http://quiz-be-test.hematitecorp.com (1)
-
Session Management Response Identified (1)
GET http://quiz-be-test.hematitecorp.com/api/token/
Alert tags Alert description The given response has been identified as containing a session management token. The 'Other Info' field contains a set of header tokens that can be used in the Header Based Session Management Method. If the request is in a context which has a Session Management Method set to "Auto-Detect" then this rule will change the session management to use the tokens identified.
Other info json:access
Request Request line and header section (646 bytes)
GET http://quiz-be-test.hematitecorp.com/api/user/me/ HTTP/1.1 host: quiz-be-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: application/json, text/plain, */* Accept-Language: en-US,en;q=0.5 Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzM0NTI5Mzk1LCJpYXQiOjE3MzQ1MTM3OTUsImp0aSI6ImE3MjQ2ZjBkYjQzYjQ3MzVhOGEyZWE0OWE2Y2Q1YTVkIiwidXNlcl9pZCI6MTI3fQ.p1wygd1azrYcUEXDR6ypkzPhUfwYVAmqWAkv5o6nSXs Origin: http://quiz-fe-test.hematitecorp.com Connection: keep-alive Referer: http://quiz-fe-test.hematitecorp.com/Request body (0 bytes)
Response Status line and header section (460 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 09:23:16 GMT Server: Apache access-control-allow-origin: http://quiz-fe-test.hematitecorp.com Vary: Accept,origin,Accept-Encoding Referrer-Policy: same-origin X-Frame-Options: DENY X-Content-Type-Options: nosniff Allow: GET, PUT, PATCH, HEAD, OPTIONS X-Powered-By: Phusion Passenger(R) 6.0.23 Content-Length: 164 Status: 200 OK Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: application/jsonResponse body (164 bytes)
{"status":200,"data":{"id":127,"fname":"admin","lname":"admin","contact":"9999999999","email":"admin@gmail.com","gender":"male","role":"admin","organization":null}}Parameter accessEvidence eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzM0NTI5Mzk1LCJpYXQiOjE3MzQ1MTM3OTUsImp0aSI6ImE3MjQ2ZjBkYjQzYjQ3MzVhOGEyZWE0OWE2Y2Q1YTVkIiwidXNlcl9pZCI6MTI3fQ.p1wygd1azrYcUEXDR6ypkzPhUfwYVAmqWAkv5o6nSXsSolution This is an informational alert rather than a vulnerability and so there is nothing to fix.
-
-
-
Risk=Informational, Confidence=Medium (2)
-
http://quiz-fe-test.hematitecorp.com (2)
-
Modern Web Application (1)
GET http://quiz-fe-test.hematitecorp.com/
Alert tags Alert description The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.
Other info No links have been found while there are scripts, which is an indication that this is a modern web application.
Request Request line and header section (363 bytes)
GET http://quiz-fe-test.hematitecorp.com/ HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Connection: keep-alive Upgrade-Insecure-Requests: 1 Priority: u=0, iRequest body (0 bytes)
Response Status line and header section (243 bytes)
HTTP/1.1 200 OK Server: CK-WFP User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT); ck-block Expires: 0 Cache-Control: no-cache Pragma: no-cache Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 11408Response body (11408 bytes)
<html> <head> <title>Coached by ContentKeeper</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: sans-serif; font-weight: 300; font-size: 1em; color: white; text-align: center; background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='1892px' height='1022.2px' viewBox='0 0 1892 1022.2' enable-background='new 0 0 1892 1022.2' xml:space='preserve'%3E%3Ctitle%3Eck_overlay2%3C/title%3E%3Cg opacity='7.000000e-02'%3E%3Cpath fill='%23FFFFFF' d='M1892,685.1c-23.4,5.8-46.8,11.7-70.3,17.3c-1.9,0.5-4.5-0.6-6.3-1.7c-74.9-44-149.8-88.1-224.7-132.2 c-63.5-37.4-127.1-74.8-190.7-112.1c-3.6-2.1-4.9-4.1-4.5-8.5c2.4-32.1,4.4-64.1,6.5-96.2c2.5-37.1,5-74.1,7.3-111.2 c0.3-4.3,1.7-5.8,6-6.4c38.6-5,77.1-10.9,115.8-15.3c32.1-3.7,64.3-6.3,96.5-8.5c26.8-1.8,53.6-2.3,80.4-3.2c2.8,0,5.6,0.6,8.1,1.8 c57.9,27.4,114.8,57,170.5,88.6c1.7,1,3.5,1.8,5.3,2.7L1892,685.1z'/%3E%3Cpath fill='%23FFFFFF' d='M1892,188.2c-22.8-11.6-45.4-23.7-68.6-34.6c-31.9-15-64.2-29-96.3-43.6c-2.6-1.2-4.9-3.2-6.6-5.6 c-11.4-17.5-24.1-34-41-46.7c-0.5-0.6-1-1.2-1.4-1.9c14.6,3.6,28.5,7,42.3,10.4c57.5,13.9,112.9,34.3,167.4,57.1 c1.4,0.6,2.7,1.3,4,2L1892,188.2z'/%3E%3Cpath fill='%23FFFFFF' d='M1026.1,506.6c-2.6,21.3-5.1,41.1-7.5,61c-3.9,33.1-7.8,66.1-11.5,99.3c-1.5,14-1.3,13.8-13.9,19.7 c-60.8,28.7-121.6,57.4-182.4,86.1c-3.1,1.4-4,3.4-4.5,6.4c-5.1,34.6-10.3,69.2-15.3,103.8c-1.9,12.9-3.6,25.7-5.2,38.6 c-0.4,3.5-1.9,5.4-5.1,7.1c-57.3,30.8-114.6,61.7-171.8,92.7c-2.7,1.5-4.5,1.5-7.1-0.2c-43-28.2-86.1-56.3-129.3-84.4 c-2.6-1.7-3.4-3.2-2.8-6.4c11.6-54.2,23-108.4,34.6-162.6c0.8-2.6,2.5-4.8,4.8-6.2c44.1-25.2,88.3-50.2,132.5-75.1 c2.9-1.4,4.9-4.2,5.4-7.4c11.2-54.3,22.5-108.5,34-162.7c0.4-2,2.6-4.2,4.5-5.1c57.5-29,115.8-56.3,175.1-81.4 c2.2-0.9,4.7-0.9,6.9,0c51.8,24.4,103.4,49,155.1,73.7C1024.4,504.2,1025.5,506,1026.1,506.6z M696.8,656c1.3,1.1,2.7,2.2,4.2,3.1 c36.4,20.2,72.7,40.4,109.1,60.6c3.4,1.9,6,2,9.5,0.4c44.9-21.3,89.9-42.5,135-63.6c3.1-1.4,4.1-3.3,4.5-6.3 c5.2-40,10.4-79.9,15.8-119.8c0.4-3-0.4-4.4-3.1-5.7c-37-17.9-73.9-35.9-110.9-53.9c-2.8-1.5-6.1-1.5-8.9,0 c-42,19.7-84.1,39.2-126.3,58.7c-3.1,1.2-5.2,4-5.6,7.3c-5.8,29.5-11.8,59.1-17.7,88.6C700.6,635,698.9,644.9,696.8,656L696.8,656z '/%3E%3Cpath fill='%23FFFFFF' d='M1315.8,232.7c-2.3,21.8-4.6,43.4-6.8,64.9c-2.6,24.5-5.2,49-7.6,73.5c-0.3,3-1.3,4.2-4.1,5.1 c-73.3,23-145.7,48.9-217.5,76.4c-2.1,0.8-4.4,0.8-6.5,0.1c-60.7-26.3-121.9-51.8-184.2-74.1c-0.6-0.2-1.2-0.5-2.1-1 c0.1-1.3,0.3-2.5,0.5-3.8c12.5-43.8,25-87.6,37.5-131.5c0.6-2.9,2.8-5.3,5.6-6.1c65-23.3,130.5-44.9,196.9-63.9 c2.5-0.7,5.1-0.8,7.7-0.2c60.3,16.9,119.4,37.3,177.9,59.3C1313.9,231.8,1314.6,232.2,1315.8,232.7z'/%3E%3Cpath fill='%23FFFFFF' d='M1690.9,169.8c-19.2,0.8-38,1-56.8,2.5c-36.9,2.8-73.7,5.6-110.5,9.7c-31.3,3.5-62.3,8.8-93.4,13.1 c-2.4,0.3-4.9,0.1-7.2-0.8c-89.9-36-182-66-275.9-90c-0.9-0.2-1.9-0.6-3.4-1c2.1-9.7,3.9-19.3,6.4-28.7c5.2-20,10.7-39.8,16-59.7 c0.8-2.9,2.2-4.2,5.5-4.6C1238,2.8,1304.4-0.1,1371.2,0c33.3,0.1,65,7.6,96.8,15.5c59.6,14.8,118.3,32.7,176,53.6 c3.3,1.1,6.1,3.3,7.8,6.4c17.1,29.2,28.8,60.6,39.2,92.7C1691,168.7,1691,169.2,1690.9,169.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1518.1,752.8c0,4.1,1.5,9.1-0.4,11.9c-1.8,2.6-7.1,3-10.9,4.2c-72.9,23.4-144.7,49.7-215.5,78.9 c-3.8,1.5-6.5,1.5-10-0.8c-71.9-46.4-145.5-90-220.8-130.7c-3.7-2-4.7-4.2-4.2-8.1c5.7-49.1,11.3-98.3,17-147.4 c1.4-12.2,3.4-24.4,4.6-36.7c0.4-3.7,2.3-4.6,5-5.6c55.2-20.1,110.3-40.2,165.4-60.4c13.4-4.9,26.8-10,40.3-14.6 c2.4-0.8,5-0.6,7.2,0.6c68.6,40.9,137.2,82,205.6,123.2c1.6,1,3.3,3,3.5,4.7c4.8,60.3,9.5,120.5,14.1,180.8L1518.1,752.8z M1456.8,724.8c0.1-0.6,0.2-1.2,0.3-1.8c-2.1-46.1-4.2-92.2-6.5-138.3c-0.1-1.8-1.9-4.2-3.6-5.2c-50.1-29.7-100.3-59.3-150.6-88.7 c-2.2-1.2-4.8-1.4-7.3-0.7c-50.5,17.8-100.9,35.8-151.4,53.6c-3.2,1.1-4.4,2.6-4.6,6c-1,12.5-2.3,24.9-3.4,37.3 c-2.9,31.7-5.6,63.4-8.6,95c-0.4,3.8,0.7,5.8,4.1,7.8c52.9,30.5,105.7,61.2,158.5,92c3,1.8,5.4,2.1,8.7,0.9 c39.7-14.4,79.5-28.7,119.2-42.8C1426.6,734.6,1441.8,729.8,1456.8,724.8L1456.8,724.8z'/%3E%3Cpath fill='%23FFFFFF' d='M309.4,681.8c4.6-17,9.1-33.9,13.8-50.6c6.1-21.6,12.4-43.2,18.8-64.7c0.8-2.3,2.3-4.2,4.3-5.5 c40.5-22.7,81.1-45.2,121.8-67.6c1.8-1,4-1.4,6-1c35,9.8,68.5,23.5,102.5,37.8c-2,9.3-3.9,18.5-5.9,27.7 c-6.9,31.7-13.9,63.4-20.6,95.1c-0.6,3.4-2.8,6.3-5.9,7.7c-42.6,21.9-85.1,44-127.6,66.2c-2.8,1.7-6.3,1.8-9.1,0.2 c-31.8-14.8-63.7-29.4-95.6-44C311.3,682.8,310.8,682.4,309.4,681.8z'/%3E%3Cpath fill='%23FFFFFF' d='M443.6,447.7c6.2-13.2,11.8-26.3,18.4-38.9c17.5-33.1,35.5-65.9,53.5-98.7c1.6-2.7,3.8-4.9,6.6-6.4 c62.5-34.9,127-65.7,192.8-94c1.8-0.8,3.8-1.1,5.7-1c51.4,6,102.4,15.2,152.7,27.4c0.9,0.2,1.8,0.5,3.3,1 c-2.5,6.8-5.1,13.2-7.3,19.8c-13.3,41.5-26.6,83-39.8,124.5c-0.7,2.9-2.8,5.2-5.6,6.2c-77.5,34.2-153.8,70.9-228.3,111.3 c-2.3,1.1-4.9,1.2-7.3,0.4c-46.5-18.1-93.3-35.4-141-50C446.2,448.9,445.1,448.4,443.6,447.7z M816.6,260.3 c-0.6-0.4-1.2-0.7-1.9-0.9c-35.6-7.1-71.1-14.2-106.7-21c-3.5-0.7-7.9-0.5-11,1c-47.5,22.9-94.9,46-142.2,69.3 c-2.3,1.2-4.2,3.1-5.5,5.4c-15.2,29.8-30.3,59.6-45.3,89.5c-1.8,3.6-3.4,7.4-5.1,11.3c0.7,0.4,1.5,0.8,2.2,1.1 c34.8,11.3,69.6,22.6,104.4,33.8c2.3,0.5,4.8,0.2,6.9-0.9c53.9-26.2,107.7-52.4,161.5-78.6c2.9-1.2,5-3.7,5.9-6.7 c7-21,14.2-41.9,21.5-62.8C806.2,287.2,811.4,274,816.6,260.3L816.6,260.3z'/%3E%3Cpath fill='%23FFFFFF' d='M1102.9,7.5c-6.1,11.3-12.7,21.8-17.4,33.1c-4.9,11.7-12.7,16.8-25.1,19.6c-62.7,14.1-124.3,32-185.5,51.5 c-3.4,1.1-7.1,1.6-10.7,1.5c-43.3-1.8-86.6-2.2-129.9-0.1c-3.3,0.2-5.5,1-7.5,3.7c-11.5,16-23,31.9-34.7,47.6 c-1.9,2.6-4.5,4.6-7.4,6c-45.1,20.5-90.3,40.8-135.6,61c-4.1,1.7-8.4,2.6-12.8,2.5c-23.5-0.3-47-1-70.4-1.7c-3.2-0.2-6.2,1.2-8,3.9 c-12.9,16.5-25.9,33-39,49.4c-1.6,2.1-3.6,3.9-5.8,5.3c-34.6,21.9-69.3,43.6-104,65.4c-1.3,1-2.9,1.6-4.5,1.8 c-15.6,0.1-31.2,0.1-46.8,0.1c0.5-0.8,1-1.6,1.6-2.4c16-18.3,32-36.6,48-54.9c1.4-1.6,3.1-3,4.9-4.2c31-19.7,62-39.6,93.3-58.9 c4.4-2.7,10.3-3.5,15.7-4.3c13-2,26.1-3.4,39.1-5.4c2.3-0.4,4.7-2.2,6.4-4c15-15.8,29.9-31.8,44.9-47.6c2.1-2.1,4.6-3.9,7.3-5.1 c40.2-18.1,80.3-36.4,120.8-53.8c7.5-3.2,16.6-3.4,25-4c19.6-1.4,39.2-2.2,58.9-3.5c2.7-0.3,5.2-1.4,7.3-3.1 c16.9-14,33.6-28.3,50.5-42.3c2.5-1.9,5.4-3.3,8.4-4.2c58-18,116.5-34.2,175.8-47.3c11-2.4,22.4-3.2,33.7-3.6 c33.8-1.1,67.6-1.6,101.4-2.3C1101.4,7.2,1102.2,7.3,1102.9,7.5z M1068.7,15.1l-0.8-1.5c-25.6,1-51.2,1.9-76.9,3.1 c-12.1,0.6-24.6,0.6-36.2,3.5c-41,10.2-81.6,21.9-122.5,32.3c-13.9,3.5-26.6,10.6-36.9,20.6c-8.3,7.8-16.8,15.4-26.2,23.9 c2.4,0.1,3.4,0.3,4.3,0.3c35-0.1,69.9-0.3,104.9-0.4c2,0,4-0.4,5.9-0.9c49.7-13.8,99.3-27.8,149.1-41c9.1-2.4,15.3-6.2,19.6-14.5 C1057.7,31.7,1063.5,23.5,1068.7,15.1L1068.7,15.1z M435.6,243.7c-10.6,1.3-19.8,2.4-29,3.5c-7,0.7-13.6,3-19.5,6.8 c-20.9,13.6-42.1,26.9-63.1,40.3c-1.5,1-2.9,2.2-4.2,3.5c-11.3,12.9-22.6,25.8-33.8,38.8c-0.5,0.6-1,1.3-1.3,2 c10.2,0,20.6,0.1,31.1-0.1c2.8-0.1,5.5-0.9,7.8-2.3c20.6-12.9,40.9-26.2,61.7-38.8c9.4-5.7,17.5-12.2,23.9-21.3s14-17.4,21-26 C431.8,248.3,433.3,246.6,435.6,243.7L435.6,243.7z'/%3E%3Cpath fill='%23FFFFFF' d='M133.9,605.5l-22.2-19.1c7.4-11.8,14.7-23.5,22.1-35.1c1.9-3,4-5.8,5.7-8.8c10.6-18.9,24.9-34.3,42.2-47.3 c13.7-10.3,27-21.2,40.3-32c2.6-2.1,4.7-2.3,7.6-0.9c7.6,3.6,15.4,7,23.6,10.6c-0.9,1.6-1.5,2.7-2.2,3.8 c-13.7,22.2-27.4,44.5-41.2,66.7c-1.8,2.8-4,5.3-6.5,7.3c-21.9,17.5-43.8,34.8-65.8,52.1L133.9,605.5z'/%3E%3Cpath fill='%23FFFFFF' d='M243.9,400.4C230,417.2,217,433,204,448.8c-5,6.1-10,12.1-14.4,18.5c-10.8,15.8-24.2,29-38.4,41.7 c-23.7,21.2-46.3,43.6-69.4,65.5c-1.1,1.2-2.2,2.5-3.2,3.9l-12.7-10.3c3.2-4.3,6.5-8.6,9.8-12.9c40.3-53.9,87.4-101.4,137.7-145.8 C222.3,401.5,232.4,401.3,243.9,400.4z'/%3E%3Cpath fill='%23FFFFFF' d='M68.4,598.5c2.9,3.1,5.6,5.8,7.9,8.8c0.6,1.2,0.6,2.6-0.1,3.8c-9.6,16.7-19.3,33.4-29,50.1 c-0.2,0.4-0.5,0.9-0.8,1.2c-13.2,13.8-26.4,27.6-40,41.6c-2.2-3.9-4.4-7.4-6.1-11.1c-0.4-1.3-0.3-2.8,0.4-4 c9.4-16.1,18.6-32.3,28.5-48c3.8-6,9.3-10.9,14.2-16.1C51.4,616.3,59.6,607.8,68.4,598.5z'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: top right; background-size: 100%; margin: 0 auto; } .message { font-size: 15px; } .message a { /*text-decoration: none;*/ color: #fff; text-decoration-line: underline; } #content { display: flex; flex-flow: column; align-items: center; justify-content: space-between; height: 100%; } footer { width: 100%; background-color: transparent; flex-grow: 1; margin-bottom: 2em; } h1 { font-weight: 300; font-size: 50px; text-align: center; } input[type=text], input[type=password] { font-family: sans-serif; font-weight: 300; height: 3em; width: 25em; border: none; box-shadow: none; padding: 1em; margin: .25em; } input[type=text]:hover, input[type=password]:hover { outline: 2px solid #ffb27f; } input[type=text]:focus, input[type=password]:focus { outline: 2px solid #F95E02; } input[type=submit] { font-family: sans-serif; font-weight: 300; height: 2.75em; width: 10em; margin: 1em; color: white; background-color: #F95E02; border: none; } input[type=submit]:hover { outline: 2px solid white; cursor: pointer; } input[type=submit]:focus { outline: 2px solid white; } table { border-collapse: separate; border-spacing: 00px; } th { font-size: 20px; font-weight: 600; text-align: right; padding-right: .5em; } td { font-size: 20px; font-weight: 300; text-align: left; } header { flex-basis: 70%; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } </style> <script> function onSubmitCoachPage(sUrl) { console.log(sUrl); window.location = sUrl; } function onPageLoad() { } </script> </head> <body bgcolor="#2B3A42" onLoad="onPageLoad()"> <div id="content"> <header> <h1>Coached by ContentKeeper</h1> <div> <p>The page you are attempting to reach may violate your organisation's acceptable-use policy. <br> Click "Continue" only if you believe that accessing this page would constitute acceptable use.</p> <input type="submit" value="Continue" onClick='onSubmitCoachPage("http://quiz-fe-test.hematitecorp.com")'> </div> </header> <input type="hidden" id="protocol" value="http" /> <footer> <center> <p> <table> <tr> <th>URL</th> <td>quiz-fe-test.hematitecorp.com</td> </tr> <tr> <th>MODULE</th> <td>Web Filter Pro</td> </tr> <tr> <th>CATEGORY</th> <td>Non-Managed</td> </tr> <tr> <th>POLICY</th> <td>Policy=training; IP Address=172.17.7.126</td> </tr> <tr> <th>USERNAME</th> <td>172.17.7.126</td> </tr> <tr> <th>SOURCE IP</th> <td>172.17.7.126</td> </tr> <tr> <th>APPLIANCE</th> <td>172.17.5.13</td> </tr> <tr> <th>TIME</th> <td>Wed Dec 18 14:52:45 2024</td> </tr> </table> </p> </center> </footer> <div></div> </div> </body> </html>Evidence <script> function onSubmitCoachPage(sUrl) { console.log(sUrl); window.location = sUrl; } function onPageLoad() { } </script>Solution This is an informational alert and so no changes are required.
-
Vulnerable JS Library (1)
GET http://quiz-fe-test.hematitecorp.com/static/js/main.dbe7cbc3.js
Alert tags Alert description The identified library react-dom, version 18.2. is vulnerable.
Request Request line and header section (329 bytes)
GET http://quiz-fe-test.hematitecorp.com/static/js/main.dbe7cbc3.js HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: */* Accept-Language: en-US,en;q=0.5 Connection: keep-alive Referer: http://quiz-fe-test.hematitecorp.com/Request body (0 bytes)
Response Status line and header section (303 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 09:22:47 GMT Server: Apache Last-Modified: Mon, 09 Dec 2024 21:50:50 GMT ETag: "40208df-1429bf-628dd5b9a8280" Accept-Ranges: none Content-Length: 1321407 Vary: Accept-Encoding Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: text/javascriptResponse body (1321407 bytes)
/*! For license information please see main.dbe7cbc3.js.LICENSE.txt */ !function(){var e={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function l(e){return e.trim()}function s(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,v=1,g=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:v,length:a,return:""}}function S(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?u(x,--y):0,v--,10===b&&(v=1,m--),b}function j(){return b=y<g?u(x,y++):0,v++,10===b&&(v=1,m++),b}function E(){return u(x,y)}function O(){return y}function C(e,t){return d(x,e,t)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Z(e){return m=v=1,g=f(x=e),y=0,[]}function _(e){return x="",e}function T(e){return l(C(y-1,R(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=E())&&b<33;)j();return P(e)>2||P(b)>3?"":" "}function A(e,t){for(;--t&&j()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return C(e,O()+(t<6&&32==E()&&32==j()))}function R(e){for(;j();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:j()}return y}function N(e,t){for(;j()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+C(t,y-1)+"*"+i(47===e?e:j())}function I(e){for(;!P(E());)j();return C(e,y)}var D="-ms-",z="-moz-",L="-webkit-",B="comm",F="rule",W="decl",U="@keyframes";function q(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function H(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case U:return e.return=e.value+"{"+q(e.children,r)+"}";case F:e.value=e.props.join(",")}return f(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function V(e){return _(Y("",null,null,null,[""],e=Z(e),0,[0],e))}function Y(e,t,n,r,o,a,l,d,p){for(var m=0,v=0,g=l,y=0,b=0,x=0,w=1,S=1,C=1,P=0,Z="",_=o,R=a,D=r,z=Z;S;)switch(x=P,P=j()){case 40:if(108!=x&&58==u(z,g-1)){-1!=c(z+=s(T(P),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:z+=T(P);break;case 9:case 10:case 13:case 32:z+=M(x);break;case 92:z+=A(O()-1,7);continue;case 47:switch(E()){case 42:case 47:h($(N(j(),O()),t,n),p);break;default:z+="/"}break;case 123*w:d[m++]=f(z)*C;case 125*w:case 59:case 0:switch(P){case 0:case 125:S=0;case 59+v:-1==C&&(z=s(z,/\f/g,"")),b>0&&f(z)-g&&h(b>32?K(z+";",r,n,g-1):K(s(z," ","")+";",r,n,g-2),p);break;case 59:z+=";";default:if(h(D=G(z,t,n,m,v,o,d,Z,_=[],R=[],g),a),123===P)if(0===v)Y(z,t,D,D,_,a,g,d,R);else switch(99===y&&110===u(z,3)?100:y){case 100:case 108:case 109:case 115:Y(e,D,D,r&&h(G(e,D,D,0,0,o,d,Z,o,_=[],g),R),o,R,g,d,r?_:R);break;default:Y(z,D,D,D,[""],R,0,d,R)}}m=v=b=0,w=C=1,Z=z="",g=l;break;case 58:g=1+f(z),b=x;default:if(w<1)if(123==P)--w;else if(125==P&&0==w++&&125==k())continue;switch(z+=i(P),P*w){case 38:C=v>0?1:(z+="\f",-1);break;case 44:d[m++]=(f(z)-1)*C,C=1;break;case 64:45===E()&&(z+=T(j())),y=E(),v=g=f(Z=z+=I(O())),P++;break;case 45:45===x&&2==f(z)&&(w=0)}}return a}function G(e,t,n,r,i,a,c,u,f,h,m){for(var v=i-1,g=0===i?a:[""],y=p(g),b=0,x=0,S=0;b<r;++b)for(var k=0,j=d(e,v+1,v=o(x=c[b])),E=e;k<y;++k)(E=l(x>0?g[k]+" "+j:s(j,/&\f/g,g[k])))&&(f[S++]=E);return w(e,t,n,0===i?F:u,f,h,m)}function $(e,t,n){return w(e,t,n,B,i(b),d(e,2,-2),0)}function K(e,t,n,r){return w(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!P(o);)j();return C(e,y)},Q=function(e,t){return _(function(e,t){var n=-1,r=44;do{switch(P(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=j());return e}(Z(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+z+e+D+e+e;case 6828:case 4268:return L+e+D+e+e;case 6165:return L+e+D+"flex-"+e+e;case 5187:return L+e+s(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return L+e+D+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return L+e+D+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+D+s(e,"shrink","negative")+e;case 5292:return L+e+D+s(e,"basis","preferred-size")+e;case 6060:return L+"box-"+s(e,"-grow","")+L+e+D+s(e,"grow","positive")+e;case 4554:return L+s(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+z+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+L)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(45===u(e,14)?"inline-":"")+"box$3$1"+L+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case U:return q([S(e,{value:s(e.value,"@","@"+L)})],r);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([S(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([S(e,{props:[s(t,/:(plac\w+)/,":"+L+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,l={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)l[t[n]]=!0;s.push(e)}));var c,u,d=[H,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var t=p(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([ee,te].concat(o,d));a=function(e,t,n,r){c=n,q(V(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:a};return h.sheet.hydrate(s),h}},9797:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},2564:function(e,t,n){"use strict";n.d(t,{T:function(){return s},i:function(){return i},w:function(){return l}});var r=n(2791),o=n(3361),i=(n(9140),n(2561),!0),a=r.createContext("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null);a.Provider;var l=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(l=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var s=r.createContext({})},9140:function(e,t,n){"use strict";n.d(t,{O:function(){return h}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(9797),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!==typeof e},c=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":s(a)&&(r+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=d(e,t,a);switch(i){case"animation":case"animationName":r+=c(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var f=0;f<a.length;f++)s(a[f])&&(r+=c(i)+":"+u(i,a[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";f=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=d(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),r&&(o+=i[a]);p.lastIndex=0;for(var l,s="";null!==(l=p.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:f}}},2561:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a},j:function(){return l}});var o=n(2791),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},5438:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},2419:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},6711:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.Z=a},1009:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.Z=a},8996:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.Z=a},2338:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");t.Z=a},7247:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},1286:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=a},5146:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");t.Z=a},1131:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},2715:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");t.Z=a},1133:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=a},5397:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=a},111:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");t.Z=a},403:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}),"LockOutlined");t.Z=a},3553:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42C8.32 20.01 10.55 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z"}),"LockReset");t.Z=a},501:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=a},1406:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"RemoveRedEyeRounded");t.Z=a},1897:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z"}),"School");t.Z=a},5403:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=a},2270:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M9 1h6v2H9zm10.03 6.39 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM13 14h-2V8h2v6z"}),"Timer");t.Z=a},3746:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=a},165:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.Z=a},1141:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");t.Z=a},5649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(8610)},6532:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},8457:function(e,t,n){"use strict";n(6532)},1979:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(7462),o=n(3366),i=n(6189),a=n(2466),l=n(5080),s=n(7416),c=n(104),u=n(4942);function d(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,u.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,u.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var f=n(2065),p={black:"#000",white:"#fff"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},v={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},x={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=["mode","contrastThreshold","tonalOffset"],S={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:p.white,default:p.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},k={text:{primary:p.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:p.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function j(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,f.$n)(e.main,o):"dark"===t&&(e.dark=(0,f._j)(e.main,i)))}function E(e){var t=e.mode,n=void 0===t?"light":t,l=e.contrastThreshold,s=void 0===l?3:l,c=e.tonalOffset,u=void 0===c?.2:c,d=(0,o.Z)(e,w),E=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),O=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[500],light:m[300],dark:m[700]}}(n),C=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[500],light:v[300],dark:v[700]}:{main:v[700],light:v[400],dark:v[800]}}(n),P=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),Z=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:x[400],light:x[300],dark:x[700]}:{main:x[800],light:x[500],dark:x[900]}}(n),_=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function T(e){return(0,f.mi)(e,k.text.primary)>=s?k.text.primary:S.text.primary}var M=function(e){var t=e.color,n=e.name,o=e.mainShade,a=void 0===o?500:o,l=e.lightShade,s=void 0===l?300:l,c=e.darkShade,d=void 0===c?700:c;if(!(t=(0,r.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,i.Z)(11,n?" (".concat(n,")"):"",a));if("string"!==typeof t.main)throw new Error((0,i.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return j(t,"light",s,u),j(t,"dark",d,u),t.contrastText||(t.contrastText=T(t.main)),t},A={dark:k,light:S};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},p),mode:n,primary:M({color:E,name:"primary"}),secondary:M({color:O,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:C,name:"error"}),warning:M({color:_,name:"warning"}),info:M({color:P,name:"info"}),success:M({color:Z,name:"success"}),grey:h,contrastThreshold:s,getContrastText:T,augmentColor:M,tonalOffset:u},A[n]),d)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var C={textTransform:"uppercase"},P='"Roboto", "Helvetica", "Arial", sans-serif';function Z(e,t){var n="function"===typeof t?t(e):t,i=n.fontFamily,l=void 0===i?P:i,s=n.fontSize,c=void 0===s?14:s,u=n.fontWeightLight,d=void 0===u?300:u,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,x=n.allVariants,w=n.pxToRem,S=(0,o.Z)(n,O);var k=c/14,j=w||function(e){return"".concat(e/b*k,"rem")},E=function(e,t,n,o,i){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:j(t),lineHeight:n},l===P?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},Z={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(p,48,1.167,0),h4:E(p,34,1.235,.25),h5:E(p,24,1.334,0),h6:E(m,20,1.6,.15),subtitle1:E(p,16,1.75,.15),subtitle2:E(m,14,1.57,.1),body1:E(p,16,1.5,.15),body2:E(p,14,1.43,.15),button:E(m,14,1.75,.4,C),caption:E(p,12,1.66,.4),overline:E(p,12,2.66,1,C),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:b,pxToRem:j,fontFamily:l,fontSize:c,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:g},Z),S,{clone:!1})}function _(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var T=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)],M=n(1314),A={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},R=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,u=e.palette,f=void 0===u?{}:u,p=e.transitions,h=void 0===p?{}:p,m=e.typography,v=void 0===m?{}:m,g=(0,o.Z)(e,R);if(e.vars)throw new Error((0,i.Z)(18));var y=E(f),b=(0,l.Z)(e),x=(0,a.Z)(b,{mixins:d(b.breakpoints,n),palette:y,shadows:T.slice(),typography:Z(y,v),transitions:(0,M.ZP)(h),zIndex:(0,r.Z)({},A)});x=(0,a.Z)(x,g);for(var w=arguments.length,S=new Array(w>1?w-1:0),k=1;k<w;k++)S[k-1]=arguments[k];return(x=S.reduce((function(e,t){return(0,a.Z)(e,t)}),x)).unstable_sxConfig=(0,r.Z)({},s.Z,null==g?void 0:g.unstable_sxConfig),x.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},x}var I=N},1314:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u},x9:function(){return l}});var r=n(3366),o=n(7462),i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function c(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function u(e){var t=(0,o.Z)({},a,e.easing),n=(0,o.Z)({},l,e.duration);return(0,o.Z)({getAutoHeightDuration:c,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,l=void 0===a?n.standard:a,c=o.easing,u=void 0===c?t.easeInOut:c,d=o.delay,f=void 0===d?0:d;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof l?l:s(l)," ").concat(u," ").concat("string"===typeof f?f:s(f))})).join(",")}},e,{easing:t,duration:n})}},6482:function(e,t,n){"use strict";var r=(0,n(1979).Z)();t.Z=r},988:function(e,t){"use strict";t.Z="$$material"},6934:function(e,t,n){"use strict";n.d(t,{Dz:function(){return l},FO:function(){return a}});var r=n(4046),o=n(6482),i=n(988),a=function(e){return(0,r.x9)(e)&&"classes"!==e},l=r.x9,s=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a});t.ZP=s},1402:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7078),o=n(6482),i=n(988);function a(e){var t=e.props,n=e.name;return(0,r.Z)({props:t,name:n,defaultTheme:o.Z,themeId:i.Z})}},4036:function(e,t,n){"use strict";var r=n(1122);t.Z=r.Z},1260:function(e,t,n){"use strict";var r=n(8949);t.Z=r.Z},9201:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7462),o=n(2791),i=n(3366),a=n(3733),l=n(4419),s=n(4036),c=n(1402),u=n(6934),d=n(5878),f=n(1217);function p(e){return(0,f.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(184),m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,u.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.Z)(n.color))],t["fontSize".concat((0,s.Z)(n.fontSize))]]}})((function(e){var t,n,r,o,i,a,l,s,c,u,d,f,p,h=e.theme,m=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:m.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=h.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=h.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(o=h.typography)||null==(i=o.pxToRem)?void 0:i.call(o,20))||"1.25rem",medium:(null==(a=h.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(s=h.typography)||null==(c=s.pxToRem)?void 0:c.call(s,35))||"2.1875rem"}[m.fontSize],color:null!=(u=null==(d=(h.vars||h).palette)||null==(d=d[m.color])?void 0:d.main)?u:{action:null==(f=(h.vars||h).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(p=(h.vars||h).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0}[m.color]}})),g=o.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiSvgIcon"}),u=n.children,d=n.className,f=n.color,g=void 0===f?"inherit":f,y=n.component,b=void 0===y?"svg":y,x=n.fontSize,w=void 0===x?"medium":x,S=n.htmlColor,k=n.inheritViewBox,j=void 0!==k&&k,E=n.titleAccess,O=n.viewBox,C=void 0===O?"0 0 24 24":O,P=(0,i.Z)(n,m),Z=o.isValidElement(u)&&"svg"===u.type,_=(0,r.Z)({},n,{color:g,component:b,fontSize:w,instanceFontSize:e.fontSize,inheritViewBox:j,viewBox:C,hasSvgAsChild:Z}),T={};j||(T.viewBox=C);var M=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,s.Z)(t)),"fontSize".concat((0,s.Z)(n))]};return(0,l.Z)(o,p,r)}(_);return(0,h.jsxs)(v,(0,r.Z)({as:b,className:(0,a.Z)(M.root,d),focusable:"false",color:S,"aria-hidden":!E||void 0,role:E?"img":void 0,ref:t},T,P,Z&&u.props,{ownerState:_,children:[Z?u.props.children:u,E?(0,h.jsx)("title",{children:E}):null]}))}));g.muiName="SvgIcon";var y=g;function b(e,t){function n(n,o){return(0,h.jsx)(y,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},3199:function(e,t,n){"use strict";var r=n(2254);t.Z=r.Z},8610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return l.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return f},setRef:function(){return p},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return h.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return v},useControlled:function(){return g.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return x.Z}});var r=n(5902),o=n(4036),i=n(1260),a=n(9201),l=n(3199);var s=function(e,t){return function(){return null}},c=n(3701),u=n(8301),d=n(7602);n(7462);var f=function(e,t){return function(){return null}},p=n(2971).Z,h=n(162),m=n(7384);var v=function(e,t,n,r,o){return null},g=n(5158),y=n(9683),b=n(2071),x=n(3031),w={configure:function(e){r.Z.configure(e)}}},3701:function(e,t,n){"use strict";var r=n(78);t.Z=r.Z},8301:function(e,t,n){"use strict";var r=n(4913);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(5202);t.Z=r.Z},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9439),o=n(2791);var i=function(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),l=(0,r.Z)(a,2),s=l[0],c=l[1];return[i?t:s,o.useCallback((function(e){i||c(e)}),[])]}},162:function(e,t,n){"use strict";var r=n(2876);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(7054);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(6117);t.Z=r.Z},7384:function(e,t,n){"use strict";var r=n(8252);t.Z=r.Z},3031:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,o=n(2791),i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var f=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},2421:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(7462),o=n(2791),i=n(9797),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=n(2564),c=n(5438),u=n(9140),d=n(2561),f=l,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,d.L)((function(){return(0,c.My)(t,n,r)})),null},g=function e(t,n){var i,a,l=t.__emotion_real===t,d=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=m(t,n,l),p=f||h(d),g=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var S=(0,s.w)((function(e,t,n){var r=g&&e.as||d,i="",l=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=o.useContext(s.T)}"string"===typeof e.className?i=(0,c.fp)(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.O)(b.concat(l),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=g&&void 0===f?h(r):p,S={};for(var k in e)g&&"as"===k||w(k)&&(S[k]=e[k]);return S.className=i,S.ref=n,o.createElement(o.Fragment,null,o.createElement(v,{cache:t,serialized:x,isStringTag:"string"===typeof r}),o.createElement(r,S))}));return S.displayName=void 0!==i?i:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=b,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+a}}),S.withComponent=function(t,o){return e(t,(0,r.Z)({},n,o,{shouldForwardProp:m(S,o,!0)})).apply(void 0,b)},S}}.bind();function y(e,t){return g(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}));var b=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return u},VO:function(){return o},W8:function(){return l},dt:function(){return c},k9:function(){return a}});var r=n(2466),o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(o[e],"px)")}};function a(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var a=r.breakpoints||i;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var l=r.breakpoints||i;return Object.keys(t).reduce((function(e,r){if(-1!==Object.keys(l.values||o).indexOf(r)){e[l.up(r)]=n(t[r],r)}else{var i=r;e[i]=t[i]}return e}),{})}return n(t)}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e){for(var t=l(e),n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=[t].concat(o).reduce((function(e,t){return(0,r.Z)(e,t)}),{});return s(Object.keys(t),a)}function u(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),i=Object.keys(o);return 0===i.length?n:i.reduce((function(e,r,o){return Array.isArray(n)?(e[r]=null!=n[o]?n[o]:n[t],t=o):"object"===typeof n?(e[r]=null!=n[r]?n[r]:n[t],t=r):e[r]=n,e}),{})}},2065:function(e,t,n){"use strict";n.d(t,{$n:function(){return d},Fq:function(){return c},_4:function(){return f},_j:function(){return u},mi:function(){return s}});var r=n(6189);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===n){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function l(e){var t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?u(e,t):d(e,t)}},4046:function(e,t,n){"use strict";n.d(t,{ZP:function(){return S},x9:function(){return y}});var r=n(3433),o=n(9439),i=n(3366),a=n(7462),l=n(2421),s=n(5080),c=n(1122),u=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=(0,i.Z)(e,u),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:(0,c.Z)(e[t]):"".concat(d(r)?t:(0,c.Z)(t)).concat((0,c.Z)(e[t].toString()))})),r}var p=n(104),h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];var m=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},v=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r},g=function(e,t,n,r){var o,i=e.ownerState,a=void 0===i?{}:i,l=[],s=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return s&&s.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[f(n.props)])})),l};function y(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var b=(0,s.Z)(),x=function(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e};function w(e){var t,n=e.defaultTheme,r=e.theme,o=e.themeId;return t=r,0===Object.keys(t).length?n:r[o]||r}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,s=void 0===n?b:n,c=e.rootShouldForwardProp,u=void 0===c?y:c,d=e.slotShouldForwardProp,f=void 0===d?y:d,S=function(e){return(0,p.Z)((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))};return S.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var c,d=n.name,p=n.slot,b=n.skipVariantsResolver,k=n.skipSx,j=n.overridesResolver,E=void 0===j?(c=x(p))?function(e,t){return t[c]}:null:j,O=(0,i.Z)(n,h),C=void 0!==b?b:p&&"Root"!==p&&"root"!==p||!1,P=k||!1;var Z=y;"Root"===p||"root"===p?Z=u:p?Z=f:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(Z=void 0);var _=(0,l.ZP)(e,(0,a.Z)({shouldForwardProp:Z,label:undefined},O)),T=function(n){for(var i=arguments.length,l=new Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];var u=l?l.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(n){return e((0,a.Z)({},n,{theme:w((0,a.Z)({},n,{defaultTheme:s,themeId:t}))}))}:e})):[],f=n;d&&E&&u.push((function(e){var n=w((0,a.Z)({},e,{defaultTheme:s,themeId:t})),r=m(d,n);if(r){var i={};return Object.entries(r).forEach((function(t){var r=(0,o.Z)(t,2),l=r[0],s=r[1];i[l]="function"===typeof s?s((0,a.Z)({},e,{theme:n})):s})),E(e,i)}return null})),d&&!C&&u.push((function(e){var n=w((0,a.Z)({},e,{defaultTheme:s,themeId:t}));return g(e,v(d,n),n,d)})),P||u.push(S);var p=u.length-l.length;if(Array.isArray(n)&&p>0){var h=new Array(p).fill("");(f=[].concat((0,r.Z)(n),(0,r.Z)(h))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(h))}else"function"===typeof n&&n.__emotion_real!==n&&(f=function(e){return n((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))});var y=_.apply(void 0,[f].concat((0,r.Z)(u)));return e.muiName&&(y.muiName=e.muiName),y};return _.withConfig&&(T.withConfig=_.withConfig),T}}},5080:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(7462),o=n(3366),i=n(2466),a=n(4942),l=["values","unit","step"],s=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})};var c={borderRadius:4},u=n(5682);var d=n(104),f=n(7416),p=["breakpoints","palette","spacing","shape"];var h=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,h=void 0===a?{}:a,m=e.spacing,v=e.shape,g=void 0===v?{}:v,y=(0,o.Z)(e,p),b=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,a=void 0===i?"px":i,c=e.step,u=void 0===c?5:c,d=(0,o.Z)(e,l),f=s(n),p=Object.keys(f);function h(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-u/100).concat(a,")")}function v(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:t)-u/100).concat(a,")")}return(0,r.Z)({keys:p,values:f,up:h,down:m,between:v,only:function(e){return p.indexOf(e)+1<p.length?v(e,p[p.indexOf(e)+1]):h(e)},not:function(e){var t=p.indexOf(e);return 0===t?h(p[1]):t===p.length-1?m(p[t]):v(e,p[p.indexOf(e)+1]).replace("@media","@media not all and")},unit:a},d)}(n),x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,u.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(m),w=(0,i.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},h),spacing:x,shape:(0,r.Z)({},c,g)},y),S=arguments.length,k=new Array(S>1?S-1:0),j=1;j<S;j++)k[j-1]=arguments[j];return(w=k.reduce((function(e,t){return(0,i.Z)(e,t)}),w)).unstable_sxConfig=(0,r.Z)({},f.Z,null==y?void 0:y.unstable_sxConfig),w.unstable_sx=function(e){return(0,d.Z)({sx:e,theme:this})},w}},8247:function(e,t,n){"use strict";var r=n(2466);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5682:function(e,t,n){"use strict";n.d(t,{hB:function(){return m},eI:function(){return h},NA:function(){return v},e6:function(){return b},o3:function(){return x}});var r=n(9439),o=n(1184),i=n(8529),a=n(8247);var l={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=l[o],u=s[i]||"";return Array.isArray(u)?u.map((function(e){return a+e})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(e,t,n,r){var o,a=null!=(o=(0,i.DW)(e,t,!1))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function m(e){return h(e,"spacing",8)}function v(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=v(t,n),e}),{})}}(u(n),r),a=e[n];return(0,o.k9)(e,a,i)}function y(e,t){var n=m(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,d)}function x(e){return y(e,f)}function w(e){return y(e,p)}b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p},8529:function(e,t,n){"use strict";n.d(t,{DW:function(){return a},Jq:function(){return l}});var r=n(4942),o=n(1122),i=n(1184);function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function l(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r,o,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,c)||{};return(0,i.k9)(e,n,(function(e){var n=l(d,u,e);return e===n&&"string"===typeof e&&(n=l(d,u,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===s?n:(0,r.Z)({},s,n)}))};return d.propTypes={},d.filterProps=[t],d}},7416:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(5682),o=n(8529),i=n(8247);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),o=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?(0,i.Z)(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o},l=n(1184);function s(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,(function(e){return{borderRadius:(0,r.NA)(t,e)}}))}return null};b.propTypes={},b.filterProps=["borderRadius"];a(c,u,d,f,p,h,m,v,g,y,b);var x=function(e){if(void 0!==e.gap&&null!==e.gap){var t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,(function(e){return{gap:(0,r.NA)(t,e)}}))}return null};x.propTypes={},x.filterProps=["gap"];var w=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,(function(e){return{columnGap:(0,r.NA)(t,e)}}))}return null};w.propTypes={},w.filterProps=["columnGap"];var S=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,(function(e){return{rowGap:(0,r.NA)(t,e)}}))}return null};S.propTypes={},S.filterProps=["rowGap"];a(x,w,S,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));function k(e,t){return"grey"===t?t:e}a((0,o.ZP)({prop:"color",themeKey:"palette",transform:k}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:k}));function j(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var E=(0,o.ZP)({prop:"width",transform:j}),O=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return(0,l.k9)(e,e.maxWidth,(function(t){var n;return{maxWidth:(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.VO[t]||j(t)}}))}return null};O.filterProps=["maxWidth"];var C=(0,o.ZP)({prop:"minWidth",transform:j}),P=(0,o.ZP)({prop:"height",transform:j}),Z=(0,o.ZP)({prop:"maxHeight",transform:j}),_=(0,o.ZP)({prop:"minHeight",transform:j}),T=((0,o.ZP)({prop:"size",cssProperty:"width",transform:j}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:j}),a(E,O,C,P,Z,_,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:S},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:O},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},104:function(e,t,n){"use strict";var r=n(4942),o=n(1122),i=n(8247),a=n(8529),l=n(1184),s=n(7416);var c=function(){function e(e,t,n,i){var s,c=(s={},(0,r.Z)(s,e,t),(0,r.Z)(s,"theme",n),s),u=i[e];if(!u)return(0,r.Z)({},e,t);var d=u.cssProperty,f=void 0===d?e:d,p=u.themeKey,h=u.transform,m=u.style;if(null==t)return null;if("typography"===p&&"inherit"===t)return(0,r.Z)({},e,t);var v=(0,a.DW)(n,p)||{};if(m)return m(c);return(0,l.k9)(c,t,(function(t){var n=(0,a.Jq)(v,h,t);return t===n&&"string"===typeof t&&(n=(0,a.Jq)(v,h,"".concat(e).concat("default"===t?"":(0,o.Z)(t)),t)),!1===f?n:(0,r.Z)({},f,n)}))}return function t(n){var o,a=n||{},c=a.sx,u=a.theme,d=void 0===u?{}:u;if(!c)return null;var f=null!=(o=d.unstable_sxConfig)?o:s.Z;function p(n){var o=n;if("function"===typeof n)o=n(d);else if("object"!==typeof n)return n;if(!o)return null;var a=(0,l.W8)(d.breakpoints),s=Object.keys(a),c=a;return Object.keys(o).forEach((function(n){var a,s,u=(a=o[n],s=d,"function"===typeof a?a(s):a);if(null!==u&&void 0!==u)if("object"===typeof u)if(f[n])c=(0,i.Z)(c,e(n,u,d,f));else{var p=(0,l.k9)({theme:d},u,(function(e){return(0,r.Z)({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),o=new Set(r);return t.every((function(e){return o.size===Object.keys(e).length}))}(p,u)?c=(0,i.Z)(c,p):c[n]=t({sx:u,theme:d})}else c=(0,i.Z)(c,e(n,u,d,f))})),(0,l.L7)(s,c)}return Array.isArray(c)?c.map(p):p(c)}}();c.filterProps=["sx"],t.Z=c},418:function(e,t,n){"use strict";var r=n(5080),o=n(9120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},7078:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5735);var o=n(418);function i(e){var t=e.props,n=e.name,i=e.defaultTheme,a=e.themeId,l=(0,o.Z)(i);a&&(l=l[a]||l);var s=function(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}({theme:l,name:n,props:t});return s}},9120:function(e,t,n){"use strict";var r=n(2791),o=n(2564);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=r.useContext(o.T);return n&&(e=n,0!==Object.keys(e).length)?n:t}},5902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},1122:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6189);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4419:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},2254:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){e.apply(r,i)}),n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},2466:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return a}});var r=n(7462);function o(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=i(e[n])})),t}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},1217:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5902),o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.Z.generate(e),"-").concat(t)}},5878:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1217);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,r.Z)(e,t,n)})),o}},78:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2791);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},4913:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},5202:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4913);function o(e){return(0,r.Z)(e).defaultView||window}},5735:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},l),Object.keys(a).forEach((function(e){n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},2971:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},2876:function(e,t,n){"use strict";var r=n(2791),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},7054:function(e,t,n){"use strict";var r=n(2791),o=n(2876);t.Z=function(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},6117:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(2971);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){(0,o.Z)(t,e)}))}}),t)}},8252:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return s}});var o=n(9439),i=n(2791),a=0;var l=(r||(r=n.t(i,2)))["useId".toString()];function s(e){if(void 0!==l){var t=l();return null!=e?e:t}return function(e){var t=i.useState(e),n=(0,o.Z)(t,2),r=n[0],l=n[1],s=e||r;return i.useEffect((function(){null==r&&l("mui-".concat(a+=1))}),[r]),s}(e)}},4234:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,l={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=7,g=9007199254740991,y=f(g/v),b={};function x(e,t){var n,r,o,i,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?_(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,l=u.length):(r=u,o=a,l=c.length),i>(l=(a=Math.ceil(f/v))>l?a+1:l+1)&&(i=l,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((l=c.length)-(i=u.length)<0&&(i=l,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/m|0,c[i]%=m;for(n&&(c.unshift(n),++o),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=o,s?_(t,f):t}function w(e,t,n){if(e!==~~e||e<t||e>n)throw Error(u+e)}function S(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)r=e[t]+"",(n=v-r.length)&&(i+=C(n)),i+=r;a=e[t],(n=v-(r=a+"").length)&&(i+=C(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}b.absoluteValue=b.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},b.comparedTo=b.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*v;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return k(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return _(k(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return E(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0},b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=k(P(n,a),P(e,a),a),s=!0,_(t,o))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):x(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(s=!1,t=k(n,e,0,1).times(e),s=!0,n.minus(t)):_(new r(n),o)},b.naturalExponential=b.exp=function(){return j(this)},b.naturalLogarithm=b.ln=function(){return P(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?x(t,e):T(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=E(o)+1,n=(r=o.d.length-1)*v+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,o,i,a,l=this,u=l.constructor;if(l.s<1){if(!l.s)return new u(0);throw Error(c+"NaN")}for(e=E(l),s=!1,0==(o=Math.sqrt(+l))||o==1/0?(((t=S(l.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(k(l,i,a+2)).times(.5),S(i.d).slice(0,a)===(t=S(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(_(i,n+1,0),i.times(i).eq(l)){r=i;break}}else if("9999"!=t)break;a+=4}return s=!0,_(r,n)},b.times=b.mul=function(e){var t,n,r,o,i,a,l,c,u,d=this,f=d.constructor,p=d.d,h=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(c=p.length)<(u=h.length)&&(i=p,p=h,h=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=c+r;o>r;)l=i[o]+h[r]*p[o-r-1]+t,i[o--]=l%m|0,t=l/m|0;i[o]=(i[o]+t)%m|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,s?_(e,f.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(w(e,0,a),void 0===t?t=r.rounding:w(t,0,8),_(n,e+E(n)+1,t))},b.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=M(r,!0):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),n=M(r=_(new o(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?M(o):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),n=M((r=_(new i(o),e+E(o)+1,t)).abs(),!1,e+E(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return _(new t(e),E(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,o,a,l,u=this,d=u.constructor,p=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return _(u,r);if(l=(t=e.e)>=(n=e.d.length-1),a=u.s,l){if((n=p<0?-p:p)<=g){for(o=new d(i),t=Math.ceil(r/v+4),s=!1;n%2&&A((o=o.times(u)).d,t),0!==(n=f(n/2));)A((u=u.times(u)).d,t);return s=!0,e.s<0?new d(i).div(o):_(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,s=!1,o=e.times(P(u,r+12)),s=!0,(o=j(o)).s=a,o},b.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=M(o,(n=E(o))<=i.toExpNeg||n>=i.toExpPos):(w(e,1,a),void 0===t?t=i.rounding:w(t,0,8),r=M(o=_(new i(o),e,t),e<=(n=E(o))||n<=i.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(w(e,1,a),void 0===t?t=n.rounding:w(t,0,8)),_(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=E(e),n=e.constructor;return M(e,t<=n.toExpNeg||t>=n.toExpPos)};var k=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%m|0,r=n/m|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*m+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a){var l,s,u,d,f,p,h,g,y,b,x,w,S,k,j,O,C,P,Z=r.constructor,T=r.s==o.s?1:-1,M=r.d,A=o.d;if(!r.s)return new Z(r);if(!o.s)throw Error(c+"Division by zero");for(s=r.e-o.e,C=A.length,j=M.length,g=(h=new Z(T)).d=[],u=0;A[u]==(M[u]||0);)++u;if(A[u]>(M[u]||0)&&--s,(w=null==i?i=Z.precision:a?i+(E(r)-E(o))+1:i)<0)return new Z(0);if(w=w/v+2|0,u=0,1==C)for(d=0,A=A[0],w++;(u<j||d)&&w--;u++)S=d*m+(M[u]||0),g[u]=S/A|0,d=S%A|0;else{for((d=m/(A[0]+1)|0)>1&&(A=e(A,d),M=e(M,d),C=A.length,j=M.length),k=C,b=(y=M.slice(0,C)).length;b<C;)y[b++]=0;(P=A.slice()).unshift(0),O=A[0],A[1]>=m/2&&++O;do{d=0,(l=t(A,y,C,b))<0?(x=y[0],C!=b&&(x=x*m+(y[1]||0)),(d=x/O|0)>1?(d>=m&&(d=m-1),1==(l=t(f=e(A,d),y,p=f.length,b=y.length))&&(d--,n(f,C<p?P:A,p))):(0==d&&(l=d=1),f=A.slice()),(p=f.length)<b&&f.unshift(0),n(y,f,b),-1==l&&(l=t(A,y,C,b=y.length))<1&&(d++,n(y,C<b?P:A,b)),b=y.length):0===l&&(d++,y=[0]),g[u++]=d,l&&y[0]?y[b++]=M[k]||0:(y=[M[k]],b=1)}while((k++<j||void 0!==y[0])&&w--)}return g[0]||g.shift(),h.e=s,_(h,a?i+E(h)+1:i)}}();function j(e,t){var n,r,o,a,l,c=0,u=0,f=e.constructor,h=f.precision;if(E(e)>16)throw Error(d+E(e));if(!e.s)return new f(i);for(null==t?(s=!1,l=h):l=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(l+=Math.log(p(2,u))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=l;;){if(r=_(r.times(e),l),n=n.times(++c),S((a=o.plus(k(r,n,l))).d).slice(0,l)===S(o.d).slice(0,l)){for(;u--;)o=_(o.times(o),l);return f.precision=h,null==t?(s=!0,_(o,h)):o}o=a}}function E(e){for(var t=e.e*v,n=e.d[0];n>=10;n/=10)t++;return t}function O(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function C(e){for(var t="";e--;)t+="0";return t}function P(e,t){var n,r,o,a,l,u,d,f,p,h=1,m=e,v=m.d,g=m.constructor,y=g.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(i))return new g(0);if(null==t?(s=!1,f=y):f=t,m.eq(10))return null==t&&(s=!0),O(g,f);if(f+=10,g.precision=f,r=(n=S(v)).charAt(0),a=E(m),!(Math.abs(a)<15e14))return d=O(g,f+2,y).times(a+""),m=P(new g(r+"."+n.slice(1)),f-10).plus(d),g.precision=y,null==t?(s=!0,_(m,y)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=S((m=m.times(e)).d)).charAt(0),h++;for(a=E(m),r>1?(m=new g("0."+n),a++):m=new g(r+"."+n.slice(1)),u=l=m=k(m.minus(i),m.plus(i),f),p=_(m.times(m),f),o=3;;){if(l=_(l.times(p),f),S((d=u.plus(k(l,new g(o),f))).d).slice(0,f)===S(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(O(g,f+2,y).times(a+""))),u=k(u,new g(h),f),g.precision=y,null==t?(s=!0,_(u,y)):u;u=d,o+=2}}function Z(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/v),e.d=[],r=(n+1)%v,n<0&&(r+=v),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=v;r<o;)e.d.push(+t.slice(r,r+=v));t=t.slice(r),r=v-t.length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),s&&(e.e>y||e.e<-y))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,n){var r,o,i,a,l,c,u,h,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=v,o=t,u=g[h=0];else{if((h=Math.ceil((r+1)/v))>=(i=g.length))return e;for(u=i=g[h],a=1;i>=10;i/=10)a++;o=(r%=v)-v+a}if(void 0!==n&&(l=u/(i=p(10,a-o-1))%10|0,c=t<0||void 0!==g[h+1]||u%i,c=n<4?(l||c)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||c||6==n&&(r>0?o>0?u/p(10,a-o):0:g[h-1])%10&1||n==(e.s<0?8:7))),t<1||!g[0])return c?(i=E(e),g.length=1,t=t-i-1,g[0]=p(10,(v-t%v)%v),e.e=f(-t/v)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==r?(g.length=h,i=1,h--):(g.length=h+1,i=p(10,v-r),g[h]=o>0?(u/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(g[0]+=i)==m&&(g[0]=1,++e.e);break}if(g[h]+=i,g[h]!=m)break;g[h--]=0,i=1}for(r=g.length;0===g[--r];)g.pop();if(s&&(e.e>y||e.e<-y))throw Error(d+E(e));return e}function T(e,t){var n,r,o,i,a,l,c,u,d,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?_(t,h):t;if(c=e.d,f=t.d,r=t.e,u=e.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,l=f.length):(n=f,r=u,l=c.length),a>(o=Math.max(Math.ceil(h/v),l)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(l=f.length))&&(l=o),o=0;o<l;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(n=c,c=f,f=n,t.s=-t.s),l=c.length,o=f.length-l;o>0;--o)c[l++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=m-1;--c[i],c[o]+=m}c[o]-=f[o]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=r,s?_(t,h):t):new p(0)}function M(e,t,n){var r,o=E(e),i=S(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+C(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+C(-o-1)+i,n&&(r=n-a)>0&&(i+=C(r))):o>=a?(i+=C(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+C(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=C(r))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function R(e){if(!e||"object"!==typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(f(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}l=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):Z(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(u+e);Z(t,e)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=R,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}(l),l.default=l.Decimal=l,i=new l(1),void 0===(r=function(){return l}.call(t,n,t,e))||(e.exports=r)}()},7143:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var s,c,u=this._events[l],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(c=1,s=new Array(d-1);c<d;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,o);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];u[c].fn.apply(u[c].context,s)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var s=0,c=[],u=l.length;s<u;s++)(l[s].fn!==t||o&&!l[s].once||r&&l[s].context!==r)&&c.push(l[s]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},2110:function(e,t,n){"use strict";var r=n(8309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!i[g]&&(!r||!r[g])&&(!m||!m[g])&&(!l||!l[g])){var y=f(n,g);try{c(t,g,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},8309:function(e,t,n){"use strict";e.exports=n(746)},908:function(e,t,n){var r=n(8136)(n(7009),"DataView");e.exports=r},9676:function(e,t,n){var r=n(7458),o=n(2747),i=n(6037),a=n(4154),l=n(7728);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},8384:function(e,t,n){var r=n(3894),o=n(8699),i=n(4957),a=n(7184),l=n(7109);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},5797:function(e,t,n){var r=n(8136)(n(7009),"Map");e.exports=r},8059:function(e,t,n){var r=n(4086),o=n(9255),i=n(9186),a=n(3423),l=n(3739);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},8319:function(e,t,n){var r=n(8136)(n(7009),"Promise");e.exports=r},3924:function(e,t,n){var r=n(8136)(n(7009),"Set");e.exports=r},692:function(e,t,n){var r=n(8059),o=n(5774),i=n(1596);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},9424:function(e,t,n){var r=n(8384),o=n(511),i=n(835),a=n(707),l=n(8832),s=n(5077);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=l,c.prototype.set=s,e.exports=c},7197:function(e,t,n){var r=n(7009).Symbol;e.exports=r},6219:function(e,t,n){var r=n(7009).Uint8Array;e.exports=r},7091:function(e,t,n){var r=n(8136)(n(7009),"WeakMap");e.exports=r},3665:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},4277:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},4903:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},9055:function(e,t,n){var r=n(4842);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},2683:function(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},7538:function(e,t,n){var r=n(6478),o=n(4963),i=n(3629),a=n(5174),l=n(6800),s=n(9102),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&s(e),p=n||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},8950:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},1705:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},7897:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},4622:function(e){e.exports=function(e){return e.split("")}},7112:function(e,t,n){var r=n(9231);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2526:function(e,t,n){var r=n(8528);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},7927:function(e,t,n){var r=n(5358),o=n(7056)(r);e.exports=o},9863:function(e,t,n){var r=n(7927);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},3079:function(e,t,n){var r=n(152);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(void 0===s?l===l&&!r(l):n(l,s)))var s=l,c=a}return c}},2045:function(e){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},5182:function(e,t,n){var r=n(1705),o=n(3529);e.exports=function e(t,n,i,a,l){var s=-1,c=t.length;for(i||(i=o),l||(l=[]);++s<c;){var u=t[s];n>0&&i(u)?n>1?e(u,n-1,i,a,l):r(l,u):a||(l[l.length]=u)}return l}},5099:function(e,t,n){var r=n(372)();e.exports=r},5358:function(e,t,n){var r=n(5099),o=n(2742);e.exports=function(e,t){return e&&r(e,t,o)}},8667:function(e,t,n){var r=n(3082),o=n(9793);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},1986:function(e,t,n){var r=n(1705),o=n(3629);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},9066:function(e,t,n){var r=n(7197),o=n(1587),i=n(3581),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},1954:function(e){e.exports=function(e,t){return e>t}},529:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},4842:function(e,t,n){var r=n(2045),o=n(505),i=n(7167);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},4906:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},1848:function(e,t,n){var r=n(3355),o=n(3141);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,l))}},3355:function(e,t,n){var r=n(9424),o=n(5305),i=n(2206),a=n(8078),l=n(8383),s=n(3629),c=n(5174),u=n(9102),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=s(e),b=s(t),x=y?f:l(e),w=b?f:l(t),S=(x=x==d?p:x)==p,k=(w=w==d?p:w)==p,j=x==w;if(j&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(j&&!S)return g||(g=new r),y||u(e)?o(e,t,n,m,v,g):i(e,t,x,n,m,v,g);if(!(1&n)){var E=S&&h.call(e,"__wrapped__"),O=k&&h.call(t,"__wrapped__");if(E||O){var C=E?e.value():e,P=O?t.value():t;return g||(g=new r),v(C,P,n,m,g)}}return!!j&&(g||(g=new r),a(e,t,n,m,v,g))}},8856:function(e,t,n){var r=n(9424),o=n(1848);e.exports=function(e,t,n,i){var a=n.length,l=a,s=!i;if(null==e)return!l;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<l;){var u=(c=n[a])[0],d=e[u],f=c[1];if(s&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(i)var h=i(d,f,u,e,t,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},505:function(e){e.exports=function(e){return e!==e}},6703:function(e,t,n){var r=n(4786),o=n(257),i=n(8092),a=n(7907),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:l).test(a(e))}},8150:function(e,t,n){var r=n(9066),o=n(4635),i=n(3141),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},6025:function(e,t,n){var r=n(7080),o=n(4322),i=n(2100),a=n(3629),l=n(38);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):l(e)}},3654:function(e,t,n){var r=n(2936),o=n(8836),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2580:function(e){e.exports=function(e,t){return e<t}},3849:function(e,t,n){var r=n(7927),o=n(1473);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},7080:function(e,t,n){var r=n(8856),o=n(9091),i=n(284);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4322:function(e,t,n){var r=n(1848),o=n(6181),i=n(5658),a=n(5823),l=n(5072),s=n(284),c=n(9793);e.exports=function(e,t){return a(e)&&l(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},3226:function(e,t,n){var r=n(8950),o=n(8667),i=n(6025),a=n(3849),l=n(9179),s=n(6194),c=n(4480),u=n(2100),d=n(3629);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=r(t,s(i));var p=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return l(p,(function(e,t){return c(e,t,n)}))}},9586:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4084:function(e,t,n){var r=n(8667);e.exports=function(e){return function(t){return r(t,e)}}},7255:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,l=n(t((r-e)/(o||1)),0),s=Array(l);l--;)s[i?l:++a]=e,e+=o;return s}},8794:function(e,t,n){var r=n(2100),o=n(4262),i=n(9156);e.exports=function(e,t){return i(o(e,t,r),e+"")}},7532:function(e,t,n){var r=n(1547),o=n(8528),i=n(2100),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2646:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},9204:function(e,t,n){var r=n(7927);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},9179:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},6478:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},2446:function(e,t,n){var r=n(7197),o=n(8950),i=n(3629),a=n(152),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},821:function(e,t,n){var r=n(6050),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},6194:function(e){e.exports=function(e){return function(t){return e(t)}}},9602:function(e,t,n){var r=n(692),o=n(9055),i=n(2683),a=n(75),l=n(7730),s=n(2230);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var m=t?null:l(e);if(m)return s(m);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var v=e[c],g=t?t(v):v;if(v=n||0!==v?v:0,f&&g===g){for(var y=h.length;y--;)if(h[y]===g)continue e;t&&h.push(g),p.push(v)}else u(h,g,n)||(h!==p&&h.push(g),p.push(v))}return p}},75:function(e){e.exports=function(e,t){return e.has(t)}},3082:function(e,t,n){var r=n(3629),o=n(5823),i=n(170),a=n(3518);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},9813:function(e,t,n){var r=n(2646);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},8558:function(e,t,n){var r=n(152);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),l=void 0!==t,s=null===t,c=t===t,u=r(t);if(!s&&!u&&!a&&e>t||a&&l&&c&&!s&&!u||o&&l&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!c)return-1}return 0}},4480:function(e,t,n){var r=n(8558);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,l=i.length,s=n.length;++o<l;){var c=r(i[o],a[o]);if(c)return o>=s?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},5525:function(e,t,n){var r=n(7009)["__core-js_shared__"];e.exports=r},7056:function(e,t,n){var r=n(1473);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&!1!==o(l[a],a,l););return n}}},372:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}},322:function(e,t,n){var r=n(9813),o=n(7302),i=n(7580),a=n(3518);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,l=n?n[0]:t.charAt(0),s=n?r(n,1).join(""):t.slice(1);return l[e]()+s}}},5481:function(e,t,n){var r=n(6025),o=n(1473),i=n(2742);e.exports=function(e){return function(t,n,a){var l=Object(t);if(!o(t)){var s=r(n,3);t=i(t),n=function(e){return s(l[e],e,l)}}var c=e(t,n,a);return c>-1?l[s?t[c]:c]:void 0}}},6381:function(e,t,n){var r=n(7255),o=n(3195),i=n(1495);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},7730:function(e,t,n){var r=n(3924),o=n(9694),i=n(2230),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},8528:function(e,t,n){var r=n(8136),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},5305:function(e,t,n){var r=n(692),o=n(7897),i=n(75);e.exports=function(e,t,n,a,l,s){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h<u;){var g=e[h],y=t[h];if(a)var b=c?a(y,g,h,t,e,s):a(g,y,h,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(g===e||l(g,e,n,a,s)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!l(g,y,n,a,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},2206:function(e,t,n){var r=n(7197),o=n(6219),i=n(9231),a=n(5305),l=n(234),s=n(2230),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=l;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var v=a(p(e),p(t),r,c,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8078:function(e,t,n){var r=n(8248),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var d=u;d--;){var f=c[d];if(!(s?f in t:o.call(t,f)))return!1}var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var m=!0;l.set(e,t),l.set(t,e);for(var v=s;++d<u;){var g=e[f=c[d]],y=t[f];if(i)var b=s?i(y,g,f,t,e,l):i(g,y,f,e,t,l);if(!(void 0===b?g===y||a(g,y,n,i,l):b)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},1032:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8248:function(e,t,n){var r=n(1986),o=n(5918),i=n(2742);e.exports=function(e){return r(e,i,o)}},2799:function(e,t,n){var r=n(5964);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},9091:function(e,t,n){var r=n(5072),o=n(2742);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},8136:function(e,t,n){var r=n(6703),o=n(40);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},1137:function(e,t,n){var r=n(2709)(Object.getPrototypeOf,Object);e.exports=r},1587:function(e,t,n){var r=n(7197),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(s){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},5918:function(e,t,n){var r=n(4903),o=n(8174),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=l},8383:function(e,t,n){var r=n(908),o=n(5797),i=n(8319),a=n(3924),l=n(7091),s=n(9066),c=n(7907),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),v=c(o),g=c(i),y=c(a),b=c(l),x=s;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=f||l&&x(new l)!=p)&&(x=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case v:return u;case g:return d;case y:return f;case b:return p}return t}),e.exports=x},40:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},6417:function(e,t,n){var r=n(3082),o=n(4963),i=n(3629),a=n(6800),l=n(4635),s=n(9793);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var f=s(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&l(u)&&a(f,u)&&(i(e)||o(e))}},7302:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},7458:function(e,t,n){var r=n(9620);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},2747:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6037:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4154:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7728:function(e,t,n){var r=n(9620);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3529:function(e,t,n){var r=n(7197),o=n(4963),i=n(3629),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},6800:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3195:function(e,t,n){var r=n(9231),o=n(1473),i=n(6800),a=n(8092);e.exports=function(e,t,n){if(!a(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&i(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},5823:function(e,t,n){var r=n(3629),o=n(152),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},5964:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},257:function(e,t,n){var r=n(5525),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},2936:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},5072:function(e,t,n){var r=n(8092);e.exports=function(e){return e===e&&!r(e)}},3894:function(e){e.exports=function(){this.__data__=[],this.size=0}},8699:function(e,t,n){var r=n(7112),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},4957:function(e,t,n){var r=n(7112);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7184:function(e,t,n){var r=n(7112);e.exports=function(e){return r(this.__data__,e)>-1}},7109:function(e,t,n){var r=n(7112);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4086:function(e,t,n){var r=n(9676),o=n(8384),i=n(5797);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},9255:function(e,t,n){var r=n(2799);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},9186:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).get(e)}},3423:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).has(e)}},3739:function(e,t,n){var r=n(2799);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},234:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},284:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},4634:function(e,t,n){var r=n(9151);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},9620:function(e,t,n){var r=n(8136)(Object,"create");e.exports=r},8836:function(e,t,n){var r=n(2709)(Object.keys,Object);e.exports=r},9494:function(e,t,n){e=n.nmd(e);var r=n(1032),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l},3581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},4262:function(e,t,n){var r=n(3665),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),s=Array(l);++a<l;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},7009:function(e,t,n){var r=n(1032),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},5774:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1596:function(e){e.exports=function(e){return this.__data__.has(e)}},2230:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},9156:function(e,t,n){var r=n(7532),o=n(3197)(r);e.exports=o},3197:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),i=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},7167:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},7580:function(e,t,n){var r=n(4622),o=n(7302),i=n(2129);e.exports=function(e){return o(e)?i(e):r(e)}},170:function(e,t,n){var r=n(4634),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},9793:function(e,t,n){var r=n(152);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},7907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},6050:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},2129:function(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+s+("(?:\\u200d(?:"+[i,a,l].join("|")+")"+c+s+")*"),d="(?:"+[i+r+"?",r,a,l,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},1547:function(e){e.exports=function(e){return function(){return e}}},8573:function(e,t,n){var r=n(8092),o=n(72),i=n(2582),a=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,d,f,p,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-h>=u}function x(){var e=o();if(b(e))return w(e);f=setTimeout(x,function(e){var n=t-(e-p);return v?l(n,u-(e-h)):n}(e))}function w(e){return f=void 0,g&&s?y(e):(s=c=void 0,d)}function S(){var e=o(),n=b(e);if(s=arguments,c=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(x,t),m?y(e):d}(p);if(v)return clearTimeout(f),f=setTimeout(x,t),y(p)}return void 0===f&&(f=setTimeout(x,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(v="maxWait"in n)?a(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=c=f=void 0},S.flush=function(){return void 0===f?d:w(o())},S}},9231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},2730:function(e,t,n){var r=n(4277),o=n(9863),i=n(6025),a=n(3629),l=n(3195);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&l(e,t,n)&&(t=void 0),s(e,i(t,3))}},1211:function(e,t,n){var r=n(5481)(n(1475));e.exports=r},1475:function(e,t,n){var r=n(2045),o=n(6025),i=n(9753),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:i(n);return s<0&&(s=a(l+s,0)),r(e,o(t,3),s)}},5008:function(e,t,n){var r=n(5182),o=n(2034);e.exports=function(e,t){return r(o(e,t),1)}},6181:function(e,t,n){var r=n(8667);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},5658:function(e,t,n){var r=n(529),o=n(6417);e.exports=function(e,t){return null!=e&&o(e,t,r)}},2100:function(e){e.exports=function(e){return e}},4963:function(e,t,n){var r=n(4906),o=n(3141),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},3629:function(e){var t=Array.isArray;e.exports=t},1473:function(e,t,n){var r=n(4786),o=n(4635);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},5127:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},5174:function(e,t,n){e=n.nmd(e);var r=n(7009),o=n(9488),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s},8111:function(e,t,n){var r=n(1848);e.exports=function(e,t){return r(e,t)}},4786:function(e,t,n){var r=n(9066),o=n(8092);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},2066:function(e,t,n){var r=n(298);e.exports=function(e){return r(e)&&e!=+e}},2854:function(e){e.exports=function(e){return null==e}},298:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},3977:function(e,t,n){var r=n(9066),o=n(1137),i=n(3141),a=Function.prototype,l=Object.prototype,s=a.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},6769:function(e,t,n){var r=n(9066),o=n(3629),i=n(3141);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},152:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},9102:function(e,t,n){var r=n(8150),o=n(6194),i=n(9494),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},2742:function(e,t,n){var r=n(7538),o=n(3654),i=n(1473);e.exports=function(e){return i(e)?r(e):o(e)}},5727:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},2034:function(e,t,n){var r=n(8950),o=n(6025),i=n(3849),a=n(3629);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},7702:function(e,t,n){var r=n(2526),o=n(5358),i=n(6025);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},9627:function(e,t,n){var r=n(3079),o=n(1954),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},8559:function(e,t,n){var r=n(3079),o=n(1954),i=n(6025);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},9151:function(e,t,n){var r=n(8059);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},6452:function(e,t,n){var r=n(3079),o=n(2580),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},3638:function(e,t,n){var r=n(3079),o=n(6025),i=n(2580);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},9694:function(e){e.exports=function(){}},72:function(e,t,n){var r=n(7009);e.exports=function(){return r.Date.now()}},38:function(e,t,n){var r=n(9586),o=n(4084),i=n(5823),a=n(9793);e.exports=function(e){return i(e)?r(a(e)):o(e)}},6222:function(e,t,n){var r=n(6381)();e.exports=r},4064:function(e,t,n){var r=n(7897),o=n(6025),i=n(9204),a=n(3629),l=n(3195);e.exports=function(e,t,n){var s=a(e)?r:i;return n&&l(e,t,n)&&(t=void 0),s(e,o(t,3))}},4286:function(e,t,n){var r=n(5182),o=n(3226),i=n(8794),a=n(3195),l=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=l},8174:function(e){e.exports=function(){return[]}},9488:function(e){e.exports=function(){return!1}},3038:function(e,t,n){var r=n(8573),o=n(8092);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},1495:function(e,t,n){var r=n(2582),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},9753:function(e,t,n){var r=n(1495);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},2582:function(e,t,n){var r=n(821),o=n(8092),i=n(152),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},3518:function(e,t,n){var r=n(2446);e.exports=function(e){return null==e?"":r(e)}},6339:function(e,t,n){var r=n(6025),o=n(9602);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},2085:function(e,t,n){var r=n(322)("toUpperCase");e.exports=r},2426:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=m()),e._pf}function g(e){var t=null,r=!1,o=e._d&&!isNaN(e._d.getTime());return o&&(t=v(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?o:(e._isValid=o,e._isValid)}function y(e){var t=h(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],x=!1;function w(e,t){var n,r,o,i=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=v(t)),c(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)c(o=t[r=b[n]])||(e[r]=o);return e}function S(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,r.updateOffset(this),x=!1)}function k(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function j(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,a,s=[],c=arguments.length;for(i=0;i<c;i++){if(o="","object"===typeof arguments[i]){for(a in o+="\n["+i+"] ",arguments[0])l(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];s.push(o)}j(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var O,C={};function P(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(j(t),C[e]=!0)}function Z(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)l(e,n)&&(Z(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=p({},e);for(n in t)l(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Z(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},L={};function B(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(L[e]=o),t&&(L[t[0]]=function(){return N(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)L[r[t]]?r[t]=L[r[t]]:r[t]=F(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=Z(r[o])?r[o].call(t,e):r[o];return i}}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),z[t]=z[t]||W(t),z[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;n>=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Y="Invalid date";function G(){return this._invalidDate}var $="%d",K=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var o=this._relativeTime[n];return Z(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return Z(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)l(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var ae,le=/\d/,se=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,de=/[+-]?\d{6}/,fe=/\d\d?/,pe=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ve=/\d{1,4}/,ge=/[+-]?\d{1,6}/,ye=/\d+/,be=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,ke=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,je=/^[1-9]\d?/,Ee=/^([1-9]\d|\d)/;function Oe(e,t,n){ae[e]=Z(t)?t:function(e,r){return e&&n?n:t}}function Ce(e,t){return l(ae,e)?ae[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Ze(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Ze(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Te(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_e(t)),n}ae={};var Me={};function Ae(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),u(t)&&(o=function(e,n){n[t]=Te(e)}),r=e.length,n=0;n<r;n++)Me[e[n]]=o}function Re(e,t){Ae(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ne(e,t,n){null!=t&&l(Me,e)&&Me[e](t,n._a,n,e)}function Ie(e){return e%4===0&&e%100!==0||e%400===0}var De=0,ze=1,Le=2,Be=3,Fe=4,We=5,Ue=6,qe=7,He=8;function Ve(e){return Ie(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),Oe("Y",be),Oe("YY",fe,se),Oe("YYYY",ve,ue),Oe("YYYYY",ge,de),Oe("YYYYYY",ge,de),Ae(["YYYYY","YYYYYY"],De),Ae("YYYY",(function(e,t){t[De]=2===e.length?r.parseTwoDigitYear(e):Te(e)})),Ae("YY",(function(e,t){t[De]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,t){t[De]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Te(e)+(Te(e)>68?1900:2e3)};var Ye,Ge=Ke("FullYear",!0);function $e(){return Ie(this.year())}function Ke(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Qe(e,t,n){var r,o,i,a,l;if(e.isValid()&&!isNaN(n)){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=e.month(),l=29!==(l=e.date())||1!==a||Ie(i)?l:28,o?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function Je(e){return Z(this[e=ne(e)])?this[e]():this}function et(e,t){if("object"===typeof e){var n,r=ie(e=re(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(Z(this[e=ne(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=tt(t,12);return e+=(t-n)/12,1===n?Ie(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Oe("M",fe,je),Oe("MM",fe,se),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Ae(["M","MM"],(function(e,t){t[ze]=Te(e)-1})),Ae(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[ze]=o:v(n).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),it=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=ke,lt=ke;function st(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||it).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function ct(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[it.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Ye.call(this._shortMonthsParse,a))?o:null:-1!==(o=Ye.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Ye.call(this._shortMonthsParse,a))||-1!==(o=Ye.call(this._longMonthsParse,a))?o:null:-1!==(o=Ye.call(this._longMonthsParse,a))||-1!==(o=Ye.call(this._shortMonthsParse,a))?o:null}function dt(e,t,n){var r,o,i;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Te(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,nt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function pt(e){return null!=e?(ft(this,e),r.updateOffset(this,!0),this):Xe(this,"Month")}function ht(){return nt(this.year(),this.month())}function mt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||gt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function vt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||gt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gt(){function e(e,t){return t.length-e.length}var t,n,r,o,i=[],a=[],l=[];for(t=0;t<12;t++)n=h([2e3,t]),r=Ze(this.monthsShort(n,"")),o=Ze(this.months(n,"")),i.push(r),a.push(o),l.push(o),l.push(r);i.sort(e),a.sort(e),l.sort(e),this._monthsRegex=new RegExp("^("+l.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function yt(e,t,n,r,o,i,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,o,i,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,o,i,a),l}function bt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}function wt(e,t,n,r,o){var i,a,l=1+7*(t-1)+(7+n-r)%7+xt(e,r,o);return l<=0?a=Ve(i=e-1)+l:l>Ve(e)?(i=e+1,a=l-Ve(e)):(i=e,a=l),{year:i,dayOfYear:a}}function St(e,t,n){var r,o,i=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+kt(o=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function kt(e,t,n){var r=xt(e,t,n),o=xt(e+1,t,n);return(Ve(e)-r+o)/7}function jt(e){return St(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),Oe("w",fe,je),Oe("ww",fe,se),Oe("W",fe,je),Oe("WW",fe,se),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Te(e)}));var Et={dow:0,doy:6};function Ot(){return this._week.dow}function Ct(){return this._week.doy}function Pt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Zt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function _t(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Tt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),Oe("d",fe),Oe("e",fe),Oe("E",fe),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:v(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=Te(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=ke,Dt=ke,zt=ke;function Lt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ft(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ye.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ye.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._shortWeekdaysParse,a))||-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ye.call(this._shortWeekdaysParse,a))||-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Ye.call(this._minWeekdaysParse,a))||-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._shortWeekdaysParse,a))?o:null}function Ut(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=Xe(this,"Day");return null!=e?(e=_t(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Tt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Yt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $t(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],l=[],s=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ze(this.weekdaysMin(n,"")),o=Ze(this.weekdaysShort(n,"")),i=Ze(this.weekdays(n,"")),a.push(r),l.push(o),s.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),l.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function Jt(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Xt),B("k",["kk",2],0,Qt),B("hmm",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),Oe("a",en),Oe("A",en),Oe("H",fe,Ee),Oe("h",fe,je),Oe("k",fe,je),Oe("HH",fe,se),Oe("hh",fe,se),Oe("kk",fe,se),Oe("hmm",pe),Oe("hmmss",he),Oe("Hmm",pe),Oe("Hmmss",he),Ae(["H","HH"],Be),Ae(["k","kk"],(function(e,t,n){var r=Te(e);t[Be]=24===r?0:r})),Ae(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ae(["h","hh"],(function(e,t,n){t[Be]=Te(e),v(n).bigHour=!0})),Ae("hmm",(function(e,t,n){var r=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r)),v(n).bigHour=!0})),Ae("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r,2)),t[We]=Te(e.substr(o)),v(n).bigHour=!0})),Ae("Hmm",(function(e,t,n){var r=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r))})),Ae("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r,2)),t[We]=Te(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=Ke("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:A,longDateFormat:H,invalidDate:Y,ordinal:$,dayOfMonthOrdinalParse:K,relativeTime:Q,months:rt,monthsShort:ot,week:Et,weekdays:At,weekdaysMin:Nt,weekdaysShort:Rt,meridiemParse:nn},sn={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dn(e[i]).split("-")).length,n=(n=dn(e[i+1]))?n.split("-"):null;t>0;){if(r=hn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function pn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hn(t){var n=null;if(void 0===sn[t]&&e&&e.exports&&pn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){sn[t]=null}return sn[t]}function mn(e,t){var n;return e&&((n=c(t)?yn(e):vn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=sn[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=sn[e]._config;else if(null!=t.parentLocale)if(null!=sn[t.parentLocale])r=sn[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return sn[e]=new M(T(r,t)),cn[e]&&cn[e].forEach((function(e){vn(e.name,e.config)})),mn(e),sn[e]}return delete sn[e],null}function gn(e,t){if(null!=t){var n,r,o=ln;null!=sn[e]&&null!=sn[e].parentLocale?sn[e].set(T(sn[e]._config,t)):(null!=(r=hn(e))&&(o=r._config),t=T(o,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=sn[e],sn[e]=n),mn(e)}else null!=sn[e]&&(null!=sn[e].parentLocale?(sn[e]=sn[e].parentLocale,e===mn()&&mn(e)):null!=sn[e]&&delete sn[e]);return sn[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=hn(e))return t;e=[e]}return fn(e)}function bn(){return O(sn)}function xn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[ze]<0||n[ze]>11?ze:n[Le]<1||n[Le]>nt(n[De],n[ze])?Le:n[Be]<0||n[Be]>24||24===n[Be]&&(0!==n[Fe]||0!==n[We]||0!==n[Ue])?Be:n[Fe]<0||n[Fe]>59?Fe:n[We]<0||n[We]>59?We:n[Ue]<0||n[Ue]>999?Ue:-1,v(e)._overflowDayOfYear&&(t<De||t>Le)&&(t=Le),v(e)._overflowWeeks&&-1===t&&(t=qe),v(e)._overflowWeekday&&-1===t&&(t=He),v(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],En=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,Cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Pn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(e){var t,n,r,o,i,a,l=e._i,s=wn.exec(l)||Sn.exec(l),c=jn.length,u=En.length;if(s){for(v(e).iso=!0,t=0,n=c;t<n;t++)if(jn[t][1].exec(s[1])){o=jn[t][0],r=!1!==jn[t][2];break}if(null==o)return void(e._isValid=!1);if(s[3]){for(t=0,n=u;t<n;t++)if(En[t][1].exec(s[3])){i=(s[2]||" ")+En[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(s[4]){if(!kn.exec(s[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Fn(e)}else e._isValid=!1}function _n(e,t,n,r,o,i){var a=[Tn(e),ot.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return Pn[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Nn(e){var t,n=Cn.exec(Mn(e._i));if(n){if(t=_n(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function In(e){var t=On.exec(e._i);null===t?(Zn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Dn(e,t,n){return null!=e?e:null!=t?t:n}function zn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ln(e){var t,n,r,o,i,a=[];if(!e._d){for(r=zn(e),e._w&&null==e._a[Le]&&null==e._a[ze]&&Bn(e),null!=e._dayOfYear&&(i=Dn(e._a[De],r[De]),(e._dayOfYear>Ve(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=bt(i,0,e._dayOfYear),e._a[ze]=n.getUTCMonth(),e._a[Le]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Be]&&0===e._a[Fe]&&0===e._a[We]&&0===e._a[Ue]&&(e._nextDay=!0,e._a[Be]=0),e._d=(e._useUTC?bt:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Be]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,o,i,a,l,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Dn(t.GG,e._a[De],St($n(),1,4).year),r=Dn(t.W,1),((o=Dn(t.E,1))<1||o>7)&&(s=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=St($n(),i,a),n=Dn(t.gg,e._a[De],c.year),r=Dn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(s=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(s=!0)):o=i),r<1||r>kt(n,i,a)?v(e)._overflowWeeks=!0:null!=s?v(e)._overflowWeekday=!0:(l=wt(n,r,o,i,a),e._a[De]=l.year,e._dayOfYear=l.dayOfYear)}function Fn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],v(e).empty=!0;var t,n,o,i,a,l,s,c=""+e._i,u=c.length,d=0;for(s=(o=q(e._f,e._locale).match(I)||[]).length,t=0;t<s;t++)i=o[t],(n=(c.match(Ce(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&v(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),L[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),Ne(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=u-d,c.length>0&&v(e).unusedInput.push(c),e._a[Be]<=12&&!0===v(e).bigHour&&e._a[Be]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Be]=Wn(e._locale,e._a[Be],e._meridiem),null!==(l=v(e).era)&&(e._a[De]=e._locale.erasConvertYear(l,e._a[De])),Ln(e),xn(e)}else Nn(e);else Zn(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Un(e){var t,n,r,o,i,a,l=!1,s=e._f.length;if(0===s)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<s;o++)i=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Fn(t),g(t)&&(a=!0),i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,l?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(l=!0));p(e,n||t)}function qn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ln(e)}}function Hn(e){var t=new S(xn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new S(xn(t)):(d(t)?e._d=t:i(n)?Un(e):n?Fn(e):Yn(e),g(e)||(e._d=null),e))}function Yn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?In(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Ln(e)):a(t)?qn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Gn(e,t,n,r,o){var l={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&s(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=n,l._i=e,l._f=t,l._strict=r,Hn(l)}function $n(e,t,n,r){return Gn(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Kn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Xn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Qn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Qn("isBefore",[].slice.call(arguments,0))}function er(){return Qn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,o=nr.length;for(t in e)if(l(e,t)&&(-1===Ye.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==Te(e[nr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return Pr(NaN)}function ar(e){var t=re(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,s=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*s+1e3*l*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function lr(e){return e instanceof ar}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&Te(e[r])!==Te(t[r]))&&a++;return a+i}function ur(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Oe("Z",we),Oe("ZZ",we),Ae(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(we,e)}));var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(dr)||["-",0,0])[1]+Te(n[2]))?0:"+"===n[0]?r:-r}function pr(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||d(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):$n(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(we,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=hr(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Ar(this,Pr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function vr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Vn(t))._a?(e=t._isUTC?h(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function jr(){return!!this.isValid()&&this._isUTC}function Er(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Or=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pr(e,t){var n,r,o,i=e,a=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Or.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:Te(a[Le])*n,h:Te(a[Be])*n,m:Te(a[Fe])*n,s:Te(a[We])*n,ms:Te(sr(1e3*a[Ue]))*n}):(a=Cr.exec(e))?(n="-"===a[1]?-1:1,i={y:Zr(a[2],n),M:Zr(a[3],n),w:Zr(a[4],n),d:Zr(a[5],n),h:Zr(a[6],n),m:Zr(a[7],n),s:Zr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Tr($n(i.from),$n(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Zr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function _r(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Tr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=_r(e,t):((n=_r(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Mr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Ar(this,Pr(n,r),e),this}}function Ar(e,t,n,o){var i=t._milliseconds,a=sr(t._days),l=sr(t._months);e.isValid()&&(o=null==o||o,l&&ft(e,Xe(e,"Month")+l*n),a&&Qe(e,"Date",Xe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||l))}Pr.fn=ar.prototype,Pr.invalid=ir;var Rr=Mr(1,"add"),Nr=Mr(-1,"subtract");function Ir(e){return"string"===typeof e||e instanceof String}function Dr(e){return k(e)||d(e)||Ir(e)||u(e)||Lr(e)||zr(e)||null===e||void 0===e}function zr(e){var t,n,r=a(e)&&!s(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;t<c;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Lr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Ir(e)})).length),t&&n}function Br(e){var t,n,r=a(e)&&!s(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Fr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Wr(e,t){1===arguments.length&&(arguments[0]?Dr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$n(),o=pr(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(Z(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,$n(n)))}function Ur(){return new S(this)}function qr(e,t){var n=k(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Hr(e,t){var n=k(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Vr(e,t,n,r){var o=k(e)?e:$n(e),i=k(t)?t:$n(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Yr(e,t){var n,r=k(e)?e:$n(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Gr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $r(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=ne(t)){case"year":i=Xr(this,r)/12;break;case"month":i=Xr(this,r);break;case"quarter":i=Xr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_e(i)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Z(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())?Pr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from($n(),e)}function oo(e,t){return this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())?Pr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to($n(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lo=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function so(){return this._locale}var co=1e3,uo=60*co,fo=60*uo,po=3506328*fo;function ho(e,t){return(e%t+t)%t}function mo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-po:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-po:Date.UTC(e,t,n)}function go(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:mo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*uo),fo);break;case"minute":t=this._d.valueOf(),t-=ho(t,uo);break;case"second":t=this._d.valueOf(),t-=ho(t,co)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:mo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fo-ho(t+(this._isUTC?0:this.utcOffset()*uo),fo)-1;break;case"minute":t=this._d.valueOf(),t+=uo-ho(t,uo)-1;break;case"second":t=this._d.valueOf(),t+=co-ho(t,co)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bo(){return this._d.valueOf()-6e4*(this._offset||0)}function xo(){return Math.floor(this.valueOf()/1e3)}function wo(){return new Date(this.valueOf())}function So(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ko(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jo(){return this.isValid()?this.toISOString():null}function Eo(){return g(this)}function Oo(){return p({},v(this))}function Co(){return v(this).overflow}function Po(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Zo(e,t){var n,o,i,a=this._eras||yn("en")._eras;for(n=0,o=a.length;n<o;++n)switch("string"===typeof a[n].since&&(i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function _o(e,t,n){var r,o,i,a,l,s=this.eras();for(e=e.toUpperCase(),r=0,o=s.length;r<o;++r)if(i=s[r].name.toUpperCase(),a=s[r].abbr.toUpperCase(),l=s[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return s[r];break;case"NNNN":if(i===e)return s[r];break;case"NNNNN":if(l===e)return s[r]}else if([i,a,l].indexOf(e)>=0)return s[r]}function To(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Mo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ao(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ro(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function No(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Io(e){return l(this,"_erasNameRegex")||Uo.call(this),e?this._erasNameRegex:this._erasRegex}function Do(e){return l(this,"_erasAbbrRegex")||Uo.call(this),e?this._erasAbbrRegex:this._erasRegex}function zo(e){return l(this,"_erasNarrowRegex")||Uo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Lo(e,t){return t.erasAbbrRegex(e)}function Bo(e,t){return t.erasNameRegex(e)}function Fo(e,t){return t.erasNarrowRegex(e)}function Wo(e,t){return t._eraYearOrdinalRegex||ye}function Uo(){var e,t,n,r,o,i=[],a=[],l=[],s=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ze(c[e].name),r=Ze(c[e].abbr),o=Ze(c[e].narrow),a.push(n),i.push(r),l.push(o),s.push(n),s.push(r),s.push(o);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+l.join("|")+")","i")}function qo(e,t){B(0,[e,e.length],0,t)}function Ho(e){return Xo.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vo(e){return Xo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yo(){return kt(this.year(),1,4)}function Go(){return kt(this.isoWeekYear(),1,4)}function $o(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function Ko(){var e=this.localeData()._week;return kt(this.weekYear(),e.dow,e.doy)}function Xo(e,t,n,r,o){var i;return null==e?St(this,r,o).year:(t>(i=kt(e,r,o))&&(t=i),Qo.call(this,e,t,n,r,o))}function Qo(e,t,n,r,o){var i=wt(e,t,n,r,o),a=bt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Oe("N",Lo),Oe("NN",Lo),Oe("NNN",Lo),Oe("NNNN",Bo),Oe("NNNNN",Fo),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?v(n).era=o:v(n).invalidEra=e})),Oe("y",ye),Oe("yy",ye),Oe("yyy",ye),Oe("yyyy",ye),Oe("yo",Wo),Ae(["y","yy","yyy","yyyy"],De),Ae(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[De]=n._locale.eraYearOrdinalParse(e,o):t[De]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),qo("gggg","weekYear"),qo("ggggg","weekYear"),qo("GGGG","isoWeekYear"),qo("GGGGG","isoWeekYear"),Oe("G",be),Oe("g",be),Oe("GG",fe,se),Oe("gg",fe,se),Oe("GGGG",ve,ue),Oe("gggg",ve,ue),Oe("GGGGG",ge,de),Oe("ggggg",ge,de),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Te(e)})),Re(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),Oe("Q",le),Ae("Q",(function(e,t){t[ze]=3*(Te(e)-1)})),B("D",["DD",2],"Do","date"),Oe("D",fe,je),Oe("DD",fe,se),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],Le),Ae("Do",(function(e,t){t[Le]=Te(e.match(fe)[0])}));var ei=Ke("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),Oe("DDD",me),Oe("DDDD",ce),Ae(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Te(e)})),B("m",["mm",2],0,"minute"),Oe("m",fe,Ee),Oe("mm",fe,se),Ae(["m","mm"],Fe);var ni=Ke("Minutes",!1);B("s",["ss",2],0,"second"),Oe("s",fe,Ee),Oe("ss",fe,se),Ae(["s","ss"],We);var ri,oi,ii=Ke("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Oe("S",me,le),Oe("SS",me,se),Oe("SSS",me,ce),ri="SSSS";ri.length<=9;ri+="S")Oe(ri,ye);function ai(e,t){t[Ue]=Te(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Ae(ri,ai);function li(){return this._isUTC?"UTC":""}function si(){return this._isUTC?"Coordinated Universal Time":""}oi=Ke("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ci=S.prototype;function ui(e){return $n(1e3*e)}function di(){return $n.apply(null,arguments).parseZone()}function fi(e){return e}ci.add=Rr,ci.calendar=Wr,ci.clone=Ur,ci.diff=Kr,ci.endOf=yo,ci.format=to,ci.from=no,ci.fromNow=ro,ci.to=oo,ci.toNow=io,ci.get=Je,ci.invalidAt=Co,ci.isAfter=qr,ci.isBefore=Hr,ci.isBetween=Vr,ci.isSame=Yr,ci.isSameOrAfter=Gr,ci.isSameOrBefore=$r,ci.isValid=Eo,ci.lang=lo,ci.locale=ao,ci.localeData=so,ci.max=Xn,ci.min=Kn,ci.parsingFlags=Oo,ci.set=et,ci.startOf=go,ci.subtract=Nr,ci.toArray=So,ci.toObject=ko,ci.toDate=wo,ci.toISOString=Jr,ci.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=jo,ci.toString=Qr,ci.unix=xo,ci.valueOf=bo,ci.creationData=Po,ci.eraName=Mo,ci.eraNarrow=Ao,ci.eraAbbr=Ro,ci.eraYear=No,ci.year=Ge,ci.isLeapYear=$e,ci.weekYear=Ho,ci.isoWeekYear=Vo,ci.quarter=ci.quarters=Jo,ci.month=pt,ci.daysInMonth=ht,ci.week=ci.weeks=Pt,ci.isoWeek=ci.isoWeeks=Zt,ci.weeksInYear=$o,ci.weeksInWeekYear=Ko,ci.isoWeeksInYear=Yo,ci.isoWeeksInISOWeekYear=Go,ci.date=ei,ci.day=ci.days=qt,ci.weekday=Ht,ci.isoWeekday=Vt,ci.dayOfYear=ti,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=oi,ci.utcOffset=mr,ci.utc=gr,ci.local=yr,ci.parseZone=br,ci.hasAlignedHourOffset=xr,ci.isDST=wr,ci.isLocal=kr,ci.isUtcOffset=jr,ci.isUtc=Er,ci.isUTC=Er,ci.zoneAbbr=li,ci.zoneName=si,ci.dates=E("dates accessor is deprecated. Use date instead.",ei),ci.months=E("months accessor is deprecated. Use month instead",pt),ci.years=E("years accessor is deprecated. Use year instead",Ge),ci.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ci.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var pi=M.prototype;function hi(e,t,n,r){var o=yn(),i=h().set(r,t);return o[n](i,e)}function mi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function vi(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,l=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)l[o]=hi(t,(o+a)%7,r,"day");return l}function gi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function bi(e,t,n){return vi(e,t,n,"weekdays")}function xi(e,t,n){return vi(e,t,n,"weekdaysShort")}function wi(e,t,n){return vi(e,t,n,"weekdaysMin")}pi.calendar=R,pi.longDateFormat=V,pi.invalidDate=G,pi.ordinal=X,pi.preparse=fi,pi.postformat=fi,pi.relativeTime=J,pi.pastFuture=ee,pi.set=_,pi.eras=Zo,pi.erasParse=_o,pi.erasConvertYear=To,pi.erasAbbrRegex=Do,pi.erasNameRegex=Io,pi.erasNarrowRegex=zo,pi.months=st,pi.monthsShort=ct,pi.monthsParse=dt,pi.monthsRegex=vt,pi.monthsShortRegex=mt,pi.week=jt,pi.firstDayOfYear=Ct,pi.firstDayOfWeek=Ot,pi.weekdays=Lt,pi.weekdaysMin=Ft,pi.weekdaysShort=Bt,pi.weekdaysParse=Ut,pi.weekdaysRegex=Yt,pi.weekdaysShortRegex=Gt,pi.weekdaysMinRegex=$t,pi.isPM=tn,pi.meridiem=on,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Te(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",yn);var Si=Math.abs;function ki(){var e=this._data;return this._milliseconds=Si(this._milliseconds),this._days=Si(this._days),this._months=Si(this._months),e.milliseconds=Si(e.milliseconds),e.seconds=Si(e.seconds),e.minutes=Si(e.minutes),e.hours=Si(e.hours),e.months=Si(e.months),e.years=Si(e.years),this}function ji(e,t,n,r){var o=Pr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Ei(e,t){return ji(this,e,t,1)}function Oi(e,t){return ji(this,e,t,-1)}function Ci(e){return e<0?Math.floor(e):Math.ceil(e)}function Pi(){var e,t,n,r,o,i=this._milliseconds,a=this._days,l=this._months,s=this._data;return i>=0&&a>=0&&l>=0||i<=0&&a<=0&&l<=0||(i+=864e5*Ci(_i(l)+a),a=0,l=0),s.milliseconds=i%1e3,e=_e(i/1e3),s.seconds=e%60,t=_e(e/60),s.minutes=t%60,n=_e(t/60),s.hours=n%24,a+=_e(n/24),l+=o=_e(Zi(a)),a-=Ci(_i(o)),r=_e(l/12),l%=12,s.days=a,s.months=l,s.years=r,this}function Zi(e){return 4800*e/146097}function _i(e){return 146097*e/4800}function Ti(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Zi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_i(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Mi(e){return function(){return this.as(e)}}var Ai=Mi("ms"),Ri=Mi("s"),Ni=Mi("m"),Ii=Mi("h"),Di=Mi("d"),zi=Mi("w"),Li=Mi("M"),Bi=Mi("Q"),Fi=Mi("y"),Wi=Ai;function Ui(){return Pr(this)}function qi(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Hi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vi=Hi("milliseconds"),Yi=Hi("seconds"),Gi=Hi("minutes"),$i=Hi("hours"),Ki=Hi("days"),Xi=Hi("months"),Qi=Hi("years");function Ji(){return _e(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=Pr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),l=ea(o.as("h")),s=ea(o.as("d")),c=ea(o.as("M")),u=ea(o.as("w")),d=ea(o.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,na.apply(null,f)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function sa(e){return(e>0)-(e<0)||+e}function ca(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,l,s=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(e=_e(s/60),t=_e(e/60),s%=60,e%=60,n=_e(u/12),u%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=sa(this._months)!==sa(d)?"-":"",a=sa(this._days)!==sa(d)?"-":"",l=sa(this._milliseconds)!==sa(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=or,ua.abs=ki,ua.add=Ei,ua.subtract=Oi,ua.as=Ti,ua.asMilliseconds=Ai,ua.asSeconds=Ri,ua.asMinutes=Ni,ua.asHours=Ii,ua.asDays=Di,ua.asWeeks=zi,ua.asMonths=Li,ua.asQuarters=Bi,ua.asYears=Fi,ua.valueOf=Wi,ua._bubble=Pi,ua.clone=Ui,ua.get=qi,ua.milliseconds=Vi,ua.seconds=Yi,ua.minutes=Gi,ua.hours=$i,ua.days=Ki,ua.weeks=Ji,ua.months=Xi,ua.years=Qi,ua.humanize=aa,ua.toISOString=ca,ua.toString=ca,ua.toJSON=ca,ua.locale=ao,ua.localeData=so,ua.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),ua.lang=lo,B("X",0,0,"unix"),B("x",0,0,"valueOf"),Oe("x",be),Oe("X",Se),Ae("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ae("x",(function(e,t,n){n._d=new Date(Te(e))})),r.version="2.30.1",o($n),r.fn=ci,r.min=Jn,r.max=er,r.now=tr,r.utc=h,r.unix=ui,r.months=gi,r.isDate=d,r.locale=mn,r.invalid=y,r.duration=Pr,r.isMoment=k,r.weekdays=bi,r.parseZone=di,r.localeData=yn,r.isDuration=lr,r.monthsShort=yi,r.weekdaysMin=wi,r.defineLocale=vn,r.updateLocale=gn,r.locales=bn,r.weekdaysShort=xi,r.normalizeUnits=ne,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=Fr,r.prototype=ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},1025:function(e,t){var n,r,o;r=[],n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,o={},i=0,a={parse:function(n,r){var l=(r=r||{}).dynamicTyping||!1;if(w(l)&&(r.dynamicTypingFunction=l,l={}),r.dynamicTyping=l,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var s=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,l=(n=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),s=new t.Worker(l);return s.onmessage=v,s.id=i++,o[s.id]=s}();return s.userStep=r.step,s.userChunk=r.chunk,s.userComplete=r.complete,s.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void s.postMessage({input:n,config:r,workerId:s.id})}var p=null;return a.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),p=r.download?new c(r):new d(r)):!0===n.readable&&w(n.read)&&w(n.on)?p=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(p=new u(r)),p.stream(n)},unparse:function(e,t){var n=!1,r=!0,o=",",i="\r\n",l='"',s=l+l,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(l=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(s=t.escapeChar+l),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var f=new RegExp(h(l),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,c);if("object"==typeof e[0])return p(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),p(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function p(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var l=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(l&&r){for(var c=0;c<e.length;c++)0<c&&(a+=o),a+=m(e[c],c);0<t.length&&(a+=i)}for(var u=0;u<t.length;u++){var d=l?e.length:t[u].length,f=!1,p=l?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!l&&(f="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&l){for(var h=[],v=0;v<d;v++){var g=s?e[v]:v;h.push(t[u][g])}f=""===h.join("").trim()}if(!f){for(var y=0;y<d;y++){0<y&&!p&&(a+=o);var b=l&&s?e[y]:y;a+=m(t[u][b],y)}u<t.length-1&&(!n||0<d&&!p)&&(a+=i)}}return a}function m(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;d&&"string"==typeof e&&d.test(e)&&(e="'"+e,r=!0);var i=e.toString().replace(f,s);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(i,a.BAD_DELIMITERS)||-1<i.indexOf(o)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?l+i+l:i}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=p,a.NetworkStreamer=c,a.FileStreamer=u,a.StringStreamer=d,a.ReadableStreamStreamer=f,t.jQuery){var l=t.jQuery;l.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==l(this).prop("tagName").toUpperCase()||"file"!==l(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)r.push({file:this.files[o],inputElem:this,instanceConfig:l.extend({},n)})})),o(),this;function o(){if(0!==r.length){var t,n,o,s,c=r[0];if(w(e.before)){var u=e.before(c.file,c.inputElem);if("object"==typeof u){if("abort"===u.action)return t="AbortError",n=c.file,o=c.inputElem,s=u.reason,void(w(e.error)&&e.error({name:t},n,o,s));if("skip"===u.action)return void i();"object"==typeof u.config&&(c.instanceConfig=l.extend(c.instanceConfig,u.config))}else if("skip"===u)return void i()}var d=c.instanceConfig.complete;c.instanceConfig.complete=function(e){w(d)&&d(e,c.file,c.inputElem),i()},a.parse(c.file,c.instanceConfig)}else w(e.complete)&&e.complete()}function i(){r.splice(0,1),o()}}}function s(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var o=this._config.beforeFirstChunk(e);void 0!==o&&(e=o)}this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e;this._partialLine="";var l=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=l.meta.cursor;this._finished||(this._partialLine=i.substring(s-this._baseIndex),this._baseIndex=s),l&&l.data&&(this._rowCount+=l.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:l,workerId:a.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!n){if(this._config.chunk(l,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);l=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(l.data),this._completeResults.errors=this._completeResults.errors.concat(l.errors),this._completeResults.meta=l.meta),this._completed||!c||!w(this._config.complete)||l&&l.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||l&&l.meta.paused||this._nextChunk(),l}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),s.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),s.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var o=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,o)}var i=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;s.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function f(e){s.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){s.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){s.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function p(e){var t,n,r,o=Math.pow(2,53),i=-o,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,s=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,f=!1,p=!1,v=[],g={data:[],errors:[],meta:{}};if(w(e.step)){var y=e.step;e.step=function(t){if(g=t,k())S();else{if(S(),0===g.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(g.data=g.data[0],y(g,c))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function S(){return g&&r&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(g.data=g.data.filter((function(e){return!x(e)}))),k()&&function(){if(g)if(Array.isArray(g.data[0])){for(var t=0;k()&&t<g.data.length;t++)g.data[t].forEach(n);g.data.splice(0,1)}else g.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),v.push(t)}}(),function(){if(!g||!e.header&&!e.dynamicTyping&&!e.transform)return g;function t(t,n){var r,o=e.header?{}:[];for(r=0;r<t.length;r++){var i=r,a=t[r];e.header&&(i=r>=v.length?"__parsed_extra":v[r]),e.transform&&(a=e.transform(a,i)),a=j(i,a),"__parsed_extra"===i?(o[i]=o[i]||[],o[i].push(a)):o[i]=a}return e.header&&(r>v.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+r,d+n):r<v.length&&E("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+r,d+n)),o}var n=1;return!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(t),n=g.data.length):g.data=t(g.data,0),e.header&&g.meta&&(g.meta.fields=v),d+=n,g}()}function k(){return e.header&&0===v.length}function j(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(l.test(e)){var t=parseFloat(e);if(i<t&&t<o)return!0}return!1}(n)?parseFloat(n):s.test(n)?new Date(n):""===n?null:n):n;var r}function E(e,t,n,r){var o={type:e,code:t,message:n};void 0!==r&&(o.row=r),g.errors.push(o)}this.parse=function(o,i,l){var s=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(h(t)+"([^]*?)"+h(t),"gm"),r=(e=e.replace(n,"")).split("\r"),o=e.split("\n"),i=1<o.length&&o[0].length<r[0].length;if(1===r.length||i)return"\n";for(var a=0,l=0;l<r.length;l++)"\n"===r[l][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(o,s)),r=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(o),g.meta.delimiter=e.delimiter);else{var c=function(t,n,r,o,i){var l,s,c,u;i=i||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var d=0;d<i.length;d++){var f=i[d],p=0,h=0,v=0;c=void 0;for(var g=new m({comments:o,delimiter:f,newline:n,preview:10}).parse(t),y=0;y<g.data.length;y++)if(r&&x(g.data[y]))v++;else{var b=g.data[y].length;h+=b,void 0!==c?0<b&&(p+=Math.abs(b-c),c=b):c=b}0<g.data.length&&(h/=g.data.length-v),(void 0===s||p<=s)&&(void 0===u||u<h)&&1.99<h&&(s=p,l=f,u=h)}return{successful:!!(e.delimiter=l),bestDelimiter:l}}(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);c.successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter}var u=b(e);return e.preview&&e.header&&u.preview++,t=o,n=new m(u),g=n.parse(t,i,l),S(),f?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return f},this.pause=function(){f=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(f=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),g.meta.aborted=!0,w(e.complete)&&e.complete(g),t=""}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t,n=(e=e||{}).delimiter,r=e.newline,o=e.comments,i=e.step,l=e.preview,s=e.fastMode,c=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(c=e.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),o===n)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<a.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,d=!1;this.parse=function(a,f,p){if("string"!=typeof a)throw new Error("Input must be a string");var m=a.length,v=n.length,g=r.length,y=o.length,b=w(i),x=[],S=[],k=[],j=u=0;if(!a)return V();if(e.header&&!f){var E=a.split(r)[0].split(n),O=[],C={},P=!1;for(var Z in E){var _=E[Z];w(e.transformHeader)&&(_=e.transformHeader(_,Z));var T=_,M=C[_]||0;for(0<M&&(P=!0,T=_+"_"+M),C[_]=M+1;O.includes(T);)T=T+"_"+M;O.push(T)}if(P){var A=a.split(r);A[0]=O.join(n),a=A.join(r)}}if(s||!1!==s&&-1===a.indexOf(t)){for(var R=a.split(r),N=0;N<R.length;N++){if(k=R[N],u+=k.length,N!==R.length-1)u+=r.length;else if(p)return V();if(!o||k.substring(0,y)!==o){if(b){if(x=[],W(k.split(n)),Y(),d)return V()}else W(k.split(n));if(l&&l<=N)return x=x.slice(0,l),V(!0)}}return V()}for(var I=a.indexOf(n,u),D=a.indexOf(r,u),z=new RegExp(h(c)+h(t),"g"),L=a.indexOf(t,u);;)if(a[u]!==t)if(o&&0===k.length&&a.substring(u,u+y)===o){if(-1===D)return V();u=D+g,D=a.indexOf(r,u),I=a.indexOf(n,u)}else if(-1!==I&&(I<D||-1===D))k.push(a.substring(u,I)),u=I+v,I=a.indexOf(n,u);else{if(-1===D)break;if(k.push(a.substring(u,D)),H(D+g),b&&(Y(),d))return V();if(l&&x.length>=l)return V(!0)}else for(L=u,u++;;){if(-1===(L=a.indexOf(t,L+1)))return p||S.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:u}),q();if(L===m-1)return q(a.substring(u,L).replace(z,t));if(t!==c||a[L+1]!==c){if(t===c||0===L||a[L-1]!==c){-1!==I&&I<L+1&&(I=a.indexOf(n,L+1)),-1!==D&&D<L+1&&(D=a.indexOf(r,L+1));var B=U(-1===D?I:Math.min(I,D));if(a.substr(L+1+B,v)===n){k.push(a.substring(u,L).replace(z,t)),a[u=L+1+B+v]!==t&&(L=a.indexOf(t,u)),I=a.indexOf(n,u),D=a.indexOf(r,u);break}var F=U(D);if(a.substring(L+1+F,L+1+F+g)===r){if(k.push(a.substring(u,L).replace(z,t)),H(L+1+F+g),I=a.indexOf(n,u),L=a.indexOf(t,u),b&&(Y(),d))return V();if(l&&x.length>=l)return V(!0);break}S.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:u}),L++}}else L++}return q();function W(e){x.push(e),j=u}function U(e){var t=0;if(-1!==e){var n=a.substring(L+1,e);n&&""===n.trim()&&(t=n.length)}return t}function q(e){return p||(void 0===e&&(e=a.substring(u)),k.push(e),u=m,W(k),b&&Y()),V()}function H(e){u=e,W(k),k=[],D=a.indexOf(r,u)}function V(e){return{data:x,errors:S,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:j+(f||0)}}}function Y(){i(V()),x=[],S=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function v(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,g(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&g(t.workerId,t.results)}function g(e,t){var n=o[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function y(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=b(e[n]);return t}function x(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(c.prototype=Object.create(s.prototype)).constructor=c,(u.prototype=Object.create(s.prototype)).constructor=u,(d.prototype=Object.create(d.prototype)).constructor=d,(f.prototype=Object.create(s.prototype)).constructor=f,a},void 0===(o="function"===typeof n?n.apply(t,r):n)||(e.exports=o)},888:function(e,t,n){"use strict";var r=n(9047);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4463:function(e,t,n){"use strict";var r=n(2791),o=n(5296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function N(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=R&&e[R]||e["@@iterator"])?e:null}var I,D=Object.assign;function z(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var L=!1;function B(e,t){if(!e||L)return"";L=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function F(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case E:return"Profiler";case j:return"StrictMode";case Z:return"Suspense";case _:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===j?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,je=null;function Ee(e){if(e=xo(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Oe(e){ke?je?je.push(e):je=[e]:ke=e}function Ce(){if(ke){var e=ke,t=je;if(je=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Ze(){}var _e=!1;function Te(e,t,n){if(_e)return e(t,n);_e=!0;try{return Pe(e,t,n)}finally{_e=!1,(null!==ke||null!==je)&&(Ze(),Ce())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Ae=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Ae=!1}function Ne(e,t,n,r,o,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ie=!1,De=null,ze=!1,Le=null,Be={onError:function(e){Ie=!0,De=e}};function Fe(e,t,n,r,o,i,a,l,s){Ie=!1,De=null,Ne.apply(Be,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(We(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var Ye=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,$e=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Xe=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,St,kt,jt,Et,Ot=!1,Ct=[],Pt=null,Zt=null,_t=null,Tt=new Map,Mt=new Map,At=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Zt=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function It(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=bo(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=$t(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Lt(e,t,n){zt(e)&&n.delete(t)}function Bt(){Ot=!1,null!==Pt&&zt(Pt)&&(Pt=null),null!==Zt&&zt(Zt)&&(Zt=null),null!==_t&&zt(_t)&&(_t=null),Tt.forEach(Lt),Mt.forEach(Lt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Wt(e){function t(t){return Ft(t,e)}if(0<Ct.length){Ft(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Ft(Pt,e),null!==Zt&&Ft(Zt,e),null!==_t&&Ft(_t,e),Tt.forEach(t),Mt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Dt(n),null===n.blockedOn&&At.shift()}var Ut=x.ReactCurrentBatchConfig,qt=!0;function Ht(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=1,Yt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Vt(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=4,Yt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Yt(e,t,n,r){if(qt){var o=$t(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),Nt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pt=It(Pt,e,t,n,r,o),!0;case"dragenter":return Zt=It(Zt,e,t,n,r,o),!0;case"mouseover":return _t=It(_t,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Tt.set(i,It(Tt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,It(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=$t(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function $t(e,t,n,r){if(Gt=null,null!==(e=bo(e=we(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=D({},cn,{view:0,detail:0}),fn=on(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(D({},pn,{dataTransfer:0})),vn=on(D({},dn,{relatedTarget:0})),gn=on(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(D({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return jn}var On=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=on(On),Pn=on(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=on(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),_n=on(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Tn),An=[9,13,27,32],Rn=u&&"CompositionEvent"in window,Nn=null;u&&"documentMode"in document&&(Nn=document.documentMode);var In=u&&"TextEvent"in window&&!Nn,Dn=u&&(!Rn||Nn&&8<Nn&&11>=Nn),zn=String.fromCharCode(32),Ln=!1;function Bn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Oe(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Yn=null;function Gn(e){zr(e,0)}function $n(e){if(Y(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Xn=!1;if(u){var Qn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Yn=Vn=null)}function nr(e){if("value"===e.propertyName&&$n(Yn)){var t=[];Hn(t,Yn,e,we(e)),Te(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $n(Yn)}function ir(e,t){if("click"===e)return $n(t)}function ar(e,t){if("input"===e||"change"===e)return $n(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Vr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},kr={},jr={};function Er(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in jr)return kr[e]=n[t];return e}u&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Er("animationend"),Cr=Er("animationiteration"),Pr=Er("animationstart"),Zr=Er("transitionend"),_r=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){_r.set(e,t),s(t,[e])}for(var Ar=0;Ar<Tr.length;Ar++){var Rr=Tr[Ar];Mr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Mr(Or,"onAnimationEnd"),Mr(Cr,"onAnimationIteration"),Mr(Pr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Zr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,c){if(Fe.apply(this,arguments),Ie){if(!Ie)throw Error(i(198));var u=De;Ie=!1,De=null,ze||(ze=!0,Le=u)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Dr(o,l,c),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,c=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Dr(o,l,c),i=s}}}if(ze)throw e=Le,ze=!1,Le=null,e}function Lr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Fr]){e[Fr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Fr]||(t[Fr]=!0,Br("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Kt(t)){case 1:var o=Ht;break;case 4:o=Vt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Te((function(){var r=i,o=we(n),a=[];e:{var l=_r.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Cn;break;case"focusin":c="focus",s=vn;break;case"focusout":c="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Zn;break;case Or:case Cr:case Pr:s=gn;break;case Zr:s=_n;break;case"scroll":s=fn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pn}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==l?l+"Capture":null:l;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Me(h,f))&&u.push(Hr(h,m,p)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),a.push({event:l,listeners:u}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=We(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==c?l:wo(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,bo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(f=c,h=0,p=u=s;p;p=Yr(p))h++;for(p=0,m=f;m;m=Yr(m))p++;for(;0<h-p;)u=Yr(u),h--;for(;0<p-h;)f=Yr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Yr(u),f=Yr(f)}u=null}else u=null;null!==s&&Gr(a,l,s,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Kn;else if(qn(l))if(Xn)v=ar;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?Hn(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(qn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Dn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(y=en()):(Qt="value"in(Xt=o)?Xt.value:Xt.textContent,Wn=!0)),0<(g=Vr(r,b)).length&&(b=new xn(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Fn(n))&&(b.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return Fn(t);case"keypress":return 32!==t.which?null:(Ln=!0,zn);case"textInput":return(e=t.data)===zn&&Ln?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Qt=Xt=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}zr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Me(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Me(n,i))&&a.unshift(Hr(n,s,l)):o||null!=(s=Me(n,i))&&a.push(Hr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var $r=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace($r,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Wt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function So(e){return e[ho]||null}var ko=[],jo=-1;function Eo(e){return{current:e}}function Oo(e){0>jo||(e.current=ko[jo],ko[jo]=null,jo--)}function Co(e,t){jo++,ko[jo]=e.current,e.current=t}var Po={},Zo=Eo(Po),_o=Eo(!1),To=Po;function Mo(e,t){var n=e.type.contextTypes;if(!n)return Po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ro(){Oo(_o),Oo(Zo)}function No(e,t,n){if(Zo.current!==Po)throw Error(i(168));Co(Zo,t),Co(_o,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return D({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,To=Zo.current,Co(Zo,e),Co(_o,_o.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Io(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Oo(_o),Oo(Zo),Co(Zo,e)):Oo(_o),Co(_o,n)}var Lo=null,Bo=!1,Fo=!1;function Wo(e){null===Lo?Lo=[e]:Lo.push(e)}function Uo(){if(!Fo&&null!==Lo){Fo=!0;var e=0,t=bt;try{var n=Lo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Lo=null,Bo=!1}catch(o){throw null!==Lo&&(Lo=Lo.slice(e+1)),Ye(Je,Uo),o}finally{bt=t,Fo=!1}}return null}var qo=[],Ho=0,Vo=null,Yo=0,Go=[],$o=0,Ko=null,Xo=1,Qo="";function Jo(e,t){qo[Ho++]=Yo,qo[Ho++]=Vo,Vo=e,Yo=t}function ei(e,t,n){Go[$o++]=Xo,Go[$o++]=Qo,Go[$o++]=Ko,Ko=e;var r=Xo;e=Qo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Qo=i+e}else Xo=1<<i|n<<o|r,Qo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Vo;)Vo=qo[--Ho],qo[Ho]=null,Yo=qo[--Ho],qo[Ho]=null;for(;e===Ko;)Ko=Go[--$o],Go[$o]=null,Qo=Go[--$o],Go[$o]=null,Xo=Go[--$o],Go[$o]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Mc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Xo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Mc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=x.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Eo(null),bi=null,xi=null,wi=null;function Si(){wi=xi=bi=null}function ki(e){var t=yi.current;Oo(yi),e._currentValue=t}function ji(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){bi=e,wi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Oi(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===bi)throw Error(i(308));xi=e,bi.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Ci=null;function Pi(e){null===Ci?Ci=[e]:Ci.push(e)}function Zi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,_i(e,r)}function _i(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ti=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ri(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ni(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Zs)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,_i(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,_i(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=D({},d,f);break e;case 2:Ti=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ds|=a,e.lanes=a,e.memoizedState=d}}function Li(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Bi=(new r.Component).refs;function Fi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wi={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ri(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ni(e,i,o))&&(rc(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ri(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ni(e,i,o))&&(rc(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Ri(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ni(e,o,r))&&(rc(t,e,r,n),Ii(t,e,r))}};function Ui(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function qi(e,t,n){var r=!1,o=Po,i=t.contextType;return"object"===typeof i&&null!==i?i=Oi(i):(o=Ao(t)?To:Zo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Mo(e,o):Po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wi.enqueueReplaceState(t,t.state,null)}function Vi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Bi,Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Oi(i):(i=Ao(t)?To:Zo.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Fi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Wi.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Yi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Bi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $i(e){return(0,e._init)(e._payload)}function Ki(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=zc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===M&&$i(i)===t.type)?((r=o(t,n.props)).ref=Yi(e,t,n),r.return=e,r):((r=Nc(n.type,n.key,n.props,null,e.mode,r)).ref=Yi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Nc(t.type,t.key,t.props,null,e.mode,n)).ref=Yi(e,null,t),n.return=e,n;case S:return(t=Lc(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Ic(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case S:return n.key===o?u(e,t,n,r):null;case M:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||N(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function m(o,i,l,s){for(var c=null,u=null,d=i,m=i=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===l.length)return n(o,d),ii&&Jo(o,m),c;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,m),c}for(d=r(o,d);m<l.length;m++)null!==(v=h(d,o,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}function v(o,l,s,c){var u=N(s);if("function"!==typeof u)throw Error(i(150));if(null==(s=u.call(s)))throw Error(i(151));for(var d=u=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),ii&&Jo(o,v),u;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,c))&&(l=a(y,l,v),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,v),u}for(m=r(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=a(y,l,v),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),u}return function e(r,i,a,s){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===k){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===M&&$i(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Yi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===k?((i=Ic(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Nc(a.type,a.key,a.props,null,r.mode,s)).ref=Yi(r,i,a),s.return=r,r=s)}return l(r);case S:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Lc(a,r.mode,s)).return=r,r=i}return l(r);case M:return e(r,i,(u=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(N(a))return v(r,i,a,s);Gi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zc(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Xi=Ki(!0),Qi=Ki(!1),Ji={},ea=Eo(Ji),ta=Eo(Ji),na=Eo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Co(na,t),Co(ta,e),Co(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ea),Co(ea,t)}function ia(){Oo(ea),Oo(ta),Oo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Co(ta,e),Co(ea,n))}function la(e){ta.current===e&&(Oo(ea),Oo(ta))}var sa=Eo(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var fa=x.ReactCurrentDispatcher,pa=x.ReactCurrentBatchConfig,ha=0,ma=null,va=null,ga=null,ya=!1,ba=!1,xa=0,wa=0;function Sa(){throw Error(i(321))}function ka(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ja(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),ba){a=0;do{if(ba=!1,xa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,fa.current=cl,e=n(r,o)}while(ba)}if(fa.current=al,t=null!==va&&null!==va.next,ha=0,ga=va=ma=null,ya=!1,t)throw Error(i(300));return e}function Ea(){var e=0!==xa;return xa=0,e}function Oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=e:ga=ga.next=e,ga}function Ca(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ma.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=e:ga=ga.next=e}return ga}function Pa(e,t){return"function"===typeof t?t(e):t}function Za(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,c=null,u=a;do{var d=u.lane;if((ha&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=f,l=r):c=c.next=f,ma.lanes|=d,Ds|=d}u=u.next}while(null!==u&&u!==a);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Ds|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _a(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(xl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function Ma(e,t){var n=ma,r=Ca(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,xl=!0),r=r.queue,qa(Na.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,La(9,Ra.bind(null,n,r,o,t),void 0,null),null===_s)throw Error(i(349));0!==(30&ha)||Aa(n,t,o)}return o}function Aa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&Da(e)}function Na(e,t,n){return n((function(){Ia(t)&&Da(e)}))}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Da(e){var t=_i(e,1);null!==t&&rc(t,e,1,-1)}function za(e){var t=Oa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ma,e),[t.memoizedState,e]}function La(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ba(){return Ca().memoizedState}function Fa(e,t,n,r){var o=Oa();ma.flags|=e,o.memoizedState=La(1|t,n,void 0,void 0===r?null:r)}function Wa(e,t,n,r){var o=Ca();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&ka(r,a.deps))return void(o.memoizedState=La(t,n,i,r))}ma.flags|=e,o.memoizedState=La(1|t,n,i,r)}function Ua(e,t){return Fa(8390656,8,e,t)}function qa(e,t){return Wa(2048,8,e,t)}function Ha(e,t){return Wa(4,2,e,t)}function Va(e,t){return Wa(4,4,e,t)}function Ya(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ga(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Wa(4,4,Ya.bind(null,t,e),n)}function $a(){}function Ka(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),ma.lanes|=n,Ds|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function el(){return Ca().memoizedState}function tl(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Zi(e,t,n,r))){rc(n,e,r,tc()),il(n,t,r)}}function nl(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Pi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Zi(e,t,o,r))&&(rc(n,e,r,o=tc()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function ol(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Oi,useCallback:Sa,useContext:Sa,useEffect:Sa,useImperativeHandle:Sa,useInsertionEffect:Sa,useLayoutEffect:Sa,useMemo:Sa,useReducer:Sa,useRef:Sa,useState:Sa,useDebugValue:Sa,useDeferredValue:Sa,useTransition:Sa,useMutableSource:Sa,useSyncExternalStore:Sa,useId:Sa,unstable_isNewReconciler:!1},ll={readContext:Oi,useCallback:function(e,t){return Oa().memoizedState=[e,void 0===t?null:t],e},useContext:Oi,useEffect:Ua,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Fa(4194308,4,Ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=Oa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oa().memoizedState=e},useState:za,useDebugValue:$a,useDeferredValue:function(e){return Oa().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=Ja.bind(null,e[1]),Oa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=Oa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===_s)throw Error(i(349));0!==(30&ha)||Aa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ua(Na.bind(null,r,a,e),[e]),r.flags|=2048,La(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Oa(),t=_s.identifierPrefix;if(ii){var n=Qo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=xa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Oi,useCallback:Ka,useContext:Oi,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Va,useMemo:Xa,useReducer:Za,useRef:Ba,useState:function(){return Za(Pa)},useDebugValue:$a,useDeferredValue:function(e){return Qa(Ca(),va.memoizedState,e)},useTransition:function(){return[Za(Pa)[0],Ca().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1},cl={readContext:Oi,useCallback:Ka,useContext:Oi,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Va,useMemo:Xa,useReducer:_a,useRef:Ba,useState:function(){return _a(Pa)},useDebugValue:$a,useDeferredValue:function(e){var t=Ca();return null===va?t.memoizedState=e:Qa(t,va.memoizedState,e)},useTransition:function(){return[_a(Pa)[0],Ca().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Ri(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Vs=r),fl(0,t)},n}function ml(e,t,n){(n=Ri(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===Ys?Ys=new Set([this]):Ys.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Oc.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ri(-1,1)).tag=2,Ni(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=x.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Qi(t,null,n,r):Xi(t,e.child,n,r)}function Sl(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=ja(e,t,n,r,i,o),n=Ea(),null===e||xl?(ii&&n&&ti(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function kl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ac(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,jl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Rc(i,r)).ref=t.ref,e.return=t,t.child=e}function jl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!==(131072&e.flags)&&(xl=!0)}}return Cl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(Rs,As),As|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(Rs,As),As|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Co(Rs,As),As|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Co(Rs,As),As|=r;return wl(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cl(e,t,n,r,o){var i=Ao(n)?To:Zo.current;return i=Mo(t,i),Ei(t,o),n=ja(e,t,n,r,i,o),r=Ea(),null===e||xl?(ii&&r&&ti(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Pl(e,t,n,r,o){if(Ao(n)){var i=!0;Do(t)}else i=!1;if(Ei(t,o),null===t.stateNode)ql(e,t),qi(t,n,r),Vi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Oi(c):c=Mo(t,c=Ao(n)?To:Zo.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==c)&&Hi(t,a,r,c),Ti=!1;var f=t.memoizedState;a.state=f,zi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||_o.current||Ti?("function"===typeof u&&(Fi(t,n,u,r),s=t.memoizedState),(l=Ti||Ui(t,n,l,r,f,s,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ai(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:gi(t.type,l),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Oi(s):s=Mo(t,s=Ao(n)?To:Zo.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Hi(t,a,r,s),Ti=!1,f=t.memoizedState,a.state=f,zi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||_o.current||Ti?("function"===typeof p&&(Fi(t,n,p,r),h=t.memoizedState),(c=Ti||Ui(t,n,c,r,f,h,s)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=c):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zl(e,t,n,r,i,o)}function Zl(e,t,n,r,o,i){Ol(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Hl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function _l(e){var t=e.stateNode;t.pendingContext?No(0,t.pendingContext,t.pendingContext!==t.context):t.context&&No(0,t.context,!1),oa(e,t.containerInfo)}function Tl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,wl(e,t,n,r),t.child}var Ml,Al,Rl,Nl,Il={dehydrated:null,treeContext:null,retryLane:0};function Dl(e){return{baseLanes:e,cachePool:null,transitions:null}}function zl(e,t,n){var r,o=t.pendingProps,a=sa.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Co(sa,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Dc(s,o,0,null),e=Ic(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Dl(n),t.memoizedState=Il,e):Ll(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Dc({mode:"visible",children:r.children},o,0,null),(a=Ic(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Xi(t,e.child,null,l),t.child.memoizedState=Dl(l),t.memoizedState=Il,a);if(0===(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),xl||s){if(null!==(r=_s)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,_i(e,o),rc(r,e,o,-1))}return vc(),Bl(e,t,l,r=dl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Pc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[$o++]=Xo,Go[$o++]=Qo,Go[$o++]=Ko,Xo=e.id,Qo=e.overflow,Ko=t),t=Ll(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Rc(r,l):(l=Ic(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Dl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Rc(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ll(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&mi(r),Xi(t,e.child,null,n),(e=Ll(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ji(e.return,t,n)}function Wl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),0!==(2&(r=sa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fl(e,n,t);else if(19===e.tag)Fl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Co(sa,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wl(t,!0,n,null,i);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ql(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ds|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yl(t),null;case 1:case 17:return Ao(t.type)&&Ro(),Yl(t),null;case 3:return r=t.stateNode,ia(),Oo(_o),Oo(Zo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(lc(ai),ai=null))),Al(e,t),Yl(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Yl(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(o=0;o<Nr.length;o++)Lr(Nr[o],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":K(r,a),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Lr("invalid",r);break;case"textarea":oe(r,a),Lr("invalid",r)}for(var s in ye(n,a),o=null,a)if(a.hasOwnProperty(s)){var c=a[s];"children"===s?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&Lr("scroll",r)}switch(n){case"input":V(r),J(r,a,!0);break;case"textarea":V(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ml(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),o=r;break;case"iframe":case"object":case"embed":Lr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Nr.length;o++)Lr(Nr[o],e);o=r;break;case"source":Lr("error",e),o=r;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),o=r;break;case"details":Lr("toggle",e),o=r;break;case"input":K(e,r),o=$(e,r),Lr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),Lr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Lr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ve(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Lr("scroll",e):null!=u&&b(e,a,u,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Yl(t),null;case 6:if(e&&null!=t.stateNode)Nl(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Qr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Yl(t),null;case 13:if(Oo(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),a=!1}else null!==ai&&(lc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&sa.current)?0===Ns&&(Ns=3):vc())),null!==t.updateQueue&&(t.flags|=4),Yl(t),null);case 4:return ia(),Al(e,t),null===e&&Wr(t.stateNode.containerInfo),Yl(t),null;case 10:return ki(t.type._context),Yl(t),null;case 19:if(Oo(sa),null===(a=t.memoizedState))return Yl(t),null;if(r=0!==(128&t.flags),null===(s=a.rendering))if(r)Vl(a,!1);else{if(0!==Ns||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ca(e))){for(t.flags|=128,Vl(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Co(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Us&&(t.flags|=128,r=!0,Vl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Yl(t),null}else 2*Xe()-a.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Vl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=sa.current,Co(sa,r?1&n|2:1&n),t):(Yl(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&As)&&(Yl(t),6&t.subtreeFlags&&(t.flags|=8192)):Yl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function $l(e,t){switch(ni(t),t.tag){case 1:return Ao(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Oo(_o),Oo(Zo),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Oo(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(sa),null;case 4:return ia(),null;case 10:return ki(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Al=function(){},Rl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=$(e,o),r=$(e,r),a=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var s=o[u];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Lr("scroll",e),a||s===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Nl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Xl=!1,Ql="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ec(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Ec(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ts(t,n,i)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Wt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&ts(n,t,a),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ec(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,ps(e,t,n),Xl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ql),t.forEach((function(t){var r=Zc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(i(160));hs(a,l,o),ds=null,fs=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Ec(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(v){Ec(e,e.return,v)}try{rs(5,e,e.return)}catch(v){Ec(e,e.return,v)}}break;case 1:vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){Ec(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===a.type&&null!=a.name&&X(o,a),be(s,l);var u=be(s,a);for(l=0;l<c.length;l+=2){var d=c[l],f=c[l+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(s){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(v){Ec(e,e.return,v)}}break;case 6:if(vs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(v){Ec(e,e.return,v)}}break;case 3:if(vs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(v){Ec(e,e.return,v)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Ws=Xe())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(u=Xl)||d,vs(t,e),Xl=u):vs(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Ec(r,n,v)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){Ss(f);continue}}null!==h?(h.return=p,Jl=h):Ss(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,s.style.display=me("display",l))}catch(v){Ec(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Ec(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cs(e,ss(e),a);break;default:throw Error(i(161))}}catch(l){Ec(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,xs(e,t,n)}function xs(e,t,n){for(var r=0!==(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Kl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Kl;var c=Xl;if(Kl=a,(Xl=s)&&!c)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?ks(o):null!==s?(s.return=a,Jl=s):ks(o);for(;null!==i;)Jl=i,xs(i,t,n),i=i.sibling;Jl=o,Kl=l,Xl=c}ws(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Jl=i):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Li(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Li(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(i(163))}Xl||512&t.flags&&is(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Ec(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Ec(t,o,s)}}var i=t.return;try{is(t)}catch(s){Ec(t,i,s)}break;case 5:var a=t.return;try{is(t)}catch(s){Ec(t,a,s)}}}catch(s){Ec(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var js,Es=Math.ceil,Os=x.ReactCurrentDispatcher,Cs=x.ReactCurrentOwner,Ps=x.ReactCurrentBatchConfig,Zs=0,_s=null,Ts=null,Ms=0,As=0,Rs=Eo(0),Ns=0,Is=null,Ds=0,zs=0,Ls=0,Bs=null,Fs=null,Ws=0,Us=1/0,qs=null,Hs=!1,Vs=null,Ys=null,Gs=!1,$s=null,Ks=0,Xs=0,Qs=null,Js=-1,ec=0;function tc(){return 0!==(6&Zs)?Xe():-1!==Js?Js:Js=Xe()}function nc(e){return 0===(1&e.mode)?1:0!==(2&Zs)&&0!==Ms?Ms&-Ms:null!==vi.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function rc(e,t,n,r){if(50<Xs)throw Xs=0,Qs=null,Error(i(185));gt(e,n,r),0!==(2&Zs)&&e===_s||(e===_s&&(0===(2&Zs)&&(zs|=n),4===Ns&&sc(e,Ms)),oc(e,r),1===n&&0===Zs&&0===(1&t.mode)&&(Us=Xe()+500,Bo&&Uo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===_s?Ms:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Bo=!0,Wo(e)}(cc.bind(null,e)):Wo(cc.bind(null,e)),ao((function(){0===(6&Zs)&&Uo()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=_c(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Js=-1,ec=0,0!==(6&Zs))throw Error(i(327));var n=e.callbackNode;if(kc()&&e.callbackNode!==n)return null;var r=ft(e,e===_s?Ms:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Zs;Zs|=2;var a=mc();for(_s===e&&Ms===t||(qs=null,Us=Xe()+500,pc(e,t));;)try{bc();break}catch(s){hc(e,s)}Si(),Os.current=a,Zs=o,null!==Ts?t=0:(_s=null,Ms=0,t=Ns)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ac(e,o))),1===t)throw n=Is,pc(e,0),sc(e,r),oc(e,Xe()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ac(e,a))),1===t))throw n=Is,pc(e,0),sc(e,r),oc(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Sc(e,Fs,qs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Ws+500-Xe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Sc.bind(null,e,Fs,qs),t);break}Sc(e,Fs,qs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ro(Sc.bind(null,e,Fs,qs),r);break}Sc(e,Fs,qs);break;default:throw Error(i(329))}}}return oc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fs,Fs=n,null!==t&&lc(t)),e}function lc(e){null===Fs?Fs=e:Fs.push.apply(Fs,e)}function sc(e,t){for(t&=~Ls,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&Zs))throw Error(i(327));kc();var t=ft(e,0);if(0===(1&t))return oc(e,Xe()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Is,pc(e,0),sc(e,t),oc(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sc(e,Fs,qs),oc(e,Xe()),null}function uc(e,t){var n=Zs;Zs|=1;try{return e(t)}finally{0===(Zs=n)&&(Us=Xe()+500,Bo&&Uo())}}function dc(e){null!==$s&&0===$s.tag&&0===(6&Zs)&&kc();var t=Zs;Zs|=1;var n=Ps.transition,r=bt;try{if(Ps.transition=null,bt=1,e)return e()}finally{bt=r,Ps.transition=n,0===(6&(Zs=t))&&Uo()}}function fc(){As=Rs.current,Oo(Rs)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ts)for(n=Ts.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ro();break;case 3:ia(),Oo(_o),Oo(Zo),da();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:Oo(sa);break;case 10:ki(r.type._context);break;case 22:case 23:fc()}n=n.return}if(_s=e,Ts=e=Rc(e.current,null),Ms=As=t,Ns=0,Is=null,Ls=zs=Ds=0,Fs=Bs=null,null!==Ci){for(t=0;t<Ci.length;t++)if(null!==(r=(n=Ci[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ci=null}return e}function hc(e,t){for(;;){var n=Ts;try{if(Si(),fa.current=al,ya){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(ha=0,ga=va=ma=null,ba=!1,xa=0,Cs.current=null,null===n||null===n.return){Ns=1,Is=t,Ts=null;break}e:{var a=e,l=n.return,s=n,c=t;if(t=Ms,s.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(a,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(c),t.updateQueue=v}else m.add(c);break e}if(0===(1&t)){vl(a,u,t),vc();break e}c=Error(i(426))}else if(ii&&1&s.mode){var g=gl(l);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),mi(ul(c,s));break e}}a=c=ul(c,s),4!==Ns&&(Ns=2),null===Bs?Bs=[a]:Bs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Di(a,hl(0,c,t));break e;case 1:s=c;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ys||!Ys.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Di(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}wc(n)}catch(x){t=x,Ts===n&&null!==n&&(Ts=n=n.return);continue}break}}function mc(){var e=Os.current;return Os.current=al,null===e?al:e}function vc(){0!==Ns&&3!==Ns&&2!==Ns||(Ns=4),null===_s||0===(268435455&Ds)&&0===(268435455&zs)||sc(_s,Ms)}function gc(e,t){var n=Zs;Zs|=2;var r=mc();for(_s===e&&Ms===t||(qs=null,pc(e,t));;)try{yc();break}catch(o){hc(e,o)}if(Si(),Zs=n,Os.current=r,null!==Ts)throw Error(i(261));return _s=null,Ms=0,Ns}function yc(){for(;null!==Ts;)xc(Ts)}function bc(){for(;null!==Ts&&!$e();)xc(Ts)}function xc(e){var t=js(e.alternate,e,As);e.memoizedProps=e.pendingProps,null===t?wc(e):Ts=t,Cs.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Gl(n,t,As)))return void(Ts=n)}else{if(null!==(n=$l(n,t)))return n.flags&=32767,void(Ts=n);if(null===e)return Ns=6,void(Ts=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ts=t);Ts=t=e}while(null!==t);0===Ns&&(Ns=5)}function Sc(e,t,n){var r=bt,o=Ps.transition;try{Ps.transition=null,bt=1,function(e,t,n,r){do{kc()}while(null!==$s);if(0!==(6&Zs))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===_s&&(Ts=_s=null,Ms=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gs||(Gs=!0,_c(tt,(function(){return kc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Ps.transition,Ps.transition=null;var l=bt;bt=1;var s=Zs;Zs|=4,Cs.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(c=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=l),p===a&&++d===r&&(c=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(w){Ec(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),gs(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,bs(n,e,o),Ke(),Zs=s,bt=l,Ps.transition=a}else e.current=n;if(Gs&&(Gs=!1,$s=e,Ks=o),a=e.pendingLanes,0===a&&(Ys=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Hs)throw Hs=!1,e=Vs,Vs=null,e;0!==(1&Ks)&&0!==e.tag&&kc(),a=e.pendingLanes,0!==(1&a)?e===Qs?Xs++:(Xs=0,Qs=e):Xs=0,Uo()}(e,t,n,r)}finally{Ps.transition=o,bt=r}return null}function kc(){if(null!==$s){var e=xt(Ks),t=Ps.transition,n=bt;try{if(Ps.transition=null,bt=16>e?16:e,null===$s)var r=!1;else{if(e=$s,$s=null,Ks=0,0!==(6&Zs))throw Error(i(331));var o=Zs;for(Zs|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!==(16&Jl.flags)){var s=a.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(as(d),d===u){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=a}}if(0!==(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!==(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var x=(l=Jl).child;if(0!==(2064&l.subtreeFlags)&&null!==x)x.return=l,Jl=x;else e:for(l=b;null!==Jl;){if(0!==(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(S){Ec(s,s.return,S)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Zs=o,Uo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(S){}r=!0}return r}finally{bt=n,Ps.transition=t}}return!1}function jc(e,t,n){e=Ni(e,t=hl(0,t=ul(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Ec(e,t,n){if(3===e.tag)jc(e,e,n);else for(;null!==t;){if(3===t.tag){jc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ys||!Ys.has(r))){t=Ni(t,e=ml(t,e=ul(n,e),1),1),e=tc(),null!==t&&(gt(t,1,e),oc(t,e));break}}t=t.return}}function Oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,_s===e&&(Ms&n)===n&&(4===Ns||3===Ns&&(130023424&Ms)===Ms&&500>Xe()-Ws?pc(e,0):Ls|=n),oc(e,t)}function Cc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=_i(e,t))&&(gt(e,t,n),oc(e,n))}function Pc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Zc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cc(e,n)}function _c(e,t){return Ye(e,t)}function Tc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mc(e,t,n,r){return new Tc(e,t,n,r)}function Ac(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Mc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nc(e,t,n,r,o,a){var l=2;if(r=e,"function"===typeof e)Ac(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case k:return Ic(n.children,o,a,t);case j:l=8,o|=8;break;case E:return(e=Mc(12,n,t,2|o)).elementType=E,e.lanes=a,e;case Z:return(e=Mc(13,n,t,o)).elementType=Z,e.lanes=a,e;case _:return(e=Mc(19,n,t,o)).elementType=_,e.lanes=a,e;case A:return Dc(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:l=10;break e;case C:l=9;break e;case P:l=11;break e;case T:l=14;break e;case M:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Mc(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ic(e,t,n,r){return(e=Mc(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Mc(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function zc(e,t,n){return(e=Mc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return(t=Mc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,o,i,a,l,s){return e=new Bc(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Mc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function Wc(e){if(!e)return Po;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ao(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ao(n))return Io(e,n,t)}return t}function Uc(e,t,n,r,o,i,a,l,s){return(e=Fc(n,r,!0,e,0,i,0,l,s)).context=Wc(null),n=e.current,(i=Ri(r=tc(),o=nc(n))).callback=void 0!==t&&null!==t?t:null,Ni(n,i,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function qc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Wc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ri(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ni(o,t,a))&&(rc(e,o,a,i),Ii(e,o,a)),a}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}js=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||_o.current)xl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:_l(t),hi();break;case 5:aa(t);break;case 1:Ao(t.type)&&Do(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Co(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Co(sa,1&sa.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zl(e,t,n):(Co(sa,1&sa.current),null!==(e=Hl(e,t,n))?e.sibling:null);Co(sa,1&sa.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Hl(e,t,n)}(e,t,n);xl=0!==(131072&e.flags)}else xl=!1,ii&&0!==(1048576&t.flags)&&ei(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ql(e,t),e=t.pendingProps;var o=Mo(t,Zo.current);Ei(t,n),o=ja(null,t,r,e,o,n);var a=Ea();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ao(r)?(a=!0,Do(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=Wi,t.stateNode=o,o._reactInternals=t,Vi(t,r,e,n),t=Zl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ql(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ac(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===T)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Cl(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Cl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Pl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(_l(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ai(e,t),zi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tl(e,t,r,n,o=ul(Error(i(423)),t));break e}if(r!==o){t=Tl(e,t,r,n,o=ul(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Qi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Ol(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ui(t),null;case 13:return zl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Co(yi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!_o.current){t=Hl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ri(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),ji(a.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ji(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ei(t,n),r=r(o=Oi(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),kl(e,t,r,o=gi(r.type,o),n);case 15:return jl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),ql(e,t),t.tag=1,Ao(r)?(e=!0,Do(t)):e=!1,Ei(t,n),qi(t,r,o),Vi(t,r,o,n),Zl(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return El(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"===typeof reportError?reportError:function(e){console.error(e)};function $c(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var l=o;o=function(){var e=Hc(a);l.call(e)}}qc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Hc(a);i.call(e)}}var a=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[mo]=a.current,Wr(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=Hc(s);l.call(e)}}var s=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[mo]=s.current,Wr(8===e.nodeType?e.parentNode:e),dc((function(){qc(t,s,n,r)})),s}(n,t,e,o,r);return Hc(a)}Kc.prototype.render=$c.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));qc(e,t,null,null)},Kc.prototype.unmount=$c.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){qc(null,e,null,null)})),t[mo]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Xe()),0===(6&Zs)&&(Us=Xe()+500,Uo()))}break;case 13:dc((function(){var t=_i(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Yc(e,1)}},St=function(e){if(13===e.tag){var t=_i(e,134217728);if(null!==t)rc(t,e,134217728,tc());Yc(e,134217728)}},kt=function(e){if(13===e.tag){var t=nc(e),n=_i(e,t);if(null!==n)rc(n,e,t,tc());Yc(e,t)}},jt=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(i(90));Y(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uc,Ze=dc;var tu={usingClientEntryPoint:!1,Events:[xo,wo,So,Oe,Ce,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Wr(8===e.nodeType?e.parentNode:e),new $c(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Gc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,a,l),e[mo]=t.current,Wr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},8459:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},6900:function(e,t,n){"use strict";n(8459)},6374:function(e,t,n){"use strict";var r=n(2791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:l.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!j.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:k.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function P(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function Z(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+P(s,0):i,w(a)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),Z(a,t,o,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",w(e))for(var c=0;c<e.length;c++){var u=i+P(l=e[c],c);s+=Z(l,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=Z(l=l.value,t,o,u=i+P(l,c++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function _(e,t,n){if(null==e)return e;var r=[],o=0;return Z(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},A={transition:null},R={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:A,ReactCurrentOwner:k};t.Children={map:_,forEach:function(e,t,n){_(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!j.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},9609:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.isFragment=function(e){return w(e)===i}},8493:function(e,t,n){"use strict";e.exports=n(9609)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>i(s,n))c<o&&0>i(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(v=!1,x(e),!m)if(null!==r(c))m=!0,A(S);else{var t=r(u);null!==t&&R(w,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,y(O),O=-1),h=!0;var i=p;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!Z());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(c)&&o(c),x(n)}else o(c);f=r(c)}if(null!==f)var s=!0;else{var d=r(u);null!==d&&R(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,j=!1,E=null,O=-1,C=5,P=-1;function Z(){return!(t.unstable_now()-P<C)}function _(){if(null!==E){var e=t.unstable_now();P=e;var n=!0;try{n=E(!0,e)}finally{n?k():(j=!1,E=null)}}else j=!1}if("function"===typeof b)k=function(){b(_)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,M=T.port2;T.port1.onmessage=_,k=function(){M.postMessage(null)}}else k=function(){g(_,0)};function A(e){E=e,j||(j=!0,k())}function R(e,n){O=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,A(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(v?(y(O),O=-1):v=!0,R(w,i-a))):(e.sortIndex=l,n(c,e),m||h||(m=!0,A(S))),e},t.unstable_shouldYield=Z,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},1561:function(e,t,n){"use strict";var r=n(2791);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},7595:function(e,t,n){"use strict";var r=n(2791),o=n(7248);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!s){if(s=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return l=t}return l=e}if(t=l,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,l=n)}var a,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},7248:function(e,t,n){"use strict";e.exports=n(1561)},327:function(e,t,n){"use strict";e.exports=n(7595)},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878);var o=n(181),i=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(u){c=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907);var o=n(9199),i=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},3733:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".b325c508.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="quizzapp:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var l,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+i),l.src=r),e[r]=[o];var f=function(t,n){l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),l=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],l=r[1],s=r[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(s)s(n)}for(t&&t(r);c<a.length;c++)i=a[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkquizzapp=self.webpackChunkquizzapp||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{scaleBand:function(){return kZ},scaleDiverging:function(){return aN},scaleDivergingLog:function(){return lN},scaleDivergingPow:function(){return cN},scaleDivergingSqrt:function(){return uN},scaleDivergingSymlog:function(){return sN},scaleIdentity:function(){return KT},scaleImplicit:function(){return wZ},scaleLinear:function(){return $T},scaleLog:function(){return iM},scaleOrdinal:function(){return SZ},scalePoint:function(){return EZ},scalePow:function(){return hM},scaleQuantile:function(){return OM},scaleQuantize:function(){return CM},scaleRadial:function(){return gM},scaleSequential:function(){return JR},scaleSequentialLog:function(){return eN},scaleSequentialPow:function(){return nN},scaleSequentialQuantile:function(){return oN},scaleSequentialSqrt:function(){return rN},scaleSequentialSymlog:function(){return tN},scaleSqrt:function(){return mM},scaleSymlog:function(){return cM},scaleThreshold:function(){return PM},scaleTime:function(){return $R},scaleUtc:function(){return KR},tickFormat:function(){return YT}});var t=n(2791),r=n.t(t,2),o=n(1250),i=n(7248),a=n(327),l=n(4164);var s=function(e){e()},c=function(){return s},u=n(4942),d=Symbol.for("react-redux-context"),f="undefined"!==typeof globalThis?globalThis:{};function p(){var e;if(!t.createContext)return{};var n=null!=(e=f[d])?e:f[d]=new Map,r=n.get(t.createContext);return r||(r=t.createContext(null),n.set(t.createContext,r)),r}var h=p();function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h;return function(){return(0,t.useContext)(e)}}var v=m(),g=function(){throw new Error("uSES not initialized!")},y=function(e,t){return e===t};function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,n=e===h?v:m(e);return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="function"===typeof r?{equalityFn:r}:r,i=o.equalityFn,a=void 0===i?y:i,l=o.stabilityCheck,s=void 0===l?void 0:l;o.noopCheck;var c=n(),d=c.store,f=c.subscription,p=c.getServerState,h=c.stabilityCheck,m=(c.noopCheck,(0,t.useRef)(!0),(0,t.useCallback)((0,u.Z)({},e.name,(function(t){return e(t)}))[e.name],[e,h,s])),v=g(f.addNestedSub,d.getState,p||d.getState,m,a);return(0,t.useDebugValue)(v),v}}var x=b();n(2110),n(6900);var w={notify:function(){},get:function(){return[]}};function S(e,t){var n,r=w,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function l(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){var e=c(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=w)}var u={addNestedSub:function(e){l();var t=r.subscribe(e),n=!1;return function(){n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,l())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:function(){return r}};return u}var k=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?t.useLayoutEffect:t.useEffect;var j=function(e){var n=e.store,r=e.context,o=e.children,i=e.serverState,a=e.stabilityCheck,l=void 0===a?"once":a,s=e.noopCheck,c=void 0===s?"once":s,u=t.useMemo((function(){var e=S(n);return{store:n,subscription:e,getServerState:i?function(){return i}:void 0,stabilityCheck:l,noopCheck:c}}),[n,i,l,c]),d=t.useMemo((function(){return n.getState()}),[n]);k((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),d!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[u,d]);var f=r||h;return t.createElement(f.Provider,{value:u},o)};function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=e===h?v:m(e);return function(){return t().store}}var O=E();function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=e===h?O:E(e);return function(){return t().dispatch}}var P,Z,_=C();P=a.useSyncExternalStoreWithSelector,g=P,function(e){e}(i.useSyncExternalStore),Z=l.unstable_batchedUpdates,s=Z;var T=n(3366);function M(e,t){if(null==e)return{};var n,r,o=(0,T.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var A=n(1002);function R(){R=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(P){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new E(o||[]);return r(a,"_invoke",{value:w(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=c;var d={};function f(){}function p(){}function h(){}var m={};s(m,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(O([])));g&&g!==t&&n.call(g,i)&&(m=g);var y=h.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,i,a,l){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==(0,A.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,l)}))}l(s.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=h,r(y,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(x.prototype),s(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function N(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function I(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){N(i,r,o,a,l,"next",e)}function l(e){N(i,r,o,a,l,"throw",e)}a(void 0)}))}}var D=n(9439);function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function B(e,t,n){return B=L()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&z(o,n.prototype),o},B.apply(null,arguments)}var F=n(3433);function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var U=n(9142);function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,U.Z)(r.key),r)}}function H(e,t,n){return t&&q(e.prototype,t),n&&q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}function G(){return G="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Y(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},G.apply(this,arguments)}function $(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}function K(e){var t=L();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,A.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V(e)}(this,n)}}function X(e){var t="function"===typeof Map?new Map:void 0;return X=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return B(e,arguments,Y(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),z(n,e)},X(e)}var Q=n(181);function J(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,Q.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=Symbol.for("immer-nothing"),re=Symbol.for("immer-draftable"),oe=Symbol.for("immer-state");function ie(e){throw new Error("[Immer] minified error nr: ".concat(e,". Full error at: https://bit.ly/3cXEKWf"))}var ae=Object.getPrototypeOf;function le(e){return!!e&&!!e[oe]}function se(e){var t;return!!e&&(ue(e)||Array.isArray(e)||!!e[re]||!(null===(t=e.constructor)||void 0===t||!t[re])||me(e)||ve(e))}var ce=Object.prototype.constructor.toString();function ue(e){if(!e||"object"!==typeof e)return!1;var t=ae(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===ce}function de(e,t){0===fe(e)?Object.entries(e).forEach((function(n){var r=(0,D.Z)(n,2),o=r[0],i=r[1];t(o,i,e)})):e.forEach((function(n,r){return t(r,n,e)}))}function fe(e){var t=e[oe];return t?t.type_:Array.isArray(e)?1:me(e)?2:ve(e)?3:0}function pe(e,t){return 2===fe(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function he(e,t,n){var r=fe(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function me(e){return e instanceof Map}function ve(e){return e instanceof Set}function ge(e){return e.copy_||e.base_}function ye(e,t){if(me(e))return new Map(e);if(ve(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ue(e)){if(!ae(e)){var n=Object.create(null);return Object.assign(n,e)}return te({},e)}var r=Object.getOwnPropertyDescriptors(e);delete r[oe];for(var o=Reflect.ownKeys(r),i=0;i<o.length;i++){var a=o[i],l=r[a];!1===l.writable&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(r[a]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[a]})}return Object.create(ae(e),r)}function be(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return we(e)||le(e)||!se(e)||(fe(e)>1&&(e.set=e.add=e.clear=e.delete=xe),Object.freeze(e),t&&de(e,(function(e,t){return be(t,!0)}))),e}function xe(){ie(2)}function we(e){return Object.isFrozen(e)}var Se,ke={};function je(e){var t=ke[e];return t||ie(0),t}function Ee(){return Se}function Oe(e,t){t&&(je("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ce(e){Pe(e),e.drafts_.forEach(_e),e.drafts_=null}function Pe(e){e===Se&&(Se=e.parent_)}function Ze(e){return Se={drafts_:[],parent_:Se,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _e(e){var t=e[oe];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Te(e,t){t.unfinalizedDrafts_=t.drafts_.length;var n=t.drafts_[0];return void 0!==e&&e!==n?(n[oe].modified_&&(Ce(t),ie(4)),se(e)&&(e=Me(t,e),t.parent_||Re(t,e)),t.patches_&&je("Patches").generateReplacementPatches_(n[oe].base_,e,t.patches_,t.inversePatches_)):e=Me(t,n,[]),Ce(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ne?e:void 0}function Me(e,t,n){if(we(t))return t;var r=t[oe];if(!r)return de(t,(function(o,i){return Ae(e,r,t,o,i,n)})),t;if(r.scope_!==e)return t;if(!r.modified_)return Re(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;var o=r.copy_,i=o,a=!1;3===r.type_&&(i=new Set(o),o.clear(),a=!0),de(i,(function(t,i){return Ae(e,r,o,t,i,n,a)})),Re(e,o,!1),n&&e.patches_&&je("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Ae(e,t,n,r,o,i,a){if(le(o)){var l=Me(e,o,i&&t&&3!==t.type_&&!pe(t.assigned_,r)?i.concat(r):void 0);if(he(n,r,l),!le(l))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(se(o)&&!we(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Me(e,o),t&&t.scope_.parent_||Re(e,o)}}function Re(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&be(t,n)}var Ne={get:function(e,t){if(t===oe)return e;var n=ge(e);if(!pe(n,t))return function(e,t,n){var r,o=ze(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.draft_):void 0}(e,n,t);var r=n[t];return e.finalized_||!se(r)?r:r===De(e.base_,t)?(Be(e),e.copy_[t]=We(r,e)):r},has:function(e,t){return t in ge(e)},ownKeys:function(e){return Reflect.ownKeys(ge(e))},set:function(e,t,n){var r,o,i=ze(ge(e),t);if(null!==i&&void 0!==i&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){var a=De(ge(e),t),l=null===a||void 0===a?void 0:a[oe];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((r=n)===(o=a)?0!==r||1/r===1/o:r!==r&&o!==o)&&(void 0!==n||pe(e.base_,t)))return!0;Be(e),Le(e)}return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:function(e,t){return void 0!==De(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,Be(e),Le(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ge(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){ie(11)},getPrototypeOf:function(e){return ae(e.base_)},setPrototypeOf:function(){ie(12)}},Ie={};function De(e,t){var n=e[oe];return(n?ge(n):e)[t]}function ze(e,t){if(t in e)for(var n=ae(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=ae(n)}}function Le(e){e.modified_||(e.modified_=!0,e.parent_&&Le(e.parent_))}function Be(e){e.copy_||(e.copy_=ye(e.base_,e.scope_.immer_.useStrictShallowCopy_))}de(Ne,(function(e,t){Ie[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ie.deleteProperty=function(e,t){return Ie.set.call(this,e,t,void 0)},Ie.set=function(e,t,n){return Ne.set.call(this,e[0],t,n,e[0])};var Fe=function(){function e(t){var n=this;W(this,e),this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=function(e,t,r){if("function"===typeof e&&"function"!==typeof t){var o=t;t=e;var i=n;return function(){for(var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,r=arguments.length,a=new Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(n,(function(n){var r;return(r=t).call.apply(r,[e,n].concat(a))}))}}var a;if("function"!==typeof t&&ie(6),void 0!==r&&"function"!==typeof r&&ie(7),se(e)){var l=Ze(n),s=We(e,void 0),c=!0;try{a=t(s),c=!1}finally{c?Ce(l):Pe(l)}return Oe(l,r),Te(a,l)}if(!e||"object"!==typeof e){if(void 0===(a=t(e))&&(a=e),a===ne&&(a=void 0),n.autoFreeze_&&be(a,!0),r){var u=[],d=[];je("Patches").generateReplacementPatches_(e,a,u,d),r(u,d)}return a}ie(1)},this.produceWithPatches=function(e,t){return"function"===typeof e?function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(o))}))}:[n.produce(e,t,(function(e,t){r=e,o=t})),r,o];var r,o},"boolean"===typeof(null===t||void 0===t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),"boolean"===typeof(null===t||void 0===t?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}return H(e,[{key:"createDraft",value:function(e){se(e)||ie(8),le(e)&&(e=Ue(e));var t=Ze(this),n=We(e,void 0);return n[oe].isManual_=!0,Pe(t),n}},{key:"finishDraft",value:function(e,t){var n=e&&e[oe];n&&n.isManual_||ie(9);var r=n.scope_;return Oe(r,t),Te(void 0,r)}},{key:"setAutoFreeze",value:function(e){this.autoFreeze_=e}},{key:"setUseStrictShallowCopy",value:function(e){this.useStrictShallowCopy_=e}},{key:"applyPatches",value:function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=je("Patches").applyPatches_;return le(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))}}]),e}();function We(e,t){var n=me(e)?je("MapSet").proxyMap_(e,t):ve(e)?je("MapSet").proxySet_(e,t):function(e,t){var n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Ee(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=r,i=Ne;n&&(o=[r],i=Ie);var a=Proxy.revocable(o,i),l=a.revoke,s=a.proxy;return r.draft_=s,r.revoke_=l,s}(e,t);return(t?t.scope_:Ee()).drafts_.push(n),n}function Ue(e){return le(e)||ie(10),qe(e)}function qe(e){if(!se(e)||we(e))return e;var t,n=e[oe];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,t=ye(e,n.scope_.immer_.useStrictShallowCopy_)}else t=ye(e,!0);return de(t,(function(e,n){he(t,e,qe(n))})),n&&(n.finalized_=!1),t}var He=new Fe,Ve=He.produce;He.produceWithPatches.bind(He),He.setAutoFreeze.bind(He),He.setUseStrictShallowCopy.bind(He),He.applyPatches.bind(He),He.createDraft.bind(He),He.finishDraft.bind(He);function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected a function, instead received ".concat(typeof e);if("function"!==typeof e)throw new TypeError(t)}var Ge=function(e){return Array.isArray(e)?e:[e]};function $e(e){var t=Array.isArray(e[0])?e[0]:e;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected all items to be functions, instead received the following types: ";if(!e.every((function(e){return"function"===typeof e}))){var n=e.map((function(e){return"function"===typeof e?"function ".concat(e.name||"unnamed","()"):typeof e})).join(", ");throw new TypeError("".concat(t,"[").concat(n,"]"))}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}Symbol(),Object.getPrototypeOf({});var Ke=function(){function e(t){W(this,e),this.value=t}return H(e,[{key:"deref",value:function(){return this.value}}]),e}(),Xe="undefined"!==typeof WeakRef?WeakRef:Ke,Qe=0,Je=1;function et(){return{s:Qe,v:void 0,o:null,p:null}}function tt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=et(),o=n.resultEqualityCheck,i=0;function a(){for(var n=r,a=0,l=arguments.length;a<l;a++){var s=arguments[a];if("function"===typeof s||"object"===typeof s&&null!==s){var c=n.o;null===c&&(n.o=c=new WeakMap);var u=c.get(s);void 0===u?(n=et(),c.set(s,n)):n=u}else{var d=n.p;null===d&&(n.p=d=new Map);var f=d.get(s);void 0===f?(n=et(),d.set(s,n)):n=f}}var p,h=n;if(n.s===Je?p=n.v:(p=e.apply(null,arguments),i++),h.s=Je,o){var m,v,g,y=null!==(m=null===(v=t)||void 0===v||null===(g=v.deref)||void 0===g?void 0:g.call(v))&&void 0!==m?m:t;null!=y&&o(y,p)&&(p=y,0!==i&&i--),t="object"===typeof p&&null!==p||"function"===typeof p?new Xe(p):p}return h.v=p,p}return a.clearCache=function(){r=et(),a.resetResultsCount()},a.resultsCount=function(){return i},a.resetResultsCount=function(){i=0},a}function nt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o="function"===typeof e?{memoize:e,memoizeOptions:n}:e,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=0,a=0,l={},s=t.pop();"object"===typeof s&&(l=s,s=t.pop()),Ye(s,"createSelector expects an output function after the inputs, but received: [".concat(typeof s,"]"));var c=te(te({},o),l),u=c.memoize,d=c.memoizeOptions,f=void 0===d?[]:d,p=c.argsMemoize,h=void 0===p?tt:p,m=c.argsMemoizeOptions,v=void 0===m?[]:m,g=(c.devModeChecks,Ge(f)),y=Ge(v),b=$e(t),x=u.apply(void 0,[function(){return i++,s.apply(null,arguments)}].concat((0,F.Z)(g))),w=h.apply(void 0,[function(){a++;var e=function(e,t){for(var n=[],r=e.length,o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(b,arguments);return r=x.apply(null,e)}].concat((0,F.Z)(y)));return Object.assign(w,{resultFunc:s,memoizedResultFunc:x,dependencies:b,dependencyRecomputations:function(){return a},resetDependencyRecomputations:function(){a=0},lastResult:function(){return r},recomputations:function(){return i},resetRecomputations:function(){i=0},memoize:u,argsMemoize:h})};return Object.assign(i,{withTypes:function(){return i}}),i}var rt=nt(tt),ot=Object.assign((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rt;!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected an object, instead received ".concat(typeof e);if("object"!==typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ".concat(typeof e));var n=Object.keys(e),r=t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}));return r}),{withTypes:function(){return ot}});function it(e){return"Minified Redux error #".concat(e,"; visit https://redux.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var at=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}(),lt=function(){return Math.random().toString(36).substring(7).split("").join(".")},st={INIT:"@@redux/INIT".concat(lt()),REPLACE:"@@redux/REPLACE".concat(lt()),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION".concat(lt())}};function ct(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function ut(e,t,n){if("function"!==typeof e)throw new Error(it(2));if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(it(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(it(1));return n(ut)(e,t)}var r=e,o=t,i=new Map,a=i,l=0,s=!1;function c(){a===i&&(a=new Map,i.forEach((function(e,t){a.set(t,e)})))}function d(){if(s)throw new Error(it(3));return o}function f(e){if("function"!==typeof e)throw new Error(it(4));if(s)throw new Error(it(5));var t=!0;c();var n=l++;return a.set(n,e),function(){if(t){if(s)throw new Error(it(6));t=!1,c(),a.delete(n),i=null}}}function p(e){if(!ct(e))throw new Error(it(7));if("undefined"===typeof e.type)throw new Error(it(8));if("string"!==typeof e.type)throw new Error(it(17));if(s)throw new Error(it(9));try{s=!0,o=r(o,e)}finally{s=!1}return(i=a).forEach((function(e){e()})),e}return p({type:st.INIT}),(0,u.Z)({dispatch:p,subscribe:f,getState:d,replaceReducer:function(e){if("function"!==typeof e)throw new Error(it(10));r=e,p({type:st.REPLACE})}},at,(function(){var e=f;return(0,u.Z)({subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(it(11));function n(){var e=t;e.next&&e.next(d())}return n(),{unsubscribe:e(n)}}},at,(function(){return this}))}))}function dt(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:st.INIT}))throw new Error(it(12));if("undefined"===typeof n(void 0,{type:st.PROBE_UNKNOWN_ACTION()}))throw new Error(it(13))}))}(n)}catch(l){i=l}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(i)throw i;for(var r=!1,o={},l=0;l<a.length;l++){var s=a[l],c=n[s],u=e[s],d=c(u,t);if("undefined"===typeof d){t&&t.type;throw new Error(it(14))}o[s]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?o:e}}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r){var o=e(n,r),i=function(){throw new Error(it(15))},a={getState:o.getState,dispatch:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i.apply(void 0,[e].concat(n))}},l=t.map((function(e){return e(a)}));return i=ft.apply(void 0,(0,F.Z)(l))(o.dispatch),te(te({},o),{},{dispatch:i})}}}function ht(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var mt=ht(),vt=ht,gt=["reducerPath"],yt=(function(){var e=nt.apply(void 0,arguments),t=Object.assign((function(){var t=e.apply(void 0,arguments),n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[le(e)?Ue(e):e].concat(r))};return Object.assign(n,t),n}),{withTypes:function(){return t}})}(tt),"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ft:ft.apply(null,arguments)}),bt=("undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,function(e){return e&&"function"===typeof e.match});function xt(e,t){function n(){if(t){var n=t.apply(void 0,arguments);if(!n)throw new Error(nn(0));return te(te({type:e,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=function(){return"".concat(e)},n.type=e,n.match=function(t){return function(e){return ct(e)&&"type"in e&&"string"===typeof e.type}(t)&&t.type===e},n}var wt=function(e,t){$(r,e);var n=K(r);function r(){var e;W(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=n.call.apply(n,[this].concat(o)),Object.setPrototypeOf(V(e),r.prototype),e}return H(r,[{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return G(Y(r.prototype),"concat",this).apply(this,t)}},{key:"prepend",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?B(r,(0,F.Z)(t[0].concat(this))):B(r,(0,F.Z)(t.concat(this)))}}],[{key:t,get:function(){return r}}]),r}(X(Array),Symbol.species);function St(e){return se(e)?Ve(e,(function(){})):e}function kt(e,t,n){if(e.has(t)){var r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(nn(10));var o=n.insert(t,e);return e.set(t,o),o}var jt=function(){return function(e){var t=null!==e&&void 0!==e?e:{},n=t.thunk,r=void 0===n||n,o=(t.immutableCheck,t.serializableCheck,t.actionCreatorCheck,new wt);return r&&("boolean"===typeof r?o.push(mt):o.push(vt(r.extraArgument))),o}},Et="RTK_autoBatch",Ot=function(e){return function(t){setTimeout(t,e)}},Ct="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Ot(10),Pt=function(e){return function(t){var n=(null!==t&&void 0!==t?t:{}).autoBatch,r=void 0===n||n,o=new wt(e);return r&&o.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return function(t){return function(){var n=t.apply(void 0,arguments),r=!0,o=!1,i=!1,a=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?Ct:"callback"===e.type?e.queueNotification:Ot(e.timeout),s=function(){i=!1,o&&(o=!1,a.forEach((function(e){return e()})))};return Object.assign({},n,{subscribe:function(e){var t=n.subscribe((function(){return r&&e()}));return a.add(e),function(){t(),a.delete(e)}},dispatch:function(e){try{var t;return r=!(null!==e&&void 0!==e&&null!==(t=e.meta)&&void 0!==t&&t[Et]),(o=!r)&&(i||(i=!0,l(s))),n.dispatch(e)}finally{r=!0}}})}}}("object"===typeof r?r:void 0)),o}},Zt=!0;function _t(e){var t,n,r=jt(),o=e||{},i=o.reducer,a=void 0===i?void 0:i,l=o.middleware,s=o.devTools,c=void 0===s||s,u=o.preloadedState,d=void 0===u?void 0:u,f=o.enhancers,p=void 0===f?void 0:f;if("function"===typeof a)t=a;else{if(!ct(a))throw new Error(nn(1));t=dt(a)}if(!Zt&&l&&"function"!==typeof l)throw new Error(nn(2));if("function"===typeof l){if(n=l(r),!Zt&&!Array.isArray(n))throw new Error(nn(3))}else n=r();if(!Zt&&n.some((function(e){return"function"!==typeof e})))throw new Error(nn(4));var h=ft;c&&(h=yt(te({trace:!Zt},"object"===typeof c&&c)));var m=pt.apply(void 0,(0,F.Z)(n)),v=Pt(m);if(!Zt&&p&&"function"!==typeof p)throw new Error(nn(5));var g="function"===typeof p?p(v):v();if(!Zt&&!Array.isArray(g))throw new Error(nn(6));if(!Zt&&g.some((function(e){return"function"!==typeof e})))throw new Error(nn(7));return Zt||!n.length||g.includes(m)||console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`"),ut(t,d,h.apply(void 0,(0,F.Z)(g)))}function Tt(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error(nn(28));if(r in n)throw new Error(nn(29));return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}var Mt=function(){for(var e="",t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;t--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e},At=function(e,t){return bt(e)?e.match(t):e(t)};function Rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.some((function(t){return At(t,e)}))}}var Nt=["name","message","stack","code"],It=H((function e(t,n){W(this,e),(0,u.Z)(this,"_type",void 0),this.payload=t,this.meta=n})),Dt=H((function e(t,n){W(this,e),(0,u.Z)(this,"_type",void 0),this.payload=t,this.meta=n})),zt=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=Nt;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}},Lt=function(){function e(e,t,n){var r=xt(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:te(te({},r||{}),{},{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=xt(e+"/pending",(function(e,t,n){return{payload:void 0,meta:te(te({},n||{}),{},{arg:t,requestId:e,requestStatus:"pending"})}})),i=xt(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||zt)(e||"Rejected"),meta:te(te({},i||{}),{},{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null===e||void 0===e?void 0:e.name),condition:"ConditionError"===(null===e||void 0===e?void 0:e.name)})}}));return Object.assign((function(e){return function(a,l,s){var c,u,d=null!==n&&void 0!==n&&n.idGenerator?n.idGenerator(e):Mt(),f=new AbortController;function p(e){u=e,f.abort()}var h=I(R().mark((function h(){var m,v,g,y,b;return R().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:if(h.prev=0,!Ft(y=null===n||void 0===n||null===(v=n.condition)||void 0===v?void 0:v.call(n,e,{getState:l,extra:s}))){h.next=6;break}return h.next=5,y;case 5:y=h.sent;case 6:if(!1!==y&&!f.signal.aborted){h.next=8;break}throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};case 8:return b=new Promise((function(e,t){c=function(){t({name:"AbortError",message:u||"Aborted"})},f.signal.addEventListener("abort",c)})),a(o(d,e,null===n||void 0===n||null===(g=n.getPendingMeta)||void 0===g?void 0:g.call(n,{requestId:d,arg:e},{getState:l,extra:s}))),h.next=12,Promise.race([b,Promise.resolve(t(e,{dispatch:a,getState:l,extra:s,requestId:d,signal:f.signal,abort:p,rejectWithValue:function(e,t){return new It(e,t)},fulfillWithValue:function(e,t){return new Dt(e,t)}})).then((function(t){if(t instanceof It)throw t;return t instanceof Dt?r(t.payload,d,e,t.meta):r(t,d,e)}))]);case 12:m=h.sent,h.next=18;break;case 15:h.prev=15,h.t0=h.catch(0),m=h.t0 instanceof It?i(null,d,e,h.t0.payload,h.t0.meta):i(h.t0,d,e);case 18:return h.prev=18,c&&f.signal.removeEventListener("abort",c),h.finish(18);case 21:return n&&!n.dispatchConditionRejection&&i.match(m)&&m.meta.condition||a(m),h.abrupt("return",m);case 24:case"end":return h.stop()}}),h,null,[[0,15,18,21]])})))();return Object.assign(h,{abort:p,requestId:d,arg:e,unwrap:function(){return h.then(Bt)}})}}),{pending:o,rejected:i,fulfilled:r,settled:Rt(i,r),typePrefix:e})}return e.withTypes=function(){return e},e}();function Bt(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ft(e){return null!==e&&"object"===typeof e&&"function"===typeof e.then}var Wt=Symbol.for("rtk-slice-createasyncthunk");(0,u.Z)({},Wt,Lt);function Ut(e,t){return"".concat(e,"/").concat(t)}function qt(e,t,n,r){function o(o){var i=t(o);"undefined"===typeof i&&r&&(i=n());for(var a=arguments.length,l=new Array(a>1?a-1:0),s=1;s<a;s++)l[s-1]=arguments[s];return e.apply(void 0,[i].concat(l))}return o.unwrapped=e,o}var Ht=function(){var e,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).creators,n=null===t||void 0===t||null===(e=t.asyncThunk)||void 0===e?void 0:e[Wt];return function(e){var t=e.name,r=e.reducerPath,o=void 0===r?t:r;if(!t)throw new Error(nn(11));var i=("function"===typeof e.reducers?e.reducers(function(){function e(e,t){return te({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=function(){return e},{reducer:function(e){return Object.assign((0,u.Z)({},e.name,(function(){return e.apply(void 0,arguments)}))[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer:function(e,t){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}},asyncThunk:e}}()):e.reducers)||{},a=Object.keys(i),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase:function(e,t){var n="string"===typeof e?e:e.type;if(!n)throw new Error(nn(12));if(n in l.sliceCaseReducersByType)throw new Error(nn(13));return l.sliceCaseReducersByType[n]=t,s},addMatcher:function(e,t){return l.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction:function(e,t){return l.actionCreators[e]=t,s},exposeCaseReducer:function(e,t){return l.sliceCaseReducersByName[e]=t,s}};function c(){var t="function"===typeof e.extraReducers?Tt(e.extraReducers):[e.extraReducers],n=(0,D.Z)(t,3),r=n[0],o=void 0===r?{}:r,i=n[1],a=void 0===i?[]:i,s=n[2],c=void 0===s?void 0:s,u=te(te({},o),l.sliceCaseReducersByType);return function(e,t){var n,r=Tt(t),o=(0,D.Z)(r,3),i=o[0],a=o[1],l=o[2];if("function"===typeof e)n=function(){return St(e())};else{var s=St(e);n=function(){return s}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n(),t=arguments.length>1?arguments[1]:void 0,r=[i[t.type]].concat((0,F.Z)(a.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer}))));return 0===r.filter((function(e){return!!e})).length&&(r=[l]),r.reduce((function(e,n){if(n){if(le(e)){var r=n(e,t);return void 0===r?e:r}if(se(e))return Ve(e,(function(e){return n(e,t)}));var o=n(e,t);if(void 0===o){if(null===e)return e;throw new Error(nn(9))}return o}return e}),e)}return c.getInitialState=n,c}(e.initialState,(function(e){for(var t in u)e.addCase(t,u[t]);var n,r=J(l.sliceMatchers);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.addMatcher(o.matcher,o.reducer)}}catch(f){r.e(f)}finally{r.f()}var i,s=J(a);try{for(s.s();!(i=s.n()).done;){var d=i.value;e.addMatcher(d.matcher,d.reducer)}}catch(f){s.e(f)}finally{s.f()}c&&e.addDefaultCase(c)}))}a.forEach((function(r){var o=i[r],a={reducerName:r,type:Ut(t,r),createNotation:"function"===typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function(e,t,n){var r,o,i=e.type,a=e.reducerName,l=e.createNotation;if("reducer"in t){if(l&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(t))throw new Error(nn(17));r=t.reducer,o=t.prepare}else r=t;n.addCase(i,r).exposeCaseReducer(a,r).exposeAction(a,o?xt(i,o):xt(i))}(a,o,s):function(e,t,n,r){var o=e.type,i=e.reducerName;if(!r)throw new Error(nn(18));var a=t.payloadCreator,l=t.fulfilled,s=t.pending,c=t.rejected,u=t.settled,d=t.options,f=r(o,a,d);n.exposeAction(i,f),l&&n.addCase(f.fulfilled,l);s&&n.addCase(f.pending,s);c&&n.addCase(f.rejected,c);u&&n.addMatcher(f.settled,u);n.exposeCaseReducer(i,{fulfilled:l||Vt,pending:s||Vt,rejected:c||Vt,settled:u||Vt})}(a,o,s,n)}));var d,f=function(e){return e},p=new Map;function h(e,t){return d||(d=c()),d(e,t)}function m(){return d||(d=c()),d.getInitialState()}function v(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function r(e){var r=e[t];return"undefined"===typeof r&&n&&(r=m()),r}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=kt(p,n,{insert:function(){return new WeakMap}});return kt(r,t,{insert:function(){for(var r={},o=0,i=Object.entries(null!==(a=e.selectors)&&void 0!==a?a:{});o<i.length;o++){var a,l=(0,D.Z)(i[o],2),s=l[0],c=l[1];r[s]=qt(c,t,m,n)}return r}})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}var g=te(te({name:t,reducer:h,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:m},v(o)),{},{injectInto:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.reducerPath,r=M(t,gt),i=null!==n&&void 0!==n?n:o;return e.inject({reducerPath:i,reducer:h},r),te(te({},g),v(i,!0))}});return g}}();function Vt(){}var Yt="listener",Gt="completed",$t="cancelled",Kt=("task-".concat($t),"task-".concat(Gt),"".concat(Yt,"-").concat($t),"".concat(Yt,"-").concat(Gt),function(e,t){if("function"!==typeof e)throw new Error(nn(32))});Object.assign;var Xt="listenerMiddleware",Qt=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,o=e.predicate,i=e.effect;if(t)o=xt(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(nn(21));return Kt(i),{predicate:o,type:t,effect:i}},Jt=Object.assign((function(e){var t=Qt(e),n=t.type,r=t.predicate,o=t.effect;return{id:Mt(),effect:o,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error(nn(22))}}}),{withTypes:function(){return Jt}}),en=Object.assign(xt("".concat(Xt,"/add")),{withTypes:function(){return en}}),tn=(xt("".concat(Xt,"/removeAll")),Object.assign(xt("".concat(Xt,"/remove")),{withTypes:function(){return tn}}));Symbol.for("rtk-state-proxy-original");function nn(e){return"Minified Redux Toolkit error #".concat(e,"; visit https://redux-toolkit.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var rn=Ht({name:"voucher",initialState:{allvouchers:[],voucher:{}},reducers:{GET_VOUCHER:function(e,t){e.allvouchers=t.payload},ADD_VOUCHER:function(e,t){e.allvouchers.push(t.payload)},UPDATE_VOUCHER:function(e,t){var n=t.payload,r=e.allvouchers.findIndex((function(e){return e.id===n.id}));-1!==r&&e.allvouchers.splice(r,1,n)},DELETE_VOUCHER:function(e,t){e.allvouchers.length>0&&(e.allvouchers=e.allvouchers.filter((function(e){return e.id!==t.payload.id})))}}}),on=rn.actions,an=rn.reducer,ln=Ht({name:"exam",initialState:{allExam:[],SingleExam:{},error:null,allSubmitExam:[]},reducers:{GET_EXAM:function(e,t){e.exam={},e.allExam=t.payload,e.error=null},GET_SUBMIT_EXAM:function(e,t){console.log("inside exam reducer:"),e.allSubmitExam=t.payload,e.error=null},GET_EXAM_ERROR:function(e,t){e.exam={},e.error=t.payload},ADD_EXAM:function(e,t){e.allExam.push(t.payload),e.exam={}},UPDATE_EXAM:function(e,t){var n=e.allExam.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allExam[n]=t.payload)},DELETE_EXAM:function(e,t){e.allExam=e.allExam.filter((function(e){return e.id!==t.payload}))},GET_SINGLE_EXAM:function(e,t){var n=e.allExam.findIndex((function(e){return e.id===t.payload}));-1!==n&&(e.SingleExam=e.allExam[n])}}}),sn=ln.actions,cn=ln.reducer,un=Ht({name:"login",initialState:{token:null},reducers:{LOGIN_SUCCESS:function(e,t){e.token=t.payload}}}),dn=un.actions,fn=un.reducer,pn=Ht({name:"user",initialState:{allUser:[],SingleUser:{},error:null,allBranch:[],loginUser:[]},reducers:{getBranch:function(e,t){e.allBranch=t.payload},getUser:function(e,t){e.SingleUser={},e.allUser=t.payload},getUserError:function(e,t){e.SingleUser={},e.error=t.payload},addUser:function(e,t){e.allUser.push(t.payload),e.SingleUser={}},updateUser:function(e,t){var n=e.allUser.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allUser[n]=t.payload)},deleteUser:function(e,t){e.allUser=e.allUser.filter((function(e){return e.id!==t.payload}))},GetSingleUser:function(e,t){var n=e.allUser.findIndex((function(e){return e.id===t.payload})),r=e.allUser[n];e.SingleUser=r},GetLogginUser:function(e,t){e.loginUser=t.payload}}}),hn=pn.actions,mn=pn.reducer,vn=Ht({name:"employee",initialState:{name:"employee",allEmployee:[],emp:{},error:[]},reducers:{getEmployee:function(e,t){e.allEmployee=t.payload},getEmployeeError:function(e,t){e.error=t.payload},addEmployee:function(e,t){e.allEmployee.push(t.payload)},updateEmployee:function(e,t){var n=e.allEmployee.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allEmployee[n]=t.payload)},deleteEmployee:function(e,t){e.allEmployee=e.allEmployee.filter((function(e){return e.id!==t.payload}))},singleEmployee:function(e,t){var n=e.allEmployee.findIndex((function(e){return e.id===t.payload}));e.emp=e.allEmployee[n]}}}),gn=vn.actions,yn=vn.reducer,bn=Ht({name:"feedback",initialState:{allFeedback:[],allBranch:[]},reducers:{getFeedback:function(e,t){e.allFeedback=t.payload},getBranch:function(e,t){e.allBranch=t.payload},postFeedback:function(e,t){e.allFeedback.push(t.payload)}}}),xn=bn.actions,wn=bn.reducer,Sn=Ht({name:"question",initialState:{allquestions:[],questions:{},error:null,examquestion:[]},reducers:{getQuestion:function(e,t){e.allquestions=t.payload},getStartExamQuestion:function(e,t){e.examquestion=t.payload},getQuestionError:function(e,t){e.error=t.payload},addQuestion:function(e,t){e.allquestions.push(t.payload)},addImage:function(e,t){e.allquestions.push(t.payload)},addCsvFile:function(e,t){var n,r=Array.isArray(t.payload)?t.payload:[];(n=e.allquestions).push.apply(n,(0,F.Z)(r))},updateQuestion:function(e,t){var n=t.payload;e.allquestions=e.allquestions.map((function(e){return e.id===n.id?n:e}))},deleteQuestion:function(e,t){e.allquestions=e.allquestions.filter((function(e){return e.id!==t.payload}))}}}),kn=Sn.actions,jn=Sn.reducer,En=Ht({name:"result",initialState:{allresult:[],result:{},error:null,allBatch:[],allBatchWiseStudent:[]},reducers:{getResult:function(e,t){e.allresult=t.payload},getResultError:function(e,t){e.error=t.payload},addResult:function(e,t){e.allresult.push(t.payload),console.log(e.allresult)},getBatchWiseStudent:function(e,t){e.allBatchWiseStudent=t.payload},getBatch:function(e,t){e.allBatch=t.payload}}}),On=En.actions,Cn=En.reducer,Pn=Ht({name:"feedbackAns",initialState:{allFeedbackAns:[],allEmployee:[],allBatch:[],allBatchWiseStudent:[],allCourses:[],allScheduledFeedback:[],allEmailSendDetails:[]},reducers:{getFeedbackAns:function(e,t){e.allFeedbackAns=t.payload},getEmployee:function(e,t){e.allEmployee=t.payload},getBatch:function(e,t){e.allBatch=t.payload},getCourses:function(e,t){e.allCourses=t.payload},getScheduledFeedback:function(e,t){e.allScheduledFeedback=t.payload},getBatchWiseStudent:function(e,t){e.allBatchWiseStudent=t.payload},deleteBatchWiseStudent:function(e,t){e.allBatchWiseStudent=e.allBatchWiseStudent.filter((function(e){return e.id!==t.payload}))},getFormControlLabelUtilityClasses:function(e,t){e.allCourses=t.payload},addScheduledFeedback:function(e,t){e.allScheduledFeedback.push(t.payload)},addBatchwiseStudent:function(e,t){e.allBatchWiseStudent.push(t.payload)},updateScheduledFeedback:function(e,t){var n=e.allScheduledFeedback.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allScheduledFeedback[n]=t.payload)},addEmailDetails:function(e,t){e.allEmailSendDetails.push(t.payload)}}}),Zn=Pn.actions,_n=Pn.reducer,Tn=Ht({name:"batch",initialState:{allBatches:[],SingleBatch:{},error:null,allCourse:[]},reducers:{GET_BATCH:function(e,t){console.log("inside batch reducer:"),e.allBatches=t.payload,e.error=null},Get_Course:function(e,t){console.log("inside course reducer:"),e.allCourse=t.payload,e.error=null},GET_BATCH_ERROR:function(e,t){e.batch={},e.error=t.payload},ADD_BATCH:function(e,t){e.allBatches.push(t.payload),e.batch={}},UPDATE_BATCH:function(e,t){var n=e.allBatches.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allBatches[n]=t.payload)},DELETE_BATCH:function(e,t){e.allBatches=e.allBatches.filter((function(e){return e.id!==t.payload}))},GET_SINGLE_BATCH:function(e,t){var n=e.allBatches.findIndex((function(e){return e.id===t.payload}));-1!==n&&(e.SingleBatch=e.allBatches[n])}}}),Mn=Tn.actions,An=Tn.reducer,Rn=Ht({name:"enquiry",initialState:{allEnquiry:[],singleEnquiry:{}},reducers:{getEnquiry:function(e,t){e.allEnquiry=t.payload},getEnquiryError:function(e,t){e.error=t.payload},addEnquiry:function(e,t){e.allEnquiry.push(t.payload)},updateEnquiry:function(e,t){var n=e.allEnquiry.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allEnquiry[n]=t.payload)},deleteEnquiry:function(e,t){e.allEnquiry=e.allEnquiry.filter((function(e){return e.id!==t.payload}))},singleEnquiry:function(e,t){var n=e.allEnquiry.findIndex((function(e){return e.id===t.payload}));e.singleEnquiry=e.allEnquiry[n]}}}),Nn=Rn.actions,In=Rn.reducer,Dn=Ht({name:"enroll",initialState:{allEnrollDetails:[]},reducers:{getEnrollmentDetails:function(e,t){e.allEnrollDetails=t.payload}}}),zn=Dn.actions,Ln=Dn.reducer;var Bn,Fn=n(3878),Wn=n(9199),Un=n(5267);function qn(e){return(0,Fn.Z)(e)||(0,Wn.Z)(e)||(0,Q.Z)(e)||(0,Un.Z)()}function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hn.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Bn||(Bn={}));var Vn,Yn="popstate";function Gn(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function $n(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Kn(e,t){return{usr:e.state,key:e.key,idx:t}}function Xn(e,t,n,r){return void 0===n&&(n=null),Hn({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?Jn(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Qn(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function Jn(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function er(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,l=o.v5Compat,s=void 0!==l&&l,c=a.history,u=Bn.Pop,d=null,f=p();function p(){return(c.state||{idx:null}).idx}function h(){u=Bn.Pop;var e=p(),t=null==e?null:e-f;f=e,d&&d({action:u,location:v.location,delta:t})}function m(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:Qn(e);return Gn(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==f&&(f=0,c.replaceState(Hn({},c.state,{idx:f}),""));var v={get action(){return u},get location(){return e(a,c)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(Yn,h),d=e,function(){a.removeEventListener(Yn,h),d=null}},createHref:function(e){return t(a,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=Bn.Push;var r=Xn(v.location,e,t);n&&n(r,e);var o=Kn(r,f=p()+1),i=v.createHref(r);try{c.pushState(o,"",i)}catch(l){if(l instanceof DOMException&&"DataCloneError"===l.name)throw l;a.location.assign(i)}s&&d&&d({action:u,location:v.location,delta:1})},replace:function(e,t){u=Bn.Replace;var r=Xn(v.location,e,t);n&&n(r,e);var o=Kn(r,f=p()),i=v.createHref(r);c.replaceState(o,"",i),s&&d&&d({action:u,location:v.location,delta:0})},go:function(e){return c.go(e)}};return v}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Vn||(Vn={}));var tr=new Set(["lazy","caseSensitive","path","id","index","children"]);function nr(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((function(e,o){var i=[].concat((0,F.Z)(n),[o]),a="string"===typeof e.id?e.id:i.join("-");if(Gn(!0!==e.index||!e.children,"Cannot specify children on an index route"),Gn(!r[a],'Found a route id collision on id "'+a+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var l=Hn({},e,t(e),{id:a});return r[a]=l,l}var s=Hn({},e,t(e),{id:a,children:void 0});return r[a]=s,e.children&&(s.children=nr(e.children,t,i,r)),s}))}function rr(e,t,n){void 0===n&&(n="/");var r=gr(("string"===typeof t?Jn(t):t).pathname||"/",n);if(null==r)return null;var o=or(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=hr(o[a],vr(r));return i}function or(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(Gn(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var l=wr([r,a.relativePath]),s=n.concat(a);e.children&&e.children.length>0&&(Gn(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),or(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:pr(l,e.index),routesMeta:s})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=J(ir(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(l){i.e(l)}finally{i.f()}}else o(e,t)})),t}function ir(e){var t=e.split("/");if(0===t.length)return[];var n=qn(t),r=n[0],o=n.slice(1),i=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===o.length)return i?[a,""]:[a];var l=ir(o.join("/")),s=[];return s.push.apply(s,(0,F.Z)(l.map((function(e){return""===e?a:[a,e].join("/")})))),i&&s.push.apply(s,(0,F.Z)(l)),s.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var ar=/^:\w+$/,lr=3,sr=2,cr=1,ur=10,dr=-2,fr=function(e){return"*"===e};function pr(e,t){var n=e.split("/"),r=n.length;return n.some(fr)&&(r+=dr),t&&(r+=sr),n.filter((function(e){return!fr(e)})).reduce((function(e,t){return e+(ar.test(t)?lr:""===t?cr:ur)}),r)}function hr(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var l=n[a],s=a===n.length-1,c="/"===o?t:t.slice(o.length)||"/",u=mr({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},c);if(!u)return null;Object.assign(r,u.params);var d=l.route;i.push({params:r,pathname:wr([o,u.pathname]),pathnameBase:Sr(wr([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=wr([o,u.pathnameBase]))}return i}function mr(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);$n("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var l=a[0],s=l.replace(/(.)\/+$/,"$1"),c=a.slice(1),u=i.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";s=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return $n(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{});return{params:u,pathname:l,pathnameBase:s,pattern:e}}function vr(e){try{return decodeURI(e)}catch(t){return $n(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function gr(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function yr(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function br(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function xr(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=Jn(e):(Gn(!(o=Hn({},e)).pathname||!o.pathname.includes("?"),yr("?","pathname","search",o)),Gn(!o.pathname||!o.pathname.includes("#"),yr("#","pathname","hash",o)),Gn(!o.search||!o.search.includes("#"),yr("#","search","hash",o)));var i,a=""===e||""===o.pathname,l=a?"/":o.pathname;if(r||null==l)i=n;else{var s=t.length-1;if(l.startsWith("..")){for(var c=l.split("/");".."===c[0];)c.shift(),s-=1;o.pathname=c.join("/")}i=s>=0?t[s]:"/"}var u=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Jn(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,l=void 0===a?"":a,s=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:s,search:kr(i),hash:jr(l)}}(o,i),d=l&&"/"!==l&&l.endsWith("/"),f=(a||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}var wr=function(e){return e.join("/").replace(/\/\/+/g,"/")},Sr=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},kr=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},jr=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Er=function(e){$(n,e);var t=K(n);function n(){return W(this,n),t.apply(this,arguments)}return H(n)}(X(Error));var Or=H((function e(t,n,r,o){W(this,e),void 0===o&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}));function Cr(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Pr=["post","put","patch","delete"],Zr=new Set(Pr),_r=["get"].concat(Pr),Tr=new Set(_r),Mr=new Set([301,302,303,307,308]),Ar=new Set([307,308]),Rr={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Nr={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ir={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Dr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zr=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}};function Lr(e){var t,n=e.window?e.window:"undefined"!==typeof window?window:void 0,r="undefined"!==typeof n&&"undefined"!==typeof n.document&&"undefined"!==typeof n.document.createElement,o=!r;if(Gn(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var i=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:i(e)}}}else t=zr;var a,l={},s=nr(e.routes,t,void 0,l),c=e.basename||"/",d=Hn({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),f=null,p=new Set,h=null,m=null,v=null,g=null!=e.hydrationData,y=rr(s,e.history.location,c),b=null;if(null==y){var x=oo(404,{pathname:e.history.location.pathname}),w=ro(s),S=w.matches,k=w.route;y=S,b=(0,u.Z)({},k.id,x)}var j,E,O=!y.some((function(e){return e.route.lazy}))&&(!y.some((function(e){return e.route.loader}))||null!=e.hydrationData),C={historyAction:e.history.action,location:e.history.location,matches:y,initialized:O,navigation:Rr,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},P=Bn.Pop,Z=!1,_=!1,T=!1,M=[],A=[],N=new Map,z=0,L=-1,B=new Map,W=new Set,U=new Map,q=new Map,H=new Map,V=!1;function Y(e){C=Hn({},C,e),p.forEach((function(e){return e(C)}))}function G(t,n){var r,o,i,l=null!=C.actionData&&null!=C.navigation.formMethod&&mo(C.navigation.formMethod)&&"loading"===C.navigation.state&&!0!==(null==(r=t.state)?void 0:r._isRedirect);i=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:l?C.actionData:null;var c=n.loaderData?to(C.loaderData,n.loaderData,n.matches||[],n.errors):C.loaderData,u=C.blockers;u.size>0&&(u=new Map(u)).forEach((function(e,t){return u.set(t,Ir)}));var d=!0===Z||null!=C.navigation.formMethod&&mo(C.navigation.formMethod)&&!0!==(null==(o=t.state)?void 0:o._isRedirect);a&&(s=a,a=void 0),_||P===Bn.Pop||(P===Bn.Push?e.history.push(t,t.state):P===Bn.Replace&&e.history.replace(t,t.state)),Y(Hn({},n,{actionData:i,loaderData:c,historyAction:P,location:t,initialized:!0,navigation:Rr,revalidation:"idle",restoreScrollPosition:je(t,n.matches||C.matches),preventScrollReset:d,blockers:u})),P=Bn.Pop,Z=!1,_=!1,T=!1,M=[],A=[]}function $(e,t){return K.apply(this,arguments)}function K(){return K=I(R().mark((function t(n,r){var o,i,a,l,s,u,f,p,h,m,v;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("number"!==typeof n){t.next=3;break}return e.history.go(n),t.abrupt("return");case 3:if(o=Br(C.location,C.matches,c,d.v7_prependBasename,n,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),i=Fr(d.v7_normalizeFormMethod,!1,o,r),a=i.path,l=i.submission,s=i.error,u=C.location,f=Hn({},f=Xn(C.location,a,r&&r.state),e.history.encodeLocation(f)),p=r&&null!=r.replace?r.replace:void 0,h=Bn.Push,!0===p?h=Bn.Replace:!1===p||null!=l&&mo(l.formMethod)&&l.formAction===C.location.pathname+C.location.search&&(h=Bn.Replace),m=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,!(v=xe({currentLocation:u,nextLocation:f,historyAction:h}))){t.next=16;break}return be(v,{state:"blocked",location:f,proceed:function(){be(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),$(n,r)},reset:function(){var e=new Map(C.blockers);e.set(v,Ir),Y({blockers:e})}}),t.abrupt("return");case 16:return t.next=18,X(h,f,{submission:l,pendingError:s,preventScrollReset:m,replace:r&&r.replace});case 18:return t.abrupt("return",t.sent);case 19:case"end":return t.stop()}}),t)}))),K.apply(this,arguments)}function X(e,t,n){return Q.apply(this,arguments)}function Q(){return Q=I(R().mark((function t(n,r,o){var i,l,d,f,p,h,m,v,g,y,b,x,w,S,k;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(E&&E.abort(),E=null,P=n,_=!0===(o&&o.startUninterruptedRevalidation),ke(C.location,C.matches),Z=!0===(o&&o.preventScrollReset),i=a||s,l=o&&o.overrideNavigation,d=rr(i,r,c)){t.next=15;break}return f=oo(404,{pathname:r.pathname}),p=ro(i),h=p.matches,m=p.route,we(),G(r,{matches:h,loaderData:{},errors:(0,u.Z)({},m.id,f)}),t.abrupt("return");case 15:if(!C.initialized||T||!lo(C.location,r)||o&&o.submission&&mo(o.submission.formMethod)){t.next=18;break}return G(r,{matches:d}),t.abrupt("return");case 18:if(E=new AbortController,v=Kr(e.history,r,E.signal,o&&o.submission),!o||!o.pendingError){t.next=24;break}y=(0,u.Z)({},no(d).route.id,o.pendingError),t.next=34;break;case 24:if(!(o&&o.submission&&mo(o.submission.formMethod))){t.next=34;break}return t.next=27,ee(v,r,o.submission,d,{replace:o.replace});case 27:if(!(b=t.sent).shortCircuited){t.next=30;break}return t.abrupt("return");case 30:g=b.pendingActionData,y=b.pendingActionError,l=ko(r,o.submission),v=new Request(v.url,{signal:v.signal});case 34:return t.next=36,ne(v,r,d,l,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,g,y);case 36:if(x=t.sent,w=x.shortCircuited,S=x.loaderData,k=x.errors,!w){t.next=42;break}return t.abrupt("return");case 42:E=null,G(r,Hn({matches:d},g?{actionData:g}:{},{loaderData:S,errors:k}));case 44:case"end":return t.stop()}}),t)}))),Q.apply(this,arguments)}function ee(e,t,n,r,o){return te.apply(this,arguments)}function te(){return te=I(R().mark((function e(n,r,o,i,a){var s,d,f,p;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===a&&(a={}),de(),Y({navigation:jo(r,o)}),(d=wo(i,r)).route.action||d.route.lazy){e.next=9;break}s={type:Vn.error,error:oo(405,{method:n.method,pathname:r.pathname,routeId:d.route.id})},e.next=14;break;case 9:return e.next=11,Gr("action",n,d,i,l,t,c);case 11:if(s=e.sent,!n.signal.aborted){e.next=14;break}return e.abrupt("return",{shortCircuited:!0});case 14:if(!uo(s)){e.next=19;break}return f=a&&null!=a.replace?a.replace:s.location===C.location.pathname+C.location.search,e.next=18,le(C,s,{submission:o,replace:f});case 18:return e.abrupt("return",{shortCircuited:!0});case 19:if(!co(s)){e.next=23;break}return p=no(i,d.route.id),!0!==(a&&a.replace)&&(P=Bn.Push),e.abrupt("return",{pendingActionData:{},pendingActionError:(0,u.Z)({},p.route.id,s.error)});case 23:if(!so(s)){e.next=25;break}throw oo(400,{type:"defer-action"});case 25:return e.abrupt("return",{pendingActionData:(0,u.Z)({},d.route.id,s.data)});case 26:case"end":return e.stop()}}),e)}))),te.apply(this,arguments)}function ne(e,t,n,r,o,i,a,l,s){return re.apply(this,arguments)}function re(){return re=I(R().mark((function t(n,r,o,i,l,u,d,f,p){var h,m,v,g,y,b,x,w,S,k,j,O,P,Z,I,B,F,H,V,$,K,X;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(h=i||ko(r,l),m=l||u||So(h),v=a||s,g=Ur(e.history,C,o,m,r,T,M,A,U,W,v,c,f,p),y=(0,D.Z)(g,2),b=y[0],x=y[1],we((function(e){return!(o&&o.some((function(t){return t.route.id===e})))||b&&b.some((function(t){return t.route.id===e}))})),L=++z,0!==b.length||0!==x.length){t.next=10;break}return w=ve(),G(r,Hn({matches:o,loaderData:{},errors:p||null},f?{actionData:f}:{},w?{fetchers:new Map(C.fetchers)}:{})),t.abrupt("return",{shortCircuited:!0});case 10:return _||(x.forEach((function(e){var t=C.fetchers.get(e.key),n=Eo(void 0,t?t.data:void 0);C.fetchers.set(e.key,n)})),S=f||C.actionData,Y(Hn({navigation:h},S?0===Object.keys(S).length?{actionData:null}:{actionData:S}:{},x.length>0?{fetchers:new Map(C.fetchers)}:{}))),x.forEach((function(e){N.has(e.key)&&he(e.key),e.controller&&N.set(e.key,e.controller)})),k=function(){return x.forEach((function(e){return he(e.key)}))},E&&E.signal.addEventListener("abort",k),t.next=16,ce(C.matches,o,b,x,n);case 16:if(j=t.sent,O=j.results,P=j.loaderResults,Z=j.fetcherResults,!n.signal.aborted){t.next=22;break}return t.abrupt("return",{shortCircuited:!0});case 22:if(E&&E.signal.removeEventListener("abort",k),x.forEach((function(e){return N.delete(e.key)})),!(I=io(O))){t.next=30;break}return I.idx>=b.length&&(B=x[I.idx-b.length].key,W.add(B)),t.next=29,le(C,I.result,{replace:d});case 29:return t.abrupt("return",{shortCircuited:!0});case 30:return F=eo(C,o,b,P,p,x,Z,q),H=F.loaderData,V=F.errors,q.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&q.delete(t)}))})),$=ve(),K=ge(L),X=$||K||x.length>0,t.abrupt("return",Hn({loaderData:H,errors:V},X?{fetchers:new Map(C.fetchers)}:{}));case 36:case"end":return t.stop()}}),t)}))),re.apply(this,arguments)}function oe(e){return C.fetchers.get(e)||Nr}function ie(){return ie=I(R().mark((function n(r,o,i,d,f,p){var h,m,v,g,y,b,x,w,S,k,j,O,Z,_,I,F,H,V,$,K,X,Q,J,ee,te,ne,re,oe,ie,ae,se;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(de(),U.delete(r),d.route.action||d.route.lazy){n.next=6;break}return h=oo(405,{method:p.formMethod,pathname:i,routeId:o}),fe(r,o,h),n.abrupt("return");case 6:return m=C.fetchers.get(r),v=Oo(p,m),C.fetchers.set(r,v),Y({fetchers:new Map(C.fetchers)}),g=new AbortController,y=Kr(e.history,i,g.signal,p),N.set(r,g),b=z,n.next=16,Gr("action",y,d,f,l,t,c);case 16:if(x=n.sent,!y.signal.aborted){n.next=20;break}return N.get(r)===g&&N.delete(r),n.abrupt("return");case 20:if(!uo(x)){n.next=34;break}if(N.delete(r),!(L>b)){n.next=29;break}return w=Co(void 0),C.fetchers.set(r,w),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return");case 29:return W.add(r),S=Eo(p),C.fetchers.set(r,S),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return",le(C,x,{submission:p,isFetchActionRedirect:!0}));case 34:if(!co(x)){n.next=37;break}return fe(r,o,x.error),n.abrupt("return");case 37:if(!so(x)){n.next=39;break}throw oo(400,{type:"defer-action"});case 39:return k=C.navigation.location||C.location,j=Kr(e.history,k,g.signal),O=a||s,Gn(Z="idle"!==C.navigation.state?rr(O,C.navigation.location,c):C.matches,"Didn't find any matches after fetcher action"),_=++z,B.set(r,_),I=Eo(p,x.data),C.fetchers.set(r,I),F=Ur(e.history,C,Z,p,k,T,M,A,U,W,O,c,(0,u.Z)({},d.route.id,x.data),void 0),H=(0,D.Z)(F,2),V=H[0],($=H[1]).filter((function(e){return e.key!==r})).forEach((function(e){var t=e.key,n=C.fetchers.get(t),r=Eo(void 0,n?n.data:void 0);C.fetchers.set(t,r),N.has(t)&&he(t),e.controller&&N.set(t,e.controller)})),Y({fetchers:new Map(C.fetchers)}),K=function(){return $.forEach((function(e){return he(e.key)}))},g.signal.addEventListener("abort",K),n.next=55,ce(C.matches,Z,V,$,j);case 55:if(X=n.sent,Q=X.results,J=X.loaderResults,ee=X.fetcherResults,!g.signal.aborted){n.next=61;break}return n.abrupt("return");case 61:if(g.signal.removeEventListener("abort",K),B.delete(r),N.delete(r),$.forEach((function(e){return N.delete(e.key)})),!(te=io(Q))){n.next=69;break}return te.idx>=V.length&&(ne=$[te.idx-V.length].key,W.add(ne)),n.abrupt("return",le(C,te.result));case 69:re=eo(C,C.matches,V,J,void 0,$,ee,q),oe=re.loaderData,ie=re.errors,C.fetchers.has(r)&&(ae=Co(x.data),C.fetchers.set(r,ae)),se=ge(_),"loading"===C.navigation.state&&_>L?(Gn(P,"Expected pending action"),E&&E.abort(),G(C.navigation.location,{matches:Z,loaderData:oe,errors:ie,fetchers:new Map(C.fetchers)})):(Y(Hn({errors:ie,loaderData:to(C.loaderData,oe,Z,ie)},se||$.length>0?{fetchers:new Map(C.fetchers)}:{})),T=!1);case 73:case"end":return n.stop()}}),n)}))),ie.apply(this,arguments)}function ae(){return ae=I(R().mark((function n(r,o,i,a,s,d){var f,p,h,m,v,g,y,b,x;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return f=C.fetchers.get(r),p=Eo(d,f?f.data:void 0),C.fetchers.set(r,p),Y({fetchers:new Map(C.fetchers)}),h=new AbortController,m=Kr(e.history,i,h.signal),N.set(r,h),v=z,n.next=10,Gr("loader",m,a,s,l,t,c);case 10:if(!so(g=n.sent)){n.next=18;break}return n.next=14,yo(g,m.signal,!0);case 14:if(n.t0=n.sent,n.t0){n.next=17;break}n.t0=g;case 17:g=n.t0;case 18:if(N.get(r)===h&&N.delete(r),!m.signal.aborted){n.next=21;break}return n.abrupt("return");case 21:if(!uo(g)){n.next=33;break}if(!(L>v)){n.next=29;break}return y=Co(void 0),C.fetchers.set(r,y),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return");case 29:return W.add(r),n.next=32,le(C,g);case 32:return n.abrupt("return");case 33:if(!co(g)){n.next=38;break}return b=no(C.matches,o),C.fetchers.delete(r),Y({fetchers:new Map(C.fetchers),errors:(0,u.Z)({},b.route.id,g.error)}),n.abrupt("return");case 38:Gn(!so(g),"Unhandled fetcher deferred data"),x=Co(g.data),C.fetchers.set(r,x),Y({fetchers:new Map(C.fetchers)});case 42:case"end":return n.stop()}}),n)}))),ae.apply(this,arguments)}function le(e,t,n){return se.apply(this,arguments)}function se(){return se=I(R().mark((function t(o,i,a){var l,s,u,d,f,p,h,m,v,g;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=(l=void 0===a?{}:a).submission,u=l.replace,d=l.isFetchActionRedirect,i.revalidate&&(T=!0),Gn(f=Xn(o.location,i.location,Hn({_isRedirect:!0},d?{_isFetchActionRedirect:!0}:{})),"Expected a location on the redirect navigation"),!r){t.next=10;break}if(p=!1,i.reloadDocument?p=!0:Dr.test(i.location)&&(h=e.history.createURL(i.location),p=h.origin!==n.location.origin||null==gr(h.pathname,c)),!p){t.next=10;break}return u?n.location.replace(i.location):n.location.assign(i.location),t.abrupt("return");case 10:if(E=null,m=!0===u?Bn.Replace:Bn.Push,v=s||So(o.navigation),!(Ar.has(i.status)&&v&&mo(v.formMethod))){t.next=18;break}return t.next=16,X(m,f,{submission:Hn({},v,{formAction:i.location}),preventScrollReset:Z});case 16:case 21:t.next=26;break;case 18:if(!d){t.next=23;break}return t.next=21,X(m,f,{overrideNavigation:ko(f),fetcherSubmission:v,preventScrollReset:Z});case 23:return g=ko(f,v),t.next=26,X(m,f,{overrideNavigation:g,preventScrollReset:Z});case 26:case"end":return t.stop()}}),t)}))),se.apply(this,arguments)}function ce(e,t,n,r,o){return ue.apply(this,arguments)}function ue(){return ue=I(R().mark((function n(r,o,i,a,s){var u,d,f;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([].concat((0,F.Z)(i.map((function(e){return Gr("loader",s,e,o,l,t,c)}))),(0,F.Z)(a.map((function(n){return n.matches&&n.match&&n.controller?Gr("loader",Kr(e.history,n.path,n.controller.signal),n.match,n.matches,l,t,c):{type:Vn.error,error:oo(404,{pathname:n.path})}})))));case 2:return u=n.sent,d=u.slice(0,i.length),f=u.slice(i.length),n.next=7,Promise.all([vo(r,i,d,d.map((function(){return s.signal})),!1,C.loaderData),vo(r,a.map((function(e){return e.match})),f,a.map((function(e){return e.controller?e.controller.signal:null})),!0)]);case 7:return n.abrupt("return",{results:u,loaderResults:d,fetcherResults:f});case 8:case"end":return n.stop()}}),n)}))),ue.apply(this,arguments)}function de(){var e;T=!0,(e=M).push.apply(e,(0,F.Z)(we())),U.forEach((function(e,t){N.has(t)&&(A.push(t),he(t))}))}function fe(e,t,n){var r=no(C.matches,t);pe(e),Y({errors:(0,u.Z)({},r.route.id,n),fetchers:new Map(C.fetchers)})}function pe(e){var t=C.fetchers.get(e);!N.has(e)||t&&"loading"===t.state&&B.has(e)||he(e),U.delete(e),B.delete(e),W.delete(e),C.fetchers.delete(e)}function he(e){var t=N.get(e);Gn(t,"Expected fetch controller: "+e),t.abort(),N.delete(e)}function me(e){var t,n=J(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=Co(oe(r).data);C.fetchers.set(r,o)}}catch(i){n.e(i)}finally{n.f()}}function ve(){var e,t=[],n=!1,r=J(W);try{for(r.s();!(e=r.n()).done;){var o=e.value,i=C.fetchers.get(o);Gn(i,"Expected fetcher: "+o),"loading"===i.state&&(W.delete(o),t.push(o),n=!0)}}catch(a){r.e(a)}finally{r.f()}return me(t),n}function ge(e){var t,n=[],r=J(B);try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0];if(o[1]<e){var a=C.fetchers.get(i);Gn(a,"Expected fetcher: "+i),"loading"===a.state&&(he(i),B.delete(i),n.push(i))}}}catch(l){r.e(l)}finally{r.f()}return me(n),n.length>0}function ye(e){C.blockers.delete(e),H.delete(e)}function be(e,t){var n=C.blockers.get(e)||Ir;Gn("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);var r=new Map(C.blockers);r.set(e,t),Y({blockers:r})}function xe(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==H.size){H.size>1&&$n(!1,"A router only supports one blocker at a time");var o=Array.from(H.entries()),i=(0,D.Z)(o[o.length-1],2),a=i[0],l=i[1],s=C.blockers.get(a);if(!s||"proceeding"!==s.state)return l({currentLocation:t,nextLocation:n,historyAction:r})?a:void 0}}function we(e){var t=[];return q.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),q.delete(r))})),t}function Se(e,t){if(m){var n=m(e,t.map((function(e){return function(e,t){var n=e.route,r=e.pathname,o=e.params;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}(e,C.loaderData)})));return n||e.key}return e.key}function ke(e,t){if(h&&v){var n=Se(e,t);h[n]=v()}}function je(e,t){if(h){var n=Se(e,t),r=h[n];if("number"===typeof r)return r}return null}return j={get basename(){return c},get state(){return C},get routes(){return s},initialize:function(){return f=e.history.listen((function(t){var n=t.action,r=t.location,o=t.delta;if(!V){$n(0===H.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");var i=xe({currentLocation:C.location,nextLocation:r,historyAction:n});return i&&null!=o?(V=!0,e.history.go(-1*o),void be(i,{state:"blocked",location:r,proceed:function(){be(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(o)},reset:function(){var e=new Map(C.blockers);e.set(i,Ir),Y({blockers:e})}})):X(n,r)}V=!1})),C.initialized||X(Bn.Pop,C.location),j},subscribe:function(e){return p.add(e),function(){return p.delete(e)}},enableScrollRestoration:function(e,t,n){if(h=e,v=t,m=n||null,!g&&C.navigation===Rr){g=!0;var r=je(C.location,C.matches);null!=r&&Y({restoreScrollPosition:r})}return function(){h=null,v=null,m=null}},navigate:$,fetch:function(e,t,n,r){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");N.has(e)&&he(e);var i=a||s,l=Br(C.location,C.matches,c,d.v7_prependBasename,n,t,null==r?void 0:r.relative),u=rr(i,l,c);if(u){var f=Fr(d.v7_normalizeFormMethod,!0,l,r),p=f.path,h=f.submission,m=f.error;if(m)fe(e,t,m);else{var v=wo(u,p);Z=!0===(r&&r.preventScrollReset),h&&mo(h.formMethod)?function(e,t,n,r,o,i){ie.apply(this,arguments)}(e,t,p,v,u,h):(U.set(e,{routeId:t,path:p}),function(e,t,n,r,o,i){ae.apply(this,arguments)}(e,t,p,v,u,h))}}else fe(e,t,oo(404,{pathname:l}))},revalidate:function(){de(),Y({revalidation:"loading"}),"submitting"!==C.navigation.state&&("idle"!==C.navigation.state?X(P||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation}):X(C.historyAction,C.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:oe,deleteFetcher:pe,dispose:function(){f&&f(),p.clear(),E&&E.abort(),C.fetchers.forEach((function(e,t){return pe(t)})),C.blockers.forEach((function(e,t){return ye(t)}))},getBlocker:function(e,t){var n=C.blockers.get(e)||Ir;return H.get(e)!==t&&H.set(e,t),n},deleteBlocker:ye,_internalFetchControllers:N,_internalActiveDeferreds:q,_internalSetRoutes:function(e){a=nr(e,t,void 0,l={})}},j}Symbol("deferred");function Br(e,t,n,r,o,i,a){var l,s;if(null!=i&&"path"!==a){l=[];var c,u=J(t);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l.push(d),d.route.id===i){s=d;break}}}catch(p){u.e(p)}finally{u.f()}}else l=t,s=t[t.length-1];var f=xr(o||".",br(l).map((function(e){return e.pathnameBase})),gr(e.pathname,n)||e.pathname,"path"===a);return null==o&&(f.search=e.search,f.hash=e.hash),null!=o&&""!==o&&"."!==o||!s||!s.route.index||xo(f.search)||(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(f.pathname="/"===f.pathname?n:wr([n,f.pathname])),Qn(f)}function Fr(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!ho(r.formMethod))return{path:n,error:oo(405,{method:r.formMethod})};var o,i,a=function(){return{path:n,error:oo(400,{type:"invalid-body"})}},l=r.formMethod||"get",s=e?l.toUpperCase():l.toLowerCase(),c=ao(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!mo(s))return a();var u="string"===typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((function(e,t){var n=(0,D.Z)(t,2);return""+e+n[0]+"="+n[1]+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:void 0,text:u}}}if("application/json"===r.formEncType){if(!mo(s))return a();try{var d="string"===typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch(h){return a()}}}if(Gn("function"===typeof FormData,"FormData is not available in this environment"),r.formData)o=Xr(r.formData),i=r.formData;else if(r.body instanceof FormData)o=Xr(r.body),i=r.body;else if(r.body instanceof URLSearchParams)i=Qr(o=r.body);else if(null==r.body)o=new URLSearchParams,i=new FormData;else try{i=Qr(o=new URLSearchParams(r.body))}catch(h){return a()}var f={formMethod:s,formAction:c,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(mo(f.formMethod))return{path:n,submission:f};var p=Jn(n);return t&&p.search&&xo(p.search)&&o.append("index",""),p.search="?"+o,{path:Qn(p),submission:f}}function Wr(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function Ur(e,t,n,r,o,i,a,l,s,c,u,d,f,p){var h=p?Object.values(p)[0]:f?Object.values(f)[0]:void 0,m=e.createURL(t.location),v=e.createURL(o),g=p?Object.keys(p)[0]:void 0,y=Wr(n,g).filter((function(e,n){if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||a.some((function(t){return t===e.route.id})))return!0;var o=t.matches[n],l=e;return Hr(e,Hn({currentUrl:m,currentParams:o.params,nextUrl:v,nextParams:l.params},r,{actionResult:h,defaultShouldRevalidate:i||m.pathname+m.search===v.pathname+v.search||m.search!==v.search||qr(o,l)}))})),b=[];return s.forEach((function(e,o){if(n.some((function(t){return t.route.id===e.routeId}))){var a=rr(u,e.path,d);if(a){var s=t.fetchers.get(o),f=wo(a,e.path);!c.has(o)&&(!!l.includes(o)||(s&&"idle"!==s.state&&void 0===s.data?i:Hr(f,Hn({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:i}))))&&b.push({key:o,routeId:e.routeId,path:e.path,matches:a,match:f,controller:new AbortController})}else b.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}})),[y,b]}function qr(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Hr(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"===typeof n)return n}return t.defaultShouldRevalidate}function Vr(e,t,n){return Yr.apply(this,arguments)}function Yr(){return Yr=I(R().mark((function e(t,n,r){var o,i,a,l,s,c;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.lazy){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.lazy();case 4:if(o=e.sent,t.lazy){e.next=7;break}return e.abrupt("return");case 7:for(l in Gn(i=r[t.id],"No route found in manifest"),a={},o)s=i[l],$n(!(c=void 0!==s&&"hasErrorBoundary"!==l),'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+l+'" will be ignored.'),c||tr.has(l)||(a[l]=o[l]);Object.assign(i,a),Object.assign(i,Hn({},n(i),{lazy:void 0}));case 13:case"end":return e.stop()}}),e)}))),Yr.apply(this,arguments)}function Gr(e,t,n,r,o,i,a,l){return $r.apply(this,arguments)}function $r(){return $r=I(R().mark((function e(t,n,r,o,i,a,l,s){var c,u,d,f,p,h,m,v,g,y,b,x,w,S,k,j,E,O;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s&&(s={}),f=function(e){var t,o=new Promise((function(e,n){return t=n}));return d=function(){return t()},n.signal.addEventListener("abort",d),Promise.race([e({request:n,params:r.params,context:s.requestContext}),o])},e.prev=2,p=r.route[t],!r.route.lazy){e.next=30;break}if(!p){e.next=12;break}return e.next=8,Promise.all([f(p),Vr(r.route,a,i)]);case 8:h=e.sent,u=h[0],e.next=28;break;case 12:return e.next=14,Vr(r.route,a,i);case 14:if(!(p=r.route[t])){e.next=21;break}return e.next=18,f(p);case 18:u=e.sent,e.next=28;break;case 21:if("action"!==t){e.next=27;break}throw m=new URL(n.url),v=m.pathname+m.search,oo(405,{method:n.method,pathname:v,routeId:r.route.id});case 27:return e.abrupt("return",{type:Vn.data,data:void 0});case 28:e.next=39;break;case 30:if(p){e.next=36;break}throw g=new URL(n.url),oo(404,{pathname:g.pathname+g.search});case 36:return e.next=38,f(p);case 38:u=e.sent;case 39:Gn(void 0!==u,"You defined "+("action"===t?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`."),e.next=46;break;case 42:e.prev=42,e.t0=e.catch(2),c=Vn.error,u=e.t0;case 46:return e.prev=46,d&&n.signal.removeEventListener("abort",d),e.finish(46);case 49:if(!po(u)){e.next=75;break}if(y=u.status,!Mr.has(y)){e.next=59;break}if(Gn(b=u.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),Dr.test(b)?s.isStaticRequest||(x=new URL(n.url),w=b.startsWith("//")?new URL(x.protocol+b):new URL(b),S=null!=gr(w.pathname,l),w.origin===x.origin&&S&&(b=w.pathname+w.search+w.hash)):b=Br(new URL(n.url),o.slice(0,o.indexOf(r)+1),l,!0,b),!s.isStaticRequest){e.next=58;break}throw u.headers.set("Location",b),u;case 58:return e.abrupt("return",{type:Vn.redirect,status:y,location:b,revalidate:null!==u.headers.get("X-Remix-Revalidate"),reloadDocument:null!==u.headers.get("X-Remix-Reload-Document")});case 59:if(!s.isRouteRequest){e.next=62;break}throw{type:c===Vn.error?Vn.error:Vn.data,response:u};case 62:if(!(j=u.headers.get("Content-Type"))||!/\bapplication\/json\b/.test(j)){e.next=69;break}return e.next=66,u.json();case 66:k=e.sent,e.next=72;break;case 69:return e.next=71,u.text();case 71:k=e.sent;case 72:if(c!==Vn.error){e.next=74;break}return e.abrupt("return",{type:c,error:new Or(y,u.statusText,k),headers:u.headers});case 74:return e.abrupt("return",{type:Vn.data,data:k,statusCode:u.status,headers:u.headers});case 75:if(c!==Vn.error){e.next=77;break}return e.abrupt("return",{type:c,error:u});case 77:if(!fo(u)){e.next=79;break}return e.abrupt("return",{type:Vn.deferred,deferredData:u,statusCode:null==(E=u.init)?void 0:E.status,headers:(null==(O=u.init)?void 0:O.headers)&&new Headers(u.init.headers)});case 79:return e.abrupt("return",{type:Vn.data,data:u});case 80:case"end":return e.stop()}}),e,null,[[2,42,46,49]])}))),$r.apply(this,arguments)}function Kr(e,t,n,r){var o=e.createURL(ao(t)).toString(),i={signal:n};if(r&&mo(r.formMethod)){var a=r.formMethod,l=r.formEncType;i.method=a.toUpperCase(),"application/json"===l?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(r.json)):"text/plain"===l?i.body=r.text:"application/x-www-form-urlencoded"===l&&r.formData?i.body=Xr(r.formData):i.body=r.formData}return new Request(o,i)}function Xr(e){var t,n=new URLSearchParams,r=J(e.entries());try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0],a=o[1];n.append(i,"string"===typeof a?a:a.name)}}catch(l){r.e(l)}finally{r.f()}return n}function Qr(e){var t,n=new FormData,r=J(e.entries());try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0],a=o[1];n.append(i,a)}}catch(l){r.e(l)}finally{r.f()}return n}function Jr(e,t,n,r,o){var i,a={},l=null,s=!1,c={};return n.forEach((function(n,u){var d=t[u].route.id;if(Gn(!uo(n),"Cannot handle redirect results in processLoaderData"),co(n)){var f=no(e,d),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(l=l||{})[f.route.id]&&(l[f.route.id]=p),a[d]=void 0,s||(s=!0,i=Cr(n.error)?n.error.status:500),n.headers&&(c[d]=n.headers)}else so(n)?(o.set(d,n.deferredData),a[d]=n.deferredData.data):a[d]=n.data,null==n.statusCode||200===n.statusCode||s||(i=n.statusCode),n.headers&&(c[d]=n.headers)})),r&&(l=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:l,statusCode:i||200,loaderHeaders:c}}function eo(e,t,n,r,o,i,a,l){for(var s=Jr(t,n,r,o,l),c=s.loaderData,d=s.errors,f=0;f<i.length;f++){var p=i[f],h=p.key,m=p.match,v=p.controller;Gn(void 0!==a&&void 0!==a[f],"Did not find corresponding fetcher result");var g=a[f];if(!v||!v.signal.aborted)if(co(g)){var y=no(e.matches,null==m?void 0:m.route.id);d&&d[y.route.id]||(d=Hn({},d,(0,u.Z)({},y.route.id,g.error))),e.fetchers.delete(h)}else if(uo(g))Gn(!1,"Unhandled fetcher revalidation redirect");else if(so(g))Gn(!1,"Unhandled fetcher deferred data");else{var b=Co(g.data);e.fetchers.set(h,b)}}return{loaderData:c,errors:d}}function to(e,t,n,r){var o,i=Hn({},t),a=J(n);try{for(a.s();!(o=a.n()).done;){var l=o.value,s=l.route.id;if(t.hasOwnProperty(s)?void 0!==t[s]&&(i[s]=t[s]):void 0!==e[s]&&l.route.loader&&(i[s]=e[s]),r&&r.hasOwnProperty(s))break}}catch(c){a.e(c)}finally{a.f()}return i}function no(e,t){return(t?e.slice(0,e.findIndex((function(e){return e.route.id===t}))+1):(0,F.Z)(e)).reverse().find((function(e){return!0===e.route.hasErrorBoundary}))||e[0]}function ro(e){var t=e.find((function(e){return e.index||!e.path||"/"===e.path}))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function oo(e,t){var n=void 0===t?{}:t,r=n.pathname,o=n.routeId,i=n.method,a=n.type,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",i&&r&&o?s="You made a "+i+' request to "'+r+'" but did not provide a `loader` for route "'+o+'", so there is no way to handle the request.':"defer-action"===a?s="defer() is not supported in actions":"invalid-body"===a&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+o+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",i&&r&&o?s="You made a "+i.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+o+'", so there is no way to handle the request.':i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new Or(e||500,l,new Error(s),!0)}function io(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if(uo(n))return{result:n,idx:t}}}function ao(e){return Qn(Hn({},"string"===typeof e?Jn(e):e,{hash:""}))}function lo(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}function so(e){return e.type===Vn.deferred}function co(e){return e.type===Vn.error}function uo(e){return(e&&e.type)===Vn.redirect}function fo(e){var t=e;return t&&"object"===typeof t&&"object"===typeof t.data&&"function"===typeof t.subscribe&&"function"===typeof t.cancel&&"function"===typeof t.resolveData}function po(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function ho(e){return Tr.has(e.toLowerCase())}function mo(e){return Zr.has(e.toLowerCase())}function vo(e,t,n,r,o,i){return go.apply(this,arguments)}function go(){return(go=I(R().mark((function e(t,n,r,o,i,a){var l,s;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=R().mark((function e(l){var s,c,u,d,f;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=r[l],c=n[l]){e.next=4;break}return e.abrupt("return","continue");case 4:if(u=t.find((function(e){return e.route.id===c.route.id})),d=null!=u&&!qr(u,c)&&void 0!==(a&&a[c.route.id]),!so(s)||!i&&!d){e.next=11;break}return Gn(f=o[l],"Expected an AbortSignal for revalidating fetcher deferred result"),e.next=11,yo(s,f,i).then((function(e){e&&(r[l]=e||r[l])}));case 11:case"end":return e.stop()}}),e)})),s=0;case 2:if(!(s<r.length)){e.next=10;break}return e.delegateYield(l(s),"t0",4);case 4:if("continue"!==e.t0){e.next=7;break}return e.abrupt("continue",7);case 7:s++,e.next=2;break;case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function yo(e,t,n){return bo.apply(this,arguments)}function bo(){return(bo=I(R().mark((function e(t,n,r){return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=!1),e.next=3,t.deferredData.resolveData(n);case 3:if(!e.sent){e.next=6;break}return e.abrupt("return");case 6:if(!r){e.next=14;break}return e.prev=7,e.abrupt("return",{type:Vn.data,data:t.deferredData.unwrappedData});case 11:return e.prev=11,e.t0=e.catch(7),e.abrupt("return",{type:Vn.error,error:e.t0});case 14:return e.abrupt("return",{type:Vn.data,data:t.deferredData.data});case 15:case"end":return e.stop()}}),e,null,[[7,11]])})))).apply(this,arguments)}function xo(e){return new URLSearchParams(e).getAll("index").some((function(e){return""===e}))}function wo(e,t){var n="string"===typeof t?Jn(t).search:t.search;if(e[e.length-1].route.index&&xo(n||""))return e[e.length-1];var r=br(e);return r[r.length-1]}function So(e){var t=e.formMethod,n=e.formAction,r=e.formEncType,o=e.text,i=e.formData,a=e.json;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function ko(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function jo(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Eo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t," _hasFetcherDoneAnything ":!0}}function Oo(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0," _hasFetcherDoneAnything ":!0}}function Co(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}function Po(){return Po=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Po.apply(this,arguments)}var Zo=t.createContext(null);var _o=t.createContext(null);var To=t.createContext(null);var Mo=t.createContext(null);var Ao=t.createContext(null);var Ro=t.createContext({outlet:null,matches:[],isDataRoute:!1});var No=t.createContext(null);function Io(){return null!=t.useContext(Ao)}function Do(){return Io()||Gn(!1),t.useContext(Ao).location}function zo(e){t.useContext(Mo).static||t.useLayoutEffect(e)}function Lo(){return t.useContext(Ro).isDataRoute?function(){var e=$o(Yo.UseNavigateStable).router,n=Xo(Go.UseNavigateStable),r=t.useRef(!1);return zo((function(){r.current=!0})),t.useCallback((function(t,o){void 0===o&&(o={}),r.current&&("number"===typeof t?e.navigate(t):e.navigate(t,Po({fromRouteId:n},o)))}),[e,n])}():function(){Io()||Gn(!1);var e=t.useContext(Zo),n=t.useContext(Mo),r=n.basename,o=n.navigator,i=t.useContext(Ro).matches,a=Do().pathname,l=JSON.stringify(br(i).map((function(e){return e.pathnameBase}))),s=t.useRef(!1);zo((function(){s.current=!0}));var c=t.useCallback((function(t,n){if(void 0===n&&(n={}),s.current)if("number"!==typeof t){var i=xr(t,JSON.parse(l),a,"path"===n.relative);null==e&&"/"!==r&&(i.pathname="/"===i.pathname?r:wr([r,i.pathname])),(n.replace?o.replace:o.push)(i,n.state,n)}else o.go(t)}),[r,o,l,a,e]);return c}()}var Bo=t.createContext(null);function Fo(e,n,r){Io()||Gn(!1);var o,i=t.useContext(Mo).navigator,a=t.useContext(Ro).matches,l=a[a.length-1],s=l?l.params:{},c=(l&&l.pathname,l?l.pathnameBase:"/"),u=(l&&l.route,Do());if(n){var d,f="string"===typeof n?Jn(n):n;"/"===c||(null==(d=f.pathname)?void 0:d.startsWith(c))||Gn(!1),o=f}else o=u;var p=o.pathname||"/",h=rr(e,{pathname:"/"===c?p:p.slice(c.length)||"/"});var m=Vo(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},s,e.params),pathname:wr([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:wr([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,r);return n&&m?t.createElement(Ao.Provider,{value:{location:Po({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:Bn.Pop}},m):m}function Wo(){var e=function(){var e,n=t.useContext(No),r=Ko(Go.UseRouteError),o=Xo(Go.UseRouteError);if(n)return n;return null==(e=r.errors)?void 0:e[o]}(),n=Cr(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:i},r):null,null)}var Uo=t.createElement(Wo,null),qo=function(e){$(r,e);var n=K(r);function r(e){var t;return W(this,r),(t=n.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return H(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(Ro.Provider,{value:this.props.routeContext},t.createElement(No.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),r}(t.Component);function Ho(e){var n=e.routeContext,r=e.match,o=e.children,i=t.useContext(Zo);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(Ro.Provider,{value:n},o)}function Vo(e,n,r){var o;if(void 0===n&&(n=[]),void 0===r&&(r=null),null==e){var i;if(null==(i=r)||!i.errors)return null;e=r.matches}var a=e,l=null==(o=r)?void 0:o.errors;if(null!=l){var s=a.findIndex((function(e){return e.route.id&&(null==l?void 0:l[e.route.id])}));s>=0||Gn(!1),a=a.slice(0,Math.min(a.length,s+1))}return a.reduceRight((function(e,o,i){var s=o.route.id?null==l?void 0:l[o.route.id]:null,c=null;r&&(c=o.route.errorElement||Uo);var u=n.concat(a.slice(0,i+1)),d=function(){var n;return n=s?c:o.route.Component?t.createElement(o.route.Component,null):o.route.element?o.route.element:e,t.createElement(Ho,{match:o,routeContext:{outlet:e,matches:u,isDataRoute:null!=r},children:n})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?t.createElement(qo,{location:r.location,revalidation:r.revalidation,component:c,error:s,children:d(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):d()}),null)}var Yo=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Yo||{}),Go=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Go||{});function $o(e){var n=t.useContext(Zo);return n||Gn(!1),n}function Ko(e){var n=t.useContext(_o);return n||Gn(!1),n}function Xo(e){var n=function(e){var n=t.useContext(Ro);return n||Gn(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||Gn(!1),r.route.id}var Qo=r.startTransition;function Jo(e){var n=e.fallbackElement,r=e.router,o=e.future,i=t.useState(r.state),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(o||{}).v7_startTransition,u=t.useCallback((function(e){c&&Qo?Qo((function(){return s(e)})):s(e)}),[s,c]);t.useLayoutEffect((function(){return r.subscribe(u)}),[r,u]);var d=t.useMemo((function(){return{createHref:r.createHref,encodeLocation:r.encodeLocation,go:function(e){return r.navigate(e)},push:function(e,t,n){return r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})},replace:function(e,t,n){return r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}}}),[r]),f=r.basename||"/",p=t.useMemo((function(){return{router:r,navigator:d,static:!1,basename:f}}),[r,d,f]);return t.createElement(t.Fragment,null,t.createElement(Zo.Provider,{value:p},t.createElement(_o.Provider,{value:l},t.createElement(ni,{basename:f,location:l.location,navigationType:l.historyAction,navigator:d},l.initialized?t.createElement(ei,{routes:r.routes,state:l}):n))),null)}function ei(e){return Fo(e.routes,void 0,e.state)}function ti(e){return function(e){var n=t.useContext(Ro).outlet;return n?t.createElement(Bo.Provider,{value:e},n):n}(e.context)}function ni(e){var n=e.basename,r=void 0===n?"/":n,o=e.children,i=void 0===o?null:o,a=e.location,l=e.navigationType,s=void 0===l?Bn.Pop:l,c=e.navigator,u=e.static,d=void 0!==u&&u;Io()&&Gn(!1);var f=r.replace(/^\/*/,"/"),p=t.useMemo((function(){return{basename:f,navigator:c,static:d}}),[f,c,d]);"string"===typeof a&&(a=Jn(a));var h=a,m=h.pathname,v=void 0===m?"/":m,g=h.search,y=void 0===g?"":g,b=h.hash,x=void 0===b?"":b,w=h.state,S=void 0===w?null:w,k=h.key,j=void 0===k?"default":k,E=t.useMemo((function(){var e=gr(v,f);return null==e?null:{location:{pathname:e,search:y,hash:x,state:S,key:j},navigationType:s}}),[f,v,y,x,S,j,s]);return null==E?null:t.createElement(Mo.Provider,{value:p},t.createElement(Ao.Provider,{children:i,value:E}))}var ri=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(ri||{}),oi=new Promise((function(){}));t.Component;function ii(e){var n={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(n,{element:t.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(n,{errorElement:t.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),n}function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ai.apply(this,arguments)}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function li(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ai({},t,{errors:si(t.errors)})),t}function si(e){if(!e)return null;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=(0,D.Z)(r[n],2),i=o[0],a=o[1];if(a&&"RouteErrorResponse"===a.__type)t[i]=new Or(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){if(a.__subType){var l=window[a.__subType];if("function"===typeof l)try{var s=new l(a.message);s.stack="",t[i]=s}catch(u){}}if(null==t[i]){var c=new Error(a.message);c.stack="",t[i]=c}}else t[i]=a}return t}r.startTransition;"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var ci,ui;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(ci||(ci={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ui||(ui={}));var di={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fi=t.createContext&&t.createContext(di),pi=function(){return pi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pi.apply(this,arguments)},hi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function mi(e){return e&&e.map((function(e,n){return t.createElement(e.tag,pi({key:n},e.attr),mi(e.child))}))}function vi(e){return function(n){return t.createElement(gi,pi({attr:pi({},e.attr)},n),mi(e.child))}}function gi(e){var n=function(n){var r,o=e.attr,i=e.size,a=e.title,l=hi(e,["attr","size","title"]),s=i||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",pi({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,l,{className:r,style:pi(pi({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==fi?t.createElement(fi.Consumer,null,(function(e){return n(e)})):n(di)}function yi(e){return vi({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"}}]})(e)}function bi(e){return vi({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"}}]})(e)}function xi(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(e)}function wi(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M18.906 18.06v369.23C112.4 252.618 269.43 157.82 430.37 133.76L228.42 18.06H18.906zM325.72 179.327C200.38 223.948 86.405 311.052 18.157 422.568v33.602c113.074-111.488 277-176.38 434.373-175.25L325.72 179.326zm25.56 128.682c-125.218 21.642-246.974 83.6-333.124 174.812v10.297h58.916c113.9-65.58 251.166-95.325 379.492-80.814L351.28 308.008zm-2.253 120.96c-80.122 5.884-160.432 27.957-232.61 64.15h266.42l-33.81-64.15z"}}]})(e)}function Si(e){return vi({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M96,113.89,107.06,136H84.94ZM232,56V216a8,8,0,0,1-11.58,7.16L192,208.94l-28.42,14.22a8,8,0,0,1-7.16,0L128,208.94,99.58,223.16a8,8,0,0,1-7.16,0L64,208.94,35.58,223.16A8,8,0,0,1,24,216V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM135.16,156.42l-32-64a8,8,0,0,0-14.32,0l-32,64a8,8,0,0,0,14.32,7.16L76.94,152h38.12l5.78,11.58a8,8,0,1,0,14.32-7.16ZM208,128a8,8,0,0,0-8-8H184V104a8,8,0,0,0-16,0v16H152a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V136h16A8,8,0,0,0,208,128Z"}}]})(e)}function ki(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"}}]})(e)}function ji(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3 6.5h-2v5H8v-5H6V9h6v1.5zm8.25-6.75L23 5l-2.75 1.25L19 9l-1.25-2.75L15 5l2.75-1.25L19 1l1.25 2.75zm0 14L23 19l-2.75 1.25L19 23l-1.25-2.75L15 19l2.75-1.25L19 15l1.25 2.75z"}}]})(e)}function Ei(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 22H5C3.34315 22 2 20.6569 2 19V3C2 2.44772 2.44772 2 3 2H17C17.5523 2 18 2.44772 18 3V10H22V19C22 20.6569 20.6569 22 19 22ZM18 12V19C18 19.5523 18.4477 20 19 20C19.5523 20 20 19.5523 20 19V12H18ZM5 6V12H11V6H5ZM5 13V15H15V13H5ZM5 16V18H15V16H5ZM7 8H9V10H7V8Z"}}]})(e)}var Oi=n(6934),Ci=n(418),Pi=n(6482),Zi=n(988);function _i(){var e=(0,Ci.Z)(Pi.Z);return e[Zi.Z]||e}var Ti=n(7462),Mi=n(3733),Ai=n(2421),Ri=n(104),Ni=n(2466),Ii=n(7416),Di=["sx"],zi=function(e){var t,n,r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Ii.Z;return Object.keys(e).forEach((function(t){o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Li(e){var t,n=e.sx,r=(0,T.Z)(e,Di),o=zi(r),i=o.systemProps,a=o.otherProps;return t=Array.isArray(n)?[i].concat((0,F.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,Ni.P)(e)?(0,Ti.Z)({},i,e):i}:(0,Ti.Z)({},i,n),(0,Ti.Z)({},a,{sx:t})}var Bi=n(184),Fi=["className","component"];var Wi=n(5902),Ui=n(1979),qi=(0,Ui.Z)(),Hi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.themeId,r=e.defaultTheme,o=e.defaultClassName,i=void 0===o?"MuiBox-root":o,a=e.generateClassName,l=(0,Ai.ZP)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(Ri.Z);return t.forwardRef((function(e,t){var o=(0,Ci.Z)(r),s=Li(e),c=s.className,u=s.component,d=void 0===u?"div":u,f=(0,T.Z)(s,Fi);return(0,Bi.jsx)(l,(0,Ti.Z)({as:d,ref:t,className:(0,Mi.Z)(c,a?a(i):i),theme:n&&o[n]||o},f))}))}({themeId:Zi.Z,defaultTheme:qi,defaultClassName:"MuiBox-root",generateClassName:Wi.Z.generate}),Vi=Hi,Yi=n(4419),Gi=n(6117);function $i(e){return"string"===typeof e}function Ki(e,t,n){return void 0===e||$i(e)?t:(0,Ti.Z)({},t,{ownerState:(0,Ti.Z)({},t.ownerState,n)})}function Xi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}function Qi(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function Ji(e,t,n){return"function"===typeof e?e(t,n):e}var ea=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ta(e){var t,n=e.elementType,r=e.externalSlotProps,o=e.ownerState,i=e.skipResolvingSlotProps,a=void 0!==i&&i,l=(0,T.Z)(e,ea),s=a?{}:Ji(r,o),c=function(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,i=e.className;if(!t){var a=(0,Mi.Z)(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),l=(0,Ti.Z)({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),s=(0,Ti.Z)({},n,o,r);return a.length>0&&(s.className=a),Object.keys(l).length>0&&(s.style=l),{props:s,internalRef:void 0}}var c=Xi((0,Ti.Z)({},o,r)),u=Qi(r),d=Qi(o),f=t(c),p=(0,Mi.Z)(null==f?void 0:f.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),h=(0,Ti.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),m=(0,Ti.Z)({},f,n,d,u);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:f.ref}}((0,Ti.Z)({},l,{externalSlotProps:s})),u=c.props,d=c.internalRef,f=(0,Gi.Z)(d,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return Ki(n,(0,Ti.Z)({},u,{ref:f}),o)}var na={disableDefaultClasses:!1},ra=t.createContext(na);function oa(e){var n=t.useContext(ra).disableDefaultClasses;return function(t){return n?"":e(t)}}var ia=n(2876),aa=n(2971);var la=t.forwardRef((function(e,n){var r=e.children,o=e.container,i=e.disablePortal,a=void 0!==i&&i,s=t.useState(null),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=(0,Gi.Z)(t.isValidElement(r)?r.ref:null,n);if((0,ia.Z)((function(){a||d(function(e){return"function"===typeof e?e():e}(o)||document.body)}),[o,a]),(0,ia.Z)((function(){if(u&&!a)return(0,aa.Z)(n,u),function(){(0,aa.Z)(n,null)}}),[n,u,a]),a){if(t.isValidElement(r)){var p={ref:f};return t.cloneElement(r,p)}return(0,Bi.jsx)(t.Fragment,{children:r})}return(0,Bi.jsx)(t.Fragment,{children:u?l.createPortal(r,u):u})}));var sa=n(4913),ca=n(7054),ua=n(8949),da=n(5202);function fa(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function pa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ha(e){return parseInt((0,da.Z)(e).getComputedStyle(e).paddingRight,10)||0}function ma(e,t,n,r,o){var i=[t,n].concat((0,F.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===i.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&pa(e,o)}))}function va(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function ga(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,sa.Z)(e);return t.body===e?(0,da.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var o=fa((0,sa.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(ha(r)+o,"px");var i=(0,sa.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(ha(e)+o,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=(0,sa.Z)(r).body;else{var l=r.parentElement,s=(0,da.Z)(r);a="HTML"===(null==l?void 0:l.nodeName)&&"scroll"===s.getComputedStyle(l).overflowY?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var ya=function(){function e(){W(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return H(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&pa(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);ma(t,e.mount,e.modalRef,r,!0);var o=va(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=va(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=ga(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=va(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&pa(e.modalRef,t),ma(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=o.modals[o.modals.length-1];i.modalRef&&pa(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var ba=new ya;function xa(e){var n=e.container,r=e.disableEscapeKeyDown,o=void 0!==r&&r,i=e.disableScrollLock,a=void 0!==i&&i,l=e.manager,s=void 0===l?ba:l,c=e.closeAfterTransition,u=void 0!==c&&c,d=e.onTransitionEnter,f=e.onTransitionExited,p=e.children,h=e.onClose,m=e.open,v=e.rootRef,g=t.useRef({}),y=t.useRef(null),b=t.useRef(null),x=(0,Gi.Z)(b,v),w=t.useState(!m),S=(0,D.Z)(w,2),k=S[0],j=S[1],E=function(e){return!!e&&e.props.hasOwnProperty("in")}(p),O=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(O=!1);var C=function(){return g.current.modalRef=b.current,g.current.mount=y.current,g.current},P=function(){s.mount(C(),{disableScrollLock:a}),b.current&&(b.current.scrollTop=0)},Z=(0,ca.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(n)||(0,sa.Z)(y.current).body;s.add(C(),e),b.current&&P()})),_=t.useCallback((function(){return s.isTopModal(C())}),[s]),T=(0,ca.Z)((function(e){y.current=e,e&&(m&&_()?P():b.current&&pa(b.current,O))})),M=t.useCallback((function(){s.remove(C(),O)}),[O,s]);t.useEffect((function(){return function(){M()}}),[M]),t.useEffect((function(){m?Z():E&&u||M()}),[m,M,E,u,Z]);var A=function(e){return function(t){var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&_()&&(o||(t.stopPropagation(),h&&h(t,"escapeKeyDown")))}},R=function(e){return function(t){var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&h&&h(t,"backdropClick")}};return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Xi(e);delete n.onTransitionEnter,delete n.onTransitionExited;var r=(0,Ti.Z)({},n,t);return(0,Ti.Z)({role:"presentation"},r,{onKeyDown:A(r),ref:x})},getBackdropProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,Ti.Z)({"aria-hidden":!0},e,{onClick:R(e),open:m})},getTransitionProps:function(){return{onEnter:(0,ua.Z)((function(){j(!1),d&&d()}),p.props.onEnter),onExited:(0,ua.Z)((function(){j(!0),f&&f(),u&&M()}),p.props.onExited)}},rootRef:x,portalRef:T,isTopModal:_,exited:k,hasTransition:E}}var wa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Sa(e){var t=[],n=[];return Array.from(e.querySelectorAll(wa)).forEach((function(e,r){var o=function(e){var t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function ka(){return!0}function ja(e){var n=e.children,r=e.disableAutoFocus,o=void 0!==r&&r,i=e.disableEnforceFocus,a=void 0!==i&&i,l=e.disableRestoreFocus,s=void 0!==l&&l,c=e.getTabbable,u=void 0===c?Sa:c,d=e.isEnabled,f=void 0===d?ka:d,p=e.open,h=t.useRef(!1),m=t.useRef(null),v=t.useRef(null),g=t.useRef(null),y=t.useRef(null),b=t.useRef(!1),x=t.useRef(null),w=(0,Gi.Z)(n.ref,x),S=t.useRef(null);t.useEffect((function(){p&&x.current&&(b.current=!o)}),[o,p]),t.useEffect((function(){if(p&&x.current){var e=(0,sa.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),b.current&&x.current.focus()),function(){s||(g.current&&g.current.focus&&(h.current=!0,g.current.focus()),g.current=null)}}}),[p]),t.useEffect((function(){if(p&&x.current){var e=(0,sa.Z)(x.current),t=function(t){var n=x.current;if(null!==n)if(e.hasFocus()&&!a&&f()&&!h.current){if(!n.contains(e.activeElement)){if(t&&y.current!==t.target||e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;var r=[];if(e.activeElement!==m.current&&e.activeElement!==v.current||(r=u(x.current)),r.length>0){var o,i,l=Boolean((null==(o=S.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=S.current)?void 0:i.key)),s=r[0],c=r[r.length-1];"string"!==typeof s&&"string"!==typeof c&&(l?c.focus():s.focus())}else n.focus()}}else h.current=!1},n=function(t){S.current=t,!a&&f()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(h.current=!0,v.current&&v.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[o,a,s,f,p,u]);var k=function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0};return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:m,"data-testid":"sentinelStart"}),t.cloneElement(n,{ref:w,onFocus:function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0,y.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,Bi.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:v,"data-testid":"sentinelEnd"})]})}var Ea=n(5878),Oa=n(1217);function Ca(e){return(0,Oa.Z)("MuiModal",e)}(0,Ea.Z)("MuiModal",["root","hidden","backdrop"]);var Pa=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Za=t.forwardRef((function(e,n){var r,o=e.children,i=e.closeAfterTransition,a=void 0!==i&&i,l=e.container,s=e.disableAutoFocus,c=void 0!==s&&s,u=e.disableEnforceFocus,d=void 0!==u&&u,f=e.disableEscapeKeyDown,p=void 0!==f&&f,h=e.disablePortal,m=void 0!==h&&h,v=e.disableRestoreFocus,g=void 0!==v&&v,y=e.disableScrollLock,b=void 0!==y&&y,x=e.hideBackdrop,w=void 0!==x&&x,S=e.keepMounted,k=void 0!==S&&S,j=e.onBackdropClick,E=e.open,O=e.slotProps,C=void 0===O?{}:O,P=e.slots,Z=void 0===P?{}:P,_=(0,T.Z)(e,Pa),M=(0,Ti.Z)({},e,{closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:m,disableRestoreFocus:g,disableScrollLock:b,hideBackdrop:w,keepMounted:k}),A=xa((0,Ti.Z)({},M,{rootRef:n})),R=A.getRootProps,N=A.getBackdropProps,I=A.getTransitionProps,D=A.portalRef,z=A.isTopModal,L=A.exited,B=A.hasTransition,F=(0,Ti.Z)({},M,{exited:L,hasTransition:B}),W=function(e){var t=e.open,n=e.exited,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,Yi.Z)(r,oa(Ca))}(F),U={};if(void 0===o.props.tabIndex&&(U.tabIndex="-1"),B){var q=I(),H=q.onEnter,V=q.onExited;U.onEnter=H,U.onExited=V}var Y=null!=(r=Z.root)?r:"div",G=ta({elementType:Y,externalSlotProps:C.root,externalForwardedProps:_,getSlotProps:R,className:W.root,ownerState:F}),$=Z.backdrop,K=ta({elementType:$,externalSlotProps:C.backdrop,getSlotProps:function(e){return N((0,Ti.Z)({},e,{onClick:function(t){j&&j(t),null!=e&&e.onClick&&e.onClick(t)}}))},className:W.backdrop,ownerState:F});return k||E||B&&!L?(0,Bi.jsx)(la,{ref:D,container:l,disablePortal:m,children:(0,Bi.jsxs)(Y,(0,Ti.Z)({},G,{children:[!w&&$?(0,Bi.jsx)($,(0,Ti.Z)({},K)):null,(0,Bi.jsx)(ja,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:g,isEnabled:z,open:E,children:t.cloneElement(o,U)})]}))}):null})),_a=n(1402);function Ta(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,z(e,t)}var Ma=!1,Aa=t.createContext(null),Ra="unmounted",Na="exited",Ia="entering",Da="entered",za="exiting",La=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Na,r.appearStatus=Ia):o=Da:o=t.unmountOnExit||t.mountOnEnter?Ra:Na,r.state={status:o},r.nextCallback=null,r}Ta(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ra?{status:Na}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ia&&n!==Da&&(t=Ia):n!==Ia&&n!==Da||(t=za)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ia){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Na&&this.setState({status:Ra})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||Ma?this.safeSetState({status:Da},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ia},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:Da},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!Ma?(this.props.onExit(r),this.safeSetState({status:za},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Na},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Na},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Ra)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,T.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Aa.Provider,{value:null},"function"===typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function Ba(){}La.contextType=Aa,La.propTypes={},La.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ba,onEntering:Ba,onEntered:Ba,onExit:Ba,onExiting:Ba,onExited:Ba},La.UNMOUNTED=Ra,La.EXITED=Na,La.ENTERING=Ia,La.ENTERED=Da,La.EXITING=za;var Fa=La,Wa=function(e){return e.scrollTop};function Ua(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,l=void 0===a?{}:a;return{duration:null!=(n=l.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=l.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:l.transitionDelay}}var qa=n(2071),Ha=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Va={entering:{opacity:1},entered:{opacity:1}},Ya=t.forwardRef((function(e,n){var r=_i(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=e.addEndListener,a=e.appear,l=void 0===a||a,s=e.children,c=e.easing,u=e.in,d=e.onEnter,f=e.onEntered,p=e.onEntering,h=e.onExit,m=e.onExited,v=e.onExiting,g=e.style,y=e.timeout,b=void 0===y?o:y,x=e.TransitionComponent,w=void 0===x?Fa:x,S=(0,T.Z)(e,Ha),k=t.useRef(null),j=(0,qa.Z)(k,s.ref,n),E=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},O=E(p),C=E((function(e,t){Wa(e);var n=Ua({style:g,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),d&&d(e,t)})),P=E(f),Z=E(v),_=E((function(e){var t=Ua({style:g,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),h&&h(e)})),M=E(m);return(0,Bi.jsx)(w,(0,Ti.Z)({appear:l,in:u,nodeRef:k,onEnter:C,onEntered:P,onEntering:O,onExit:_,onExited:M,onExiting:Z,addEndListener:function(e){i&&i(k.current,e)},timeout:b},S,{children:function(e,n){return t.cloneElement(s,(0,Ti.Z)({style:(0,Ti.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Va[e],g,s.props.style),ref:j},n))}}))})),Ga=Ya;function $a(e){return(0,Oa.Z)("MuiBackdrop",e)}(0,Ea.Z)("MuiBackdrop",["root","invisible"]);var Ka=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Xa=(0,Oi.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),Qa=t.forwardRef((function(e,t){var n,r,o,i=(0,_a.Z)({props:e,name:"MuiBackdrop"}),a=i.children,l=i.className,s=i.component,c=void 0===s?"div":s,u=i.components,d=void 0===u?{}:u,f=i.componentsProps,p=void 0===f?{}:f,h=i.invisible,m=void 0!==h&&h,v=i.open,g=i.slotProps,y=void 0===g?{}:g,b=i.slots,x=void 0===b?{}:b,w=i.TransitionComponent,S=void 0===w?Ga:w,k=i.transitionDuration,j=(0,T.Z)(i,Ka),E=(0,Ti.Z)({},i,{component:c,invisible:m}),O=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,Yi.Z)(n,$a,t)}(E),C=null!=(n=y.root)?n:p.root;return(0,Bi.jsx)(S,(0,Ti.Z)({in:v,timeout:k},j,{children:(0,Bi.jsx)(Xa,(0,Ti.Z)({"aria-hidden":!0},C,{as:null!=(r=null!=(o=x.root)?o:d.Root)?r:c,className:(0,Mi.Z)(O.root,l,null==C?void 0:C.className),ownerState:(0,Ti.Z)({},E,null==C?void 0:C.ownerState),classes:O,ref:t,children:a}))}))})),Ja=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],el=(0,Oi.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),tl=(0,Oi.ZP)(Qa,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),nl=t.forwardRef((function(e,n){var r,o,i,a,l,s,c=(0,_a.Z)({name:"MuiModal",props:e}),u=c.BackdropComponent,d=void 0===u?tl:u,f=c.BackdropProps,p=c.classes,h=c.className,m=c.closeAfterTransition,v=void 0!==m&&m,g=c.children,y=c.container,b=c.component,x=c.components,w=void 0===x?{}:x,S=c.componentsProps,k=void 0===S?{}:S,j=c.disableAutoFocus,E=void 0!==j&&j,O=c.disableEnforceFocus,C=void 0!==O&&O,P=c.disableEscapeKeyDown,Z=void 0!==P&&P,_=c.disablePortal,M=void 0!==_&&_,A=c.disableRestoreFocus,R=void 0!==A&&A,N=c.disableScrollLock,I=void 0!==N&&N,z=c.hideBackdrop,L=void 0!==z&&z,B=c.keepMounted,F=void 0!==B&&B,W=c.onBackdropClick,U=c.onClose,q=c.open,H=c.slotProps,V=c.slots,Y=c.theme,G=(0,T.Z)(c,Ja),$=t.useState(!0),K=(0,D.Z)($,2),X=K[0],Q=K[1],J={container:y,closeAfterTransition:v,disableAutoFocus:E,disableEnforceFocus:C,disableEscapeKeyDown:Z,disablePortal:M,disableRestoreFocus:R,disableScrollLock:I,hideBackdrop:L,keepMounted:F,onBackdropClick:W,onClose:U,open:q},ee=(0,Ti.Z)({},c,J,{exited:X}),te=null!=(r=null!=(o=null==V?void 0:V.root)?o:w.Root)?r:el,ne=null!=(i=null!=(a=null==V?void 0:V.backdrop)?a:w.Backdrop)?i:d,re=null!=(l=null==H?void 0:H.root)?l:k.root,oe=null!=(s=null==H?void 0:H.backdrop)?s:k.backdrop;return(0,Bi.jsx)(Za,(0,Ti.Z)({slots:{root:te,backdrop:ne},slotProps:{root:function(){return(0,Ti.Z)({},Ji(re,ee),!$i(te)&&{as:b,theme:Y},{className:(0,Mi.Z)(h,null==re?void 0:re.className,null==p?void 0:p.root,!ee.open&&ee.exited&&(null==p?void 0:p.hidden))})},backdrop:function(){return(0,Ti.Z)({},f,Ji(oe,ee),{className:(0,Mi.Z)(null==oe?void 0:oe.className,null==f?void 0:f.className,null==p?void 0:p.backdrop)})}},onTransitionEnter:function(){return Q(!1)},onTransitionExited:function(){return Q(!0)},ref:n},G,J,{children:g}))})),rl=n(3199),ol=n(7602),il=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function al(e,t,n){var r,o=function(e,t,n){var r,o=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=(0,ol.Z)(t);if(t.fakeTransform)r=t.fakeTransform;else{var l=a.getComputedStyle(t);r=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}var s=0,c=0;if(r&&"none"!==r&&"string"===typeof r){var u=r.split("(")[1].split(")")[0].split(",");s=parseInt(u[4],10),c=parseInt(u[5],10)}return"left"===e?"translateX(".concat(i?i.right+s-o.left:a.innerWidth+s-o.left,"px)"):"right"===e?"translateX(-".concat(i?o.right-i.left-s:o.left+o.width-s,"px)"):"up"===e?"translateY(".concat(i?i.bottom+c-o.top:a.innerHeight+c-o.top,"px)"):"translateY(-".concat(i?o.top-i.top+o.height-c:o.top+o.height-c,"px)")}(e,t,"function"===typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}var ll=t.forwardRef((function(e,n){var r=_i(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},a=e.addEndListener,l=e.appear,s=void 0===l||l,c=e.children,u=e.container,d=e.direction,f=void 0===d?"down":d,p=e.easing,h=void 0===p?o:p,m=e.in,v=e.onEnter,g=e.onEntered,y=e.onEntering,b=e.onExit,x=e.onExited,w=e.onExiting,S=e.style,k=e.timeout,j=void 0===k?i:k,E=e.TransitionComponent,O=void 0===E?Fa:E,C=(0,T.Z)(e,il),P=t.useRef(null),Z=(0,qa.Z)(c.ref,P,n),_=function(e){return function(t){e&&(void 0===t?e(P.current):e(P.current,t))}},M=_((function(e,t){al(f,e,u),Wa(e),v&&v(e,t)})),A=_((function(e,t){var n=Ua({timeout:j,style:S,easing:h},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",(0,Ti.Z)({},n)),e.style.transition=r.transitions.create("transform",(0,Ti.Z)({},n)),e.style.webkitTransform="none",e.style.transform="none",y&&y(e,t)})),R=_(g),N=_(w),I=_((function(e){var t=Ua({timeout:j,style:S,easing:h},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),al(f,e,u),b&&b(e)})),D=_((function(e){e.style.webkitTransition="",e.style.transition="",x&&x(e)})),z=t.useCallback((function(){P.current&&al(f,P.current,u)}),[f,u]);return t.useEffect((function(){if(!m&&"down"!==f&&"right"!==f){var e=(0,rl.Z)((function(){P.current&&al(f,P.current,u)})),t=(0,ol.Z)(P.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[f,m,u]),t.useEffect((function(){m||z()}),[m,z]),(0,Bi.jsx)(O,(0,Ti.Z)({nodeRef:P,onEnter:M,onEntered:R,onEntering:A,onExit:I,onExited:D,onExiting:N,addEndListener:function(e){a&&a(P.current,e)},appear:s,in:m,timeout:j},C,{children:function(e,n){return t.cloneElement(c,(0,Ti.Z)({ref:Z,style:(0,Ti.Z)({visibility:"exited"!==e||m?void 0:"hidden"},S,c.props.style)},n))}}))})),sl=ll,cl=n(2065),ul=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)};function dl(e){return(0,Oa.Z)("MuiPaper",e)}(0,Ea.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var fl=["className","component","elevation","square","variant"],pl=(0,Oi.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,Ti.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,cl.Fq)("#fff",ul(r.elevation)),", ").concat((0,cl.Fq)("#fff",ul(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),hl=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiPaper"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.elevation,l=void 0===a?1:a,s=n.square,c=void 0!==s&&s,u=n.variant,d=void 0===u?"elevation":u,f=(0,T.Z)(n,fl),p=(0,Ti.Z)({},n,{component:i,elevation:l,square:c,variant:d}),h=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,Yi.Z)(i,dl,o)}(p);return(0,Bi.jsx)(pl,(0,Ti.Z)({as:i,ownerState:p,className:(0,Mi.Z)(h.root,r),ref:t},f))})),ml=hl,vl=n(4036);function gl(e){return(0,Oa.Z)("MuiDrawer",e)}(0,Ea.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var yl=["BackdropProps"],bl=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],xl=function(e,t){var n=e.ownerState;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},wl=(0,Oi.ZP)(nl,{name:"MuiDrawer",slot:"Root",overridesResolver:xl})((function(e){var t=e.theme;return{zIndex:(t.vars||t).zIndex.drawer}})),Sl=(0,Oi.ZP)("div",{shouldForwardProp:Oi.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:xl})({flex:"0 0 auto"}),kl=(0,Oi.ZP)(ml,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["paperAnchor".concat((0,vl.Z)(n.anchor))],"temporary"!==n.variant&&t["paperAnchorDocked".concat((0,vl.Z)(n.anchor))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:"1px solid ".concat((t.vars||t).palette.divider)},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider)},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:"1px solid ".concat((t.vars||t).palette.divider)})})),jl={left:"right",right:"left",top:"down",bottom:"up"};var El=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDrawer"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r.anchor,l=void 0===a?"left":a,s=r.BackdropProps,c=r.children,u=r.className,d=r.elevation,f=void 0===d?16:d,p=r.hideBackdrop,h=void 0!==p&&p,m=r.ModalProps,v=(void 0===m?{}:m).BackdropProps,g=r.onClose,y=r.open,b=void 0!==y&&y,x=r.PaperProps,w=void 0===x?{}:x,S=r.SlideProps,k=r.TransitionComponent,j=void 0===k?sl:k,E=r.transitionDuration,O=void 0===E?i:E,C=r.variant,P=void 0===C?"temporary":C,Z=(0,T.Z)(r.ModalProps,yl),_=(0,T.Z)(r,bl),M=t.useRef(!1);t.useEffect((function(){M.current=!0}),[]);var A=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?jl[t]:t}(o,l),R=l,N=(0,Ti.Z)({},r,{anchor:R,elevation:f,open:b,variant:P},_),I=function(e){var t=e.classes,n=e.anchor,r=e.variant,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,vl.Z)(n)),"temporary"!==r&&"paperAnchorDocked".concat((0,vl.Z)(n))]};return(0,Yi.Z)(o,gl,t)}(N),D=(0,Bi.jsx)(kl,(0,Ti.Z)({elevation:"temporary"===P?f:0,square:!0},w,{className:(0,Mi.Z)(I.paper,w.className),ownerState:N,children:c}));if("permanent"===P)return(0,Bi.jsx)(Sl,(0,Ti.Z)({className:(0,Mi.Z)(I.root,I.docked,u),ownerState:N,ref:n},_,{children:D}));var z=(0,Bi.jsx)(j,(0,Ti.Z)({in:b,direction:jl[A],timeout:O,appear:M.current},S,{children:D}));return"persistent"===P?(0,Bi.jsx)(Sl,(0,Ti.Z)({className:(0,Mi.Z)(I.root,I.docked,u),ownerState:N,ref:n},_,{children:z})):(0,Bi.jsx)(wl,(0,Ti.Z)({BackdropProps:(0,Ti.Z)({},s,v,{transitionDuration:O}),className:(0,Mi.Z)(I.root,I.modal,u),open:b,ownerState:N,onClose:g,hideBackdrop:h,ref:n},_,Z,{children:z}))}));function Ol(e){return(0,Oa.Z)("MuiAppBar",e)}(0,Ea.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var Cl=["className","color","enableColorOnDark","position"],Pl=function(e,t){return e?"".concat(null==e?void 0:e.replace(")",""),", ").concat(t,")"):t},Zl=(0,Oi.ZP)(ml,{name:"MuiAppBar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,vl.Z)(n.position))],t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,Ti.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,Ti.Z)({},"default"===n.color&&{backgroundColor:r,color:t.palette.getContrastText(r)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,Ti.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,Ti.Z)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:Pl(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:Pl(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:Pl(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:Pl(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),_l=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiAppBar"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.enableColorOnDark,l=void 0!==a&&a,s=n.position,c=void 0===s?"fixed":s,u=(0,T.Z)(n,Cl),d=(0,Ti.Z)({},n,{color:i,position:c,enableColorOnDark:l}),f=function(e){var t=e.color,n=e.position,r=e.classes,o={root:["root","color".concat((0,vl.Z)(t)),"position".concat((0,vl.Z)(n))]};return(0,Yi.Z)(o,Ol,r)}(d);return(0,Bi.jsx)(Zl,(0,Ti.Z)({square:!0,component:"header",ownerState:d,elevation:4,className:(0,Mi.Z)(f.root,r,"fixed"===c&&"mui-fixed"),ref:t},u))})),Tl=_l;function Ml(e){return(0,Oa.Z)("MuiToolbar",e)}(0,Ea.Z)("MuiToolbar",["root","gutters","regular","dense"]);var Al=["className","component","disableGutters","variant"],Rl=(0,Oi.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),"dense"===n.variant&&{minHeight:48})}),(function(e){var t=e.theme;return"regular"===e.ownerState.variant&&t.mixins.toolbar})),Nl=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiToolbar"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.disableGutters,l=void 0!==a&&a,s=n.variant,c=void 0===s?"regular":s,u=(0,T.Z)(n,Al),d=(0,Ti.Z)({},n,{component:i,disableGutters:l,variant:c}),f=function(e){var t=e.classes,n={root:["root",!e.disableGutters&&"gutters",e.variant]};return(0,Yi.Z)(n,Ml,t)}(d);return(0,Bi.jsx)(Rl,(0,Ti.Z)({as:i,className:(0,Mi.Z)(f.root,r),ref:t,ownerState:d},u))}));var Il=t.createContext({});function Dl(e){return(0,Oa.Z)("MuiList",e)}(0,Ea.Z)("MuiList",["root","padding","dense","subheader"]);var zl=["children","className","component","dense","disablePadding","subheader"],Ll=(0,Oi.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Bl=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiList"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"ul":a,s=r.dense,c=void 0!==s&&s,u=r.disablePadding,d=void 0!==u&&u,f=r.subheader,p=(0,T.Z)(r,zl),h=t.useMemo((function(){return{dense:c}}),[c]),m=(0,Ti.Z)({},r,{component:l,dense:c,disablePadding:d}),v=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,Yi.Z)(n,Dl,t)}(m);return(0,Bi.jsx)(Il.Provider,{value:h,children:(0,Bi.jsxs)(Ll,(0,Ti.Z)({as:l,className:(0,Mi.Z)(v.root,i),ref:n,ownerState:m},p,{children:[f,o]}))})})),Fl=n(2564),Wl=n(5438),Ul=n(2561),ql=n(9140),Hl=(n(3361),(0,Fl.w)((function(e,n){var r=e.styles,o=(0,ql.O)([r],void 0,t.useContext(Fl.T));if(!Fl.i){for(var i,a=o.name,l=o.styles,s=o.next;void 0!==s;)a+=" "+s.name,l+=s.styles,s=s.next;var c=!0===n.compat,u=n.insert("",{name:a,styles:l},n.sheet,c);return c?null:t.createElement("style",((i={})["data-emotion"]=n.key+"-global "+a,i.dangerouslySetInnerHTML={__html:u},i.nonce=n.sheet.nonce,i))}var d=t.useRef();return(0,Ul.j)((function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),t.hydrate([i])),d.current=[t,r],function(){t.flush()}}),[n]),(0,Ul.j)((function(){var e=d.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&(0,Wl.My)(n,o.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",o,t,!1)}}),[n,o.name]),null})));function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,ql.O)(t)}var Yl=function(){var e=Vl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function Gl(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,o="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Bi.jsx)(Hl,{styles:o})}var $l=function(e){var t=e.styles,n=e.themeId,r=e.defaultTheme,o=void 0===r?{}:r,i=(0,Ci.Z)(o),a="function"===typeof t?t(n&&i[n]||i):t;return(0,Bi.jsx)(Gl,{styles:a})};var Kl=function(e){return(0,Bi.jsx)($l,(0,Ti.Z)({},e,{defaultTheme:Pi.Z,themeId:Zi.Z}))},Xl=function(e,t){return(0,Ti.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode})},Ql=function(e){return(0,Ti.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}})};var Jl=function(e){var n=(0,_a.Z)({props:e,name:"MuiCssBaseline"}),r=n.children,o=n.enableColorScheme,i=void 0!==o&&o;return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(Kl,{styles:function(e){return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={};n&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((function(t){var n,o=(0,D.Z)(t,2),i=o[0],a=o[1];r[e.getColorSchemeSelector(i).replace(/\s*&/,"")]={colorScheme:null==(n=a.palette)?void 0:n.mode}}));var o=(0,Ti.Z)({html:Xl(e,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,Ti.Z)({margin:0},Ql(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r),i=null==(t=e.components)||null==(t=t.MuiCssBaseline)?void 0:t.styleOverrides;return i&&(o=[o,i]),o}(e,i)}}),r]})};function es(e){return(0,Oa.Z)("MuiTypography",e)}(0,Ea.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var ts=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ns=(0,Oi.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,vl.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),rs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},os={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},is=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTypography"}),r=function(e){return os[e]||e}(n.color),o=Li((0,Ti.Z)({},n,{color:r})),i=o.align,a=void 0===i?"inherit":i,l=o.className,s=o.component,c=o.gutterBottom,u=void 0!==c&&c,d=o.noWrap,f=void 0!==d&&d,p=o.paragraph,h=void 0!==p&&p,m=o.variant,v=void 0===m?"body1":m,g=o.variantMapping,y=void 0===g?rs:g,b=(0,T.Z)(o,ts),x=(0,Ti.Z)({},o,{align:a,color:r,className:l,component:s,gutterBottom:u,noWrap:f,paragraph:h,variant:v,variantMapping:y}),w=s||(h?"p":y[v]||rs[v])||"span",S=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,o=e.paragraph,i=e.variant,a=e.classes,l={root:["root",i,"inherit"!==e.align&&"align".concat((0,vl.Z)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,Yi.Z)(l,es,a)}(x);return(0,Bi.jsx)(ns,(0,Ti.Z)({as:w,ref:t,ownerState:x,className:(0,Mi.Z)(S.root,l)},b))})),as=is;function ls(e){return(0,Oa.Z)("MuiDivider",e)}var ss=(0,Ea.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),cs=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],us=(0,Oi.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,cl.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.ownerState;return(0,Ti.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.ownerState;return(0,Ti.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),ds=(0,Oi.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),fs=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDivider"}),r=n.absolute,o=void 0!==r&&r,i=n.children,a=n.className,l=n.component,s=void 0===l?i?"div":"hr":l,c=n.flexItem,u=void 0!==c&&c,d=n.light,f=void 0!==d&&d,p=n.orientation,h=void 0===p?"horizontal":p,m=n.role,v=void 0===m?"hr"!==s?"separator":void 0:m,g=n.textAlign,y=void 0===g?"center":g,b=n.variant,x=void 0===b?"fullWidth":b,w=(0,T.Z)(n,cs),S=(0,Ti.Z)({},n,{absolute:o,component:s,flexItem:u,light:f,orientation:h,role:v,textAlign:y,variant:x}),k=function(e){var t=e.absolute,n=e.children,r=e.classes,o=e.flexItem,i=e.light,a=e.orientation,l=e.textAlign,s={root:["root",t&&"absolute",e.variant,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,Yi.Z)(s,ls,r)}(S);return(0,Bi.jsx)(us,(0,Ti.Z)({as:s,className:(0,Mi.Z)(k.root,a),role:v,ref:t,ownerState:S},w,{children:i?(0,Bi.jsx)(ds,{className:k.wrapper,ownerState:S,children:i}):null}))}));fs.muiSkipListHighlight=!0;var ps=fs,hs=n(9683),ms=n(3031);function vs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function gs(e,n){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return n&&(0,t.isValidElement)(e)?n(e):e}(e)})),r}function ys(e,t,n){return null!=n[t]?n[t]:e.props[t]}function bs(e,n,r){var o=gs(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(n,o);return Object.keys(i).forEach((function(a){var l=i[a];if((0,t.isValidElement)(l)){var s=a in n,c=a in o,u=n[a],d=(0,t.isValidElement)(u)&&!u.props.in;!c||s&&!d?c||!s||d?c&&s&&(0,t.isValidElement)(u)&&(i[a]=(0,t.cloneElement)(l,{onExited:r.bind(null,l),in:u.props.in,exit:ys(l,"exit",e),enter:ys(l,"enter",e)})):i[a]=(0,t.cloneElement)(l,{in:!1}):i[a]=(0,t.cloneElement)(l,{onExited:r.bind(null,l),in:!0,exit:ys(l,"exit",e),enter:ys(l,"enter",e)})}})),i}var xs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ws=function(e){function n(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(V(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ta(n,e);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=e,o=a,gs(r.children,(function(e){return(0,t.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:ys(e,"appear",r),enter:ys(e,"enter",r),exit:ys(e,"exit",r)})}))):bs(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=gs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Ti.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var e=this.props,n=e.component,r=e.childFactory,o=(0,T.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=xs(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Aa.Provider,{value:i},a):t.createElement(Aa.Provider,{value:i},t.createElement(n,o,a))},n}(t.Component);ws.propTypes={},ws.defaultProps={component:"div",childFactory:function(e){return e}};var Ss=ws;var ks=function(e){var n=e.className,r=e.classes,o=e.pulsate,i=void 0!==o&&o,a=e.rippleX,l=e.rippleY,s=e.rippleSize,c=e.in,u=e.onExited,d=e.timeout,f=t.useState(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,Mi.Z)(n,r.ripple,r.rippleVisible,i&&r.ripplePulsate),g={width:s,height:s,top:-s/2+l,left:-s/2+a},y=(0,Mi.Z)(r.child,h&&r.childLeaving,i&&r.childPulsate);return c||h||m(!0),t.useEffect((function(){if(!c&&null!=u){var e=setTimeout(u,d);return function(){clearTimeout(e)}}}),[u,c,d]),(0,Bi.jsx)("span",{className:v,style:g,children:(0,Bi.jsx)("span",{className:y})})};var js,Es,Os,Cs,Ps,Zs,_s,Ts,Ms=(0,Ea.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),As=["center","classes","className"],Rs=Yl(Ps||(Ps=js||(js=vs(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),Ns=Yl(Zs||(Zs=Es||(Es=vs(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),Is=Yl(_s||(_s=Os||(Os=vs(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),Ds=(0,Oi.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),zs=(0,Oi.ZP)(ks,{name:"MuiTouchRipple",slot:"Ripple"})(Ts||(Ts=Cs||(Cs=vs(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),Ms.rippleVisible,Rs,550,(function(e){return e.theme.transitions.easing.easeInOut}),Ms.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),Ms.child,Ms.childLeaving,Ns,550,(function(e){return e.theme.transitions.easing.easeInOut}),Ms.childPulsate,Is,(function(e){return e.theme.transitions.easing.easeInOut})),Ls=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTouchRipple"}),o=r.center,i=void 0!==o&&o,a=r.classes,l=void 0===a?{}:a,s=r.className,c=(0,T.Z)(r,As),u=t.useState([]),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=t.useRef(0),m=t.useRef(null);t.useEffect((function(){m.current&&(m.current(),m.current=null)}),[f]);var v=t.useRef(!1),g=t.useRef(0),y=t.useRef(null),b=t.useRef(null);t.useEffect((function(){return function(){g.current&&clearTimeout(g.current)}}),[]);var x=t.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;p((function(e){return[].concat((0,F.Z)(e),[(0,Bi.jsx)(zs,{classes:{ripple:(0,Mi.Z)(l.ripple,Ms.ripple),rippleVisible:(0,Mi.Z)(l.rippleVisible,Ms.rippleVisible),ripplePulsate:(0,Mi.Z)(l.ripplePulsate,Ms.ripplePulsate),child:(0,Mi.Z)(l.child,Ms.child),childLeaving:(0,Mi.Z)(l.childLeaving,Ms.childLeaving),childPulsate:(0,Mi.Z)(l.childPulsate,Ms.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])})),h.current+=1,m.current=i}),[l]),w=t.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,a=t.center,l=void 0===a?i||t.pulsate:a,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===(null==e?void 0:e.type)&&v.current)v.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(v.current=!0);var u,d,f,p=c?null:b.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(h.width/2),d=Math.round(h.height/2);else{var m=e.touches&&e.touches.length>0?e.touches[0]:e,w=m.clientX,S=m.clientY;u=Math.round(w-h.left),d=Math.round(S-h.top)}if(l)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(f+=1);else{var k=2*Math.max(Math.abs((p?p.clientWidth:0)-u),u)+2,j=2*Math.max(Math.abs((p?p.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(k,2)+Math.pow(j,2))}null!=e&&e.touches?null===y.current&&(y.current=function(){x({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})},g.current=setTimeout((function(){y.current&&(y.current(),y.current=null)}),80)):x({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})}}),[i,x]),S=t.useCallback((function(){w({},{pulsate:!0})}),[w]),k=t.useCallback((function(e,t){if(clearTimeout(g.current),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void(g.current=setTimeout((function(){k(e,t)})));y.current=null,p((function(e){return e.length>0?e.slice(1):e})),m.current=t}),[]);return t.useImperativeHandle(n,(function(){return{pulsate:S,start:w,stop:k}}),[S,w,k]),(0,Bi.jsx)(Ds,(0,Ti.Z)({className:(0,Mi.Z)(Ms.root,l.root,s),ref:b},c,{children:(0,Bi.jsx)(Ss,{component:null,exit:!0,children:f})}))})),Bs=Ls;function Fs(e){return(0,Oa.Z)("MuiButtonBase",e)}var Ws,Us=(0,Ea.Z)("MuiButtonBase",["root","disabled","focusVisible"]),qs=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Hs=(0,Oi.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Ws={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,u.Z)(Ws,"&.".concat(Us.disabled),{pointerEvents:"none",cursor:"default"}),(0,u.Z)(Ws,"@media print",{colorAdjust:"exact"}),Ws)),Vs=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiButtonBase"}),o=r.action,i=r.centerRipple,a=void 0!==i&&i,l=r.children,s=r.className,c=r.component,u=void 0===c?"button":c,d=r.disabled,f=void 0!==d&&d,p=r.disableRipple,h=void 0!==p&&p,m=r.disableTouchRipple,v=void 0!==m&&m,g=r.focusRipple,y=void 0!==g&&g,b=r.LinkComponent,x=void 0===b?"a":b,w=r.onBlur,S=r.onClick,k=r.onContextMenu,j=r.onDragLeave,E=r.onFocus,O=r.onFocusVisible,C=r.onKeyDown,P=r.onKeyUp,Z=r.onMouseDown,_=r.onMouseLeave,M=r.onMouseUp,A=r.onTouchEnd,R=r.onTouchMove,N=r.onTouchStart,I=r.tabIndex,z=void 0===I?0:I,L=r.TouchRippleProps,B=r.touchRippleRef,F=r.type,W=(0,T.Z)(r,qs),U=t.useRef(null),q=t.useRef(null),H=(0,qa.Z)(q,B),V=(0,ms.Z)(),Y=V.isFocusVisibleRef,G=V.onFocus,$=V.onBlur,K=V.ref,X=t.useState(!1),Q=(0,D.Z)(X,2),J=Q[0],ee=Q[1];f&&J&&ee(!1),t.useImperativeHandle(o,(function(){return{focusVisible:function(){ee(!0),U.current.focus()}}}),[]);var te=t.useState(!1),ne=(0,D.Z)(te,2),re=ne[0],oe=ne[1];t.useEffect((function(){oe(!0)}),[]);var ie=re&&!h&&!f;function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return(0,hs.Z)((function(r){return t&&t(r),!n&&q.current&&q.current[e](r),!0}))}t.useEffect((function(){J&&y&&!h&&re&&q.current.pulsate()}),[h,y,J,re]);var le=ae("start",Z),se=ae("stop",k),ce=ae("stop",j),ue=ae("stop",M),de=ae("stop",(function(e){J&&e.preventDefault(),_&&_(e)})),fe=ae("start",N),pe=ae("stop",A),he=ae("stop",R),me=ae("stop",(function(e){$(e),!1===Y.current&&ee(!1),w&&w(e)}),!1),ve=(0,hs.Z)((function(e){U.current||(U.current=e.currentTarget),G(e),!0===Y.current&&(ee(!0),O&&O(e)),E&&E(e)})),ge=function(){var e=U.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ye=t.useRef(!1),be=(0,hs.Z)((function(e){y&&!ye.current&&J&&q.current&&" "===e.key&&(ye.current=!0,q.current.stop(e,(function(){q.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!f&&(e.preventDefault(),S&&S(e))})),xe=(0,hs.Z)((function(e){y&&" "===e.key&&q.current&&J&&!e.defaultPrevented&&(ye.current=!1,q.current.stop(e,(function(){q.current.pulsate(e)}))),P&&P(e),S&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&S(e)})),we=u;"button"===we&&(W.href||W.to)&&(we=x);var Se={};"button"===we?(Se.type=void 0===F?"button":F,Se.disabled=f):(W.href||W.to||(Se.role="button"),f&&(Se["aria-disabled"]=f));var ke=(0,qa.Z)(n,K,U);var je=(0,Ti.Z)({},r,{centerRipple:a,component:u,disabled:f,disableRipple:h,disableTouchRipple:v,focusRipple:y,tabIndex:z,focusVisible:J}),Ee=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Yi.Z)(i,Fs,o);return n&&r&&(a.root+=" ".concat(r)),a}(je);return(0,Bi.jsxs)(Hs,(0,Ti.Z)({as:we,className:(0,Mi.Z)(Ee.root,s),ownerState:je,onBlur:me,onClick:S,onContextMenu:se,onFocus:ve,onKeyDown:be,onKeyUp:xe,onMouseDown:le,onMouseLeave:de,onMouseUp:ue,onDragLeave:ce,onTouchEnd:pe,onTouchMove:he,onTouchStart:fe,ref:ke,tabIndex:f?-1:z,type:F},Se,W,{children:[l,ie?(0,Bi.jsx)(Bs,(0,Ti.Z)({ref:H,center:a},L)):null]}))})),Ys=Vs;function Gs(e){return(0,Oa.Z)("MuiIconButton",e)}var $s=(0,Ea.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ks=["edge","children","className","color","disabled","disableFocusRipple","size"],Xs=(0,Oi.ZP)(Ys,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))],n.edge&&t["edge".concat((0,vl.Z)(n.edge))],t["size".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,r=e.ownerState,o=null==(t=(n.vars||n).palette)?void 0:t[r.color];return(0,Ti.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,Ti.Z)({color:null==o?void 0:o.main},!r.disableRipple&&{"&:hover":(0,Ti.Z)({},o&&{backgroundColor:n.vars?"rgba(".concat(o.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,u.Z)({},"&.".concat($s.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),Qs=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiIconButton"}),r=n.edge,o=void 0!==r&&r,i=n.children,a=n.className,l=n.color,s=void 0===l?"default":l,c=n.disabled,u=void 0!==c&&c,d=n.disableFocusRipple,f=void 0!==d&&d,p=n.size,h=void 0===p?"medium":p,m=(0,T.Z)(n,Ks),v=(0,Ti.Z)({},n,{edge:o,color:s,disabled:u,disableFocusRipple:f,size:h}),g=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,vl.Z)(r)),o&&"edge".concat((0,vl.Z)(o)),"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(a,Gs,t)}(v);return(0,Bi.jsx)(Xs,(0,Ti.Z)({className:(0,Mi.Z)(g.root,a),centerRipple:!0,focusRipple:!f,disabled:u,ref:t,ownerState:v},m,{children:i}))})),Js=Qs;function ec(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"}}]})(e)}function tc(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 256c52.805 0 96-43.201 96-96s-43.195-96-96-96-96 43.201-96 96 43.195 96 96 96zm0 48c-63.598 0-192 32.402-192 96v48h384v-48c0-63.598-128.402-96-192-96zM112 224v-64H80v64H16v32h64v64h32v-64h64v-32h-64z"}}]})(e)}var nc=n(1009),rc=n(8996),oc=n(3701),ic=n(162);function ac(e){return(0,Oa.Z)("MuiListItem",e)}var lc=(0,Ea.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function sc(e){return(0,Oa.Z)("MuiListItemButton",e)}var cc=(0,Ea.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function uc(e){return(0,Oa.Z)("MuiListItemSecondaryAction",e)}(0,Ea.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var dc=["className"],fc=(0,Oi.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.disableGutters&&t.disableGutters]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})})),pc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemSecondaryAction"}),o=r.className,i=(0,T.Z)(r,dc),a=t.useContext(Il),l=(0,Ti.Z)({},r,{disableGutters:a.disableGutters}),s=function(e){var t=e.disableGutters,n=e.classes,r={root:["root",t&&"disableGutters"]};return(0,Yi.Z)(r,uc,n)}(l);return(0,Bi.jsx)(fc,(0,Ti.Z)({className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n},i))}));pc.muiName="ListItemSecondaryAction";var hc=pc,mc=["className"],vc=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],gc=(0,Oi.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!r.disablePadding&&(0,Ti.Z)({paddingTop:8,paddingBottom:8},r.dense&&{paddingTop:4,paddingBottom:4},!r.disableGutters&&{paddingLeft:16,paddingRight:16},!!r.secondaryAction&&{paddingRight:48}),!!r.secondaryAction&&(0,u.Z)({},"& > .".concat(cc.root),{paddingRight:48}),(t={},(0,u.Z)(t,"&.".concat(lc.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(lc.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(lc.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(lc.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},r.button&&(0,u.Z)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(lc.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),r.hasSecondaryAction&&{paddingRight:48})})),yc=(0,Oi.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,t){return t.container}})({position:"relative"}),bc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItem"}),o=r.alignItems,i=void 0===o?"center":o,a=r.autoFocus,l=void 0!==a&&a,s=r.button,c=void 0!==s&&s,u=r.children,d=r.className,f=r.component,p=r.components,h=void 0===p?{}:p,m=r.componentsProps,v=void 0===m?{}:m,g=r.ContainerComponent,y=void 0===g?"li":g,b=r.ContainerProps,x=(void 0===b?{}:b).className,w=r.dense,S=void 0!==w&&w,k=r.disabled,j=void 0!==k&&k,E=r.disableGutters,O=void 0!==E&&E,C=r.disablePadding,P=void 0!==C&&C,Z=r.divider,_=void 0!==Z&&Z,M=r.focusVisibleClassName,A=r.secondaryAction,R=r.selected,N=void 0!==R&&R,I=r.slotProps,D=void 0===I?{}:I,z=r.slots,L=void 0===z?{}:z,B=(0,T.Z)(r.ContainerProps,mc),F=(0,T.Z)(r,vc),W=t.useContext(Il),U=t.useMemo((function(){return{dense:S||W.dense||!1,alignItems:i,disableGutters:O}}),[i,W.dense,S,O]),q=t.useRef(null);(0,ic.Z)((function(){l&&q.current&&q.current.focus()}),[l]);var H=t.Children.toArray(u),V=H.length&&(0,oc.Z)(H[H.length-1],["ListItemSecondaryAction"]),Y=(0,Ti.Z)({},r,{alignItems:i,autoFocus:l,button:c,dense:U.dense,disabled:j,disableGutters:O,disablePadding:P,divider:_,hasSecondaryAction:V,selected:N}),G=function(e){var t=e.alignItems,n=e.button,r=e.classes,o=e.dense,i=e.disabled,a={root:["root",o&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,Yi.Z)(a,ac,r)}(Y),$=(0,qa.Z)(q,n),K=L.root||h.Root||gc,X=D.root||v.root||{},Q=(0,Ti.Z)({className:(0,Mi.Z)(G.root,X.className,d),disabled:j},F),J=f||"li";return c&&(Q.component=f||"div",Q.focusVisibleClassName=(0,Mi.Z)(lc.focusVisible,M),J=Ys),V?(J=Q.component||f?J:"div","li"===y&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),(0,Bi.jsx)(Il.Provider,{value:U,children:(0,Bi.jsxs)(yc,(0,Ti.Z)({as:y,className:(0,Mi.Z)(G.container,x),ref:$,ownerState:Y},B,{children:[(0,Bi.jsx)(K,(0,Ti.Z)({},X,!$i(K)&&{as:J,ownerState:(0,Ti.Z)({},Y,X.ownerState)},Q,{children:H})),H.pop()]}))})):(0,Bi.jsx)(Il.Provider,{value:U,children:(0,Bi.jsxs)(K,(0,Ti.Z)({},X,{as:J,ref:$},!$i(K)&&{ownerState:(0,Ti.Z)({},Y,X.ownerState)},Q,{children:[H,A&&(0,Bi.jsx)(hc,{children:A})]}))})})),xc=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],wc=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiListItemButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)((t={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,u.Z)(t,"&.".concat(cc.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(cc.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(cc.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,u.Z)(t,"&.".concat(cc.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(cc.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===r.alignItems&&{alignItems:"flex-start"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.dense&&{paddingTop:4,paddingBottom:4})})),Sc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemButton"}),o=r.alignItems,i=void 0===o?"center":o,a=r.autoFocus,l=void 0!==a&&a,s=r.component,c=void 0===s?"div":s,u=r.children,d=r.dense,f=void 0!==d&&d,p=r.disableGutters,h=void 0!==p&&p,m=r.divider,v=void 0!==m&&m,g=r.focusVisibleClassName,y=r.selected,b=void 0!==y&&y,x=r.className,w=(0,T.Z)(r,xc),S=t.useContext(Il),k=t.useMemo((function(){return{dense:f||S.dense||!1,alignItems:i,disableGutters:h}}),[i,S.dense,f,h]),j=t.useRef(null);(0,ic.Z)((function(){l&&j.current&&j.current.focus()}),[l]);var E=(0,Ti.Z)({},r,{alignItems:i,dense:k.dense,disableGutters:h,divider:v,selected:b}),O=function(e){var t=e.alignItems,n=e.classes,r=e.dense,o=e.disabled,i={root:["root",r&&"dense",!e.disableGutters&&"gutters",e.divider&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",e.selected&&"selected"]},a=(0,Yi.Z)(i,sc,n);return(0,Ti.Z)({},n,a)}(E),C=(0,qa.Z)(j,n);return(0,Bi.jsx)(Il.Provider,{value:k,children:(0,Bi.jsx)(wc,(0,Ti.Z)({ref:C,href:w.href||w.to,component:(w.href||w.to)&&"div"===c?"button":c,focusVisibleClassName:(0,Mi.Z)(O.focusVisible,g),ownerState:E,className:(0,Mi.Z)(O.root,x)},w,{classes:O,children:u}))})}));function kc(e){return(0,Oa.Z)("MuiListItemIcon",e)}var jc=(0,Ea.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Ec=["className"],Oc=(0,Oi.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),Cc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemIcon"}),o=r.className,i=(0,T.Z)(r,Ec),a=t.useContext(Il),l=(0,Ti.Z)({},r,{alignItems:a.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,Yi.Z)(r,kc,n)}(l);return(0,Bi.jsx)(Oc,(0,Ti.Z)({className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n},i))}));function Pc(e){return(0,Oa.Z)("MuiListItemText",e)}var Zc=(0,Ea.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),_c=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Tc=(0,Oi.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(Zc.primary),t.primary),(0,u.Z)({},"& .".concat(Zc.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),Mc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemText"}),o=r.children,i=r.className,a=r.disableTypography,l=void 0!==a&&a,s=r.inset,c=void 0!==s&&s,u=r.primary,d=r.primaryTypographyProps,f=r.secondary,p=r.secondaryTypographyProps,h=(0,T.Z)(r,_c),m=t.useContext(Il).dense,v=null!=u?u:o,g=f,y=(0,Ti.Z)({},r,{disableTypography:l,inset:c,primary:!!v,secondary:!!g,dense:m}),b=function(e){var t=e.classes,n=e.inset,r=e.primary,o=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,Yi.Z)(i,Pc,t)}(y);return null==v||v.type===as||l||(v=(0,Bi.jsx)(as,(0,Ti.Z)({variant:m?"body2":"body1",className:b.primary,component:null!=d&&d.variant?void 0:"span",display:"block"},d,{children:v}))),null==g||g.type===as||l||(g=(0,Bi.jsx)(as,(0,Ti.Z)({variant:"body2",className:b.secondary,color:"text.secondary",display:"block"},p,{children:g}))),(0,Bi.jsxs)(Tc,(0,Ti.Z)({className:(0,Mi.Z)(b.root,i),ownerState:y,ref:n},h,{children:[v,g]}))})),Ac=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Rc(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Nc={entering:{opacity:1,transform:Rc(1)},entered:{opacity:1,transform:"none"}},Ic="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Dc=t.forwardRef((function(e,n){var r=e.addEndListener,o=e.appear,i=void 0===o||o,a=e.children,l=e.easing,s=e.in,c=e.onEnter,u=e.onEntered,d=e.onEntering,f=e.onExit,p=e.onExited,h=e.onExiting,m=e.style,v=e.timeout,g=void 0===v?"auto":v,y=e.TransitionComponent,b=void 0===y?Fa:y,x=(0,T.Z)(e,Ac),w=t.useRef(),S=t.useRef(),k=_i(),j=t.useRef(null),E=(0,qa.Z)(j,a.ref,n),O=function(e){return function(t){if(e){var n=j.current;void 0===t?e(n):e(n,t)}}},C=O(d),P=O((function(e,t){Wa(e);var n,r=Ua({style:m,timeout:g,easing:l},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===g?(n=k.transitions.getAutoHeightDuration(e.clientHeight),S.current=n):n=o,e.style.transition=[k.transitions.create("opacity",{duration:n,delay:i}),k.transitions.create("transform",{duration:Ic?n:.666*n,delay:i,easing:a})].join(","),c&&c(e,t)})),Z=O(u),_=O(h),M=O((function(e){var t,n=Ua({style:m,timeout:g,easing:l},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===g?(t=k.transitions.getAutoHeightDuration(e.clientHeight),S.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:o}),k.transitions.create("transform",{duration:Ic?t:.666*t,delay:Ic?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=Rc(.75),f&&f(e)})),A=O(p);return t.useEffect((function(){return function(){clearTimeout(w.current)}}),[]),(0,Bi.jsx)(b,(0,Ti.Z)({appear:i,in:s,nodeRef:j,onEnter:P,onEntered:Z,onEntering:C,onExit:M,onExited:A,onExiting:_,addEndListener:function(e){"auto"===g&&(w.current=setTimeout(e,S.current||0)),r&&r(j.current,e)},timeout:"auto"===g?null:g},x,{children:function(e,n){return t.cloneElement(a,(0,Ti.Z)({style:(0,Ti.Z)({opacity:0,transform:Rc(.75),visibility:"exited"!==e||s?void 0:"hidden"},Nc[e],m,a.props.style),ref:E},n))}}))}));Dc.muiSupportAuto=!0;var zc=Dc;function Lc(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Bc(e){return e instanceof Lc(e).Element||e instanceof Element}function Fc(e){return e instanceof Lc(e).HTMLElement||e instanceof HTMLElement}function Wc(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Lc(e).ShadowRoot||e instanceof ShadowRoot)}var Uc=Math.max,qc=Math.min,Hc=Math.round;function Vc(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(Vc())}function Gc(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Fc(e)&&(o=e.offsetWidth>0&&Hc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Hc(r.height)/e.offsetHeight||1);var a=(Bc(e)?Lc(e):window).visualViewport,l=!Yc()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function $c(e){var t=Lc(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Kc(e){return e?(e.nodeName||"").toLowerCase():null}function Xc(e){return((Bc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qc(e){return Gc(Xc(e)).left+$c(e).scrollLeft}function Jc(e){return Lc(e).getComputedStyle(e)}function eu(e){var t=Jc(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function tu(e,t,n){void 0===n&&(n=!1);var r=Fc(t),o=Fc(t)&&function(e){var t=e.getBoundingClientRect(),n=Hc(t.width)/e.offsetWidth||1,r=Hc(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Xc(t),a=Gc(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Kc(t)||eu(i))&&(l=function(e){return e!==Lc(e)&&Fc(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:$c(e);var t}(t)),Fc(t)?((s=Gc(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Qc(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function nu(e){var t=Gc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ru(e){return"html"===Kc(e)?e:e.assignedSlot||e.parentNode||(Wc(e)?e.host:null)||Xc(e)}function ou(e){return["html","body","#document"].indexOf(Kc(e))>=0?e.ownerDocument.body:Fc(e)&&eu(e)?e:ou(ru(e))}function iu(e,t){var n;void 0===t&&(t=[]);var r=ou(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Lc(r),a=o?[i].concat(i.visualViewport||[],eu(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(iu(ru(a)))}function au(e){return["table","td","th"].indexOf(Kc(e))>=0}function lu(e){return Fc(e)&&"fixed"!==Jc(e).position?e.offsetParent:null}function su(e){for(var t=Lc(e),n=lu(e);n&&au(n)&&"static"===Jc(n).position;)n=lu(n);return n&&("html"===Kc(n)||"body"===Kc(n)&&"static"===Jc(n).position)?t:n||function(e){var t=/firefox/i.test(Vc());if(/Trident/i.test(Vc())&&Fc(e)&&"fixed"===Jc(e).position)return null;var n=ru(e);for(Wc(n)&&(n=n.host);Fc(n)&&["html","body"].indexOf(Kc(n))<0;){var r=Jc(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var cu="top",uu="bottom",du="right",fu="left",pu="auto",hu=[cu,uu,du,fu],mu="start",vu="end",gu="clippingParents",yu="viewport",bu="popper",xu="reference",wu=hu.reduce((function(e,t){return e.concat([t+"-"+mu,t+"-"+vu])}),[]),Su=[].concat(hu,[pu]).reduce((function(e,t){return e.concat([t,t+"-"+mu,t+"-"+vu])}),[]),ku=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ju(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Eu(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ou={placement:"bottom",modifiers:[],strategy:"absolute"};function Cu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Pu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ou:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ou,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Bc(e)?iu(e):e.contextElement?iu(e.contextElement):[],popper:iu(t)};var u=function(e){var t=ju(e);return ku.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var l=i({state:o,name:t,instance:s,options:r}),c=function(){};a.push(l||c)}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Cu(t,n)){o.rects={reference:tu(t,su(n),"fixed"===o.options.strategy),popper:nu(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Eu((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){c(),l=!0}};if(!Cu(e,t))return s;function c(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Zu={passive:!0};function _u(e){return e.split("-")[0]}function Tu(e){return e.split("-")[1]}function Mu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Au(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?_u(o):null,a=o?Tu(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case cu:t={x:l,y:n.y-r.height};break;case uu:t={x:l,y:n.y+n.height};break;case du:t={x:n.x+n.width,y:s};break;case fu:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Mu(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case mu:t[c]=t[c]-(n[u]/2-r[u]/2);break;case vu:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Ru={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"===typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=fu,x=cu,w=window;if(c){var S=su(n),k="clientHeight",j="clientWidth";if(S===Lc(n)&&"static"!==Jc(S=Xc(n)).position&&"absolute"===l&&(k="scrollHeight",j="scrollWidth"),o===cu||(o===fu||o===du)&&i===vu)x=uu,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-r.height,m*=s?1:-1;if(o===fu||(o===cu||o===uu)&&i===vu)b=du,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[j])-r.width,p*=s?1:-1}var E,O=Object.assign({position:l},c&&Ru),C=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Hc(n*o)/o||0,y:Hc(r*o)/o||0}}({x:p,y:m},Lc(n)):{x:p,y:m};return p=C.x,m=C.y,s?Object.assign({},O,((E={})[x]=y?"0":"",E[b]=g?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var Iu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Fc(o)&&Kc(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Fc(r)&&Kc(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Du={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Su.reduce((function(e,n){return e[n]=function(e,t,n){var r=_u(e),o=[fu,cu].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[fu,du].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},zu={left:"right",right:"left",bottom:"top",top:"bottom"};function Lu(e){return e.replace(/left|right|bottom|top/g,(function(e){return zu[e]}))}var Bu={start:"end",end:"start"};function Fu(e){return e.replace(/start|end/g,(function(e){return Bu[e]}))}function Wu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Wc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Uu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qu(e,t,n){return t===yu?Uu(function(e,t){var n=Lc(e),r=Xc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=Yc();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Qc(e),y:s}}(e,n)):Bc(t)?function(e,t){var n=Gc(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Uu(function(e){var t,n=Xc(e),r=$c(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Uc(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Uc(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Qc(e),s=-r.scrollTop;return"rtl"===Jc(o||n).direction&&(l+=Uc(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Xc(e)))}function Hu(e,t,n,r){var o="clippingParents"===t?function(e){var t=iu(ru(e)),n=["absolute","fixed"].indexOf(Jc(e).position)>=0&&Fc(e)?su(e):e;return Bc(n)?t.filter((function(e){return Bc(e)&&Wu(e,n)&&"body"!==Kc(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=qu(e,n,r);return t.top=Uc(o.top,t.top),t.right=qc(o.right,t.right),t.bottom=qc(o.bottom,t.bottom),t.left=Uc(o.left,t.left),t}),qu(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Vu(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Yu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Gu(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?gu:l,c=n.rootBoundary,u=void 0===c?yu:c,d=n.elementContext,f=void 0===d?bu:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Vu("number"!==typeof v?v:Yu(v,hu)),y=f===bu?xu:bu,b=e.rects.popper,x=e.elements[h?y:f],w=Hu(Bc(x)?x:x.contextElement||Xc(e.elements.popper),s,u,a),S=Gc(e.elements.reference),k=Au({reference:S,element:b,strategy:"absolute",placement:o}),j=Uu(Object.assign({},b,k)),E=f===bu?j:S,O={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},C=e.modifiersData.offset;if(f===bu&&C){var P=C[o];Object.keys(O).forEach((function(e){var t=[du,uu].indexOf(e)>=0?1:-1,n=[cu,uu].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}var $u={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=_u(v),y=s||(g===v||!h?[Lu(v)]:function(e){if(_u(e)===pu)return[];var t=Lu(e);return[Fu(e),t,Fu(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(_u(n)===pu?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Su:s,u=Tu(r),d=u?l?wu:wu.filter((function(e){return Tu(e)===u})):hu,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Gu(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[_u(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,j=b[0],E=0;E<b.length;E++){var O=b[E],C=_u(O),P=Tu(O)===mu,Z=[cu,uu].indexOf(C)>=0,_=Z?"width":"height",T=Gu(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),M=Z?P?du:fu:P?uu:cu;x[_]>w[_]&&(M=Lu(M));var A=Lu(M),R=[];if(i&&R.push(T[C]<=0),l&&R.push(T[M]<=0,T[A]<=0),R.every((function(e){return e}))){j=O,k=!1;break}S.set(O,R)}if(k)for(var N=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},I=h?3:1;I>0;I--){if("break"===N(I))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ku(e,t,n){return Uc(e,qc(t,n))}var Xu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Gu(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=_u(t.placement),y=Tu(t.placement),b=!y,x=Mu(g),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,E="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"===typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var Z,_="y"===x?cu:fu,T="y"===x?uu:du,M="y"===x?"height":"width",A=S[x],R=A+v[_],N=A-v[T],I=p?-j[M]/2:0,D=y===mu?k[M]:j[M],z=y===mu?-j[M]:-k[M],L=t.elements.arrow,B=p&&L?nu(L):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=F[_],U=F[T],q=Ku(0,k[M],B[M]),H=b?k[M]/2-I-q-W-O.mainAxis:D-q-W-O.mainAxis,V=b?-k[M]/2+I+q+U+O.mainAxis:z+q+U+O.mainAxis,Y=t.elements.arrow&&su(t.elements.arrow),G=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,$=null!=(Z=null==C?void 0:C[x])?Z:0,K=A+V-$,X=Ku(p?qc(R,A+H-$-G):R,A,p?Uc(N,K):N);S[x]=X,P[x]=X-A}if(l){var Q,J="x"===x?cu:fu,ee="x"===x?uu:du,te=S[w],ne="y"===w?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[cu,fu].indexOf(g),ae=null!=(Q=null==C?void 0:C[w])?Q:0,le=ie?re:te-k[ne]-j[ne]-ae+O.altAxis,se=ie?te+k[ne]+j[ne]-ae-O.altAxis:oe,ce=p&&ie?function(e,t,n){var r=Ku(e,t,n);return r>n?n:r}(le,te,se):Ku(p?le:re,te,p?se:oe);S[w]=ce,P[w]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};var Qu={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=_u(n.placement),s=Mu(l),c=[fu,du].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return Vu("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Yu(e,hu))}(o.padding,n),d=nu(i),f="y"===s?cu:fu,p="y"===s?uu:du,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],v=su(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[f],x=g-d[c]-u[p],w=g/2-d[c]/2+y,S=Ku(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&Wu(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ju(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ed(e){return[cu,du,uu,fu].some((function(t){return e[t]>=0}))}var td=Pu({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Lc(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Zu)})),l&&s.addEventListener("resize",n.update,Zu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Zu)})),l&&s.removeEventListener("resize",n.update,Zu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Au({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:_u(t.placement),variation:Tu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Nu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Iu,Du,$u,Xu,Qu,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Gu(t,{elementContext:"reference"}),l=Gu(t,{altBoundary:!0}),s=Ju(a,r),c=Ju(l,o,i),u=ed(s),d=ed(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function nd(e){return(0,Oa.Z)("MuiPopper",e)}(0,Ea.Z)("MuiPopper",["root"]);var rd=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],od=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function id(e){return"function"===typeof e?e():e}function ad(e){return void 0!==e.nodeType}var ld={},sd=t.forwardRef((function(e,n){var r,o=e.anchorEl,i=e.children,a=e.direction,l=e.disablePortal,s=e.modifiers,c=e.open,u=e.placement,d=e.popperOptions,f=e.popperRef,p=e.slotProps,h=void 0===p?{}:p,m=e.slots,v=void 0===m?{}:m,g=e.TransitionProps,y=(0,T.Z)(e,rd),b=t.useRef(null),x=(0,Gi.Z)(b,n),w=t.useRef(null),S=(0,Gi.Z)(w,f),k=t.useRef(S);(0,ia.Z)((function(){k.current=S}),[S]),t.useImperativeHandle(f,(function(){return w.current}),[]);var j=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),E=t.useState(j),O=(0,D.Z)(E,2),C=O[0],P=O[1],Z=t.useState(id(o)),_=(0,D.Z)(Z,2),M=_[0],A=_[1];t.useEffect((function(){w.current&&w.current.forceUpdate()})),t.useEffect((function(){o&&A(id(o))}),[o]),(0,ia.Z)((function(){if(M&&c){var e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;P(t.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));var t=td(M,b.current,(0,Ti.Z)({placement:j},d,{modifiers:e}));return k.current(t),function(){t.destroy(),k.current(null)}}}),[M,l,s,c,d,j]);var R={placement:C};null!==g&&(R.TransitionProps=g);var N=(0,Yi.Z)({root:["root"]},oa(nd)),I=null!=(r=v.root)?r:"div",z=ta({elementType:I,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:N.root});return(0,Bi.jsx)(I,(0,Ti.Z)({},z,{children:"function"===typeof i?i(R):i}))})),cd=t.forwardRef((function(e,n){var r,o=e.anchorEl,i=e.children,a=e.container,l=e.direction,s=void 0===l?"ltr":l,c=e.disablePortal,u=void 0!==c&&c,d=e.keepMounted,f=void 0!==d&&d,p=e.modifiers,h=e.open,m=e.placement,v=void 0===m?"bottom":m,g=e.popperOptions,y=void 0===g?ld:g,b=e.popperRef,x=e.style,w=e.transition,S=void 0!==w&&w,k=e.slotProps,j=void 0===k?{}:k,E=e.slots,O=void 0===E?{}:E,C=(0,T.Z)(e,od),P=t.useState(!0),Z=(0,D.Z)(P,2),_=Z[0],M=Z[1];if(!f&&!h&&(!S||_))return null;if(a)r=a;else if(o){var A=id(o);r=A&&ad(A)?(0,sa.Z)(A).body:(0,sa.Z)(null).body}var R=h||!f||S&&!_?void 0:"none",N=S?{in:h,onEnter:function(){M(!1)},onExited:function(){M(!0)}}:void 0;return(0,Bi.jsx)(la,{disablePortal:u,container:r,children:(0,Bi.jsx)(sd,(0,Ti.Z)({anchorEl:o,direction:s,disablePortal:u,modifiers:p,ref:n,open:S?!_:h,placement:v,popperOptions:y,popperRef:b,slotProps:j,slots:O},C,{style:(0,Ti.Z)({position:"fixed",top:0,left:0,display:R},x),TransitionProps:N,children:i}))})})),ud=n(9120),dd=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],fd=(0,Oi.ZP)(cd,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),pd=t.forwardRef((function(e,t){var n,r=(0,ud.Z)(),o=(0,_a.Z)({props:e,name:"MuiPopper"}),i=o.anchorEl,a=o.component,l=o.components,s=o.componentsProps,c=o.container,u=o.disablePortal,d=o.keepMounted,f=o.modifiers,p=o.open,h=o.placement,m=o.popperOptions,v=o.popperRef,g=o.transition,y=o.slots,b=o.slotProps,x=(0,T.Z)(o,dd),w=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,S=(0,Ti.Z)({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:v,transition:g},x);return(0,Bi.jsx)(fd,(0,Ti.Z)({as:a,direction:null==r?void 0:r.direction,slots:{root:w},slotProps:null!=b?b:s},S,{ref:t}))})),hd=n(7384),md=n(5158);function vd(e){return(0,Oa.Z)("MuiTooltip",e)}var gd=(0,Ea.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),yd=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function bd(e){return Math.round(1e5*e)/1e5}var xd=(0,Oi.ZP)(pd,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((function(e){var t,n=e.theme,r=e.ownerState,o=e.open;return(0,Ti.Z)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!o&&{pointerEvents:"none"},r.arrow&&(t={},(0,u.Z)(t,'&[data-popper-placement*="bottom"] .'.concat(gd.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),(0,u.Z)(t,'&[data-popper-placement*="top"] .'.concat(gd.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),(0,u.Z)(t,'&[data-popper-placement*="right"] .'.concat(gd.arrow),(0,Ti.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),(0,u.Z)(t,'&[data-popper-placement*="left"] .'.concat(gd.arrow),(0,Ti.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),t))})),wd=(0,Oi.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,vl.Z)(n.placement.split("-")[0]))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({backgroundColor:n.vars?n.vars.palette.Tooltip.bg:(0,cl.Fq)(n.palette.grey[700],.92),borderRadius:(n.vars||n).shape.borderRadius,color:(n.vars||n).palette.common.white,fontFamily:n.typography.fontFamily,padding:"4px 8px",fontSize:n.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:n.typography.fontWeightMedium},r.arrow&&{position:"relative",margin:0},r.touch&&{padding:"8px 16px",fontSize:n.typography.pxToRem(14),lineHeight:"".concat(bd(16/14),"em"),fontWeight:n.typography.fontWeightRegular},(t={},(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="left"] &'),(0,Ti.Z)({transformOrigin:"right center"},r.isRtl?(0,Ti.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}):(0,Ti.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}))),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="right"] &'),(0,Ti.Z)({transformOrigin:"left center"},r.isRtl?(0,Ti.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}):(0,Ti.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}))),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="top"] &'),(0,Ti.Z)({transformOrigin:"center bottom",marginBottom:"14px"},r.touch&&{marginBottom:"24px"})),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="bottom"] &'),(0,Ti.Z)({transformOrigin:"center top",marginTop:"14px"},r.touch&&{marginTop:"24px"})),t))})),Sd=(0,Oi.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(e,t){return t.arrow}})((function(e){var t=e.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,cl.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),kd=!1,jd=null,Ed={x:0,y:0};function Od(e,t){return function(n){t&&t(n),e(n)}}var Cd=t.forwardRef((function(e,n){var r,o,i,a,l,s,c,u,d,f,p,h,m,v,g,y,b,x,w,S=(0,_a.Z)({props:e,name:"MuiTooltip"}),k=S.arrow,j=void 0!==k&&k,E=S.children,O=S.components,C=void 0===O?{}:O,P=S.componentsProps,Z=void 0===P?{}:P,_=S.describeChild,M=void 0!==_&&_,A=S.disableFocusListener,R=void 0!==A&&A,N=S.disableHoverListener,I=void 0!==N&&N,z=S.disableInteractive,L=void 0!==z&&z,B=S.disableTouchListener,F=void 0!==B&&B,W=S.enterDelay,U=void 0===W?100:W,q=S.enterNextDelay,H=void 0===q?0:q,V=S.enterTouchDelay,Y=void 0===V?700:V,G=S.followCursor,$=void 0!==G&&G,K=S.id,X=S.leaveDelay,Q=void 0===X?0:X,J=S.leaveTouchDelay,ee=void 0===J?1500:J,te=S.onClose,ne=S.onOpen,re=S.open,oe=S.placement,ie=void 0===oe?"bottom":oe,ae=S.PopperComponent,le=S.PopperProps,se=void 0===le?{}:le,ce=S.slotProps,ue=void 0===ce?{}:ce,de=S.slots,fe=void 0===de?{}:de,pe=S.title,he=S.TransitionComponent,me=void 0===he?zc:he,ve=S.TransitionProps,ge=(0,T.Z)(S,yd),ye=t.isValidElement(E)?E:(0,Bi.jsx)("span",{children:E}),be=_i(),xe="rtl"===be.direction,we=t.useState(),Se=(0,D.Z)(we,2),ke=Se[0],je=Se[1],Ee=t.useState(null),Oe=(0,D.Z)(Ee,2),Ce=Oe[0],Pe=Oe[1],Ze=t.useRef(!1),_e=L||$,Te=t.useRef(),Me=t.useRef(),Ae=t.useRef(),Re=t.useRef(),Ne=(0,md.Z)({controlled:re,default:!1,name:"Tooltip",state:"open"}),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=Ie[1],Le=De,Be=(0,hd.Z)(K),Fe=t.useRef(),We=t.useCallback((function(){void 0!==Fe.current&&(document.body.style.WebkitUserSelect=Fe.current,Fe.current=void 0),clearTimeout(Re.current)}),[]);t.useEffect((function(){return function(){clearTimeout(Te.current),clearTimeout(Me.current),clearTimeout(Ae.current),We()}}),[We]);var Ue=function(e){clearTimeout(jd),kd=!0,ze(!0),ne&&!Le&&ne(e)},qe=(0,hs.Z)((function(e){clearTimeout(jd),jd=setTimeout((function(){kd=!1}),800+Q),ze(!1),te&&Le&&te(e),clearTimeout(Te.current),Te.current=setTimeout((function(){Ze.current=!1}),be.transitions.duration.shortest)})),He=function(e){Ze.current&&"touchstart"!==e.type||(ke&&ke.removeAttribute("title"),clearTimeout(Me.current),clearTimeout(Ae.current),U||kd&&H?Me.current=setTimeout((function(){Ue(e)}),kd?H:U):Ue(e))},Ve=function(e){clearTimeout(Me.current),clearTimeout(Ae.current),Ae.current=setTimeout((function(){qe(e)}),Q)},Ye=(0,ms.Z)(),Ge=Ye.isFocusVisibleRef,$e=Ye.onBlur,Ke=Ye.onFocus,Xe=Ye.ref,Qe=t.useState(!1),Je=(0,D.Z)(Qe,2)[1],et=function(e){$e(e),!1===Ge.current&&(Je(!1),Ve(e))},tt=function(e){ke||je(e.currentTarget),Ke(e),!0===Ge.current&&(Je(!0),He(e))},nt=function(e){Ze.current=!0;var t=ye.props;t.onTouchStart&&t.onTouchStart(e)},rt=He,ot=Ve;t.useEffect((function(){if(Le)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||qe(e)}}),[qe,Le]);var it=(0,qa.Z)(ye.ref,Xe,je,n);pe||0===pe||(Le=!1);var at=t.useRef(),lt={},st="string"===typeof pe;M?(lt.title=Le||!st||I?null:pe,lt["aria-describedby"]=Le?Be:null):(lt["aria-label"]=st?pe:null,lt["aria-labelledby"]=Le&&!st?Be:null);var ct=(0,Ti.Z)({},lt,ge,ye.props,{className:(0,Mi.Z)(ge.className,ye.props.className),onTouchStart:nt,ref:it},$?{onMouseMove:function(e){var t=ye.props;t.onMouseMove&&t.onMouseMove(e),Ed={x:e.clientX,y:e.clientY},at.current&&at.current.update()}}:{});var ut={};F||(ct.onTouchStart=function(e){nt(e),clearTimeout(Ae.current),clearTimeout(Te.current),We(),Fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Re.current=setTimeout((function(){document.body.style.WebkitUserSelect=Fe.current,He(e)}),Y)},ct.onTouchEnd=function(e){ye.props.onTouchEnd&&ye.props.onTouchEnd(e),We(),clearTimeout(Ae.current),Ae.current=setTimeout((function(){qe(e)}),ee)}),I||(ct.onMouseOver=Od(rt,ct.onMouseOver),ct.onMouseLeave=Od(ot,ct.onMouseLeave),_e||(ut.onMouseOver=rt,ut.onMouseLeave=ot)),R||(ct.onFocus=Od(tt,ct.onFocus),ct.onBlur=Od(et,ct.onBlur),_e||(ut.onFocus=tt,ut.onBlur=et));var dt=t.useMemo((function(){var e,t=[{name:"arrow",enabled:Boolean(Ce),options:{element:Ce,padding:4}}];return null!=(e=se.popperOptions)&&e.modifiers&&(t=t.concat(se.popperOptions.modifiers)),(0,Ti.Z)({},se.popperOptions,{modifiers:t})}),[Ce,se]),ft=(0,Ti.Z)({},S,{isRtl:xe,arrow:j,disableInteractive:_e,placement:ie,PopperComponentProp:ae,touch:Ze.current}),pt=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,o=e.touch,i=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat((0,vl.Z)(i.split("-")[0]))],arrow:["arrow"]};return(0,Yi.Z)(a,vd,t)}(ft),ht=null!=(r=null!=(o=fe.popper)?o:C.Popper)?r:xd,mt=null!=(i=null!=(a=null!=(l=fe.transition)?l:C.Transition)?a:me)?i:zc,vt=null!=(s=null!=(c=fe.tooltip)?c:C.Tooltip)?s:wd,gt=null!=(u=null!=(d=fe.arrow)?d:C.Arrow)?u:Sd,yt=Ki(ht,(0,Ti.Z)({},se,null!=(f=ue.popper)?f:Z.popper,{className:(0,Mi.Z)(pt.popper,null==se?void 0:se.className,null==(p=null!=(h=ue.popper)?h:Z.popper)?void 0:p.className)}),ft),bt=Ki(mt,(0,Ti.Z)({},ve,null!=(m=ue.transition)?m:Z.transition),ft),xt=Ki(vt,(0,Ti.Z)({},null!=(v=ue.tooltip)?v:Z.tooltip,{className:(0,Mi.Z)(pt.tooltip,null==(g=null!=(y=ue.tooltip)?y:Z.tooltip)?void 0:g.className)}),ft),wt=Ki(gt,(0,Ti.Z)({},null!=(b=ue.arrow)?b:Z.arrow,{className:(0,Mi.Z)(pt.arrow,null==(x=null!=(w=ue.arrow)?w:Z.arrow)?void 0:x.className)}),ft);return(0,Bi.jsxs)(t.Fragment,{children:[t.cloneElement(ye,ct),(0,Bi.jsx)(ht,(0,Ti.Z)({as:null!=ae?ae:pd,placement:ie,anchorEl:$?{getBoundingClientRect:function(){return{top:Ed.y,left:Ed.x,right:Ed.x,bottom:Ed.y,width:0,height:0}}}:ke,popperRef:at,open:!!ke&&Le,id:Be,transition:!0},ut,yt,{popperOptions:dt,children:function(e){var t=e.TransitionProps;return(0,Bi.jsx)(mt,(0,Ti.Z)({timeout:be.transitions.duration.shorter},t,bt,{children:(0,Bi.jsxs)(vt,(0,Ti.Z)({},xt,{children:[pe,j?(0,Bi.jsx)(gt,(0,Ti.Z)({},wt,{ref:Pe})):null]}))}))}}))]})})),Pd=Cd,Zd=n(501),_d=n(2338),Td=n(8252);function Md(e){return(0,Oa.Z)("MuiDialog",e)}var Ad=(0,Ea.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var Rd=t.createContext({}),Nd=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Id=(0,Oi.ZP)(Qa,{name:"MuiDialog",slot:"Backdrop",overrides:function(e,t){return t.backdrop}})({zIndex:-1}),Dd=(0,Oi.ZP)(nl,{name:"MuiDialog",slot:"Root",overridesResolver:function(e,t){return t.root}})({"@media print":{position:"absolute !important"}}),zd=(0,Oi.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(e,t){var n=e.ownerState;return[t.container,t["scroll".concat((0,vl.Z)(n.scroll))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),Ld=(0,Oi.ZP)(ml,{name:"MuiDialog",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["scrollPaper".concat((0,vl.Z)(n.scroll))],t["paperWidth".concat((0,vl.Z)(String(n.maxWidth)))],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&(0,u.Z)({maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)")},"&.".concat(Ad.paperScrollBody),(0,u.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),n.maxWidth&&"xs"!==n.maxWidth&&(0,u.Z)({maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)},"&.".concat(Ad.paperScrollBody),(0,u.Z)({},t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&(0,u.Z)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(Ad.paperScrollBody),{margin:0,maxWidth:"100%"}))})),Bd=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDialog"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r["aria-describedby"],l=r["aria-labelledby"],s=r.BackdropComponent,c=r.BackdropProps,u=r.children,d=r.className,f=r.disableEscapeKeyDown,p=void 0!==f&&f,h=r.fullScreen,m=void 0!==h&&h,v=r.fullWidth,g=void 0!==v&&v,y=r.maxWidth,b=void 0===y?"sm":y,x=r.onBackdropClick,w=r.onClose,S=r.open,k=r.PaperComponent,j=void 0===k?ml:k,E=r.PaperProps,O=void 0===E?{}:E,C=r.scroll,P=void 0===C?"paper":C,Z=r.TransitionComponent,_=void 0===Z?Ga:Z,M=r.transitionDuration,A=void 0===M?i:M,R=r.TransitionProps,N=(0,T.Z)(r,Nd),I=(0,Ti.Z)({},r,{disableEscapeKeyDown:p,fullScreen:m,fullWidth:g,maxWidth:b,scroll:P}),D=function(e){var t=e.classes,n=e.scroll,r=e.maxWidth,o=e.fullWidth,i=e.fullScreen,a={root:["root"],container:["container","scroll".concat((0,vl.Z)(n))],paper:["paper","paperScroll".concat((0,vl.Z)(n)),"paperWidth".concat((0,vl.Z)(String(r))),o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,Yi.Z)(a,Md,t)}(I),z=t.useRef(),L=(0,Td.Z)(l),B=t.useMemo((function(){return{titleId:L}}),[L]);return(0,Bi.jsx)(Dd,(0,Ti.Z)({className:(0,Mi.Z)(D.root,d),closeAfterTransition:!0,components:{Backdrop:Id},componentsProps:{backdrop:(0,Ti.Z)({transitionDuration:A,as:s},c)},disableEscapeKeyDown:p,onClose:w,open:S,ref:n,onClick:function(e){z.current&&(z.current=null,x&&x(e),w&&w(e,"backdropClick"))},ownerState:I},N,{children:(0,Bi.jsx)(_,(0,Ti.Z)({appear:!0,in:S,timeout:A,role:"presentation"},R,{children:(0,Bi.jsx)(zd,{className:(0,Mi.Z)(D.container),onMouseDown:function(e){z.current=e.target===e.currentTarget},ownerState:I,children:(0,Bi.jsx)(Ld,(0,Ti.Z)({as:j,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":L},O,{className:(0,Mi.Z)(D.paper,O.className),ownerState:I,children:(0,Bi.jsx)(Rd.Provider,{value:B,children:u})}))})}))}))}));function Fd(e){return(0,Oa.Z)("MuiDialogTitle",e)}var Wd=(0,Ea.Z)("MuiDialogTitle",["root"]),Ud=["className","id"],qd=(0,Oi.ZP)(as,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:"16px 24px",flex:"0 0 auto"}),Hd=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDialogTitle"}),o=r.className,i=r.id,a=(0,T.Z)(r,Ud),l=r,s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Fd,t)}(l),c=t.useContext(Rd).titleId,u=void 0===c?i:c;return(0,Bi.jsx)(qd,(0,Ti.Z)({component:"h2",className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n,variant:"h6",id:null!=i?i:u},a))}));function Vd(e){return(0,Oa.Z)("MuiDialogContent",e)}(0,Ea.Z)("MuiDialogContent",["root","dividers"]);var Yd=["className","dividers"],Gd=(0,Oi.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:(0,u.Z)({},".".concat(Wd.root," + &"),{paddingTop:0}))})),$d=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogContent"}),r=n.className,o=n.dividers,i=void 0!==o&&o,a=(0,T.Z)(n,Yd),l=(0,Ti.Z)({},n,{dividers:i}),s=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,Yi.Z)(n,Vd,t)}(l);return(0,Bi.jsx)(Gd,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))}));function Kd(e){return(0,Oa.Z)("MuiDialogContentText",e)}(0,Ea.Z)("MuiDialogContentText",["root"]);var Xd=["children","className"],Qd=(0,Oi.ZP)(as,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Jd=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogContentText"}),r=n.className,o=(0,T.Z)(n,Xd),i=function(e){var t=e.classes,n=(0,Yi.Z)({root:["root"]},Kd,t);return(0,Ti.Z)({},t,n)}(o);return(0,Bi.jsx)(Qd,(0,Ti.Z)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:(0,Mi.Z)(i.root,r)},n,{classes:i}))}));function ef(e){return(0,Oa.Z)("MuiDialogActions",e)}(0,Ea.Z)("MuiDialogActions",["root","spacing"]);var tf=["className","disableSpacing"],nf=(0,Oi.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),rf=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=(0,T.Z)(n,tf),l=(0,Ti.Z)({},n,{disableSpacing:i}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Yi.Z)(n,ef,t)}(l);return(0,Bi.jsx)(nf,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))})),of=n(5735);function af(e){return(0,Oa.Z)("MuiButton",e)}var lf=(0,Ea.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var sf=t.createContext({}),cf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],uf=function(e){return(0,Ti.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},df=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,vl.Z)(n.color))],t["size".concat((0,vl.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,vl.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,o=e.theme,i=e.ownerState,a="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,Ti.Z)({},o.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,Ti.Z)({textDecoration:"none",backgroundColor:o.vars?"rgba(".concat(o.vars.palette.text.primaryChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat((o.vars||o).palette[i.color].main),backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:(o.vars||o).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[i.color].main}}),"&:active":(0,Ti.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[8]})},(0,u.Z)(t,"&.".concat(lf.focusVisible),(0,Ti.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[6]})),(0,u.Z)(t,"&.".concat(lf.disabled),(0,Ti.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat((o.vars||o).palette.action.disabledBackground)},"contained"===i.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})),t),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main,border:o.vars?"1px solid rgba(".concat(o.vars.palette[i.color].mainChannel," / 0.5)"):"1px solid ".concat((0,cl.Fq)(o.palette[i.color].main,.5))},"contained"===i.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(r=o.palette).getContrastText)?void 0:n.call(r,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:a,boxShadow:(o.vars||o).shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].contrastText,backgroundColor:(o.vars||o).palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,u.Z)(t,"&.".concat(lf.focusVisible),{boxShadow:"none"}),(0,u.Z)(t,"&:active",{boxShadow:"none"}),(0,u.Z)(t,"&.".concat(lf.disabled),{boxShadow:"none"}),t)})),ff=(0,Oi.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},uf(t))})),pf=(0,Oi.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},uf(t))})),hf=t.forwardRef((function(e,n){var r=t.useContext(sf),o=(0,of.Z)(r,e),i=(0,_a.Z)({props:o,name:"MuiButton"}),a=i.children,l=i.color,s=void 0===l?"primary":l,c=i.component,u=void 0===c?"button":c,d=i.className,f=i.disabled,p=void 0!==f&&f,h=i.disableElevation,m=void 0!==h&&h,v=i.disableFocusRipple,g=void 0!==v&&v,y=i.endIcon,b=i.focusVisibleClassName,x=i.fullWidth,w=void 0!==x&&x,S=i.size,k=void 0===S?"medium":S,j=i.startIcon,E=i.type,O=i.variant,C=void 0===O?"text":O,P=(0,T.Z)(i,cf),Z=(0,Ti.Z)({},i,{color:s,component:u,disabled:p,disableElevation:m,disableFocusRipple:g,fullWidth:w,size:k,type:E,variant:C}),_=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,o=e.size,i=e.variant,a=e.classes,l={root:["root",i,"".concat(i).concat((0,vl.Z)(t)),"size".concat((0,vl.Z)(o)),"".concat(i,"Size").concat((0,vl.Z)(o)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,vl.Z)(o))],endIcon:["endIcon","iconSize".concat((0,vl.Z)(o))]},s=(0,Yi.Z)(l,af,a);return(0,Ti.Z)({},a,s)}(Z),M=j&&(0,Bi.jsx)(ff,{className:_.startIcon,ownerState:Z,children:j}),A=y&&(0,Bi.jsx)(pf,{className:_.endIcon,ownerState:Z,children:y});return(0,Bi.jsxs)(df,(0,Ti.Z)({ownerState:Z,className:(0,Mi.Z)(r.className,_.root,d),component:u,disabled:p,focusRipple:!g,focusVisibleClassName:(0,Mi.Z)(_.focusVisible,b),ref:n,type:E},P,{classes:_,children:[M,a,A]}))})),mf=hf,vf=n(6711),gf=function(e){var t=e.open,n=e.onClose,r=e.onConfirm,o=e.message,i=e.title,a=e.content,l=e.submitLabel,s=e.show,c=e.disable,u=e.showCancel,d=void 0===u||u;return(0,Bi.jsxs)(Bd,{open:t,onClose:n,children:[(0,Bi.jsxs)(Hd,{sx:{backgroundColor:"primary.main",color:"white",fontSize:"18px",display:"flex",justifyContent:"space-between"},children:[i,(0,Bi.jsx)(vf.Z,{onClick:n,style:{fontSize:"25px"}})]}),(0,Bi.jsxs)($d,{children:[a,(0,Bi.jsx)(Jd,{sx:{marginTop:3},children:o})]}),(0,Bi.jsxs)(rf,{children:[d?(0,Bi.jsx)(mf,{variant:"outlined",size:"small",onClick:n,sx:{marginRight:2},children:"Cancel"}):null,s&&(0,Bi.jsx)(mf,{onClick:r,size:"small",variant:"contained",color:"primary",disabled:c,children:l})]})]})},yf=function(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)};function bf(e,t){return function(){return e.apply(t,arguments)}}var xf,wf=Object.prototype.toString,Sf=Object.getPrototypeOf,kf=(xf=Object.create(null),function(e){var t=wf.call(e);return xf[t]||(xf[t]=t.slice(8,-1).toLowerCase())}),jf=function(e){return e=e.toLowerCase(),function(t){return kf(t)===e}},Ef=function(e){return function(t){return typeof t===e}},Of=Array.isArray,Cf=Ef("undefined");var Pf=jf("ArrayBuffer");var Zf=Ef("string"),_f=Ef("function"),Tf=Ef("number"),Mf=function(e){return null!==e&&"object"===typeof e},Af=function(e){if("object"!==kf(e))return!1;var t=Sf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Rf=jf("Date"),Nf=jf("File"),If=jf("Blob"),Df=jf("FileList"),zf=jf("URLSearchParams");function Lf(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Of(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,l=i?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;for(n=0;n<s;n++)a=l[n],t.call(null,e[a],a,e)}}function Bf(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var Ff="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Wf=function(e){return!Cf(e)&&e!==Ff};var Uf,qf=(Uf="undefined"!==typeof Uint8Array&&Sf(Uint8Array),function(e){return Uf&&e instanceof Uf}),Hf=jf("HTMLFormElement"),Vf=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),Yf=jf("RegExp"),Gf=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Lf(n,(function(n,o){!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},$f="abcdefghijklmnopqrstuvwxyz",Kf="0123456789",Xf={DIGIT:Kf,ALPHA:$f,ALPHA_DIGIT:$f+$f.toUpperCase()+Kf};var Qf=jf("AsyncFunction"),Jf={isArray:Of,isArrayBuffer:Pf,isBuffer:function(e){return null!==e&&!Cf(e)&&null!==e.constructor&&!Cf(e.constructor)&&_f(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||_f(e.append)&&("formdata"===(t=kf(e))||"object"===t&&_f(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pf(e.buffer)},isString:Zf,isNumber:Tf,isBoolean:function(e){return!0===e||!1===e},isObject:Mf,isPlainObject:Af,isUndefined:Cf,isDate:Rf,isFile:Nf,isBlob:If,isRegExp:Yf,isFunction:_f,isStream:function(e){return Mf(e)&&_f(e.pipe)},isURLSearchParams:zf,isTypedArray:qf,isFileList:Df,forEach:Lf,merge:function e(){for(var t=(Wf(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&Bf(n,o)||o;Af(n[i])&&Af(r)?n[i]=e(n[i],r):Af(r)?n[i]=e({},r):Of(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o<i;o++)arguments[o]&&Lf(arguments[o],r);return n},extend:function(e,t,n){return Lf(t,(function(t,r){n&&_f(t)?e[r]=bf(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,l={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:kf,kindOfTest:jf,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(Of(e))return e;var t=e.length;if(!Tf(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Hf,hasOwnProperty:Vf,hasOwnProp:Vf,reduceDescriptors:Gf,freezeMethods:function(e){Gf(e,(function(t,n){if(_f(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];_f(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return Of(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Bf,global:Ff,isContextDefined:Wf,ALPHABET:Xf,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xf.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&_f(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(Mf(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=Of(n)?[]:{};return Lf(n,(function(t,n){var i=e(t,r+1);!Cf(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:Qf,isThenable:function(e){return e&&(Mf(e)||_f(e))&&_f(e.then)&&_f(e.catch)}};function ep(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Jf.inherits(ep,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Jf.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var tp=ep.prototype,np={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){np[e]={value:e}})),Object.defineProperties(ep,np),Object.defineProperty(tp,"isAxiosError",{value:!0}),ep.from=function(e,t,n,r,o,i){var a=Object.create(tp);return Jf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),ep.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var rp=ep;function op(e){return Jf.isPlainObject(e)||Jf.isArray(e)}function ip(e){return Jf.endsWith(e,"[]")?e.slice(0,-2):e}function ap(e,t,n){return e?e.concat(t).map((function(e,t){return e=ip(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var lp=Jf.toFlatObject(Jf,{},null,(function(e){return/^is[A-Z]/.test(e)}));var sp=function(e,t,n){if(!Jf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=Jf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Jf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Jf.isSpecCompliantForm(t);if(!Jf.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Jf.isDate(e))return e.toISOString();if(!l&&Jf.isBlob(e))throw new rp("Blob is not supported. Use a Buffer instead.");return Jf.isArrayBuffer(e)||Jf.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){var l=e;if(e&&!o&&"object"===typeof e)if(Jf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Jf.isArray(e)&&function(e){return Jf.isArray(e)&&!e.some(op)}(e)||(Jf.isFileList(e)||Jf.endsWith(n,"[]"))&&(l=Jf.toArray(e)))return n=ip(n),l.forEach((function(e,r){!Jf.isUndefined(e)&&null!==e&&t.append(!0===a?ap([n],r,i):null===a?n:n+"[]",s(e))})),!1;return!!op(e)||(t.append(ap(o,n,i),s(e)),!1)}var u=[],d=Object.assign(lp,{defaultVisitor:c,convertValue:s,isVisitable:op});if(!Jf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Jf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Jf.forEach(n,(function(n,i){!0===(!(Jf.isUndefined(n)||null===n)&&o.call(t,n,Jf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function cp(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function up(e,t){this._pairs=[],e&&sp(e,this,t)}var dp=up.prototype;dp.append=function(e,t){this._pairs.push([e,t])},dp.toString=function(e){var t=e?function(t){return e.call(this,t,cp)}:cp;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var fp=up;function pp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function hp(e,t,n){if(!t)return e;var r,o=n&&n.encode||pp,i=n&&n.serialize;if(r=i?i(t,n):Jf.isURLSearchParams(t)?t.toString():new fp(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var mp=function(){function e(){W(this,e),this.handlers=[]}return H(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Jf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),vp=mp,gp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yp={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:fp,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var bp=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),l=o>=e.length;return i=!i&&Jf.isArray(r)?r.length:i,l?(Jf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Jf.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Jf.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(Jf.isFormData(e)&&Jf.isFunction(e.entries)){var n={};return Jf.forEachEntry(e,(function(e,r){t(function(e){return Jf.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},xp={"Content-Type":void 0};var wp={transitional:gp,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=Jf.isObject(e);if(i&&Jf.isHTMLForm(e)&&(e=new FormData(e)),Jf.isFormData(e))return o&&o?JSON.stringify(bp(e)):e;if(Jf.isArrayBuffer(e)||Jf.isBuffer(e)||Jf.isStream(e)||Jf.isFile(e)||Jf.isBlob(e))return e;if(Jf.isArrayBufferView(e))return e.buffer;if(Jf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return sp(e,new yp.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return yp.isNode&&Jf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=Jf.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return sp(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(Jf.isString(e))try{return(t||JSON.parse)(e),Jf.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||wp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Jf.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw rp.from(i,rp.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yp.classes.FormData,Blob:yp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Jf.forEach(["delete","get","head"],(function(e){wp.headers[e]={}})),Jf.forEach(["post","put","patch"],(function(e){wp.headers[e]=Jf.merge(xp)}));var Sp=wp,kp=Jf.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jp=Symbol("internals");function Ep(e){return e&&String(e).trim().toLowerCase()}function Op(e){return!1===e||null==e?e:Jf.isArray(e)?e.map(Op):String(e)}function Cp(e,t,n,r,o){return Jf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Jf.isString(t)?Jf.isString(r)?-1!==t.indexOf(r):Jf.isRegExp(r)?r.test(t):void 0:void 0)}var Pp=function(e,t){function n(e){W(this,n),e&&this.set(e)}return H(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Ep(t);if(!o)throw new Error("header name must be a non-empty string");var i=Jf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Op(e))}var i=function(e,t){return Jf.forEach(e,(function(e,n){return o(e,n,t)}))};return Jf.isPlainObject(e)||e instanceof this.constructor?i(e,t):Jf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&kp[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=Ep(e)){var n=Jf.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(Jf.isFunction(t))return t.call(this,r,n);if(Jf.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ep(e)){var n=Jf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Cp(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Ep(e)){var o=Jf.findKey(n,e);!o||t&&!Cp(0,n[o],o,t)||(delete n[o],r=!0)}}return Jf.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!Cp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return Jf.forEach(this,(function(r,o){var i=Jf.findKey(n,o);if(i)return t[i]=Op(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Op(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Jf.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&Jf.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=(0,D.Z)(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[jp]=this[jp]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Ep(e);t[r]||(!function(e,t){var n=Jf.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Jf.isArray(e)?e.forEach(r):r(e),this}}]),n}();Pp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Jf.freezeMethods(Pp.prototype),Jf.freezeMethods(Pp);var Zp=Pp;function _p(e,t){var n=this||Sp,r=t||n,o=Zp.from(r.headers),i=r.data;return Jf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Tp(e){return!(!e||!e.__CANCEL__)}function Mp(e,t,n){rp.call(this,null==e?"canceled":e,rp.ERR_CANCELED,t,n),this.name="CanceledError"}Jf.inherits(Mp,rp,{__CANCEL__:!0});var Ap=Mp;var Rp=yp.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),Jf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Jf.isString(r)&&a.push("path="+r),Jf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Np(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ip=yp.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=Jf.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var Dp=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(l){var s=Date.now(),c=o[a];n||(n=s),r[i]=l,o[i]=s;for(var u=a,d=0;u!==i;)d+=r[u++],u%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(s-n<t)){var f=c&&s-c;return f?Math.round(1e3*d/f):void 0}}};function zp(e,t){var n=0,r=Dp(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-n,s=r(l);n=i;var c={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}var Lp="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,o=e.data,i=Zp.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}Jf.isFormData(o)&&(yp.isStandardBrowserEnv||yp.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));var s=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(c+":"+u))}var d=Np(e.baseURL,e.url);function f(){if(s){var r=Zp.from("getAllResponseHeaders"in s&&s.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new rp("Request failed with status code "+n.status,[rp.ERR_BAD_REQUEST,rp.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:a&&"text"!==a&&"json"!==a?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:r,config:e,request:s}),s=null}}if(s.open(e.method.toUpperCase(),hp(d,e.params,e.paramsSerializer),!0),s.timeout=e.timeout,"onloadend"in s?s.onloadend=f:s.onreadystatechange=function(){s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&setTimeout(f)},s.onabort=function(){s&&(n(new rp("Request aborted",rp.ECONNABORTED,e,s)),s=null)},s.onerror=function(){n(new rp("Network Error",rp.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||gp;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new rp(t,r.clarifyTimeoutError?rp.ETIMEDOUT:rp.ECONNABORTED,e,s)),s=null},yp.isStandardBrowserEnv){var p=(e.withCredentials||Ip(d))&&e.xsrfCookieName&&Rp.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}void 0===o&&i.setContentType(null),"setRequestHeader"in s&&Jf.forEach(i.toJSON(),(function(e,t){s.setRequestHeader(t,e)})),Jf.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),a&&"json"!==a&&(s.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&s.addEventListener("progress",zp(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",zp(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){s&&(n(!t||t.type?new Ap(null,e,s):t),s.abort(),s=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var h=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);h&&-1===yp.protocols.indexOf(h)?n(new rp("Unsupported protocol "+h+":",rp.ERR_BAD_REQUEST,e)):s.send(o||null)}))},Bp={http:null,xhr:Lp};Jf.forEach(Bp,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var Fp=function(e){for(var t,n,r=(e=Jf.isArray(e)?e:[e]).length,o=0;o<r&&(t=e[o],!(n=Jf.isString(t)?Bp[t.toLowerCase()]:t));o++);if(!n){if(!1===n)throw new rp("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(Jf.hasOwnProp(Bp,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!Jf.isFunction(n))throw new TypeError("adapter is not a function");return n};function Wp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ap(null,e)}function Up(e){return Wp(e),e.headers=Zp.from(e.headers),e.data=_p.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fp(e.adapter||Sp.adapter)(e).then((function(t){return Wp(e),t.data=_p.call(e,e.transformResponse,t),t.headers=Zp.from(t.headers),t}),(function(t){return Tp(t)||(Wp(e),t&&t.response&&(t.response.data=_p.call(e,e.transformResponse,t.response),t.response.headers=Zp.from(t.response.headers))),Promise.reject(t)}))}var qp=function(e){return e instanceof Zp?e.toJSON():e};function Hp(e,t){t=t||{};var n={};function r(e,t,n){return Jf.isPlainObject(e)&&Jf.isPlainObject(t)?Jf.merge.call({caseless:n},e,t):Jf.isPlainObject(t)?Jf.merge({},t):Jf.isArray(t)?t.slice():t}function o(e,t,n){return Jf.isUndefined(t)?Jf.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Jf.isUndefined(t))return r(void 0,t)}function a(e,t){return Jf.isUndefined(t)?Jf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:function(e,t){return o(qp(e),qp(t),!0)}};return Jf.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=s[r]||o,a=i(e[r],t[r],r);Jf.isUndefined(a)&&i!==l||(n[r]=a)})),n}var Vp="1.4.0",Yp={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Yp[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Gp={};Yp.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new rp(r(o," has been removed"+(t?" in "+t:"")),rp.ERR_DEPRECATED);return t&&!Gp[o]&&(Gp[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var $p={assertOptions:function(e,t,n){if("object"!==typeof e)throw new rp("options must be an object",rp.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var l=e[i],s=void 0===l||a(l,i,e);if(!0!==s)throw new rp("option "+i+" must be "+s,rp.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new rp("Unknown option "+i,rp.ERR_BAD_OPTION)}},validators:Yp},Kp=$p.validators,Xp=function(){function e(t){W(this,e),this.defaults=t,this.interceptors={request:new vp,response:new vp}}return H(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=Hp(this.defaults,t),o=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==o&&$p.assertOptions(o,{silentJSONParsing:Kp.transitional(Kp.boolean),forcedJSONParsing:Kp.transitional(Kp.boolean),clarifyTimeoutError:Kp.transitional(Kp.boolean)},!1),null!=i&&(Jf.isFunction(i)?t.paramsSerializer={serialize:i}:$p.assertOptions(i,{encode:Kp.function,serialize:Kp.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=a&&Jf.merge(a.common,a[t.method]))&&Jf.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=Zp.concat(n,a);var l=[],s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));var c,u=[];this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));var d,f=0;if(!s){var p=[Up.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),d=p.length,c=Promise.resolve(t);f<d;)c=c.then(p[f++],p[f++]);return c}d=l.length;var h=t;for(f=0;f<d;){var m=l[f++],v=l[f++];try{h=m(h)}catch(g){v.call(this,g);break}}try{c=Up.call(this,h)}catch(g){return Promise.reject(g)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}},{key:"getUri",value:function(e){return hp(Np((e=Hp(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();Jf.forEach(["delete","get","head","options"],(function(e){Xp.prototype[e]=function(t,n){return this.request(Hp(n||{},{method:e,url:t,data:(n||{}).data}))}})),Jf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Hp(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Xp.prototype[e]=t(),Xp.prototype[e+"Form"]=t(!0)}));var Qp=Xp,Jp=function(){function e(t){if(W(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new Ap(e,t,o),n(r.reason))}))}return H(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t,n=new e((function(e){t=e}));return{token:n,cancel:t}}}]),e}(),eh=Jp;var th={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(th).forEach((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];th[r]=n}));var nh=th;var rh=function e(t){var n=new Qp(t),r=bf(Qp.prototype.request,n);return Jf.extend(r,Qp.prototype,n,{allOwnKeys:!0}),Jf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Hp(t,n))},r}(Sp);rh.Axios=Qp,rh.CanceledError=Ap,rh.CancelToken=eh,rh.isCancel=Tp,rh.VERSION=Vp,rh.toFormData=sp,rh.AxiosError=rp,rh.Cancel=rh.CanceledError,rh.all=function(e){return Promise.all(e)},rh.spread=function(e){return function(t){return e.apply(null,t)}},rh.isAxiosError=function(e){return Jf.isObject(e)&&!0===e.isAxiosError},rh.mergeConfig=Hp,rh.AxiosHeaders=Zp,rh.formToJSON=function(e){return bp(Jf.isHTMLForm(e)?new FormData(e):e)},rh.HttpStatusCode=nh,rh.default=rh;var oh=rh.create({baseURL:window.location.hostname.includes("localhost")?"http://127.0.0.1:8000":"http://quiz-be-test.hematitecorp.com"});oh.interceptors.request.use((function(e){var t=!!sessionStorage.getItem("accessToken");return te(te({},e),{},{headers:te(te({},t&&{Authorization:"Bearer ".concat(sessionStorage.getItem("accessToken"))}),e.headers)})}),(function(e){return Promise.reject(e)})),oh.interceptors.response.use((function(e){return e.data}),(function(e){return Promise.reject(e)}));var ih=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oh.get(e,{headers:t})},ah=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oh.post(e,t,{headers:n})},lh=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oh.put(e,t,{headers:n})},sh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oh.delete(e,{headers:t})},ch=n(5146),uh={token:"/api/token/",exams:"/api/exam/",question:"/api/question/",voucher:"/api/voucher/",feedback:"/api/feedback/",student:"/api/user/student-register/",branch:"/api/branch/",staff:"/api/user/employee-register/",user:"/api/user/",employee:"/api/employee/",password:"/api/user/forget-passwords/",result:"/api/result/results/",submit_exam:"/api/result/submitexam/",start_exam:"/api/question/examquestions",upload_csv:"/api/upload-csv/",feedbackAns:"/api/feedback-answer/",batch:"/api/batch/",batchWiseStudent:"/api/batch-wise-students/",scheduled:"/api/schedule/",sendEmail:"/api/send-email/",course:"/api/course/",enquiry:"/api/enquiry/",enroll:"/api/enroll/",loginUser:"/api/user/me/"},dh=function(e){return/^[a-zA-Z]{2,20}$/.test(e)},fh=function(e){return/^[6789]\d{9}$/.test(e)},ph=function(e){return/^[a-zA-Z0-9._%+-]+@[a-zA-Z]{3,}\.[a-zA-Z]{2,}$/g.test(e)},hh=function(e){return/^[0-9]{16,20}$/.test(e)},mh=function(e){return/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])[A-Za-z\d!@#$%^&*]{8,14}$/.test(e)},vh=function(e){return/^[1-5]{1}$/.test(e)},gh=function(e){return/^[A-Za-z]{2,30}$/.test(e)},yh=function(e){return/^[a-zA-Z]{2,500}$/.test(e)},bh=function(e){return/^[0-9]{3}$/.test(e)},xh=function(e){return(0,Bi.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(ch.Z,{})," ",(0,Bi.jsx)("span",{style:{paddingLeft:"5px"},children:e})]})},wh=240,Sh=function(e){return{width:wh,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden"}},kh=function(e){return(0,u.Z)({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"calc(".concat(e.spacing(7)," + 1px)")},e.breakpoints.up("sm"),{width:"calc(".concat(e.spacing(8)," + 1px)")})},jh=(0,Oi.ZP)("div")((function(e){var t=e.theme;return te({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:t.spacing(0,1)},t.mixins.toolbar)})),Eh=(0,Oi.ZP)(Tl,{shouldForwardProp:function(e){return"open"!==e}})((function(e){var t=e.theme,n=e.open;return te({zIndex:t.zIndex.drawer+1,transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.leavingScreen})},n&&{marginLeft:wh,width:"calc(100% - ".concat(wh,"px)"),transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.enteringScreen})})})),Oh=(0,Oi.ZP)(El,{shouldForwardProp:function(e){return"open"!==e}})((function(e){var t=e.theme,n=e.open;return te(te({width:wh,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box"},n&&te(te({},Sh(t)),{},{"& .MuiDrawer-paper":Sh(t)})),!n&&te(te({},kh(t)),{},{"& .MuiDrawer-paper":kh(t)}))})),Ch=function(){var e=_i(),n=t.useState(!0),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=t.useState(!1),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=t.useState(!1),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=x((function(e){return e.user})),m=h.loginUser,v=_(),g=t.useState(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=t.useState("info"),k=(0,D.Z)(S,2),j=(k[0],k[1]),E=Lo(),O=Do();(0,t.useEffect)((function(){ih("".concat(uh.loginUser)).then((function(e){v(hn.GetLogginUser(e.data))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var C="admin"===(null===m||void 0===m?void 0:m.role),P="counsellor"===(null===m||void 0===m?void 0:m.role),Z=null===m||void 0===m?void 0:m.role,T="".concat(null===m||void 0===m?void 0:m.fname," ").concat(null===m||void 0===m?void 0:m.lname),M=function(e){E(e)};return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(Vi,{sx:{display:"flex"},children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsx)(Eh,{position:"fixed",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(Js,{color:"inherit","aria-label":"open drawer",onClick:function(){return i(!o)},edge:"start",children:(0,Bi.jsx)(xi,{})}),(0,Bi.jsxs)(as,{variant:"h6",sx:{fontSize:"18px"},noWrap:!0,component:"div",children:["Hematite Infotech Pvt Ltd ",(0,Bi.jsx)("span",{style:{marginLeft:"15px",marginRight:"15px"},children:"|"})," ",yf(Z)," Dashboard"]}),(0,Bi.jsx)(Vi,{sx:{flexGrow:1}}),T?(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,sx:{fontSize:"18px"},component:"div",children:["Welcome ",T]}):(0,Bi.jsx)(as,{variant:"h6",sx:{fontSize:"18px"},noWrap:!0,component:"div",children:"Dashboard"}),(0,Bi.jsx)(as,{sx:{marginLeft:"15px"},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){j("warning"),w("Are you sure you want to logout as ".concat(Z,"?")),c(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),(0,Bi.jsxs)(Oh,{variant:"permanent",open:o,children:[(0,Bi.jsx)(jh,{children:(0,Bi.jsx)(Js,{onClick:function(){i(!1)},children:"rtl"===e.direction?(0,Bi.jsx)(rc.Z,{}):(0,Bi.jsx)(nc.Z,{})})}),(0,Bi.jsx)(ps,{}),(0,Bi.jsxs)(Bl,{children:[(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/student"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/student")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Student",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(bi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Student",sx:{opacity:o?1:0}})]})}),(C||P)&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/register-student"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/register-student")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Registered Student",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(tc,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Registered Student",sx:{opacity:o?1:0}})]})}),(C||P)&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/enquiry"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/enquiry")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"enquiry",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(yi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Enquiry",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/batch"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/batch")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Batch",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(_d.Z,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Batch",sx:{opacity:o?1:0}})]})}),C&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/staff"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/staff")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Employee",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Zd.Z,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Employee",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/exam"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/exam")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Exam",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Ei,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Exam",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/question"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/question")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Question",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(wi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Question",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/voucher"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/voucher")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Voucher",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(ji,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Voucher",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/feedback"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/feedback")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Feedback",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(ki,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Feedback",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/result"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/result")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Result",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Si,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Result",sx:{opacity:o?1:0}})]})})]}),(0,Bi.jsx)(ps,{})]}),(0,Bi.jsx)("div",{className:"child-components",children:(0,Bi.jsx)(ti,{})})]}),(0,Bi.jsx)(gf,{open:s,onClose:function(){return c(!1)},show:!0,onConfirm:function(){c(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),sessionStorage.removeItem("studentId"),E("/")},title:"Confirmation",message:b,submitLabel:"Logout"}),(0,Bi.jsx)(gf,{show:!0,showCancel:!1,open:f,onClose:function(){return p(!1)},onConfirm:function(){p(!1),E("/dashboard/schedule")},title:"Confirmation",message:b,submitLabel:"OK"})]})};var Ph=t.createContext();function Zh(e){return(0,Oa.Z)("MuiTable",e)}(0,Ea.Z)("MuiTable",["root","stickyHeader"]);var _h=["className","component","padding","size","stickyHeader"],Th=(0,Oi.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,Ti.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),Mh="table",Ah=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTable"}),o=r.className,i=r.component,a=void 0===i?Mh:i,l=r.padding,s=void 0===l?"normal":l,c=r.size,u=void 0===c?"medium":c,d=r.stickyHeader,f=void 0!==d&&d,p=(0,T.Z)(r,_h),h=(0,Ti.Z)({},r,{component:a,padding:s,size:u,stickyHeader:f}),m=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,Yi.Z)(n,Zh,t)}(h),v=t.useMemo((function(){return{padding:s,size:u,stickyHeader:f}}),[s,u,f]);return(0,Bi.jsx)(Ph.Provider,{value:v,children:(0,Bi.jsx)(Th,(0,Ti.Z)({as:a,role:a===Mh?null:"table",ref:n,className:(0,Mi.Z)(m.root,o),ownerState:h},p))})}));var Rh=t.createContext();function Nh(e){return(0,Oa.Z)("MuiTableBody",e)}(0,Ea.Z)("MuiTableBody",["root"]);var Ih=["className","component"],Dh=(0,Oi.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-row-group"}),zh={variant:"body"},Lh="tbody",Bh=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableBody"}),r=n.className,o=n.component,i=void 0===o?Lh:o,a=(0,T.Z)(n,Ih),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Nh,t)}(l);return(0,Bi.jsx)(Rh.Provider,{value:zh,children:(0,Bi.jsx)(Dh,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),as:i,ref:t,role:i===Lh?null:"rowgroup",ownerState:l},a))})}));function Fh(e){return(0,Oa.Z)("MuiTableCell",e)}var Wh=(0,Ea.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Uh=["align","className","component","padding","scope","size","sortDirection","variant"],qh=(0,Oi.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,vl.Z)(n.size))],"normal"!==n.padding&&t["padding".concat((0,vl.Z)(n.padding))],"inherit"!==n.align&&t["align".concat((0,vl.Z)(n.align))],n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n ".concat("light"===t.palette.mode?(0,cl.$n)((0,cl.Fq)(t.palette.divider,1),.88):(0,cl._j)((0,cl.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:(t.vars||t).palette.text.primary},"footer"===n.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&(0,u.Z)({padding:"6px 16px"},"&.".concat(Wh.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),Hh=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiTableCell"}),i=o.align,a=void 0===i?"inherit":i,l=o.className,s=o.component,c=o.padding,u=o.scope,d=o.size,f=o.sortDirection,p=o.variant,h=(0,T.Z)(o,Uh),m=t.useContext(Ph),v=t.useContext(Rh),g=v&&"head"===v.variant,y=u;"td"===(r=s||(g?"th":"td"))?y=void 0:!y&&g&&(y="col");var b=p||v&&v.variant,x=(0,Ti.Z)({},o,{align:a,component:r,padding:c||(m&&m.padding?m.padding:"normal"),size:d||(m&&m.size?m.size:"medium"),sortDirection:f,stickyHeader:"head"===b&&m&&m.stickyHeader,variant:b}),w=function(e){var t=e.classes,n=e.variant,r=e.align,o=e.padding,i=e.size,a={root:["root",n,e.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat((0,vl.Z)(r)),"normal"!==o&&"padding".concat((0,vl.Z)(o)),"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(a,Fh,t)}(x),S=null;return f&&(S="asc"===f?"ascending":"descending"),(0,Bi.jsx)(qh,(0,Ti.Z)({as:r,ref:n,className:(0,Mi.Z)(w.root,l),"aria-sort":S,scope:y,ownerState:x},h))})),Vh=Hh;function Yh(e){return(0,Oa.Z)("MuiTableContainer",e)}(0,Ea.Z)("MuiTableContainer",["root"]);var Gh=["className","component"],$h=(0,Oi.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:"100%",overflowX:"auto"}),Kh=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,T.Z)(n,Gh),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Yh,t)}(l);return(0,Bi.jsx)($h,(0,Ti.Z)({ref:t,as:i,className:(0,Mi.Z)(s.root,r),ownerState:l},a))}));function Xh(e){return(0,Oa.Z)("MuiTableHead",e)}(0,Ea.Z)("MuiTableHead",["root"]);var Qh=["className","component"],Jh=(0,Oi.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),em={variant:"head"},tm="thead",nm=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableHead"}),r=n.className,o=n.component,i=void 0===o?tm:o,a=(0,T.Z)(n,Qh),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Xh,t)}(l);return(0,Bi.jsx)(Rh.Provider,{value:em,children:(0,Bi.jsx)(Jh,(0,Ti.Z)({as:i,className:(0,Mi.Z)(s.root,r),ref:t,role:i===tm?null:"rowgroup",ownerState:l},a))})})),rm=n(6189),om=n(2254),im=["onChange","maxRows","minRows","style","value"];function am(e){return parseInt(e,10)||0}var lm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function sm(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var cm=t.forwardRef((function(e,n){var r=e.onChange,o=e.maxRows,i=e.minRows,a=void 0===i?1:i,s=e.style,c=e.value,u=(0,T.Z)(e,im),d=t.useRef(null!=c).current,f=t.useRef(null),p=(0,Gi.Z)(n,f),h=t.useRef(null),m=t.useRef(0),v=t.useState({outerHeightStyle:0}),g=(0,D.Z)(v,2),y=g[0],b=g[1],x=t.useCallback((function(){var t=f.current,n=(0,da.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var r=h.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n.boxSizing,l=am(n.paddingBottom)+am(n.paddingTop),s=am(n.borderBottomWidth)+am(n.borderTopWidth),c=r.scrollHeight;r.value="x";var u=r.scrollHeight,d=c;return a&&(d=Math.max(Number(a)*u,d)),o&&(d=Math.min(Number(o)*u,d)),{outerHeightStyle:(d=Math.max(d,u))+("border-box"===i?l+s:0),overflow:Math.abs(d-c)<=1}}),[o,a,e.placeholder]),w=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return m.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(m.current+=1,{overflow:r,outerHeightStyle:n}):e},S=t.useCallback((function(){var e=x();sm(e)||b((function(t){return w(t,e)}))}),[x]);t.useEffect((function(){var e,t=(0,om.Z)((function(){m.current=0,f.current&&function(){var e=x();sm(e)||l.flushSync((function(){b((function(t){return w(t,e)}))}))}()})),n=f.current,r=(0,da.Z)(n);return r.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(n),function(){t.clear(),r.removeEventListener("resize",t),e&&e.disconnect()}})),(0,ia.Z)((function(){S()})),t.useEffect((function(){m.current=0}),[c]);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)("textarea",(0,Ti.Z)({value:c,onChange:function(e){m.current=0,d||S(),r&&r(e)},ref:p,rows:a,style:(0,Ti.Z)({height:y.outerHeightStyle,overflow:y.overflow?"hidden":void 0},s)},u)),(0,Bi.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:(0,Ti.Z)({},lm,s,{paddingTop:0,paddingBottom:0})})]})}));function um(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}var dm=t.createContext(void 0);function fm(){return t.useContext(dm)}function pm(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function hm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(pm(e.value)&&""!==e.value||t&&pm(e.defaultValue)&&""!==e.defaultValue)}function mm(e){return(0,Oa.Z)("MuiInputBase",e)}var vm=(0,Ea.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),gm=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],ym=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,vl.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},bm=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xm=(0,Oi.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ym})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},t.typography.body1,(0,u.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(vm.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,Ti.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),wm=(0,Oi.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:bm})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode,i=(0,Ti.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),a={opacity:"0 !important"},l=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return(0,Ti.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,u.Z)(t,"label[data-shrink=false] + .".concat(vm.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus:-ms-input-placeholder":l,"&:focus::-ms-input-placeholder":l}),(0,u.Z)(t,"&.".concat(vm.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Sm=(0,Bi.jsx)(Kl,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),km=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiInputBase"}),i=o["aria-describedby"],a=o.autoComplete,l=o.autoFocus,s=o.className,c=o.components,u=void 0===c?{}:c,d=o.componentsProps,f=void 0===d?{}:d,p=o.defaultValue,h=o.disabled,m=o.disableInjectingGlobalStyles,v=o.endAdornment,g=o.fullWidth,y=void 0!==g&&g,b=o.id,x=o.inputComponent,w=void 0===x?"input":x,S=o.inputProps,k=void 0===S?{}:S,j=o.inputRef,E=o.maxRows,O=o.minRows,C=o.multiline,P=void 0!==C&&C,Z=o.name,_=o.onBlur,M=o.onChange,A=o.onClick,R=o.onFocus,N=o.onKeyDown,I=o.onKeyUp,z=o.placeholder,L=o.readOnly,B=o.renderSuffix,F=o.rows,W=o.slotProps,U=void 0===W?{}:W,q=o.slots,H=void 0===q?{}:q,V=o.startAdornment,Y=o.type,G=void 0===Y?"text":Y,$=o.value,K=(0,T.Z)(o,gm),X=null!=k.value?k.value:$,Q=t.useRef(null!=X).current,J=t.useRef(),ee=t.useCallback((function(e){0}),[]),te=(0,qa.Z)(J,j,k.ref,ee),ne=t.useState(!1),re=(0,D.Z)(ne,2),oe=re[0],ie=re[1],ae=fm();var le=um({props:o,muiFormControl:ae,states:["color","disabled","error","hiddenLabel","size","required","filled"]});le.focused=ae?ae.focused:oe,t.useEffect((function(){!ae&&h&&oe&&(ie(!1),_&&_())}),[ae,h,oe,_]);var se=ae&&ae.onFilled,ce=ae&&ae.onEmpty,ue=t.useCallback((function(e){hm(e)?se&&se():ce&&ce()}),[se,ce]);(0,ic.Z)((function(){Q&&ue({value:X})}),[X,ue,Q]);t.useEffect((function(){ue(J.current)}),[]);var de=w,fe=k;P&&"input"===de&&(fe=F?(0,Ti.Z)({type:void 0,minRows:F,maxRows:F},fe):(0,Ti.Z)({type:void 0,maxRows:E,minRows:O},fe),de=cm);t.useEffect((function(){ae&&ae.setAdornedStart(Boolean(V))}),[ae,V]);var pe=(0,Ti.Z)({},o,{color:le.color||"primary",disabled:le.disabled,endAdornment:v,error:le.error,focused:le.focused,formControl:ae,fullWidth:y,hiddenLabel:le.hiddenLabel,multiline:P,size:le.size,startAdornment:V,type:G}),he=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,l=e.formControl,s=e.fullWidth,c=e.hiddenLabel,u=e.multiline,d=e.readOnly,f=e.size,p=e.startAdornment,h=e.type,m={root:["root","color".concat((0,vl.Z)(n)),r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===f&&"sizeSmall",u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return(0,Yi.Z)(m,mm,t)}(pe),me=H.root||u.Root||xm,ve=U.root||f.root||{},ge=H.input||u.Input||wm;return fe=(0,Ti.Z)({},fe,null!=(r=U.input)?r:f.input),(0,Bi.jsxs)(t.Fragment,{children:[!m&&Sm,(0,Bi.jsxs)(me,(0,Ti.Z)({},ve,!$i(me)&&{ownerState:(0,Ti.Z)({},pe,ve.ownerState)},{ref:n,onClick:function(e){J.current&&e.currentTarget===e.target&&J.current.focus(),A&&!le.disabled&&A(e)}},K,{className:(0,Mi.Z)(he.root,ve.className,s,L&&"MuiInputBase-readOnly"),children:[V,(0,Bi.jsx)(dm.Provider,{value:null,children:(0,Bi.jsx)(ge,(0,Ti.Z)({ownerState:pe,"aria-invalid":le.error,"aria-describedby":i,autoComplete:a,autoFocus:l,defaultValue:p,disabled:le.disabled,id:b,onAnimationStart:function(e){ue("mui-auto-fill-cancel"===e.animationName?J.current:{value:"x"})},name:Z,placeholder:z,readOnly:L,required:le.required,rows:F,value:X,onKeyDown:N,onKeyUp:I,type:G},fe,!$i(ge)&&{as:de,ownerState:(0,Ti.Z)({},pe,fe.ownerState)},{ref:te,className:(0,Mi.Z)(he.input,fe.className,L&&"MuiInputBase-readOnly"),onBlur:function(e){_&&_(e),k.onBlur&&k.onBlur(e),ae&&ae.onBlur?ae.onBlur(e):ie(!1)},onChange:function(e){if(!Q){var t=e.target||J.current;if(null==t)throw new Error((0,rm.Z)(1));ue({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];k.onChange&&k.onChange.apply(k,[e].concat(r)),M&&M.apply(void 0,[e].concat(r))},onFocus:function(e){le.disabled?e.stopPropagation():(R&&R(e),k.onFocus&&k.onFocus(e),ae&&ae.onFocus?ae.onFocus(e):ie(!0))}}))}),v,B?B((0,Ti.Z)({},le,{startAdornment:V})):null]}))]})})),jm=km;function Em(e){return(0,Oa.Z)("MuiMenuItem",e)}var Om=(0,Ea.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Cm=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Pm=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,u.Z)(t,"&.".concat(Om.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Om.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(Om.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,u.Z)(t,"&.".concat(Om.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(Om.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,u.Z)(t,"& + .".concat(ss.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,u.Z)(t,"& + .".concat(ss.inset),{marginLeft:52}),(0,u.Z)(t,"& .".concat(Zc.root),{marginTop:0,marginBottom:0}),(0,u.Z)(t,"& .".concat(Zc.inset),{paddingLeft:36}),(0,u.Z)(t,"& .".concat(jc.root),{minWidth:36}),t),!r.dense&&(0,u.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),r.dense&&(0,Ti.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,u.Z)({},"& .".concat(jc.root," svg"),{fontSize:"1.25rem"})))})),Zm=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiMenuItem"}),o=r.autoFocus,i=void 0!==o&&o,a=r.component,l=void 0===a?"li":a,s=r.dense,c=void 0!==s&&s,u=r.divider,d=void 0!==u&&u,f=r.disableGutters,p=void 0!==f&&f,h=r.focusVisibleClassName,m=r.role,v=void 0===m?"menuitem":m,g=r.tabIndex,y=r.className,b=(0,T.Z)(r,Cm),x=t.useContext(Il),w=t.useMemo((function(){return{dense:c||x.dense||!1,disableGutters:p}}),[x.dense,c,p]),S=t.useRef(null);(0,ic.Z)((function(){i&&S.current&&S.current.focus()}),[i]);var k,j=(0,Ti.Z)({},r,{dense:w.dense,divider:d,disableGutters:p}),E=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,i=e.selected,a=e.classes,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},s=(0,Yi.Z)(l,Em,a);return(0,Ti.Z)({},a,s)}(r),O=(0,qa.Z)(S,n);return r.disabled||(k=void 0!==g?g:-1),(0,Bi.jsx)(Il.Provider,{value:w,children:(0,Bi.jsx)(Pm,(0,Ti.Z)({ref:O,role:v,tabIndex:k,component:l,focusVisibleClassName:(0,Mi.Z)(E.focusVisible,h),className:(0,Mi.Z)(E.root,y)},b,{ownerState:j,classes:E}))})})),_m=(n(8457),n(8301)),Tm=fa,Mm=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Am(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Rm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Nm(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Im(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return!1;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Nm(l,i)&&!s)return l.focus(),!0;l=o(e,l,n)}return!1}var Dm=t.forwardRef((function(e,n){var r=e.actions,o=e.autoFocus,i=void 0!==o&&o,a=e.autoFocusItem,l=void 0!==a&&a,s=e.children,c=e.className,u=e.disabledItemsFocusable,d=void 0!==u&&u,f=e.disableListWrap,p=void 0!==f&&f,h=e.onKeyDown,m=e.variant,v=void 0===m?"selectedMenu":m,g=(0,T.Z)(e,Mm),y=t.useRef(null),b=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,ic.Z)((function(){i&&y.current.focus()}),[i]),t.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!y.current.style.width;if(e.clientHeight<y.current.clientHeight&&n){var r="".concat(Tm((0,_m.Z)(e)),"px");y.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,y.current.style.width="calc(100% + ".concat(r,")")}return y.current}}}),[]);var x=(0,qa.Z)(y,n),w=-1;t.Children.forEach(s,(function(e,n){t.isValidElement(e)?(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===w)&&(w=n),w===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(w+=1)>=s.length&&(w=-1)):w===n&&(w+=1)>=s.length&&(w=-1)}));var S=t.Children.map(s,(function(e,n){if(n===w){var r={};return l&&(r.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===v&&(r.tabIndex=0),t.cloneElement(e,r)}return e}));return(0,Bi.jsx)(Bl,(0,Ti.Z)({role:"menu",ref:x,className:c,onKeyDown:function(e){var t=y.current,n=e.key,r=(0,_m.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Im(t,r,p,d,Am);else if("ArrowUp"===n)e.preventDefault(),Im(t,r,p,d,Rm);else if("Home"===n)e.preventDefault(),Im(t,null,p,d,Am);else if("End"===n)e.preventDefault(),Im(t,null,p,d,Rm);else if(1===n.length){var o=b.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&Nm(r,o);o.previousKeyMatched&&(l||Im(t,r,!1,d,Am,o))?e.preventDefault():o.previousKeyMatched=!1}h&&h(e)},tabIndex:i?0:-1},g,{children:S}))}));function zm(e){return(0,Oa.Z)("MuiPopover",e)}(0,Ea.Z)("MuiPopover",["root","paper"]);var Lm=["onEntering"],Bm=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],Fm=["slotProps"];function Wm(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Um(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function qm(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function Hm(e){return"function"===typeof e?e():e}var Vm=(0,Oi.ZP)(nl,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ym=(0,Oi.ZP)(ml,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Gm=t.forwardRef((function(e,n){var r,o,i,a=(0,_a.Z)({props:e,name:"MuiPopover"}),l=a.action,s=a.anchorEl,c=a.anchorOrigin,u=void 0===c?{vertical:"top",horizontal:"left"}:c,d=a.anchorPosition,f=a.anchorReference,p=void 0===f?"anchorEl":f,h=a.children,m=a.className,v=a.container,g=a.elevation,y=void 0===g?8:g,b=a.marginThreshold,x=void 0===b?16:b,w=a.open,S=a.PaperProps,k=void 0===S?{}:S,j=a.slots,E=a.slotProps,O=a.transformOrigin,C=void 0===O?{vertical:"top",horizontal:"left"}:O,P=a.TransitionComponent,Z=void 0===P?zc:P,_=a.transitionDuration,M=void 0===_?"auto":_,A=a.TransitionProps,R=(void 0===A?{}:A).onEntering,N=(0,T.Z)(a.TransitionProps,Lm),I=(0,T.Z)(a,Bm),z=null!=(r=null==E?void 0:E.paper)?r:k,L=t.useRef(),B=(0,qa.Z)(L,z.ref),F=(0,Ti.Z)({},a,{anchorOrigin:u,anchorReference:p,elevation:y,marginThreshold:x,externalPaperSlotProps:z,transformOrigin:C,TransitionComponent:Z,transitionDuration:M,TransitionProps:N}),W=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],paper:["paper"]},zm,t)}(F),U=t.useCallback((function(){if("anchorPosition"===p)return d;var e=Hm(s),t=(e&&1===e.nodeType?e:(0,_m.Z)(L.current).body).getBoundingClientRect();return{top:t.top+Wm(t,u.vertical),left:t.left+Um(t,u.horizontal)}}),[s,u.horizontal,u.vertical,d,p]),q=t.useCallback((function(e){return{vertical:Wm(e,C.vertical),horizontal:Um(e,C.horizontal)}}),[C.horizontal,C.vertical]),H=t.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=q(t);if("none"===p)return{top:null,left:null,transformOrigin:qm(n)};var r=U(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,l=i+t.width,c=(0,ol.Z)(Hm(s)),u=c.innerHeight-x,d=c.innerWidth-x;if(o<x){var f=o-x;o-=f,n.vertical+=f}else if(a>u){var h=a-u;o-=h,n.vertical+=h}if(i<x){var m=i-x;i-=m,n.horizontal+=m}else if(l>d){var v=l-d;i-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:qm(n)}}),[s,p,U,q,x]),V=t.useState(w),Y=(0,D.Z)(V,2),G=Y[0],$=Y[1],K=t.useCallback((function(){var e=L.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)}}),[H]);t.useEffect((function(){w&&K()})),t.useImperativeHandle(l,(function(){return w?{updatePosition:function(){K()}}:null}),[w,K]),t.useEffect((function(){if(w){var e=(0,rl.Z)((function(){K()})),t=(0,ol.Z)(s);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[s,w,K]);var X=M;"auto"!==M||Z.muiSupportAuto||(X=void 0);var Q=v||(s?(0,_m.Z)(Hm(s)).body:void 0),J=null!=(o=null==j?void 0:j.root)?o:Vm,ee=null!=(i=null==j?void 0:j.paper)?i:Ym,te=ta({elementType:ee,externalSlotProps:(0,Ti.Z)({},z,{style:G?z.style:(0,Ti.Z)({},z.style,{opacity:0})}),additionalProps:{elevation:y,ref:B},ownerState:F,className:(0,Mi.Z)(W.paper,null==z?void 0:z.className)}),ne=ta({elementType:J,externalSlotProps:(null==E?void 0:E.root)||{},externalForwardedProps:I,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Q,open:w},ownerState:F,className:(0,Mi.Z)(W.root,m)}),re=ne.slotProps,oe=(0,T.Z)(ne,Fm);return(0,Bi.jsx)(J,(0,Ti.Z)({},oe,!$i(J)&&{slotProps:re},{children:(0,Bi.jsx)(Z,(0,Ti.Z)({appear:!0,in:w,onEntering:function(e,t){R&&R(e,t),K()},onExited:function(){$(!1)},timeout:X},N,{children:(0,Bi.jsx)(ee,(0,Ti.Z)({},te,{children:h}))}))}))})),$m=Gm;function Km(e){return(0,Oa.Z)("MuiMenu",e)}(0,Ea.Z)("MuiMenu",["root","paper","list"]);var Xm=["onEntering"],Qm=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Jm={vertical:"top",horizontal:"right"},ev={vertical:"top",horizontal:"left"},tv=(0,Oi.ZP)($m,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),nv=(0,Oi.ZP)(Ym,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),rv=(0,Oi.ZP)(Dm,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),ov=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiMenu"}),a=i.autoFocus,l=void 0===a||a,s=i.children,c=i.className,u=i.disableAutoFocusItem,d=void 0!==u&&u,f=i.MenuListProps,p=void 0===f?{}:f,h=i.onClose,m=i.open,v=i.PaperProps,g=void 0===v?{}:v,y=i.PopoverClasses,b=i.transitionDuration,x=void 0===b?"auto":b,w=i.TransitionProps,S=(void 0===w?{}:w).onEntering,k=i.variant,j=void 0===k?"selectedMenu":k,E=i.slots,O=void 0===E?{}:E,C=i.slotProps,P=void 0===C?{}:C,Z=(0,T.Z)(i.TransitionProps,Xm),_=(0,T.Z)(i,Qm),M=_i(),A="rtl"===M.direction,R=(0,Ti.Z)({},i,{autoFocus:l,disableAutoFocusItem:d,MenuListProps:p,onEntering:S,PaperProps:g,transitionDuration:x,TransitionProps:Z,variant:j}),N=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],paper:["paper"],list:["list"]},Km,t)}(R),I=l&&!d&&m,D=t.useRef(null),z=-1;t.Children.map(s,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===j&&e.props.selected||-1===z)&&(z=n))}));var L=null!=(r=O.paper)?r:nv,B=null!=(o=P.paper)?o:g,F=ta({elementType:O.root,externalSlotProps:P.root,ownerState:R,className:[N.root,c]}),W=ta({elementType:L,externalSlotProps:B,ownerState:R,className:N.paper});return(0,Bi.jsx)(tv,(0,Ti.Z)({onClose:h,anchorOrigin:{vertical:"bottom",horizontal:A?"right":"left"},transformOrigin:A?Jm:ev,slots:{paper:L,root:O.root},slotProps:{root:F,paper:W},open:m,ref:n,transitionDuration:x,TransitionProps:(0,Ti.Z)({onEntering:function(e,t){D.current&&D.current.adjustStyleForScrollbar(e,M),S&&S(e,t)}},Z),ownerState:R},_,{classes:y,children:(0,Bi.jsx)(rv,(0,Ti.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),h&&h(e,"tabKeyDown"))},actions:D,autoFocus:l&&(-1===z||d),autoFocusItem:I,variant:j},p,{className:(0,Mi.Z)(N.list,p.className),children:s}))}))}));function iv(e){return(0,Oa.Z)("MuiNativeSelect",e)}var av=(0,Ea.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),lv=["className","disabled","error","IconComponent","inputRef","variant"],sv=function(e){var t,n=e.ownerState,r=e.theme;return(0,Ti.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,Ti.Z)({},r.vars?{backgroundColor:"rgba(".concat(r.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,u.Z)(t,"&.".concat(av.disabled),{cursor:"default"}),(0,u.Z)(t,"&[multiple]",{height:"auto"}),(0,u.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(r.vars||r).palette.background.paper}),(0,u.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},cv=(0,Oi.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Oi.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,u.Z)({},"&.".concat(av.multiple),t.multiple)]}})(sv),uv=function(e){var t=e.ownerState,n=e.theme;return(0,Ti.Z)((0,u.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(av.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},dv=(0,Oi.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,vl.Z)(n.variant))],n.open&&t.iconOpen]}})(uv),fv=t.forwardRef((function(e,n){var r=e.className,o=e.disabled,i=e.error,a=e.IconComponent,l=e.inputRef,s=e.variant,c=void 0===s?"standard":s,u=(0,T.Z)(e,lv),d=(0,Ti.Z)({},e,{disabled:o,variant:c,error:i}),f=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,vl.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,Yi.Z)(a,iv,t)}(d);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(cv,(0,Ti.Z)({ownerState:d,className:(0,Mi.Z)(f.select,r),disabled:o,ref:l||n},u)),e.multiple?null:(0,Bi.jsx)(dv,{as:a,ownerState:d,className:f.icon})]})}));function pv(e){return(0,Oa.Z)("MuiSelect",e)}var hv,mv=(0,Ea.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),vv=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],gv=(0,Oi.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"&.".concat(mv.select),t.select),(0,u.Z)({},"&.".concat(mv.select),t[n.variant]),(0,u.Z)({},"&.".concat(mv.error),t.error),(0,u.Z)({},"&.".concat(mv.multiple),t.multiple)]}})(sv,(0,u.Z)({},"&.".concat(mv.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),yv=(0,Oi.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,vl.Z)(n.variant))],n.open&&t.iconOpen]}})(uv),bv=(0,Oi.ZP)("input",{shouldForwardProp:function(e){return(0,Oi.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function xv(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function wv(e){return null==e||"string"===typeof e&&!e.trim()}var Sv=t.forwardRef((function(e,n){var r=e["aria-describedby"],o=e["aria-label"],i=e.autoFocus,a=e.autoWidth,l=e.children,s=e.className,c=e.defaultOpen,u=e.defaultValue,d=e.disabled,f=e.displayEmpty,p=e.error,h=void 0!==p&&p,m=e.IconComponent,v=e.inputRef,g=e.labelId,y=e.MenuProps,b=void 0===y?{}:y,x=e.multiple,w=e.name,S=e.onBlur,k=e.onChange,j=e.onClose,E=e.onFocus,O=e.onOpen,C=e.open,P=e.readOnly,Z=e.renderValue,_=e.SelectDisplayProps,M=void 0===_?{}:_,A=e.tabIndex,R=e.value,N=e.variant,I=void 0===N?"standard":N,z=(0,T.Z)(e,vv),L=(0,md.Z)({controlled:R,default:u,name:"Select"}),B=(0,D.Z)(L,2),F=B[0],W=B[1],U=(0,md.Z)({controlled:C,default:c,name:"Select"}),q=(0,D.Z)(U,2),H=q[0],V=q[1],Y=t.useRef(null),G=t.useRef(null),$=t.useState(null),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=t.useRef(null!=C).current,ee=t.useState(),te=(0,D.Z)(ee,2),ne=te[0],re=te[1],oe=(0,qa.Z)(n,v),ie=t.useCallback((function(e){G.current=e,e&&Q(e)}),[]),ae=null==X?void 0:X.parentNode;t.useImperativeHandle(oe,(function(){return{focus:function(){G.current.focus()},node:Y.current,value:F}}),[F]),t.useEffect((function(){c&&H&&X&&!J&&(re(a?null:ae.clientWidth),G.current.focus())}),[X,a]),t.useEffect((function(){i&&G.current.focus()}),[i]),t.useEffect((function(){if(g){var e=(0,_m.Z)(G.current).getElementById(g);if(e){var t=function(){getSelection().isCollapsed&&G.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[g]);var le,se,ce=function(e,t){e?O&&O(t):j&&j(t),J||(re(a?null:ae.clientWidth),V(e))},ue=t.Children.toArray(l),de=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(x){n=Array.isArray(F)?F.slice():[];var r=F.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(W(n),k)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:w}}),k(i,e)}x||ce(!1,t)}}},fe=null!==X&&H;delete z["aria-invalid"];var pe=[],he=!1;(hm({value:F})||f)&&(Z?le=Z(F):he=!0);var me=ue.map((function(e){if(!t.isValidElement(e))return null;var n;if(x){if(!Array.isArray(F))throw new Error((0,rm.Z)(2));(n=F.some((function(t){return xv(t,e.props.value)})))&&he&&pe.push(e.props.children)}else(n=xv(F,e.props.value))&&he&&(se=e.props.children);return n&&!0,t.cloneElement(e,{"aria-selected":n?"true":"false",onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));he&&(le=x?0===pe.length?null:pe.reduce((function(e,t,n){return e.push(t),n<pe.length-1&&e.push(", "),e}),[]):se);var ve,ge=ne;!a&&J&&X&&(ge=ae.clientWidth),ve="undefined"!==typeof A?A:d?null:0;var ye=M.id||(w?"mui-component-select-".concat(w):void 0),be=(0,Ti.Z)({},e,{variant:I,value:F,open:fe,error:h}),xe=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,vl.Z)(n)),i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,Yi.Z)(a,pv,t)}(be);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(gv,(0,Ti.Z)({ref:ie,tabIndex:ve,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":fe?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(e){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ce(!0,e))}},onMouseDown:d||P?null:function(e){0===e.button&&(e.preventDefault(),G.current.focus(),ce(!0,e))},onBlur:function(e){!fe&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:w}}),S(e))},onFocus:E},M,{ownerState:be,className:(0,Mi.Z)(M.className,xe.select,s),id:ye,children:wv(le)?hv||(hv=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):le})),(0,Bi.jsx)(bv,(0,Ti.Z)({"aria-invalid":h,value:Array.isArray(F)?F.join(","):F,name:w,ref:Y,"aria-hidden":!0,onChange:function(e){var t=ue.find((function(t){return t.props.value===e.target.value}));void 0!==t&&(W(t.props.value),k&&k(e,t))},tabIndex:-1,disabled:d,className:xe.nativeInput,autoFocus:i,ownerState:be},z)),(0,Bi.jsx)(yv,{as:m,className:xe.icon,ownerState:be}),(0,Bi.jsx)(ov,(0,Ti.Z)({id:"menu-".concat(w||""),anchorEl:ae,open:fe,onClose:function(e){ce(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:(0,Ti.Z)({"aria-labelledby":g,role:"listbox",disableListWrap:!0},b.MenuListProps),PaperProps:(0,Ti.Z)({},b.PaperProps,{style:(0,Ti.Z)({minWidth:ge},null!=b.PaperProps?b.PaperProps.style:null)}),children:me}))]})})),kv=Sv,jv=n(9201),Ev=(0,jv.Z)((0,Bi.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Ov(e){return(0,Oa.Z)("MuiInput",e)}var Cv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiInput",["root","underline","input"])),Pv=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Zv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,F.Z)(ym(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(o="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),(0,Ti.Z)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[r.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,u.Z)(t,"&.".concat(Cv.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,u.Z)(t,"&.".concat(Cv.error),{"&:before, &:after":{borderBottomColor:(n.vars||n).palette.error.main}}),(0,u.Z)(t,"&:before",{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,u.Z)(t,"&:hover:not(.".concat(Cv.disabled,", .").concat(Cv.error,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}}),(0,u.Z)(t,"&.".concat(Cv.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),_v=(0,Oi.ZP)(wm,{name:"MuiInput",slot:"Input",overridesResolver:bm})({}),Tv=t.forwardRef((function(e,t){var n,r,o,i,a=(0,_a.Z)({props:e,name:"MuiInput"}),l=a.disableUnderline,s=a.components,c=void 0===s?{}:s,u=a.componentsProps,d=a.fullWidth,f=void 0!==d&&d,p=a.inputComponent,h=void 0===p?"input":p,m=a.multiline,v=void 0!==m&&m,g=a.slotProps,y=a.slots,b=void 0===y?{}:y,x=a.type,w=void 0===x?"text":x,S=(0,T.Z)(a,Pv),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Yi.Z)(n,Ov,t);return(0,Ti.Z)({},t,r)}(a),j={root:{ownerState:{disableUnderline:l}}},E=(null!=g?g:u)?(0,Ni.Z)(null!=g?g:u,j):j,O=null!=(n=null!=(r=b.root)?r:c.Root)?n:Zv,C=null!=(o=null!=(i=b.input)?i:c.Input)?o:_v;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:O,input:C},slotProps:E,fullWidth:f,inputComponent:h,multiline:v,ref:t,type:w},S,{classes:k}))}));Tv.muiName="Input";var Mv=Tv;function Av(e){return(0,Oa.Z)("MuiFilledInput",e)}var Rv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiFilledInput",["root","underline","input"])),Nv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Iv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiFilledInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,F.Z)(ym(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n,r,o=e.theme,i=e.ownerState,a="light"===o.palette.mode,l=a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",d=a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,Ti.Z)((t={position:"relative",backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(o.vars||o).shape.borderRadius,borderTopRightRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create("background-color",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),"&:hover":{backgroundColor:o.vars?o.vars.palette.FilledInput.hoverBg:c,"@media (hover: none)":{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s}}},(0,u.Z)(t,"&.".concat(Rv.focused),{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s}),(0,u.Z)(t,"&.".concat(Rv.disabled),{backgroundColor:o.vars?o.vars.palette.FilledInput.disabledBg:d}),t),!i.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(null==(r=(o.vars||o).palette[i.color||"primary"])?void 0:r.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:o.transitions.create("transform",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),pointerEvents:"none"}},(0,u.Z)(n,"&.".concat(Rv.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,u.Z)(n,"&.".concat(Rv.error),{"&:before, &:after":{borderBottomColor:(o.vars||o).palette.error.main}}),(0,u.Z)(n,"&:before",{borderBottom:"1px solid ".concat(o.vars?"rgba(".concat(o.vars.palette.common.onBackgroundChannel," / ").concat(o.vars.opacity.inputUnderline,")"):l),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:o.transitions.create("border-bottom-color",{duration:o.transitions.duration.shorter}),pointerEvents:"none"}),(0,u.Z)(n,"&:hover:not(.".concat(Rv.disabled,", .").concat(Rv.error,"):before"),{borderBottom:"1px solid ".concat((o.vars||o).palette.text.primary)}),(0,u.Z)(n,"&.".concat(Rv.disabled,":before"),{borderBottomStyle:"dotted"}),n),i.startAdornment&&{paddingLeft:12},i.endAdornment&&{paddingRight:12},i.multiline&&(0,Ti.Z)({padding:"25px 12px 8px"},"small"===i.size&&{paddingTop:21,paddingBottom:4},i.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),Dv=(0,Oi.ZP)(wm,{name:"MuiFilledInput",slot:"Input",overridesResolver:bm})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&(0,u.Z)({"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),zv=t.forwardRef((function(e,t){var n,r,o,i,a=(0,_a.Z)({props:e,name:"MuiFilledInput"}),l=a.components,s=void 0===l?{}:l,c=a.componentsProps,u=a.fullWidth,d=void 0!==u&&u,f=a.inputComponent,p=void 0===f?"input":f,h=a.multiline,m=void 0!==h&&h,v=a.slotProps,g=a.slots,y=void 0===g?{}:g,b=a.type,x=void 0===b?"text":b,w=(0,T.Z)(a,Nv),S=(0,Ti.Z)({},a,{fullWidth:d,inputComponent:p,multiline:m,type:x}),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Yi.Z)(n,Av,t);return(0,Ti.Z)({},t,r)}(a),j={root:{ownerState:S},input:{ownerState:S}},E=(null!=v?v:c)?(0,Ni.Z)(null!=v?v:c,j):j,O=null!=(n=null!=(r=y.root)?r:s.Root)?n:Iv,C=null!=(o=null!=(i=y.input)?i:s.Input)?o:Dv;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:O,input:C},componentsProps:E,fullWidth:d,inputComponent:p,multiline:m,ref:t,type:x},w,{classes:k}))}));zv.muiName="Input";var Lv,Bv=zv,Fv=["children","classes","className","label","notched"],Wv=(0,Oi.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Uv=(0,Oi.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,Ti.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,Ti.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function qv(e){return(0,Oa.Z)("MuiOutlinedInput",e)}var Hv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),Vv=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Yv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:ym})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Ti.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,u.Z)(t,"&:hover .".concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,u.Z)(t,"@media (hover: none)",(0,u.Z)({},"&:hover .".concat(Hv.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):o})),(0,u.Z)(t,"&.".concat(Hv.focused," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,u.Z)(t,"&.".concat(Hv.error," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,u.Z)(t,"&.".concat(Hv.disabled," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,Ti.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),Gv=(0,Oi.ZP)((function(e){var t=e.className,n=e.label,r=e.notched,o=(0,T.Z)(e,Fv),i=null!=n&&""!==n,a=(0,Ti.Z)({},e,{notched:r,withLabel:i});return(0,Bi.jsx)(Wv,(0,Ti.Z)({"aria-hidden":!0,className:t,ownerState:a},o,{children:(0,Bi.jsx)(Uv,{ownerState:a,children:i?(0,Bi.jsx)("span",{children:n}):Lv||(Lv=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),$v=(0,Oi.ZP)(wm,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:bm})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,u.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),Kv=t.forwardRef((function(e,n){var r,o,i,a,l,s=(0,_a.Z)({props:e,name:"MuiOutlinedInput"}),c=s.components,u=void 0===c?{}:c,d=s.fullWidth,f=void 0!==d&&d,p=s.inputComponent,h=void 0===p?"input":p,m=s.label,v=s.multiline,g=void 0!==v&&v,y=s.notched,b=s.slots,x=void 0===b?{}:b,w=s.type,S=void 0===w?"text":w,k=(0,T.Z)(s,Vv),j=function(e){var t=e.classes,n=(0,Yi.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},qv,t);return(0,Ti.Z)({},t,n)}(s),E=fm(),O=um({props:s,muiFormControl:E,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=(0,Ti.Z)({},s,{color:O.color||"primary",disabled:O.disabled,error:O.error,focused:O.focused,formControl:E,fullWidth:f,hiddenLabel:O.hiddenLabel,multiline:g,size:O.size,type:S}),P=null!=(r=null!=(o=x.root)?o:u.Root)?r:Yv,Z=null!=(i=null!=(a=x.input)?a:u.Input)?i:$v;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:P,input:Z},renderSuffix:function(e){return(0,Bi.jsx)(Gv,{ownerState:C,className:j.notchedOutline,label:null!=m&&""!==m&&O.required?l||(l=(0,Bi.jsxs)(t.Fragment,{children:[m,"\u2009","*"]})):m,notched:"undefined"!==typeof y?y:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:f,inputComponent:h,multiline:g,ref:n,type:S},k,{classes:(0,Ti.Z)({},j,{notchedOutline:null})}))}));Kv.muiName="Input";var Xv=Kv,Qv=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Jv={name:"MuiSelect",overridesResolver:function(e,t){return t.root},shouldForwardProp:function(e){return(0,Oi.FO)(e)&&"variant"!==e},slot:"Root"},eg=(0,Oi.ZP)(Mv,Jv)(""),tg=(0,Oi.ZP)(Xv,Jv)(""),ng=(0,Oi.ZP)(Bv,Jv)(""),rg=t.forwardRef((function(e,n){var r=(0,_a.Z)({name:"MuiSelect",props:e}),o=r.autoWidth,i=void 0!==o&&o,a=r.children,l=r.classes,s=void 0===l?{}:l,c=r.className,u=r.defaultOpen,d=void 0!==u&&u,f=r.displayEmpty,p=void 0!==f&&f,h=r.IconComponent,m=void 0===h?Ev:h,v=r.id,g=r.input,y=r.inputProps,b=r.label,x=r.labelId,w=r.MenuProps,S=r.multiple,k=void 0!==S&&S,j=r.native,E=void 0!==j&&j,O=r.onClose,C=r.onOpen,P=r.open,Z=r.renderValue,_=r.SelectDisplayProps,M=r.variant,A=void 0===M?"outlined":M,R=(0,T.Z)(r,Qv),N=E?fv:kv,I=um({props:r,muiFormControl:fm(),states:["variant","error"]}),D=I.variant||A,z=(0,Ti.Z)({},r,{variant:D,classes:s}),L=function(e){return e.classes}(z),B=g||{standard:(0,Bi.jsx)(eg,{ownerState:z}),outlined:(0,Bi.jsx)(tg,{label:b,ownerState:z}),filled:(0,Bi.jsx)(ng,{ownerState:z})}[D],F=(0,qa.Z)(n,B.ref);return(0,Bi.jsx)(t.Fragment,{children:t.cloneElement(B,(0,Ti.Z)({inputComponent:N,inputProps:(0,Ti.Z)({children:a,error:I.error,IconComponent:m,variant:D,type:void 0,multiple:k},E?{id:v}:{autoWidth:i,defaultOpen:d,displayEmpty:p,labelId:x,MenuProps:w,onClose:O,onOpen:C,open:P,renderValue:Z,SelectDisplayProps:(0,Ti.Z)({id:v},_)},y,{classes:y?(0,Ni.Z)(L,y.classes):L},g?g.props.inputProps:{})},k&&E&&"outlined"===D?{notched:!0}:{},{ref:F,className:(0,Mi.Z)(B.props.className,c)},!g&&{variant:D},R))})}));rg.muiName="Select";var og,ig,ag,lg,sg,cg,ug,dg,fg=rg,pg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),hg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),mg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),vg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),gg=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],yg=t.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,o=e.getItemAriaLabel,i=e.nextIconButtonProps,a=e.onPageChange,l=e.page,s=e.rowsPerPage,c=e.showFirstButton,u=e.showLastButton,d=(0,T.Z)(e,gg),f=_i();return(0,Bi.jsxs)("div",(0,Ti.Z)({ref:t},d,{children:[c&&(0,Bi.jsx)(Js,{onClick:function(e){a(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===f.direction?og||(og=(0,Bi.jsx)(mg,{})):ig||(ig=(0,Bi.jsx)(vg,{}))}),(0,Bi.jsx)(Js,(0,Ti.Z)({onClick:function(e){a(e,l-1)},disabled:0===l,color:"inherit","aria-label":o("previous",l),title:o("previous",l)},n,{children:"rtl"===f.direction?ag||(ag=(0,Bi.jsx)(hg,{})):lg||(lg=(0,Bi.jsx)(pg,{}))})),(0,Bi.jsx)(Js,(0,Ti.Z)({onClick:function(e){a(e,l+1)},disabled:-1!==r&&l>=Math.ceil(r/s)-1,color:"inherit","aria-label":o("next",l),title:o("next",l)},i,{children:"rtl"===f.direction?sg||(sg=(0,Bi.jsx)(pg,{})):cg||(cg=(0,Bi.jsx)(hg,{}))})),u&&(0,Bi.jsx)(Js,{onClick:function(e){a(e,Math.max(0,Math.ceil(r/s)-1))},disabled:l>=Math.ceil(r/s)-1,"aria-label":o("last",l),title:o("last",l),children:"rtl"===f.direction?ug||(ug=(0,Bi.jsx)(vg,{})):dg||(dg=(0,Bi.jsx)(mg,{}))})]}))}));function bg(e){return(0,Oa.Z)("MuiTablePagination",e)}var xg,wg=(0,Ea.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Sg=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],kg=(0,Oi.ZP)(Vh,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}})),jg=(0,Oi.ZP)(Nl,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(e,t){return(0,Ti.Z)((0,u.Z)({},"& .".concat(wg.actions),t.actions),t.toolbar)}})((function(e){var t,n=e.theme;return t={minHeight:52,paddingRight:2},(0,u.Z)(t,"".concat(n.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),(0,u.Z)(t,n.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),(0,u.Z)(t,"& .".concat(wg.actions),{flexShrink:0,marginLeft:20}),t})),Eg=(0,Oi.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})({flex:"1 1 100%"}),Og=(0,Oi.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(e,t){return t.selectLabel}})((function(e){var t=e.theme;return(0,Ti.Z)({},t.typography.body2,{flexShrink:0})})),Cg=(0,Oi.ZP)(fg,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(e,t){var n;return(0,Ti.Z)((n={},(0,u.Z)(n,"& .".concat(wg.selectIcon),t.selectIcon),(0,u.Z)(n,"& .".concat(wg.select),t.select),n),t.input,t.selectRoot)}})((0,u.Z)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(wg.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),Pg=(0,Oi.ZP)(Zm,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(e,t){return t.menuItem}})({}),Zg=(0,Oi.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(e,t){return t.displayedRows}})((function(e){var t=e.theme;return(0,Ti.Z)({},t.typography.body2,{flexShrink:0})}));function _g(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"\u2013").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))}function Tg(e){return"Go to ".concat(e," page")}var Mg=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiTablePagination"}),i=o.ActionsComponent,a=void 0===i?yg:i,l=o.backIconButtonProps,s=o.className,c=o.colSpan,u=o.component,d=void 0===u?Vh:u,f=o.count,p=o.getItemAriaLabel,h=void 0===p?Tg:p,m=o.labelDisplayedRows,v=void 0===m?_g:m,g=o.labelRowsPerPage,y=void 0===g?"Rows per page:":g,b=o.nextIconButtonProps,x=o.onPageChange,w=o.onRowsPerPageChange,S=o.page,k=o.rowsPerPage,j=o.rowsPerPageOptions,E=void 0===j?[10,25,50,100]:j,O=o.SelectProps,C=void 0===O?{}:O,P=o.showFirstButton,Z=void 0!==P&&P,_=o.showLastButton,M=void 0!==_&&_,A=(0,T.Z)(o,Sg),R=o,N=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},bg,t)}(R),I=C.native?"option":Pg;d!==Vh&&"td"!==d||(r=c||1e3);var D=(0,hd.Z)(C.id),z=(0,hd.Z)(C.labelId);return(0,Bi.jsx)(kg,(0,Ti.Z)({colSpan:r,ref:n,as:d,ownerState:R,className:(0,Mi.Z)(N.root,s)},A,{children:(0,Bi.jsxs)(jg,{className:N.toolbar,children:[(0,Bi.jsx)(Eg,{className:N.spacer}),E.length>1&&(0,Bi.jsx)(Og,{className:N.selectLabel,id:z,children:y}),E.length>1&&(0,Bi.jsx)(Cg,(0,Ti.Z)({variant:"standard"},!C.variant&&{input:xg||(xg=(0,Bi.jsx)(jm,{}))},{value:k,onChange:w,id:D,labelId:z},C,{classes:(0,Ti.Z)({},C.classes,{root:(0,Mi.Z)(N.input,N.selectRoot,(C.classes||{}).root),select:(0,Mi.Z)(N.select,(C.classes||{}).select),icon:(0,Mi.Z)(N.selectIcon,(C.classes||{}).icon)}),children:E.map((function(e){return(0,t.createElement)(I,(0,Ti.Z)({},!$i(I)&&{ownerState:R},{className:N.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)}))})),(0,Bi.jsx)(Zg,{className:N.displayedRows,children:v({from:0===f?0:S*k+1,to:-1===f?(S+1)*k:-1===k?f:Math.min(f,(S+1)*k),count:-1===f?-1:f,page:S})}),(0,Bi.jsx)(a,{className:N.actions,backIconButtonProps:l,count:f,nextIconButtonProps:b,onPageChange:x,page:S,rowsPerPage:k,showFirstButton:Z,showLastButton:M,getItemAriaLabel:h})]})}))}));function Ag(e){return(0,Oa.Z)("MuiTableRow",e)}var Rg=(0,Ea.Z)("MuiTableRow",["root","selected","hover","head","footer"]),Ng=["className","component","hover","selected"],Ig=(0,Oi.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((function(e){var t,n=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,u.Z)(t,"&.".concat(Rg.hover,":hover"),{backgroundColor:(n.vars||n).palette.action.hover}),(0,u.Z)(t,"&.".concat(Rg.selected),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),t})),Dg=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTableRow"}),o=r.className,i=r.component,a=void 0===i?"tr":i,l=r.hover,s=void 0!==l&&l,c=r.selected,u=void 0!==c&&c,d=(0,T.Z)(r,Ng),f=t.useContext(Rh),p=(0,Ti.Z)({},r,{component:a,hover:s,selected:u,head:f&&"head"===f.variant,footer:f&&"footer"===f.variant}),h=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,Yi.Z)(n,Ag,t)}(p);return(0,Bi.jsx)(Ig,(0,Ti.Z)({as:a,ref:n,className:(0,Mi.Z)(h.root,o),role:"tr"===a?null:"row",ownerState:p},d))})),zg=Dg;function Lg(e){return(0,Oa.Z)("PrivateSwitchBase",e)}(0,Ea.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Bg=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Fg=(0,Oi.ZP)(Ys)((function(e){var t=e.ownerState;return(0,Ti.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),Wg=(0,Oi.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ug=t.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,o=e.checkedIcon,i=e.className,a=e.defaultChecked,l=e.disabled,s=e.disableFocusRipple,c=void 0!==s&&s,u=e.edge,d=void 0!==u&&u,f=e.icon,p=e.id,h=e.inputProps,m=e.inputRef,v=e.name,g=e.onBlur,y=e.onChange,b=e.onFocus,x=e.readOnly,w=e.required,S=void 0!==w&&w,k=e.tabIndex,j=e.type,E=e.value,O=(0,T.Z)(e,Bg),C=(0,md.Z)({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),P=(0,D.Z)(C,2),Z=P[0],_=P[1],M=fm(),A=l;M&&"undefined"===typeof A&&(A=M.disabled);var R="checkbox"===j||"radio"===j,N=(0,Ti.Z)({},e,{checked:Z,disabled:A,disableFocusRipple:c,edge:d}),I=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat((0,vl.Z)(o))],input:["input"]};return(0,Yi.Z)(i,Lg,t)}(N);return(0,Bi.jsxs)(Fg,(0,Ti.Z)({component:"span",className:(0,Mi.Z)(I.root,i),centerRipple:!0,focusRipple:!c,disabled:A,tabIndex:null,role:void 0,onFocus:function(e){b&&b(e),M&&M.onFocus&&M.onFocus(e)},onBlur:function(e){g&&g(e),M&&M.onBlur&&M.onBlur(e)},ownerState:N,ref:t},O,{children:[(0,Bi.jsx)(Wg,(0,Ti.Z)({autoFocus:n,checked:r,defaultChecked:a,className:I.input,disabled:A,id:R?p:void 0,name:v,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;_(t),y&&y(e,t)}},readOnly:x,ref:m,required:S,ownerState:N,tabIndex:k,type:j},"checkbox"===j&&void 0===E?{}:{value:E},h)),Z?o:f]}))})),qg=Ug;function Hg(e){return(0,Oa.Z)("MuiSwitch",e)}var Vg=(0,Ea.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Yg=["className","color","edge","size","sx"],Gg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,vl.Z)(n.edge))],t["size".concat((0,vl.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,Ti.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,u.Z)(t,"& .".concat(Vg.thumb),{width:16,height:16}),(0,u.Z)(t,"& .".concat(Vg.switchBase),(0,u.Z)({padding:4},"&.".concat(Vg.checked),{transform:"translateX(16px)"})),t))})),$g=(0,Oi.ZP)(qg,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,u.Z)({},"& .".concat(Vg.input),t.input),"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,u.Z)(t,"&.".concat(Vg.checked),{transform:"translateX(20px)"}),(0,u.Z)(t,"&.".concat(Vg.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),(0,u.Z)(t,"&.".concat(Vg.checked," + .").concat(Vg.track),{opacity:.5}),(0,u.Z)(t,"&.".concat(Vg.disabled," + .").concat(Vg.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),(0,u.Z)(t,"& .".concat(Vg.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,u.Z)(t,"&.".concat(Vg.checked),(0,u.Z)({color:(n.vars||n).palette[r.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(Vg.disabled),{color:n.vars?n.vars.palette.Switch["".concat(r.color,"DisabledColor")]:"".concat("light"===n.palette.mode?(0,cl.$n)(n.palette[r.color].main,.62):(0,cl._j)(n.palette[r.color].main,.55))})),(0,u.Z)(t,"&.".concat(Vg.checked," + .").concat(Vg.track),{backgroundColor:(n.vars||n).palette[r.color].main}),t))})),Kg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),Xg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),Qg=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiSwitch"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.edge,l=void 0!==a&&a,s=n.size,c=void 0===s?"medium":s,u=n.sx,d=(0,T.Z)(n,Yg),f=(0,Ti.Z)({},n,{color:i,edge:l,size:c}),p=function(e){var t=e.classes,n=e.edge,r=e.size,o=e.color,i=e.checked,a=e.disabled,l={root:["root",n&&"edge".concat((0,vl.Z)(n)),"size".concat((0,vl.Z)(r))],switchBase:["switchBase","color".concat((0,vl.Z)(o)),i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},s=(0,Yi.Z)(l,Hg,t);return(0,Ti.Z)({},t,s)}(f),h=(0,Bi.jsx)(Xg,{className:p.thumb,ownerState:f});return(0,Bi.jsxs)(Gg,{className:(0,Mi.Z)(p.root,r),sx:u,ownerState:f,children:[(0,Bi.jsx)($g,(0,Ti.Z)({type:"checkbox",icon:h,checkedIcon:h,ref:t,ownerState:f},d,{classes:(0,Ti.Z)({},p,{root:p.switchBase})})),(0,Bi.jsx)(Kg,{className:p.track,ownerState:f})]})})),Jg=Qg,ey=n(7247),ty=n(1286),ny=n(2419);function ry(e){return(0,Oa.Z)("MuiCard",e)}(0,Ea.Z)("MuiCard",["root"]);var oy=["className","raised"],iy=(0,Oi.ZP)(ml,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),ay=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,T.Z)(n,oy),l=(0,Ti.Z)({},n,{raised:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},ry,t)}(l);return(0,Bi.jsx)(iy,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),elevation:i?8:void 0,ref:t,ownerState:l},a))}));function ly(e){return(0,Oa.Z)("MuiFormLabel",e)}var sy=(0,Ea.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),cy=["children","className","color","component","disabled","error","filled","focused","required"],uy=(0,Oi.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Ti.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,u.Z)(t,"&.".concat(sy.focused),{color:(n.vars||n).palette[r.color].main}),(0,u.Z)(t,"&.".concat(sy.disabled),{color:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&.".concat(sy.error),{color:(n.vars||n).palette.error.main}),t))})),dy=(0,Oi.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,u.Z)({},"&.".concat(sy.error),{color:(t.vars||t).palette.error.main})})),fy=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormLabel"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"label":i,l=(0,T.Z)(n,cy),s=um({props:n,muiFormControl:fm(),states:["color","required","focused","disabled","error","filled"]}),c=(0,Ti.Z)({},n,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=function(e){var t=e.classes,n=e.color,r=e.focused,o=e.disabled,i=e.error,a=e.filled,l=e.required,s={root:["root","color".concat((0,vl.Z)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,Yi.Z)(s,ly,t)}(c);return(0,Bi.jsxs)(uy,(0,Ti.Z)({as:a,ownerState:c,className:(0,Mi.Z)(u.root,o),ref:t},l,{children:[r,s.required&&(0,Bi.jsxs)(dy,{ownerState:c,"aria-hidden":!0,className:u.asterisk,children:["\u2009","*"]})]}))})),py=fy;function hy(e){return(0,Oa.Z)("MuiInputLabel",e)}(0,Ea.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var my=["disableAnimation","margin","shrink","variant","className"],vy=(0,Oi.ZP)(py,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(sy.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,Ti.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,Ti.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,Ti.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),gy=t.forwardRef((function(e,t){var n=(0,_a.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,o=void 0!==r&&r,i=n.shrink,a=n.className,l=(0,T.Z)(n,my),s=fm(),c=i;"undefined"===typeof c&&s&&(c=s.filled||s.focused||s.adornedStart);var u=um({props:n,muiFormControl:s,states:["size","variant","required"]}),d=(0,Ti.Z)({},n,{disableAnimation:o,formControl:s,shrink:c,size:u.size,variant:u.variant,required:u.required}),f=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,i={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},a=(0,Yi.Z)(i,hy,t);return(0,Ti.Z)({},t,a)}(d);return(0,Bi.jsx)(vy,(0,Ti.Z)({"data-shrink":c,ownerState:d,ref:t,className:(0,Mi.Z)(f.root,a)},l,{classes:f}))}));function yy(e){return(0,Oa.Z)("MuiFormControl",e)}(0,Ea.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var by=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],xy=(0,Oi.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Ti.Z)({},t.root,t["margin".concat((0,vl.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),wy=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiFormControl"}),o=r.children,i=r.className,a=r.color,l=void 0===a?"primary":a,s=r.component,c=void 0===s?"div":s,u=r.disabled,d=void 0!==u&&u,f=r.error,p=void 0!==f&&f,h=r.focused,m=r.fullWidth,v=void 0!==m&&m,g=r.hiddenLabel,y=void 0!==g&&g,b=r.margin,x=void 0===b?"none":b,w=r.required,S=void 0!==w&&w,k=r.size,j=void 0===k?"medium":k,E=r.variant,O=void 0===E?"outlined":E,C=(0,T.Z)(r,by),P=(0,Ti.Z)({},r,{color:l,component:c,disabled:d,error:p,fullWidth:v,hiddenLabel:y,margin:x,required:S,size:j,variant:O}),Z=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,o={root:["root","none"!==n&&"margin".concat((0,vl.Z)(n)),r&&"fullWidth"]};return(0,Yi.Z)(o,yy,t)}(P),_=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){if((0,oc.Z)(t,["Input","Select"])){var n=(0,oc.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),M=(0,D.Z)(_,2),A=M[0],R=M[1],N=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){(0,oc.Z)(t,["Input","Select"])&&(hm(t.props,!0)||hm(t.props.inputProps,!0))&&(e=!0)})),e})),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=t.useState(!1),F=(0,D.Z)(B,2),W=F[0],U=F[1];d&&W&&U(!1);var q,H=void 0===h||d?W:h,V=t.useMemo((function(){return{adornedStart:A,setAdornedStart:R,color:l,disabled:d,error:p,filled:z,focused:H,fullWidth:v,hiddenLabel:y,size:j,onBlur:function(){U(!1)},onEmpty:function(){L(!1)},onFilled:function(){L(!0)},onFocus:function(){U(!0)},registerEffect:q,required:S,variant:O}}),[A,l,d,p,z,H,v,y,q,S,j,O]);return(0,Bi.jsx)(dm.Provider,{value:V,children:(0,Bi.jsx)(xy,(0,Ti.Z)({as:c,ownerState:P,className:(0,Mi.Z)(Z.root,i),ref:n},C,{children:o}))})})),Sy=wy;function ky(e){return(0,Oa.Z)("MuiFormHelperText",e)}var jy,Ey=(0,Ea.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Oy=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Cy=(0,Oi.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,vl.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,u.Z)(t,"&.".concat(Ey.disabled),{color:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&.".concat(Ey.error),{color:(n.vars||n).palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),Py=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormHelperText"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"p":i,l=(0,T.Z)(n,Oy),s=um({props:n,muiFormControl:fm(),states:["variant","size","disabled","error","filled","focused","required"]}),c=(0,Ti.Z)({},n,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=function(e){var t=e.classes,n=e.contained,r=e.size,o=e.disabled,i=e.error,a=e.filled,l=e.focused,s=e.required,c={root:["root",o&&"disabled",i&&"error",r&&"size".concat((0,vl.Z)(r)),n&&"contained",l&&"focused",a&&"filled",s&&"required"]};return(0,Yi.Z)(c,ky,t)}(c);return(0,Bi.jsx)(Cy,(0,Ti.Z)({as:a,ownerState:c,className:(0,Mi.Z)(u.root,o),ref:t},l,{children:" "===r?jy||(jy=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):r}))}));function Zy(e){return(0,Oa.Z)("MuiTextField",e)}(0,Ea.Z)("MuiTextField",["root"]);var _y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Ty={standard:Mv,filled:Bv,outlined:Xv},My=(0,Oi.ZP)(Sy,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ay=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTextField"}),r=n.autoComplete,o=n.autoFocus,i=void 0!==o&&o,a=n.children,l=n.className,s=n.color,c=void 0===s?"primary":s,u=n.defaultValue,d=n.disabled,f=void 0!==d&&d,p=n.error,h=void 0!==p&&p,m=n.FormHelperTextProps,v=n.fullWidth,g=void 0!==v&&v,y=n.helperText,b=n.id,x=n.InputLabelProps,w=n.inputProps,S=n.InputProps,k=n.inputRef,j=n.label,E=n.maxRows,O=n.minRows,C=n.multiline,P=void 0!==C&&C,Z=n.name,_=n.onBlur,M=n.onChange,A=n.onClick,R=n.onFocus,N=n.placeholder,I=n.required,D=void 0!==I&&I,z=n.rows,L=n.select,B=void 0!==L&&L,F=n.SelectProps,W=n.type,U=n.value,q=n.variant,H=void 0===q?"outlined":q,V=(0,T.Z)(n,_y),Y=(0,Ti.Z)({},n,{autoFocus:i,color:c,disabled:f,error:h,fullWidth:g,multiline:P,required:D,select:B,variant:H}),G=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Zy,t)}(Y);var $={};"outlined"===H&&(x&&"undefined"!==typeof x.shrink&&($.notched=x.shrink),$.label=j),B&&(F&&F.native||($.id=void 0),$["aria-describedby"]=void 0);var K=function(e){!f&&A&&(e.stopPropagation(),A(e))},X=(0,Td.Z)(b),Q=y&&X?"".concat(X,"-helper-text"):void 0,J=j&&X?"".concat(X,"-label"):void 0,ee=Ty[H],te=(0,Bi.jsx)(ee,(0,Ti.Z)({"aria-describedby":Q,autoComplete:r,autoFocus:i,defaultValue:u,fullWidth:g,multiline:P,name:Z,rows:z,maxRows:E,minRows:O,type:W,value:U,id:X,inputRef:k,onBlur:_,onChange:M,onFocus:R,onClick:K,placeholder:N,inputProps:w},$,S));return(0,Bi.jsxs)(My,(0,Ti.Z)({className:(0,Mi.Z)(G.root,l),disabled:f,error:h,fullWidth:g,ref:t,required:D,color:c,variant:H,ownerState:Y,onClick:K},V,{children:[null!=j&&""!==j&&(0,Bi.jsx)(gy,(0,Ti.Z)({htmlFor:X,id:J},x,{children:j})),B?(0,Bi.jsx)(fg,(0,Ti.Z)({"aria-describedby":Q,id:X,labelId:J,value:U,input:te},F,{children:a})):te,y&&(0,Bi.jsx)(Py,(0,Ti.Z)({id:Q},m,{children:y}))]}))})),Ry=Ay;function Ny(e){return(0,Oa.Z)("MuiCardContent",e)}(0,Ea.Z)("MuiCardContent",["root"]);var Iy=["className","component"],Dy=(0,Oi.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),zy=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,T.Z)(n,Iy),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Ny,t)}(l);return(0,Bi.jsx)(Dy,(0,Ti.Z)({as:i,className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))})),Ly=n(1184);var By=t.createContext();function Fy(e){return(0,Oa.Z)("MuiGrid",e)}var Wy=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Uy=(0,Ea.Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,F.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,F.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,F.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-xs-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-sm-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-md-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-lg-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-xl-".concat(e)}))))),qy=Uy,Hy=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Vy(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function Yy(e){var t=e.breakpoints,n=e.values,r="";Object.keys(n).forEach((function(e){""===r&&0!==n[e]&&(r=e)}));var o=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return o.slice(0,o.indexOf(r))}var Gy=(0,Oi.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,o=n.direction,i=n.item,a=n.spacing,l=n.wrap,s=n.zeroMinWidth,c=n.breakpoints,u=[];r&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var o=e[t];Number(o)>0&&r.push(n["spacing-".concat(t,"-").concat(String(o))])})),r}(a,c,t));var d=[];return c.forEach((function(e){var r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,i&&t.item,s&&t.zeroMinWidth].concat((0,F.Z)(u),["row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))]],d)}})((function(e){var t=e.ownerState;return(0,Ti.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,Ly.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,Ly.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(qy.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.rowSpacing,i={};if(r&&0!==o){var a,l=(0,Ly.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof l&&(a=Yy({breakpoints:t.breakpoints.values,values:l})),i=(0,Ly.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,u.Z)({marginTop:"-".concat(Vy(o))},"& > .".concat(qy.item),{paddingTop:Vy(o)}):null!=(r=a)&&r.includes(n)?{}:(0,u.Z)({marginTop:0},"& > .".concat(qy.item),{paddingTop:0})}))}return i}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.columnSpacing,i={};if(r&&0!==o){var a,l=(0,Ly.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof l&&(a=Yy({breakpoints:t.breakpoints.values,values:l})),i=(0,Ly.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,u.Z)({width:"calc(100% + ".concat(Vy(o),")"),marginLeft:"-".concat(Vy(o))},"& > .".concat(qy.item),{paddingLeft:Vy(o)}):null!=(r=a)&&r.includes(n)?{}:(0,u.Z)({width:"100%",marginLeft:0},"& > .".concat(qy.item),{paddingLeft:0})}))}return i}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=(0,Ly.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof a?a[o]:a;if(void 0===l||null===l)return e;var s="".concat(Math.round(t/l*1e8)/1e6,"%"),c={};if(r.container&&r.item&&0!==r.columnSpacing){var u=n.spacing(r.columnSpacing);if("0px"!==u){var d="calc(".concat(s," + ").concat(Vy(u),")");c={flexBasis:d,maxWidth:d}}}i=(0,Ti.Z)({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})}));var $y=function(e){var t=e.classes,n=e.container,r=e.direction,o=e.item,i=e.spacing,a=e.wrap,l=e.zeroMinWidth,s=e.breakpoints,c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var o="spacing-".concat(t,"-").concat(String(r));n.push(o)}})),n}(i,s));var u=[];s.forEach((function(t){var n=e[t];n&&u.push("grid-".concat(t,"-").concat(String(n)))}));var d={root:["root",n&&"container",o&&"item",l&&"zeroMinWidth"].concat((0,F.Z)(c),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==a&&"wrap-xs-".concat(String(a))],u)};return(0,Yi.Z)(d,Fy,t)},Ky=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiGrid"}),o=_i().breakpoints,i=Li(r),a=i.className,l=i.columns,s=i.columnSpacing,c=i.component,u=void 0===c?"div":c,d=i.container,f=void 0!==d&&d,p=i.direction,h=void 0===p?"row":p,m=i.item,v=void 0!==m&&m,g=i.rowSpacing,y=i.spacing,b=void 0===y?0:y,x=i.wrap,w=void 0===x?"wrap":x,S=i.zeroMinWidth,k=void 0!==S&&S,j=(0,T.Z)(i,Hy),E=g||b,O=s||b,C=t.useContext(By),P=f?l||12:C,Z={},_=(0,Ti.Z)({},j);o.keys.forEach((function(e){null!=j[e]&&(Z[e]=j[e],delete _[e])}));var M=(0,Ti.Z)({},i,{columns:P,container:f,direction:h,item:v,rowSpacing:E,columnSpacing:O,wrap:w,zeroMinWidth:k,spacing:b},Z,{breakpoints:o.keys}),A=$y(M);return(0,Bi.jsx)(By.Provider,{value:P,children:(0,Bi.jsx)(Gy,(0,Ti.Z)({ownerState:M,className:(0,Mi.Z)(A.root,a),as:u,ref:n},_))})})),Xy=Ky;function Qy(e){return e.substring(2).toLowerCase()}function Jy(e){var n=e.children,r=e.disableReactTree,o=void 0!==r&&r,i=e.mouseEvent,a=void 0===i?"onClick":i,l=e.onClickAway,s=e.touchEvent,c=void 0===s?"onTouchEnd":s,u=t.useRef(!1),d=t.useRef(null),f=t.useRef(!1),p=t.useRef(!1);t.useEffect((function(){return setTimeout((function(){f.current=!0}),0),function(){f.current=!1}}),[]);var h=(0,Gi.Z)(n.ref,d),m=(0,ca.Z)((function(e){var t=p.current;p.current=!1;var n=(0,sa.Z)(d.current);!f.current||!d.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n)||(u.current?u.current=!1:(e.composedPath?e.composedPath().indexOf(d.current)>-1:!n.documentElement.contains(e.target)||d.current.contains(e.target))||!o&&t||l(e))})),v=function(e){return function(t){p.current=!0;var r=n.props[e];r&&r(t)}},g={ref:h};return!1!==c&&(g[c]=v(c)),t.useEffect((function(){if(!1!==c){var e=Qy(c),t=(0,sa.Z)(d.current),n=function(){u.current=!0};return t.addEventListener(e,m),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,m),t.removeEventListener("touchmove",n)}}}),[m,c]),!1!==a&&(g[a]=v(a)),t.useEffect((function(){if(!1!==a){var e=Qy(a),t=(0,sa.Z)(d.current);return t.addEventListener(e,m),function(){t.removeEventListener(e,m)}}}),[m,a]),(0,Bi.jsx)(t.Fragment,{children:t.cloneElement(n,g)})}function eb(e){return(0,Oa.Z)("MuiSnackbarContent",e)}(0,Ea.Z)("MuiSnackbarContent",["root","message","action"]);var tb=["action","className","message","role"],nb=(0,Oi.ZP)(ml,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n="light"===t.palette.mode?.8:.98,r=(0,cl._4)(t.palette.background.default,n);return(0,Ti.Z)({},t.typography.body2,(0,u.Z)({color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(r),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1},t.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),rb=(0,Oi.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0"}),ob=(0,Oi.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),ib=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiSnackbarContent"}),r=n.action,o=n.className,i=n.message,a=n.role,l=void 0===a?"alert":a,s=(0,T.Z)(n,tb),c=n,u=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],action:["action"],message:["message"]},eb,t)}(c);return(0,Bi.jsxs)(nb,(0,Ti.Z)({role:l,square:!0,elevation:6,className:(0,Mi.Z)(u.root,o),ownerState:c,ref:t},s,{children:[(0,Bi.jsx)(rb,{className:u.message,ownerState:c,children:i}),r?(0,Bi.jsx)(ob,{className:u.action,ownerState:c,children:r}):null]}))}));function ab(e){return(0,Oa.Z)("MuiSnackbar",e)}(0,Ea.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var lb=["onEnter","onExited"],sb=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],cb=(0,Oi.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["anchorOrigin".concat((0,vl.Z)(n.anchorOrigin.vertical)).concat((0,vl.Z)(n.anchorOrigin.horizontal))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===n.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===n.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===n.anchorOrigin.horizontal&&{justifyContent:"flex-end"},(0,u.Z)({},t.breakpoints.up("sm"),(0,Ti.Z)({},"top"===n.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===n.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===n.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===n.anchorOrigin.horizontal&&{right:24,left:"auto"})))})),ub=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiSnackbar"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r.action,l=r.anchorOrigin,s=void 0===l?{vertical:"bottom",horizontal:"left"}:l,c=s.vertical,u=s.horizontal,d=r.autoHideDuration,f=void 0===d?null:d,p=r.children,h=r.className,m=r.ClickAwayListenerProps,v=r.ContentProps,g=r.disableWindowBlurListener,y=void 0!==g&&g,b=r.message,x=r.open,w=r.TransitionComponent,S=void 0===w?zc:w,k=r.transitionDuration,j=void 0===k?i:k,E=r.TransitionProps,O=void 0===E?{}:E,C=O.onEnter,P=O.onExited,Z=(0,T.Z)(r.TransitionProps,lb),_=(0,T.Z)(r,sb),M=(0,Ti.Z)({},r,{anchorOrigin:{vertical:c,horizontal:u},autoHideDuration:f,disableWindowBlurListener:y,TransitionComponent:S,transitionDuration:j}),A=function(e){var t=e.classes,n=e.anchorOrigin,r={root:["root","anchorOrigin".concat((0,vl.Z)(n.vertical)).concat((0,vl.Z)(n.horizontal))]};return(0,Yi.Z)(r,ab,t)}(M),R=function(e){var n=e.autoHideDuration,r=void 0===n?null:n,o=e.disableWindowBlurListener,i=void 0!==o&&o,a=e.onClose,l=e.open,s=e.resumeHideDuration,c=t.useRef();t.useEffect((function(){if(l)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==a||a(e,"escapeKeyDown")}}),[l,a]);var u=(0,ca.Z)((function(e,t){null==a||a(e,t)})),d=(0,ca.Z)((function(e){a&&null!=e&&(clearTimeout(c.current),c.current=setTimeout((function(){u(null,"timeout")}),e))}));t.useEffect((function(){return l&&d(r),function(){clearTimeout(c.current)}}),[l,r,d]);var f=function(){clearTimeout(c.current)},p=t.useCallback((function(){null!=r&&d(null!=s?s:.5*r)}),[r,s,d]),h=function(e){return function(t){var n=e.onBlur;null==n||n(t),p()}},m=function(e){return function(t){var n=e.onFocus;null==n||n(t),f()}},v=function(e){return function(t){var n=e.onMouseEnter;null==n||n(t),f()}},g=function(e){return function(t){var n=e.onMouseLeave;null==n||n(t),p()}};return t.useEffect((function(){if(!i&&l)return window.addEventListener("focus",p),window.addEventListener("blur",f),function(){window.removeEventListener("focus",p),window.removeEventListener("blur",f)}}),[i,p,l]),{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Xi(e),r=(0,Ti.Z)({},n,t);return(0,Ti.Z)({role:"presentation"},r,{onBlur:h(r),onFocus:m(r),onMouseEnter:v(r),onMouseLeave:g(r)})},onClickAway:function(e){null==a||a(e,"clickaway")}}}((0,Ti.Z)({},M)),N=R.getRootProps,I=R.onClickAway,z=t.useState(!0),L=(0,D.Z)(z,2),B=L[0],F=L[1],W=ta({elementType:cb,getSlotProps:N,externalForwardedProps:_,ownerState:M,additionalProps:{ref:n},className:[A.root,h]});return!x&&B?null:(0,Bi.jsx)(Jy,(0,Ti.Z)({onClickAway:I},m,{children:(0,Bi.jsx)(cb,(0,Ti.Z)({},W,{children:(0,Bi.jsx)(S,(0,Ti.Z)({appear:!0,in:x,timeout:j,direction:"top"===c?"down":"up",onEnter:function(e,t){F(!1),C&&C(e,t)},onExited:function(e){F(!0),P&&P(e)}},Z,{children:p||(0,Bi.jsx)(ib,(0,Ti.Z)({message:b,action:a},v))}))}))}))})),db=ub,fb=n(5403);function pb(e){return(0,Oa.Z)("MuiInputAdornment",e)}var hb,mb=(0,Ea.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),vb=["children","className","component","disablePointerEvents","disableTypography","position","variant"],gb=(0,Oi.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,vl.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,u.Z)({},"&.".concat(mb.positionStart,"&:not(.").concat(mb.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),yb=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiInputAdornment"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"div":a,s=r.disablePointerEvents,c=void 0!==s&&s,u=r.disableTypography,d=void 0!==u&&u,f=r.position,p=r.variant,h=(0,T.Z)(r,vb),m=fm()||{},v=p;p&&m.variant,m&&!v&&(v=m.variant);var g=(0,Ti.Z)({},r,{hiddenLabel:m.hiddenLabel,size:m.size,disablePointerEvents:c,position:f,variant:v}),y=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,l={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,vl.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(l,pb,t)}(g);return(0,Bi.jsx)(dm.Provider,{value:null,children:(0,Bi.jsx)(gb,(0,Ti.Z)({as:l,ownerState:g,className:(0,Mi.Z)(y.root,i),ref:n},h,{children:"string"!==typeof o||d?(0,Bi.jsxs)(t.Fragment,{children:["start"===f?hb||(hb=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):null,o]}):(0,Bi.jsx)(as,{color:"text.secondary",children:o})}))})}));function bb(e){return(0,Oa.Z)("MuiAlert",e)}var xb=(0,Ea.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),wb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Sb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),kb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),jb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Eb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Ob=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Cb=(0,Oi.ZP)(ml,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,vl.Z)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?cl._j:cl.$n,o="light"===t.palette.mode?cl.$n:cl._j,i=n.color||n.severity;return(0,Ti.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&"standard"===n.variant&&(0,u.Z)({color:t.vars?t.vars.palette.Alert["".concat(i,"Color")]:r(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(i,"StandardBg")]:o(t.palette[i].light,.9)},"& .".concat(xb.icon),t.vars?{color:t.vars.palette.Alert["".concat(i,"IconColor")]}:{color:t.palette[i].main}),i&&"outlined"===n.variant&&(0,u.Z)({color:t.vars?t.vars.palette.Alert["".concat(i,"Color")]:r(t.palette[i].light,.6),border:"1px solid ".concat((t.vars||t).palette[i].light)},"& .".concat(xb.icon),t.vars?{color:t.vars.palette.Alert["".concat(i,"IconColor")]}:{color:t.palette[i].main}),i&&"filled"===n.variant&&(0,Ti.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert["".concat(i,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(i,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[i].dark:t.palette[i].main,color:t.palette.getContrastText(t.palette[i].main)}))})),Pb=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Zb=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0",minWidth:0,overflow:"auto"}),_b=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Tb={success:(0,Bi.jsx)(wb,{fontSize:"inherit"}),warning:(0,Bi.jsx)(Sb,{fontSize:"inherit"}),error:(0,Bi.jsx)(kb,{fontSize:"inherit"}),info:(0,Bi.jsx)(jb,{fontSize:"inherit"})},Mb=t.forwardRef((function(e,t){var n,r,o,i,a,l,s=(0,_a.Z)({props:e,name:"MuiAlert"}),c=s.action,u=s.children,d=s.className,f=s.closeText,p=void 0===f?"Close":f,h=s.color,m=s.components,v=void 0===m?{}:m,g=s.componentsProps,y=void 0===g?{}:g,b=s.icon,x=s.iconMapping,w=void 0===x?Tb:x,S=s.onClose,k=s.role,j=void 0===k?"alert":k,E=s.severity,O=void 0===E?"success":E,C=s.slotProps,P=void 0===C?{}:C,Z=s.slots,_=void 0===Z?{}:Z,M=s.variant,A=void 0===M?"standard":M,R=(0,T.Z)(s,Ob),N=(0,Ti.Z)({},s,{color:h,severity:O,variant:A}),I=function(e){var t=e.variant,n=e.color,r=e.severity,o=e.classes,i={root:["root","".concat(t).concat((0,vl.Z)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,Yi.Z)(i,bb,o)}(N),D=null!=(n=null!=(r=_.closeButton)?r:v.CloseButton)?n:Js,z=null!=(o=null!=(i=_.closeIcon)?i:v.CloseIcon)?o:Eb,L=null!=(a=P.closeButton)?a:y.closeButton,B=null!=(l=P.closeIcon)?l:y.closeIcon;return(0,Bi.jsxs)(Cb,(0,Ti.Z)({role:j,elevation:0,ownerState:N,className:(0,Mi.Z)(I.root,d),ref:t},R,{children:[!1!==b?(0,Bi.jsx)(Pb,{ownerState:N,className:I.icon,children:b||w[O]||Tb[O]}):null,(0,Bi.jsx)(Zb,{ownerState:N,className:I.message,children:u}),null!=c?(0,Bi.jsx)(_b,{ownerState:N,className:I.action,children:c}):null,null==c&&S?(0,Bi.jsx)(_b,{ownerState:N,className:I.action,children:(0,Bi.jsx)(D,(0,Ti.Z)({size:"small","aria-label":p,title:p,color:"inherit",onClick:S},L,{children:(0,Bi.jsx)(z,(0,Ti.Z)({fontSize:"small"},B))}))}):null]}))})),Ab=Mb,Rb=n(2715),Nb=n(1133),Ib=n(5397),Db=n(111);var zb=function(e){var t=e.count,n=e.page,r=e.rowsPerPage,o=e.onPageChange,i=e.direction,a=function(e,t){o(e,t)};return(0,Bi.jsxs)(Vi,{sx:{flexShrink:0,ml:2.5},children:[(0,Bi.jsx)(Js,{onClick:function(e){return a(e,0)},disabled:0===n,"aria-label":"first page",children:"rtl"===i?(0,Bi.jsx)(Db.Z,{}):(0,Bi.jsx)(Rb.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,n-1)},disabled:0===n,"aria-label":"previous page",children:"rtl"===i?(0,Bi.jsx)(Ib.Z,{}):(0,Bi.jsx)(Nb.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,n+1)},disabled:n>=Math.ceil(t/r)-1,"aria-label":"next page",children:"rtl"===i?(0,Bi.jsx)(Nb.Z,{}):(0,Bi.jsx)(Ib.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,Math.max(0,Math.ceil(t/r)-1))},disabled:n>=Math.ceil(t/r)-1,"aria-label":"last page",children:"rtl"===i?(0,Bi.jsx)(Rb.Z,{}):(0,Bi.jsx)(Db.Z,{})})]})};var Lb=function(){var e=(0,t.useState)([]),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(null),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(!0),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)("success"),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(!1),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(0),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(5),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(""),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)({id:null,examName:"",examTime:null,examStatus:!1,totalQuestion:0,showResult:!1}),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)({examNameError:!1,examTimeError:!1,totalQuestionError:!1}),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=x((function(e){return e.exam})),ie=oe.allExam,ae=x((function(e){return e.exam})),le=ae.SingleExam,se=_(),ce=(0,t.useState)(!0),ue=(0,D.Z)(ce,2),de=ue[0];ue[1],(0,t.useEffect)((function(){ih(uh.exams).then((function(e){console.log("exam data from mysql",e.data);var t=e.data.reverse();se(sn.GET_EXAM(t))})).catch((function(e){w(!0),E("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Z("error")}))}),[]),(0,t.useEffect)((function(){o((0,F.Z)(ie))}),[ie.length>0,se]),(0,t.useEffect)((function(){o((0,F.Z)(ie))})),(0,t.useEffect)((function(){if(le){var e=le.id,t=void 0===e?0:e,n=le.examName,r=void 0===n?"":n,o=le.examTime,i=void 0===o?null:o,a=le.examStatus,l=void 0!==a&&a,s=le.showResult,c=void 0!==s&&s,u=le.totalQuestion;Q({id:t,examName:r,examStatus:l,examTime:i,totalQuestion:void 0===u?0:u,showResult:c})}}),[le]);var fe=function(e){var t=e.target,n=t.name,r=t.value;if("examName"===n){var o=!function(e){return/^[a-zA-Z0-9\- ]{2,30}$/.test(e)}(r);re((function(e){return te(te({},e),{},{examNameError:o})}))}if("examTime"===n){var i=!function(e){return/^[a-zA-Z0-9]{1,3}min$/.test(e)}(r);re((function(e){return te(te({},e),{},{examTimeError:i})}))}if("totalQuestion"===n){var a=!/^[0-9]{1,3}$/.test(r);re((function(e){return te(te({},e),{},{totalQuestionError:a})}))}},pe=function(e){var t=e.target,n=t.name,r=t.value,o="radio"===t.type?"true"===r:r;switch(n){case"examName":Q((function(e){return te(te({},e),{},{examName:o.toLowerCase()})}));break;case"examTime":Q((function(e){return te(te({},e),{},{examTime:o.toLowerCase()})}));break;case"totalQuestion":Q((function(e){return te(te({},e),{},{totalQuestion:o.toLowerCase()})}));break;case"examStatus":Q((function(e){return te(te({},e),{},{examStatus:o})}))}},he=function(){s(!1),f(null)},me=function(e){!function(e){s(!0),f(e)}(e)},ve=function(e){e.preventDefault();var t=X.id,n=void 0===t?null:t,o=X.examName,i=X.examTime,a=X.examStatus,l=X.totalQuestion,s=X.showResult,c={id:n,examName:o,examTime:i,examStatus:a,totalQuestion:l,showResult:s},u={id:n,examName:o,examTime:i,examStatus:!1,totalQuestion:l,showResult:s},d=r.some((function(e){return e.examName===o&&e.id!==n}));if(m){if(d)return w(!0),E("An exam with the same name already exists."),void Z("error");ah(uh.exams,u).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){w(!0),E("Exam Added!."),Z("success"),se(sn.ADD_EXAM(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(ie));se(sn.GET_EXAM(n))}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}else lh("".concat(uh.exams).concat(n,"/"),c).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(w(!0),E("Exam Updated!."),Z("success"),se(sn.UPDATE_EXAM(e.data)))})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}));ge()},ge=function(){R(!1),re((function(e){return te(te({},e),{},{examNameError:!1,examTimeError:!1,totalQuestionError:!1})}))},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=r.find((function(t){return t.id===e}));t&&(Q(te({},t)),R(!0),v(!1))}else Q({id:null,examName:"",examStatus:!1,totalQuestion:0,showResult:!1}),R(!0),v(!0)},be=function(){w(!1),E("")},xe=r.filter((function(e){var t,n,r=Y.toLowerCase(),o=(null===e||void 0===e?void 0:e.examName)&&(null===e||void 0===e||null===(t=e.examName)||void 0===t?void 0:t.toLowerCase().includes(r)),i=(null===e||void 0===e?void 0:e.id)&&(null===e||void 0===e||null===(n=e.id)||void 0===n?void 0:n.toString().includes(r));return o||i})),we=!X.examName||ne.examNameError||ne.examTimeError||ne.totalQuestionError||!X.examTime||!X.totalQuestion;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none",borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Exam"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:Y,onChange:function(e){G(e.target.value),L(0)},placeholder:"Search Exam",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",sx:{marginBottom:2},size:"small",type:"button",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return ye()},children:"Exam"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Id"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Status"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Time(min)"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Total Questions"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Show Answer"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===xe.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):xe&&xe.length>0&&xe.slice(z*U,z*U+U).map((function(e,t){var n=z*U+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:e.id}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.examName)}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.examStatus,onChange:function(){return function(e,t){var n=xe[z*U+e],i=r.findIndex((function(e){return e.id===n.id}));if(console.log(i),i>=0){var a=te(te({},r[i]),{},{examStatus:t});console.log(a),lh("".concat(uh.exams).concat(n.id,"/"),a).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){se(sn.UPDATE_EXAM(e.data));var t=(0,F.Z)(r);t[i]=e.data,o(t)}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}}(t,!e.examStatus)},inputProps:{"aria-label":"controlled"}})}),(0,Bi.jsx)(Vh,{align:"left",children:e.examTime}),(0,Bi.jsx)(Vh,{align:"left",children:e.totalQuestion}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.showResult,onChange:function(){return function(e,t){var n=xe[z*U+e],i=r.findIndex((function(e){return e.id===n.id}));if(console.log(i),i>=0){var a=te(te({},r[i]),{},{showResult:t});console.log(a),lh("".concat(uh.exams).concat(n.id,"/"),a).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){se(sn.UPDATE_EXAM(e.data));var t=(0,F.Z)(r);t[i]=e.data,o(t)}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}}(t,!e.showResult)},color:"primary"})}),(0,Bi.jsxs)(Vh,{align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"edit",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return ye(e.id)},style:{color:"#2c387e",fontSize:"25px"}})}),(0,Bi.jsx)(Js,{"aria-label":"delete",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return me(e.id)},style:{color:"#2c387e",fontSize:"25px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:xe.length,rowsPerPage:U,page:z,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){L(t)},onRowsPerPageChange:function(e){q(parseInt(e.target.value,10)),L(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:A,onClose:ge,onConfirm:ve,show:de,title:m?"Add Exam":"Update Exam",content:(0,Bi.jsx)("form",{onSubmit:ve,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:2},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Exam Name",variant:"outlined",fullWidth:!0,name:"examName",value:X.examName,onChange:pe,size:"small",inputProps:{maxLength:30},onBlur:fe,error:ne.examNameError,helperText:ne.examNameError&&xh("Enter Valid Exam Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Exam Time",variant:"outlined",fullWidth:!0,name:"examTime",value:X.examTime,onChange:pe,size:"small",placeholder:"enter a time (1min)",onBlur:fe,inputProps:{maxLength:6},error:ne.examTimeError,helperText:ne.examTimeError&&xh("Enter Valid Exam Time.E.g-1min")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Total Questions",variant:"outlined",fullWidth:!0,name:"totalQuestion",value:X.totalQuestion,onChange:pe,inputProps:{maxLength:3},size:"small",placeholder:"enter a count of questions",onBlur:fe,error:ne.totalQuestionError,helperText:ne.totalQuestionError&&xh("Enter Valid Questions Count")})})]})}),disable:we,submitLabel:m?"Add Exam":"Update Exam"}),(0,Bi.jsx)(gf,{open:l,onClose:he,onConfirm:function(){he(),sh("".concat(uh.exams).concat(d)).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(w(!0),E("Exam Deleted!."),Z("success"),se(sn.DELETE_EXAM(d)))})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")})),he()},show:!0,message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:b,autoHideDuration:3e3,onClose:be,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:be,severity:P,variant:"filled",sx:{width:"100%"},children:j})})]})})};function Bb(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",t="",n=0;n<6;n++)t+=e.charAt(Math.floor(36*Math.random()));return t}var Fb=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=(n[0],n[1],(0,t.useState)(!0)),o=(0,D.Z)(r,2),i=o[0],a=o[1],l=(0,t.useState)([]),s=(0,D.Z)(l,2),c=s[0],u=s[1],d=(0,t.useState)(0),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)(5),v=(0,D.Z)(m,2),g=v[0],y=v[1],b=(0,t.useState)(null),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=x((function(e){return e.voucher})),E=j.allvouchers,O=_();(0,t.useEffect)((function(){ih(uh.voucher).then((function(e){return O(on.GET_VOUCHER(e.data))})).catch((function(e){console.error("Error fetching vouchers:",e)}))}),[]),(0,t.useEffect)((function(){var e=setInterval((function(){if(!i&&null!==S){var e=Bb();C(S,e)}}),36e5);return function(){clearInterval(e)}}),[i,S]),(0,t.useEffect)((function(){u(E)}),[E]);var C=function(e,t){var n=(0,F.Z)(c),r=n.findIndex((function(t){return t.id===e}));-1!==r&&(n[r].Vcode=t,u(n))};return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Voucher"})})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"ID"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Voucher Code"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:c&&c.length>0&&c.slice(p*g,p*g+g).map((function(e,t){var n=p*g+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n}),(0,Bi.jsx)(Vh,{align:"left",children:e.Vcode}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.status,onChange:function(n){return function(e,t,n,r){var o=p*g+e;u((function(e){var n=e.map((function(e,n){return n===o?te(te({},e),{},{status:!t}):e}));if(!n[o].status){var r=Bb();n[o].Vcode=r}return k(n[o].id),a(n[o].status),lh("".concat(uh.voucher).concat(c[o].id,"/"),n[o]).then((function(e){return O(on.UPDATE_VOUCHER(e.data))})).catch((function(e){return console.log("voucher error: ",e)})),n}))}(t,e.status)},inputProps:{"aria-label":"controlled"}},t)})]},e.id)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:6,count:c.length,rowsPerPage:g,page:p,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){h(t)},onRowsPerPageChange:function(e){y(parseInt(e.target.value,10)),h(0)},ActionsComponent:zb})]})})]})})},Wb=n(1406);var Ub=t.createContext(null);function qb(){return t.useContext(Ub)}function Hb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=qb(),o=function(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}({theme:r,name:"MuiUseMediaQuery",props:{}});var i="function"===typeof e?e(r):e;i=i.replace(/^@media( ?)/m,"");var a="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,l=(0,Ti.Z)({},o,n),s=l.defaultMatches,c=void 0!==s&&s,u=l.matchMedia,d=void 0===u?a?window.matchMedia:null:u,f=l.noSsr,p=void 0!==f&&f,h=l.ssrMatchMedia,m=void 0===h?null:h,v=t.useState((function(){return p&&a?d(i).matches:m?m(i).matches:c})),g=v[0],y=v[1];return t.useEffect((function(){var e=!0;if(a){var t=d(i),n=function(){e&&y(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,d,a]),g}function Vb(e){return e&&"object"===(0,A.Z)(e)&&e.constructor===Object}function Yb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?(0,Ti.Z)({},e):e;return Vb(e)&&Vb(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Vb(t[o])&&o in e?r[o]=Yb(e[o],t[o],n):r[o]=t[o])})),r}var Gb=["xs","sm","md","lg","xl"];function $b(e,t,n){var r;return(0,Ti.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,Ti.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,u.Z)({},e.up("sm"),(0,Ti.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,u.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,u.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}function Kb(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var Xb={black:"#000",white:"#fff"},Qb={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Jb={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},ex={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},tx={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},nx={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},rx={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ox={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function ix(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function ax(e){if(e.type)return e;if("#"===e.charAt(0))return ax(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Kb(3,e));var r=e.substring(t+1,e.length-1).split(",");return r=r.map((function(e){return parseFloat(e)})),{type:n,values:r}}function lx(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function sx(e){var t="hsl"===(e=ax(e)).type?ax(function(e){var t=(e=ax(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),lx({type:l,values:s})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cx(e,t){if(e=ax(e),t=ix(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return lx(e)}function ux(e,t){if(e=ax(e),t=ix(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return lx(e)}var dx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Xb.white,default:Qb[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},fx={text:{primary:Xb.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Qb[800],default:"#303030"},action:{active:Xb.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function px(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=ux(e.main,o):"dark"===t&&(e.dark=cx(e.main,i)))}function hx(e){var t=e.primary,n=void 0===t?{light:Jb[300],main:Jb[500],dark:Jb[700]}:t,r=e.secondary,o=void 0===r?{light:ex.A200,main:ex.A400,dark:ex.A700}:r,i=e.error,a=void 0===i?{light:tx[300],main:tx[500],dark:tx[700]}:i,l=e.warning,s=void 0===l?{light:nx[300],main:nx[500],dark:nx[700]}:l,c=e.info,u=void 0===c?{light:rx[300],main:rx[500],dark:rx[700]}:c,d=e.success,f=void 0===d?{light:ox[300],main:ox[500],dark:ox[700]}:d,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,y=void 0===g?.2:g,b=M(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){var t=function(e,t){var n=sx(e),r=sx(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,fx.text.primary)>=v?fx.text.primary:dx.text.primary;return t}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,Ti.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Kb(4,t));if("string"!==typeof e.main)throw new Error(Kb(5,JSON.stringify(e.main)));return px(e,"light",n,y),px(e,"dark",r,y),e.contrastText||(e.contrastText=x(e.main)),e},S={dark:fx,light:dx};return Yb((0,Ti.Z)({common:Xb,type:h,primary:w(n),secondary:w(o,"A400","A200","A700"),error:w(a),warning:w(s),info:w(u),success:w(f),grey:Qb,contrastThreshold:v,getContrastText:x,augmentColor:w,tonalOffset:y},S[h]),b)}function mx(e){return Math.round(1e5*e)/1e5}function vx(e){return mx(e)}var gx={textTransform:"uppercase"},yx='"Roboto", "Helvetica", "Arial", sans-serif';function bx(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?yx:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,f=void 0===d?500:d,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,y=n.pxToRem,b=M(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var x=a/14,w=y||function(e){return"".concat(e/v*x,"rem")},S=function(e,t,n,r,i){return(0,Ti.Z)({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===yx?{letterSpacing:"".concat(mx(r/t),"em")}:{},i,g)},k={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(f,14,1.75,.4,gx),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,gx)};return Yb((0,Ti.Z)({htmlFontSize:v,pxToRem:w,round:vx,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:h},k),b,{clone:!1})}function xx(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var wx=["none",xx(0,2,1,-1,0,1,1,0,0,1,3,0),xx(0,3,1,-2,0,2,2,0,0,1,5,0),xx(0,3,3,-2,0,3,4,0,0,1,8,0),xx(0,2,4,-1,0,4,5,0,0,1,10,0),xx(0,3,5,-1,0,5,8,0,0,1,14,0),xx(0,3,5,-1,0,6,10,0,0,1,18,0),xx(0,4,5,-2,0,7,10,1,0,2,16,1),xx(0,5,5,-3,0,8,10,1,0,3,14,2),xx(0,5,6,-3,0,9,12,1,0,3,16,2),xx(0,6,6,-3,0,10,14,1,0,4,18,3),xx(0,6,7,-4,0,11,15,1,0,4,20,3),xx(0,7,8,-4,0,12,17,2,0,5,22,4),xx(0,7,8,-4,0,13,19,2,0,5,24,4),xx(0,7,9,-4,0,14,21,2,0,5,26,4),xx(0,8,9,-5,0,15,22,2,0,6,28,5),xx(0,8,10,-5,0,16,24,2,0,6,30,5),xx(0,8,11,-5,0,17,26,2,0,6,32,5),xx(0,9,11,-5,0,18,28,2,0,7,34,6),xx(0,9,12,-6,0,19,29,2,0,7,36,6),xx(0,10,13,-6,0,20,31,3,0,8,38,7),xx(0,10,13,-6,0,21,33,3,0,8,40,7),xx(0,10,14,-6,0,22,35,3,0,8,42,7),xx(0,11,14,-7,0,23,36,3,0,9,44,8),xx(0,11,15,-7,0,24,38,3,0,9,46,8)],Sx={borderRadius:4},kx={xs:0,sm:600,md:960,lg:1280,xl:1920},jx={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(kx[e],"px)")}};var Ex=function(e,t){return t?Yb(e,t,{clone:!1}):e};var Ox={m:"margin",p:"padding"},Cx={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Px={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zx=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!Px[e])return[e];e=Px[e]}var t=e.split(""),n=(0,D.Z)(t,2),r=n[0],o=n[1],i=Ox[r],a=Cx[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]})),_x=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Tx(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function Mx(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Ax(e){var t=Tx(e.theme);return Object.keys(e).map((function(n){if(-1===_x.indexOf(n))return null;var r=Mx(Zx(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||jx;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===(0,A.Z)(t)){var o=e.theme.breakpoints||jx;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(Ex,{})}Ax.propTypes={},Ax.filterProps=_x;var Rx={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ix(e){return"".concat(Math.round(e),"ms")}var Dx={easing:Rx,duration:Nx,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Nx.standard:n,o=t.easing,i=void 0===o?Rx.easeInOut:o,a=t.delay,l=void 0===a?0:a;M(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof r?r:Ix(r)," ").concat(i," ").concat("string"===typeof l?l:Ix(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},zx={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Lx(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,l=e.spacing,s=e.typography,c=void 0===s?{}:s,u=M(e,["breakpoints","mixins","palette","spacing","typography"]),d=hx(a),f=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,l=M(e,["values","unit","step"]);function s(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=Gb.indexOf(t);return r===Gb.length-1?s(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[Gb[r+1]]?n[Gb[r+1]]:t)-a/100).concat(o,")")}return(0,Ti.Z)({keys:Gb,values:n,up:s,down:function(e){var t=Gb.indexOf(e)+1,r=n[Gb[t]];return t===Gb.length?s("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},l)}(n),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Tx({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}(l),h=Yb({breakpoints:f,direction:"ltr",mixins:$b(f,p,o),overrides:{},palette:d,props:{},shadows:wx,typography:bx(d,c),spacing:p,shape:Sx,transitions:Dx,zIndex:zx},u),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g<m;g++)v[g-1]=arguments[g];return h=v.reduce((function(e,t){return Yb(e,t)}),h)}var Bx=Lx();function Fx(){return qb()||Bx}var Wx=n(2426),Ux=n.n(Wx),qx=function(e){return Ux()(e).format("L")},Hx=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(null),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=Hb(Fx().breakpoints.down("sm")),k=_(),j=x((function(e){return e.feedback})),E=j.allFeedback;(0,t.useEffect)((function(){ih(uh.feedback).then((function(e){var t=e.data.reverse();k(xn.getFeedback(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]);var O=E&&E.length>0&&E.filter((function(e){var t=e&&e.name&&e.name.toLowerCase().includes(d),n=e&&e.email&&e.email.toLowerCase().includes(d),r=e.datetime&&e.datetime.includes(d),o=e.contact&&e.contact.toLowerCase().includes(d),i=e&&e.branch&&e.branch.branchName&&e.branch.branchName.toLowerCase().includes(d);return t||n||i||r||o}))||[];return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Feedback"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:d,onChange:function(e){f(e.target.value),o(0)},placeholder:"Search Feedback",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Contact"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Organization"}),(0,Bi.jsx)(Vh,{align:"center",sx:{fontWeight:"bold"},children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:0===O.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):O&&O.length>0&&O.slice(r*l,r*l+l).map((function(e,t){var n=r*l+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.name)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.email)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.contact)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.organization)}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(Wb.Z,{onClick:function(){return v(e),void w(!0)},style:{color:"#2c387e",fontSize:"25px"}})})})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:O.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:b,onClose:function(){w(!1)},title:"Student Feedback",show:!1,content:m&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Student Name : ",yf(m.name)]})}),"Hematite branch"===m.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Branch:"}),yf(m.branch?m.branch.branchName:"N/A")," ",(0,Bi.jsx)("br",{})]}):"Cdac"===m.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" PRN No:"}),m.cidacPrn," ",(0,Bi.jsx)("br",{})]}):"Other branch"===m.otherbranch?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Other Branch:"}),yf(m.otherbranch?m.otherbranch:"N/A")," ",(0,Bi.jsx)("br",{})]}):null,(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" DateTime"}),qx(m.datetime)," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" How satisfied are you with our services? (1-5)"}),m.question1," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"How likely are you to recommend us to others? (1-5)"}),m.question2," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"What do you like most about our services?"}),m.question3," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"What areas do you think we can improve?"}),m.question4," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"Any additional comments or suggestions?"}),m.question5," ",(0,Bi.jsx)("br",{})]})]})})})]})})};function Vx(e){return(0,Oa.Z)("MuiFormGroup",e)}(0,Ea.Z)("MuiFormGroup",["root","row","error"]);var Yx=["className","row"],Gx=(0,Oi.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.row&&t.row]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),$x=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormGroup"}),r=n.className,o=n.row,i=void 0!==o&&o,a=(0,T.Z)(n,Yx),l=um({props:n,muiFormControl:fm(),states:["error"]}),s=(0,Ti.Z)({},n,{row:i,error:l.error}),c=function(e){var t=e.classes,n={root:["root",e.row&&"row",e.error&&"error"]};return(0,Yi.Z)(n,Vx,t)}(s);return(0,Bi.jsx)(Gx,(0,Ti.Z)({className:(0,Mi.Z)(c.root,r),ownerState:s,ref:t},a))}));var Kx=t.createContext(void 0),Xx=["actions","children","defaultValue","name","onChange","value"],Qx=t.forwardRef((function(e,n){var r=e.actions,o=e.children,i=e.defaultValue,a=e.name,l=e.onChange,s=e.value,c=(0,T.Z)(e,Xx),u=t.useRef(null),d=(0,md.Z)({controlled:s,default:i,name:"RadioGroup"}),f=(0,D.Z)(d,2),p=f[0],h=f[1];t.useImperativeHandle(r,(function(){return{focus:function(){var e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var m=(0,qa.Z)(n,u),v=(0,hd.Z)(a),g=t.useMemo((function(){return{name:v,onChange:function(e){h(e.target.value),l&&l(e,e.target.value)},value:p}}),[v,l,h,p]);return(0,Bi.jsx)(Kx.Provider,{value:g,children:(0,Bi.jsx)($x,(0,Ti.Z)({role:"radiogroup",ref:m},c,{children:o}))})})),Jx=Qx,ew=(0,n(4046).ZP)(),tw=n(7078),nw=n(5080),rw=n(5682),ow=["component","direction","spacing","divider","children","className","useFlexGap"],iw=(0,nw.Z)(),aw=ew("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return t.root}});function lw(e){return(0,tw.Z)({props:e,name:"MuiStack",defaultTheme:iw})}function sw(e,n){var r=t.Children.toArray(e).filter(Boolean);return r.reduce((function(e,o,i){return e.push(o),i<r.length-1&&e.push(t.cloneElement(n,{key:"separator-".concat(i)})),e}),[])}var cw=function(e){var t=e.ownerState,n=e.theme,r=(0,Ti.Z)({display:"flex",flexDirection:"column"},(0,Ly.k9)({theme:n},(0,Ly.P$)({values:t.direction,breakpoints:n.breakpoints.values}),(function(e){return{flexDirection:e}})));if(t.spacing){var o=(0,rw.hB)(n),i=Object.keys(n.breakpoints.values).reduce((function(e,n){return("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e}),{}),a=(0,Ly.P$)({values:t.direction,base:i}),l=(0,Ly.P$)({values:t.spacing,base:i});"object"===typeof a&&Object.keys(a).forEach((function(e,t,n){if(!a[e]){var r=t>0?a[n[t-1]]:"column";a[e]=r}}));r=(0,Ni.Z)(r,(0,Ly.k9)({theme:n},l,(function(e,n){return t.useFlexGap?{gap:(0,rw.NA)(o,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":(0,u.Z)({},"margin".concat((r=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r])),(0,rw.NA)(o,e))};var r})))}return r=(0,Ly.dt)(n.breakpoints,r)};var uw=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?aw:n,o=e.useThemeProps,i=void 0===o?lw:o,a=e.componentName,l=void 0===a?"MuiStack":a,s=r(cw),c=t.forwardRef((function(e,t){var n=Li(i(e)),r=n.component,o=void 0===r?"div":r,a=n.direction,c=void 0===a?"column":a,u=n.spacing,d=void 0===u?0:u,f=n.divider,p=n.children,h=n.className,m=n.useFlexGap,v=void 0!==m&&m,g=(0,T.Z)(n,ow),y={direction:c,spacing:d,useFlexGap:v},b=(0,Yi.Z)({root:["root"]},(function(e){return(0,Oa.Z)(l,e)}),{});return(0,Bi.jsx)(s,(0,Ti.Z)({as:o,ownerState:y,ref:t,className:(0,Mi.Z)(b.root,h)},g,{children:f?sw(p,f):p}))}));return c}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return t.root}}),useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiStack"})}}),dw=uw;function fw(e){return(0,Oa.Z)("MuiFormControlLabel",e)}var pw=(0,Ea.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),hw=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],mw=(0,Oi.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(pw.label),t.label),t.root,t["labelPlacement".concat((0,vl.Z)(n.labelPlacement))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)((0,u.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(pw.disabled),{cursor:"default"}),"start"===n.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===n.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===n.labelPlacement&&{flexDirection:"column",marginLeft:16},(0,u.Z)({},"& .".concat(pw.label),(0,u.Z)({},"&.".concat(pw.disabled),{color:(t.vars||t).palette.text.disabled})))})),vw=(0,Oi.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,u.Z)({},"&.".concat(pw.error),{color:(t.vars||t).palette.error.main})})),gw=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiFormControlLabel"}),a=i.className,l=i.componentsProps,s=void 0===l?{}:l,c=i.control,u=i.disabled,d=i.disableTypography,f=i.label,p=i.labelPlacement,h=void 0===p?"end":p,m=i.required,v=i.slotProps,g=void 0===v?{}:v,y=(0,T.Z)(i,hw),b=fm(),x=null!=(r=null!=u?u:c.props.disabled)?r:null==b?void 0:b.disabled,w=null!=m?m:c.props.required,S={disabled:x,required:w};["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof c.props[e]&&"undefined"!==typeof i[e]&&(S[e]=i[e])}));var k=um({props:i,muiFormControl:b,states:["error"]}),j=(0,Ti.Z)({},i,{disabled:x,labelPlacement:h,required:w,error:k.error}),E=function(e){var t=e.classes,n=e.disabled,r=e.labelPlacement,o=e.error,i=e.required,a={root:["root",n&&"disabled","labelPlacement".concat((0,vl.Z)(r)),o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,Yi.Z)(a,fw,t)}(j),O=null!=(o=g.typography)?o:s.typography,C=f;return null==C||C.type===as||d||(C=(0,Bi.jsx)(as,(0,Ti.Z)({component:"span"},O,{className:(0,Mi.Z)(E.label,null==O?void 0:O.className),children:C}))),(0,Bi.jsxs)(mw,(0,Ti.Z)({className:(0,Mi.Z)(E.root,a),ownerState:j,ref:n},y,{children:[t.cloneElement(c,S),w?(0,Bi.jsxs)(dw,{direction:"row",alignItems:"center",children:[C,(0,Bi.jsxs)(vw,{ownerState:j,"aria-hidden":!0,className:E.asterisk,children:["\u2009","*"]})]}):C]}))})),yw=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),bw=(0,jv.Z)((0,Bi.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),xw=(0,Oi.ZP)("span")({position:"relative",display:"flex"}),ww=(0,Oi.ZP)(yw)({transform:"scale(1)"}),Sw=(0,Oi.ZP)(bw)((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})}));var kw=function(e){var t=e.checked,n=void 0!==t&&t,r=e.classes,o=void 0===r?{}:r,i=e.fontSize,a=(0,Ti.Z)({},e,{checked:n});return(0,Bi.jsxs)(xw,{className:o.root,ownerState:a,children:[(0,Bi.jsx)(ww,{fontSize:i,className:o.background,ownerState:a}),(0,Bi.jsx)(Sw,{fontSize:i,className:o.dot,ownerState:a})]})},jw=n(1260);function Ew(e){return(0,Oa.Z)("MuiRadio",e)}var Ow=(0,Ea.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Cw=["checked","checkedIcon","color","icon","name","onChange","size","className"],Pw=(0,Oi.ZP)(qg,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&(0,u.Z)({},"&.".concat(Ow.checked),{color:(t.vars||t).palette[n.color].main}),(0,u.Z)({},"&.".concat(Ow.disabled),{color:(t.vars||t).palette.action.disabled}))}));var Zw=(0,Bi.jsx)(kw,{checked:!0}),_w=(0,Bi.jsx)(kw,{}),Tw=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiRadio"}),a=i.checked,l=i.checkedIcon,s=void 0===l?Zw:l,c=i.color,u=void 0===c?"primary":c,d=i.icon,f=void 0===d?_w:d,p=i.name,h=i.onChange,m=i.size,v=void 0===m?"medium":m,g=i.className,y=(0,T.Z)(i,Cw),b=(0,Ti.Z)({},i,{color:u,size:v}),x=function(e){var t=e.classes,n=e.color,r={root:["root","color".concat((0,vl.Z)(n))]};return(0,Ti.Z)({},t,(0,Yi.Z)(r,Ew,t))}(b),w=t.useContext(Kx),S=a,k=(0,jw.Z)(h,w&&w.onChange),j=p;return w&&("undefined"===typeof S&&(S=function(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}(w.value,i.value)),"undefined"===typeof j&&(j=w.name)),(0,Bi.jsx)(Pw,(0,Ti.Z)({type:"radio",icon:t.cloneElement(f,{fontSize:null!=(r=_w.props.fontSize)?r:v}),checkedIcon:t.cloneElement(s,{fontSize:null!=(o=Zw.props.fontSize)?o:v}),ownerState:b,classes:x,name:j,checked:S,onChange:k,ref:n,className:(0,Mi.Z)(x.root,g)},y))})),Mw=Tw,Aw=function(){var e=Lo(),n=_(),r=x((function(e){return e.feedback})),o=r.allBranch,i=Hb(Fx().breakpoints.down("sm")),a=(0,t.useState)({name:"",email:"",branch:"",contact:"",question1:"",question2:"",question3:"",question4:"",question5:"",cidacPrn:"",otherbranch:"",organization:"",datetime:(new Date).toISOString().split("T")[0]}),l=(0,D.Z)(a,2),s=l[0],c=l[1],d=(0,t.useState)({nameError:!1,emailError:!1,contactError:!1,questionError:!1,questionError2:!1,pnrNoError:!1,otherBranchError:!1,questionError3:!1,questionError4:!1,questionError5:!1}),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)(!1),v=(0,D.Z)(m,2),g=v[0],y=v[1],b=(0,t.useState)(""),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=(0,t.useState)(""),E=(0,D.Z)(j,2),O=E[0],C=E[1],P=(0,t.useState)(""),Z=(0,D.Z)(P,2),T=Z[0],M=Z[1];(0,t.useEffect)((function(){ih(uh.branch).then((function(e){return n(xn.getBranch(e.data))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]),(0,t.useEffect)((function(){}),[]),(0,t.useEffect)((function(){if(o&&1===o.length){M(o[0].branchName);var e=o.find((function(e){return e.branchName===T})),t=e?e.id:"";c(te(te({},s),{},{branch_id:t}))}}),[o]),(0,t.useEffect)((function(){var e=null===o||void 0===o?void 0:o.find((function(e){return e.branchName===T}));e&&c((function(t){return te(te({},t),{},{branch_id:e.id})}))}),[T,o]);var A=function(e){var t,n,r=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,i=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;switch(r){case"name":c(te(te({},s),{},{name:i}));break;case"email":c(te(te({},s),{},{email:i}));break;case"contact":c(te(te({},s),{},{contact:i}));break;case"question1":c(te(te({},s),{},{question1:i}));break;case"question2":c(te(te({},s),{},{question2:i}));break;case"question3":c(te(te({},s),{},{question3:i}));break;case"question4":c(te(te({},s),{},{question4:i}));break;case"question5":c(te(te({},s),{},{question5:i}));break;case"cidacPrn":c(te(te({},s),{},{cidacPrn:i}));break;case"branch":if(c((function(e){return te(te({},e),{},{branch:i})})),"branch"===r&&"Branch"===i&&(c((function(e){return te(te({},e),{},{cidacPrn:null,otherbranch:"",organization:"Hematite branch"})})),h(te(te({},p),{},{otherBranchError:!1,pnrNoError:!1}))),"branch"===r){var a=o.find((function(e){return e.branchName===i}));a&&c((function(e){return te(te({},e),{},{branch_id:a.id})}))}"branch"===r&&"cdac"===i&&(c((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),h(te(te({},p),{},{otherBranchError:!1}))),"branch"===r&&"otherbranch"===i&&(c((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,cidacPrn:null,organization:"Other branch"})})),h(te(te({},p),{},{pnrNoError:!1})));break;case"role":c(te(te({},s),{},{role:i}));break;case"organization":c(te(te({},s),{},{organization:i}));break;case"otherbranch":c(te(te({},s),{},{otherbranch:i}))}},R=function(e){var t=e.target,n=t.name,r=t.value;if("name"===n){var o=!function(e){return/^[a-zA-Z ]{2,40}$/.test(e)}(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),o))}))}if("email"===n){var i=!ph(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),i))}))}if("contact"===n){var a=!fh(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),a))}))}if("question1"===n){var l=!vh(r);h((function(e){return te(te({},e),{},{questionError:l})}))}if("question2"===n){var s=!vh(r);h((function(e){return te(te({},e),{},{questionError2:s})}))}if("question3"===n){var c=!yh(r);h((function(e){return te(te({},e),{},{questionError3:c})}))}if("question4"===n){var d=!yh(r);h((function(e){return te(te({},e),{},{questionError4:d})}))}if("question5"===n){var f=!yh(r);h((function(e){return te(te({},e),{},{questionError5:f})}))}if("cidacPrn"===n){var p=!hh(r);h((function(e){return te(te({},e),{},{pnrNoError:p})}))}if("otherbranch"===n){var m=!gh(r);h((function(e){return te(te({},e),{},{otherBranchError:m})}))}},N=function(){y(!1)},I=s.name,z=s.email,L=s.contact,B=s.question1,F=s.question2,W=s.question3,U=s.question4,q=s.question5,H=s.branch,V=s.otherbranch,Y=s.cidacPrn,G=s.datetime,$=!z||!L||!B||!F||!W||!U||!q||p.contactError||p.emailError||p.nameError||p.otherBranchError||p.pnrNoError||p.questionError||p.questionError2||p.questionError3||p.questionError4||p.questionError5;return(0,Bi.jsx)(Xy,{container:!0,justifyContent:"center",alignItems:"center",style:{minHeight:"120vh",fontSize:"45px"},children:(0,Bi.jsx)(Xy,{item:!0,xs:12,sm:10,md:8,lg:6,children:(0,Bi.jsxs)(ml,{elevation:3,style:{padding:20,fontSize:"45px"},children:[(0,Bi.jsx)(as,{variant:"h5",gutterBottom:!0,align:"center",sx:{fontSize:i?"20px":"25px",color:"primary.main"},children:"Feedback Form"}),(0,Bi.jsxs)("form",{onSubmit:function(t){return t.preventDefault(),p.nameError||p.emailError||p.contactError||p.questionError||p.questionError2||p.answerError||p.otherBranchError||p.pnrNoError||p.questionError3||p.questionError4||p.questionError5?(y(!0),C("error"),void k("Please fix the validation errors before submitting.")):"otherbranch"==H&&""==V?(y(!0),C("error"),void k("Please enter other branch.")):"cdac"!=H||""!=Y&&null!=Y?(ah(uh.feedback,s).then((function(t){201!==(null===t||void 0===t?void 0:t.status)&&200!==(null===t||void 0===t?void 0:t.status)||(y(!0),C("success"),k("Thank you! Your feedback has been submitted."),n(xn.postFeedback(t.data)),setTimeout((function(){e("/")}),2e3))})).catch((function(e){y(!0),C("error"),k(null===e||void 0===e?void 0:e.message)})),void c({name:"",email:"",branch:"",contact:"",question1:"",question2:"",question3:"",question4:"",question5:"",cidacPrn:"",otherbranch:"",organization:"",datetime:(new Date).toISOString().split("T")[0],branch_id:""})):(y(!0),C("error"),void k("Please enter PNR No."))},children:[(0,Bi.jsxs)(Xy,{container:!0,spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Full name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"name",value:I,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:40},error:p.nameError,helperText:p.nameError&&xh("Enter Valid Fullname")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Email",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"email",value:z,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",inputProps:{maxLength:30},size:"small",error:p.emailError,helperText:p.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Contact",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"contact",value:L,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:10},sx:{mb:1},error:p.contactError,helperText:p.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)(as,{style:{fontSize:"18px"},textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["Select Organization",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{row:!0,"aria-label":"organization",name:"branch",value:H||" ",onChange:function(e){return A(e)},children:[(0,Bi.jsx)(gw,{value:"Branch",control:(0,Bi.jsx)(Mw,{}),label:"Hematite Branch"}),(0,Bi.jsx)(gw,{value:"cdac",control:(0,Bi.jsx)(Mw,{}),label:"CDAC"}),(0,Bi.jsx)(gw,{value:"otherbranch",control:(0,Bi.jsx)(Mw,{}),label:"Other Branch"})]}),"Branch"===s.branch&&(o&&o.length>1?(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",children:"Select Branch "}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"selectedBranch",value:T,onChange:function(e){return A(e)},onBlur:R,"aria-label":"Choose branch",autoWidth:!0,label:"Select Branch",size:i?"small":"medium",color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose branch",children:"Select Branch"}),o&&o.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.branchName)},e.id)}))]})]}):(o&&1===o.length&&T!==o[0].id&&A({target:{name:"selectedBranch",value:o[0].id}}),null)),"cdac"===s.branch&&(0,Bi.jsx)(Ry,{variant:"outlined",label:"PRN No",name:"cidacPrn",value:Y,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:20},fullWvariant:"outlined",size:"small",error:p.pnrNoError,helperText:p.pnrNoError&&xh("Enter Valid PRN No")}),"otherbranch"===s.branch&&(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Other Branch",name:"otherbranch",value:V,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:30},variant:"outlined",size:"small",error:p.otherBranchError,helperText:p.otherBranchError&&xh("Enter Valid Other Branch")})]})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["How satisfied are you with our services?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Rate Us between 1 to 5",name:"question1",value:B,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:1},required:!0,error:p.questionError,helperText:p.questionError&&xh("Enter Valid Answer")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["How likely are you to recommend us to others?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Rate Us between 1 to 5",name:"question2",value:F,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:1},variant:"outlined",size:"small",required:!0,error:p.questionError2,helperText:p.questionError2&&xh("Enter Valid Answer")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["What do you like most about our services?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question3",value:W,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:500},variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError3,helperText:p.questionError3&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["What areas do you think we can improve?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question4",value:U,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError4,helperText:p.questionError4&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["Any additional comments or suggestions?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question5",value:q,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError5,helperText:p.questionError5&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Date and Time",name:"datetime",value:G,onChange:function(e){return A(e)},variant:"outlined",size:"small",disabled:!0})})]}),(0,Bi.jsxs)("div",{style:{display:"flex"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",type:"submit",disabled:$,size:"small",children:"Submit"}),(0,Bi.jsx)(mf,{onClick:function(){e("/")},variant:"contained",color:"primary",size:"small",sx:{marginLeft:"12px"},children:"Back"})]}),(0,Bi.jsx)(db,{open:g,autoHideDuration:6e3,onClose:N,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:N,severity:O,children:S})})]})]})})})},Rw=n(3746),Nw=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(""),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(""),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(),F=(0,D.Z)(B,2),W=F[0],U=F[1],q=(0,t.useState)(""),H=(0,D.Z)(q,2),V=H[0],Y=H[1],G=(0,t.useState)(""),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=(0,t.useState)(0),J=(0,D.Z)(Q,2),ee=J[0],ne=J[1],re=(0,t.useState)(5),oe=(0,D.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,t.useState)(""),se=(0,D.Z)(le,2),ce=se[0],ue=se[1],de=(0,t.useState)(!1),fe=(0,D.Z)(de,2),pe=fe[0],he=fe[1],me=(0,t.useState)(null),ve=(0,D.Z)(me,2),ge=ve[0],ye=ve[1],be=(0,t.useState)(!1),xe=(0,D.Z)(be,2),we=xe[0],Se=xe[1],ke=(0,t.useState)(""),je=(0,D.Z)(ke,2),Ee=je[0],Oe=je[1],Ce=(0,t.useState)("success"),Pe=(0,D.Z)(Ce,2),Ze=Pe[0],_e=Pe[1],Te=(0,t.useState)(""),Me=(0,D.Z)(Te,2),Ae=Me[0],Re=Me[1],Ne=(0,t.useState)(!1),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=Ie[1],Le=_(),Be=x((function(e){return e.user})),Fe=Be.allUser,We=x((function(e){return e.user})),Ue=We.SingleUser,qe=Hb(Fx().breakpoints.down("sm")),He=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,passwordError:!1}),Ve=(0,D.Z)(He,2),Ye=Ve[0],Ge=Ve[1],$e=(0,t.useState)(!1),Ke=(0,D.Z)($e,2),Xe=Ke[0],Qe=Ke[1];(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();Le(hn.getUser(t)),console.log(t)})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){if(Ue){var e=Ue.id,t=Ue.fname,n=Ue.lname,r=Ue.role,i=Ue.contact,a=Ue.gender,l=Ue.email,c=Ue.prnNo,u=Ue.otherbranch,d=Ue.branch,p=Ue.organization;if(o(e),s(t),f(n),v(r),w(i),E(a),Z(l),Y(c),L(u),X(p),d){R(d);var h=d.id;console.log("Branch ID:",h),U(Number(h));var m=d.branchName;console.log("Branch Name:",m);var g=d.branchStatus;console.log("Branch Status:",g)}}}),[Ue]);var Je=function(){ze(!1),Re("")},et=function(e){he(!0),ye(e)},tt=function(){he(!1),ye(null)},nt=function(){Se(!1),Oe("")},rt=function(e){if(e.preventDefault(),Ye.fnameError||Ye.lnameError||Ye.emailError||Ye.contactError||Ye.passwordError)return Se(!0),Oe("please fix validation error before submitting"),void _e("error");var t={email:P,fname:l,lname:d,branch:A,role:m,gender:j,contact:b,prnNo:V,otherbranch:z,branch_id:W,organization:K};console.log(t),console.log("uobj",t),t.id=r,lh("".concat(uh.user).concat(r,"/"),t).then((function(e){200!==e.status&&201!==e.status||(Se(!0),Oe("User updated successfully"),_e("success"),Le(hn.updateUser(e.data)))})).catch((function(e){Se(!0),Oe(e.message),_e("error")})),it(),ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();Le(hn.getUser(t)),console.log("inside the user action",t)})).catch((function(e){return console.log("user error: ",e)}))},ot=function(){o(null),s(""),f(""),v(""),w(""),E(""),Z("")},it=function(){Qe(!1)},at=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r),Ge(te(te({},Ye),{},{fnameError:!dh(r)}));break;case"lname":f(r),Ge(te(te({},Ye),{},{lnameError:!dh(r)}));break;case"contact":w(r),Ge(te(te({},Ye),{},{contactError:!fh(r)}));break;case"email":Z(r),Ge(te(te({},Ye),{},{emailError:!ph(r)}));break;case"gender":E(r)}},lt=Fe.filter((function(e){return"student"===(null===e||void 0===e?void 0:e.role)||"intern"===(null===e||void 0===e?void 0:e.role)})).filter((function(e){var t=ce.toLowerCase(),n=e.fname&&e.fname.toLowerCase().includes(t),r=e.lname&&e.lname.toLowerCase().includes(t),o=e.email&&e.email.toLowerCase().includes(t),i=e.contact&&e.contact.toLowerCase().includes(t),a=e.gender&&e.gender.toLowerCase().includes(t);return n||r||o||a||i})),st=!l||!d||!P||!b||!m||!j||Ye.fnameError||Ye.lnameError||Ye.emailError||Ye.contactError,ct=Ye.fnameError,ut=Ye.lnameError,dt=Ye.contactError,ft=Ye.emailError;return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Students"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:ce,onChange:function(e){ue(e.target.value),ne(0)},placeholder:"Search Student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Email"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Contact"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Organization"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===lt.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colspan:6,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):lt&<.length>0&<.slice(ee*ie,ee*ie+ie).map((function(e,t){var n=ee*ie+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:n}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.email}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.contact}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.organization}),(0,Bi.jsxs)(Vh,{align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"edit",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==e?(Le(hn.GetSingleUser(e)),Qe(!0)):(Qe(!0),ot())}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,ze(!0),void Re(t);var t},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"delete",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){et(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],coldiv:6,count:lt.length,rowsPerPage:ie,page:ee,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){ne(t)},onRowsPerPageChange:function(e){ae(parseInt(e.target.value,10)),ne(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:pe,onClose:tt,show:!0,onConfirm:function(){tt(),function(){var e=ge;sh("".concat(uh.user).concat(e)).then((function(t){200!==t.status&&201!==t.status||(Se(!0),Oe("User deleted successfully"),_e("success"),Le(hn.deleteUser(e)))})).catch((function(e){Se(!0),Oe(e.message),_e("error")})),tt()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:we,autoHideDuration:3e3,onClose:nt,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:nt,severity:Ze,sx:{width:"100%"},children:Ee})}),(0,Bi.jsx)(gf,{open:Xe,onClose:it,show:!0,onConfirm:function(e){it(),rt(e)},title:"Edit Student Details",content:(0,Bi.jsx)("form",{onSubmit:rt,style:{marginTop:"10px"},children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"First Name",variant:"outlined",fullWidth:!0,name:"fname",type:"text",value:l,onChange:at,error:ct,helperText:ct&&xh("Invalid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Last Name",variant:"outlined",type:"text",fullWidth:!0,name:"lname",value:d,onChange:at,error:ut,helperText:ut&&xh("Invalid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Email",variant:"outlined",fullWidth:!0,type:"email",name:"email",value:P,onChange:at,error:ft,helperText:ft&&xh("Invalid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Contact",variant:"outlined",fullWidth:!0,type:"tel",name:"contact",value:b,onChange:at,error:dt,helperText:dt&&xh("Invalid contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Role",variant:"outlined",fullWidth:!0,name:"role",value:yf(m),onChange:at})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{component:"fieldset",children:[(0,Bi.jsx)(py,{component:"legend",required:!0,children:"Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:j,onChange:at,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",checked:"male"===j,control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",checked:"female"===j,control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",checked:"other"===j,control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]})})]})}),disable:st,submitLabel:"Update"}),(0,Bi.jsx)(gf,{open:De,onClose:Je,onConfirm:function(e){Je()},show:!1,title:"Student Details",content:Ae&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:[(0,Bi.jsxs)("div",{children:[" Full Name: ",yf(Ae.fname)," ",yf(Ae.lname)]}),(0,Bi.jsxs)("div",{children:[" Gender: ",yf(Ae.gender)," "]}),(0,Bi.jsxs)("div",{children:[" Role: ",yf(Ae.role)," "]})]}),"Hematite branch"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Branch:"}),yf(Ae.branch?Ae.branch.branchName:"N/A")," ",(0,Bi.jsx)("br",{})]}):"Cdac"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" PRN No:"}),Ae.prnNo?Ae.prnNo:"N/A"," ",(0,Bi.jsx)("br",{})]}):"Other branch"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Other Branch:"}),yf(Ae.otherbranch?Ae.otherbranch:"N/A")," ",(0,Bi.jsx)("br",{})]}):null]})})})]})})},Iw=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(""),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(""),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(0),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(5),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)(!1),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)(""),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=(0,t.useState)(!0),ie=(0,D.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,t.useState)(!1),ce=(0,D.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,t.useState)(null),pe=(0,D.Z)(fe,2),he=pe[0],me=pe[1],ve=(0,t.useState)(!1),ge=(0,D.Z)(ve,2),ye=ge[0],be=ge[1],xe=(0,t.useState)(!1),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1],je=(0,t.useState)(""),Ee=(0,D.Z)(je,2),Oe=Ee[0],Ce=Ee[1],Pe=(0,t.useState)(""),Ze=(0,D.Z)(Pe,2),_e=Ze[0],Te=Ze[1],Me=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1}),Ae=(0,D.Z)(Me,2),Re=Ae[0],Ne=Ae[1],Ie=(0,t.useState)("success"),De=(0,D.Z)(Ie,2),ze=De[0],Le=De[1],Be=_(),Fe=x((function(e){return e.employee})),We=Fe.allEmployee,Ue=x((function(e){return e.employee})).emp,qe=x((function(e){return e.user})),He=qe.allUser,Ve=(0,t.useState)(!0),Ye=(0,D.Z)(Ve,2),Ge=Ye[0],$e=(Ye[1],Hb(Fx().breakpoints.down("sm")));(0,t.useEffect)((function(){ih("".concat(uh.employee)).then((function(e){var t=e.data.reverse();Be(gn.getEmployee(t))})).catch((function(e){return console.log("staff error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();Be(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){if(Ue){var e=Ue.id,t=Ue.fname,n=Ue.lname,r=Ue.role,i=Ue.dob,a=Ue.employeeId,l=Ue.contact,c=Ue.gender,u=Ue.email;o(e),s(t),f(n),v(r),w(i),E(a),Z(l),R(c),L(u)}}),[Ue]);var Ke=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r);break;case"lname":f(r);break;case"role":v(r);break;case"dob":w(r);break;case"employeeId":E(r);break;case"contact":Z(r);break;case"gender":R(r);break;case"email":L(r)}},Xe=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":var o=!dh(r);Ne((function(e){return te(te({},e),{},{fnameError:o})}));break;case"lname":var i=!dh(r);Ne((function(e){return te(te({},e),{},{lnameError:i})}));break;case"contact":var a=!fh(r);Ne((function(e){return te(te({},e),{},{contactError:a})}));break;case"email":var l=!ph(r);Ne((function(e){return te(te({},e),{},{emailError:l})}));break;case"employeeId":var s=!bh(r);Ne((function(e){return te(te({},e),{},{employeeIdError:s})})),"employeeId"===n&&(Number.isInteger(Number(r))?Ne((function(e){return te(te({},e),{},{employeeIdError:!1})})):Ne((function(e){return te(te({},e),{},{employeeIdError:!0})})))}},Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=We.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.fname,i=t.lname,a=t.role,l=t.dob,c=t.employeeId,u=t.contact,d=t.gender,p=t.email;o(n),s(r),f(i),v(a),w(l),E(c),Z(u),R(d),L(p),Q(!0),le(!1)}}else Q(!0),le(!0),rt(),ot()},Je=function(){Q(!1),rt(),ot()},et=function(){ke(!1),Ce("")},tt=function(e){de(!0),me(e)},nt=function(){de(!1),me(null)},rt=function(){o(null),s(""),f(""),v(""),Z(""),R(""),L(""),w(""),E("")},ot=function(){Ne((function(e){return te(te({},e),{},{fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1})}))},it=function(e){if(e.preventDefault(),Re.fnameError||Re.lnameError||Re.emailError||Re.contactError)return be(!0),Te("please fix validiation error before submiting"),void Le("error");if(We.some((function(e){return e.employeeId==j&&e.id!==r})))return be(!0),Te("EmployeeId already exists. Please enter a unique EmployeeId."),void Le("error");var t={email:z.toLowerCase(),fname:l.toLowerCase(),lname:d.toLowerCase(),role:m,dob:b,employeeId:j,gender:A,contact:P};ae?ah(uh.employee,t).then((function(e){if(200===e.status||201===e.status){be(!0),Te("Employee Added!."),Le("success"),Be(gn.addEmployee(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(We));Be(gn.getEmployee(n))}})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")})):(t.id=r,lh("".concat(uh.employee).concat(t.id,"/"),t).then((function(e){200!==e.status&&201!==e.status||(be(!0),Te("Employee Updated!."),Le("success"),Be(gn.updateEmployee(e.data)))})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")}))),Je(),Q(!1)},at=function(){be(!1),Te("")},lt=We&&We.filter((function(e){var t,n=ne.toLowerCase(),r=e.fname&&e.fname.toLowerCase().includes(n),o=e.lname&&e.lname.toLowerCase().includes(n),i=e.email&&e.email.toLowerCase().includes(n),a=e.role&&e.role.toLowerCase().includes(n),l=e.contact&&e.contact.toLowerCase().includes(n),s=e.employeeId&&(null===e||void 0===e||null===(t=e.employeeId)||void 0===t?void 0:t.toString().includes(n)),c=e.dob&&e.dob.includes(n),u=e.gender&&e.gender.toLowerCase().includes(n);return r||o||i||a||c||u||l||s})),st=!l||!d||!z||!b||!P||!m||!A||!j||Re.fnameError||Re.lnameError||Re.emailError||Re.contactError||Re.passwordError||Re.employeeIdError;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Employee"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:ne,onChange:function(e){re(e.target.value),q(0)},placeholder:"Search Employee",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"small",type:"button",sx:{marginBottom:2},startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return Qe()},children:"Add"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Email"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Employee Id"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===lt.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):lt&<.length>0&<.slice(U*Y,U*Y+Y).map((function(e,t){var n=U*Y+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},component:"th",align:"left",scope:"row",children:n}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:e.email}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:e.employeeId}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return Qe(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,ke(!0),void Ce(t);var t},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){tt(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:lt.length,rowsPerPage:Y,page:U,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){q(t)},onRowsPerPageChange:function(e){G(parseInt(e.target.value,10)),q(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:X,onClose:Je,show:Ge,onConfirm:function(e){Je(),it(e)},title:ae?"Add Employee":"Update Employee",content:(0,Bi.jsx)("form",{onSubmit:it,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["First Name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,name:"fname",size:"small",type:"text",value:l,inputProps:{maxLength:20},onChange:Ke,onBlur:Xe,error:Re.fnameError,helperText:Re.fnameError&&xh("Enter Valid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Last Name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",type:"text",fullWidth:!0,name:"lname",size:"small",inputProps:{maxLength:20},value:d,onChange:Ke,onBlur:Xe,error:Re.lnameError,helperText:Re.lnameError&&xh("Enter Valid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Email",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,type:"email",name:"email",size:"small",value:z,inputProps:{maxLength:40},onChange:Ke,onBlur:Xe,error:Re.emailError,helperText:Re.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Contact",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,type:"tel",name:"contact",value:P,size:"small",inputProps:{maxLength:10},onChange:Ke,onBlur:Xe,error:Re.contactError,helperText:Re.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Ry,{select:!0,margin:"normal",fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Role",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"role",size:"small",id:"role",value:m,onChange:Ke,onBlur:Xe,children:[(0,Bi.jsx)(Zm,{value:"admin",children:"Admin"}),(0,Bi.jsx)(Zm,{value:"trainer",children:"Trainer"}),(0,Bi.jsx)(Zm,{value:"counsellor",children:"Counsellor"})]})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(gy,{sx:{ml:1},children:["DOB",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,name:"dob",type:"date",size:"small",value:b,onChange:Ke})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Employee Id",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,name:"employeeId",value:j,inputProps:{maxLength:3},onChange:Ke,onBlur:Xe,helperText:Re.employeeIdError&&xh("Enter Valid Employee Id"),error:Re.employeeIdError})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{component:"fieldset",children:[(0,Bi.jsx)(py,{component:"legend",required:!0,children:"Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:A,onChange:Ke,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",checked:"male"===A,control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",checked:"female"===A,control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",checked:"other"===A,control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]})})]})}),disable:st,submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ue,onClose:nt,show:!0,onConfirm:function(){nt(),function(){var e=he,t=null===We||void 0===We?void 0:We.find((function(t){return t.id===e}));if(t){var n=t.email,r=null===He||void 0===He?void 0:He.find((function(e){return e.email===n}));sh("".concat(uh.employee).concat(e)).then((function(t){200!==t.status&&201!==t.status||(nt(),be(!0),Te("Employee Deleted!"),Le("success"),Be(gn.deleteEmployee(e)))})).catch((function(e){return console.log("Employee deletion error: ",e)})),r&&sh("".concat(uh.user).concat(r.id)).then((function(e){200!==e.status&&201!==e.status||Be(hn.deleteUser(r.id))})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")}))}}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(gf,{open:Se,onClose:et,onConfirm:function(e){et()},show:!1,title:"User Details",content:Oe&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:(0,Bi.jsxs)("div",{children:[" Full Name: ",yf(Oe.fname)," ",yf(Oe.lname)]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Gender: ",yf(Oe.gender)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Role: ",yf(Oe.role)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Contact: ",yf(Oe.contact)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Dob:",qx(Oe.dob)]})})]})})}),(0,Bi.jsx)(db,{open:ye,autoHideDuration:3e3,onClose:at,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:at,severity:ze,sx:{width:"100%"},children:_e})})]})})},Dw=n(1025),zw=n.n(Dw),Lw=n(1314);function Bw(e){return(0,Oa.Z)("MuiCollapse",e)}(0,Ea.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var Fw=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Ww=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,Ti.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"})})),Uw=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),qw=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(e,t){return t.wrapperInner}})((function(e){var t=e.ownerState;return(0,Ti.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),Hw=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiCollapse"}),o=r.addEndListener,i=r.children,a=r.className,l=r.collapsedSize,s=void 0===l?"0px":l,c=r.component,d=r.easing,f=r.in,p=r.onEnter,h=r.onEntered,m=r.onEntering,v=r.onExit,g=r.onExited,y=r.onExiting,b=r.orientation,x=void 0===b?"vertical":b,w=r.style,S=r.timeout,k=void 0===S?Lw.x9.standard:S,j=r.TransitionComponent,E=void 0===j?Fa:j,O=(0,T.Z)(r,Fw),C=(0,Ti.Z)({},r,{orientation:x,collapsedSize:s}),P=function(e){var t=e.orientation,n=e.classes,r={root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]};return(0,Yi.Z)(r,Bw,n)}(C),Z=_i(),_=t.useRef(),M=t.useRef(null),A=t.useRef(),R="number"===typeof s?"".concat(s,"px"):s,N="horizontal"===x,I=N?"width":"height";t.useEffect((function(){return function(){clearTimeout(_.current)}}),[]);var D=t.useRef(null),z=(0,qa.Z)(n,D),L=function(e){return function(t){if(e){var n=D.current;void 0===t?e(n):e(n,t)}}},B=function(){return M.current?M.current[N?"clientWidth":"clientHeight"]:0},F=L((function(e,t){M.current&&N&&(M.current.style.position="absolute"),e.style[I]=R,p&&p(e,t)})),W=L((function(e,t){var n=B();M.current&&N&&(M.current.style.position="");var r=Ua({style:w,timeout:k,easing:d},{mode:"enter"}),o=r.duration,i=r.easing;if("auto"===k){var a=Z.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(a,"ms"),A.current=a}else e.style.transitionDuration="string"===typeof o?o:"".concat(o,"ms");e.style[I]="".concat(n,"px"),e.style.transitionTimingFunction=i,m&&m(e,t)})),U=L((function(e,t){e.style[I]="auto",h&&h(e,t)})),q=L((function(e){e.style[I]="".concat(B(),"px"),v&&v(e)})),H=L(g),V=L((function(e){var t=B(),n=Ua({style:w,timeout:k,easing:d},{mode:"exit"}),r=n.duration,o=n.easing;if("auto"===k){var i=Z.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(i,"ms"),A.current=i}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style[I]=R,e.style.transitionTimingFunction=o,y&&y(e)}));return(0,Bi.jsx)(E,(0,Ti.Z)({in:f,onEnter:F,onEntered:U,onEntering:W,onExit:q,onExited:H,onExiting:V,addEndListener:function(e){"auto"===k&&(_.current=setTimeout(e,A.current||0)),o&&o(D.current,e)},nodeRef:D,timeout:"auto"===k?null:k},O,{children:function(e,t){return(0,Bi.jsx)(Ww,(0,Ti.Z)({as:c,className:(0,Mi.Z)(P.root,a,{entered:P.entered,exited:!f&&"0px"===R&&P.hidden}[e]),style:(0,Ti.Z)((0,u.Z)({},N?"minWidth":"minHeight",R),w),ownerState:(0,Ti.Z)({},C,{state:e}),ref:z},t,{children:(0,Bi.jsx)(Uw,{ownerState:(0,Ti.Z)({},C,{state:e}),className:P.wrapper,ref:M,children:(0,Bi.jsx)(qw,{ownerState:(0,Ti.Z)({},C,{state:e}),className:P.wrapperInner,children:i})})}))}}))}));Hw.muiSupportAuto=!0;var Vw=Hw;var Yw=t.createContext({});function Gw(e){return(0,Oa.Z)("MuiAccordion",e)}var $w=(0,Ea.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Kw=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Xw=(0,Oi.ZP)(ml,{name:"MuiAccordion",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat($w.region),t.region),t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r={duration:n.transitions.duration.shortest};return t={position:"relative",transition:n.transitions.create(["margin"],r),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(n.vars||n).palette.divider,transition:n.transitions.create(["opacity","background-color"],r)},"&:first-of-type":{"&:before":{display:"none"}}},(0,u.Z)(t,"&.".concat($w.expanded),{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),(0,u.Z)(t,"&.".concat($w.disabled),{backgroundColor:(n.vars||n).palette.action.disabledBackground}),t}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&(0,u.Z)({},"&.".concat($w.expanded),{margin:"16px 0"}))})),Qw=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAccordion"}),o=r.children,i=r.className,a=r.defaultExpanded,l=void 0!==a&&a,s=r.disabled,c=void 0!==s&&s,u=r.disableGutters,d=void 0!==u&&u,f=r.expanded,p=r.onChange,h=r.square,m=void 0!==h&&h,v=r.TransitionComponent,g=void 0===v?Vw:v,y=r.TransitionProps,b=(0,T.Z)(r,Kw),x=(0,md.Z)({controlled:f,default:l,name:"Accordion",state:"expanded"}),w=(0,D.Z)(x,2),S=w[0],k=w[1],j=t.useCallback((function(e){k(!S),p&&p(e,!S)}),[S,p,k]),E=qn(t.Children.toArray(o)),O=E[0],C=E.slice(1),P=t.useMemo((function(){return{expanded:S,disabled:c,disableGutters:d,toggle:j}}),[S,c,d,j]),Z=(0,Ti.Z)({},r,{square:m,disabled:c,disableGutters:d,expanded:S}),_=function(e){var t=e.classes,n={root:["root",!e.square&&"rounded",e.expanded&&"expanded",e.disabled&&"disabled",!e.disableGutters&&"gutters"],region:["region"]};return(0,Yi.Z)(n,Gw,t)}(Z);return(0,Bi.jsxs)(Xw,(0,Ti.Z)({className:(0,Mi.Z)(_.root,i),ref:n,ownerState:Z,square:m},b,{children:[(0,Bi.jsx)(Yw.Provider,{value:P,children:O}),(0,Bi.jsx)(g,(0,Ti.Z)({in:S,timeout:"auto"},y,{children:(0,Bi.jsx)("div",{"aria-labelledby":O.props.id,id:O.props["aria-controls"],role:"region",className:_.region,children:C})}))]}))})),Jw=Qw;function eS(e){return(0,Oa.Z)("MuiAccordionSummary",e)}var tS=(0,Ea.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),nS=["children","className","expandIcon","focusVisibleClassName","onClick"],rS=(0,Oi.ZP)(Ys,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState,o={duration:n.transitions.duration.shortest};return(0,Ti.Z)((t={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],o)},(0,u.Z)(t,"&.".concat(tS.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(tS.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,u.Z)(t,"&:hover:not(.".concat(tS.disabled,")"),{cursor:"pointer"}),t),!r.disableGutters&&(0,u.Z)({},"&.".concat(tS.expanded),{minHeight:64}))})),oS=(0,Oi.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&(0,u.Z)({transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest})},"&.".concat(tS.expanded),{margin:"20px 0"}))})),iS=(0,Oi.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(e,t){return t.expandIconWrapper}})((function(e){var t=e.theme;return(0,u.Z)({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest})},"&.".concat(tS.expanded),{transform:"rotate(180deg)"})})),aS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAccordionSummary"}),o=r.children,i=r.className,a=r.expandIcon,l=r.focusVisibleClassName,s=r.onClick,c=(0,T.Z)(r,nS),u=t.useContext(Yw),d=u.disabled,f=void 0!==d&&d,p=u.disableGutters,h=u.expanded,m=u.toggle,v=(0,Ti.Z)({},r,{expanded:h,disabled:f,disableGutters:p}),g=function(e){var t=e.classes,n=e.expanded,r=e.disabled,o=e.disableGutters,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,Yi.Z)(i,eS,t)}(v);return(0,Bi.jsxs)(rS,(0,Ti.Z)({focusRipple:!1,disableRipple:!0,disabled:f,component:"div","aria-expanded":h,className:(0,Mi.Z)(g.root,i),focusVisibleClassName:(0,Mi.Z)(g.focusVisible,l),onClick:function(e){m&&m(e),s&&s(e)},ref:n,ownerState:v},c,{children:[(0,Bi.jsx)(oS,{className:g.content,ownerState:v,children:o}),a&&(0,Bi.jsx)(iS,{className:g.expandIconWrapper,ownerState:v,children:a})]}))}));function lS(e){return(0,Oa.Z)("MuiAccordionDetails",e)}(0,Ea.Z)("MuiAccordionDetails",["root"]);var sS=["className"],cS=(0,Oi.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{padding:e.theme.spacing(1,2,2)}})),uS=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiAccordionDetails"}),r=n.className,o=(0,T.Z)(n,sS),i=n,a=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},lS,t)}(i);return(0,Bi.jsx)(cS,(0,Ti.Z)({className:(0,Mi.Z)(a.root,r),ref:t,ownerState:i},o))})),dS=(0,jv.Z)([(0,Bi.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,Bi.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"},"1")],"PhotoCamera"),fS=n(1131);function pS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11 16h2V7h3l-4-5-4 5h3z"}},{tag:"path",attr:{d:"M5 22h14c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-4v2h4v9H5v-9h4V9H5c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2z"}}]})(e)}function hS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m12 18 4-5h-3V2h-2v11H8z"}},{tag:"path",attr:{d:"M19 9h-4v2h4v9H5v-9h4V9H5c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2z"}}]})(e)}function mS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18 22a2 2 0 0 0 2-2v-5l-5 4v-3H8v-2h7v-3l5 4V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12zM13 4l5 5h-5V4z"}}]})(e)}function vS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.579 2 2 6.579 2 12s4.579 10 10 10 10-4.579 10-10S17.421 2 12 2zm0 5c1.727 0 3 1.272 3 3s-1.273 3-3 3c-1.726 0-3-1.272-3-3s1.274-3 3-3zm-5.106 9.772c.897-1.32 2.393-2.2 4.106-2.2h2c1.714 0 3.209.88 4.106 2.2C15.828 18.14 14.015 19 12 19s-3.828-.86-5.106-2.228z"}}]})(e)}var gS=function(){var e=(0,t.useState)({open:!1,selectedExam:null,question:"",option1:"",option2:"",option3:"",option4:"",answer:"",questionImage:null,marks:null,editingQuestion:null,level:""}),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=r.open,a=r.selectedExam,l=r.question,s=r.option1,c=r.option2,d=r.option3,f=r.option4,p=r.answer,h=r.marks,m=r.questionImage,v=r.editingQuestion,g=r.level,y=(0,t.useState)(0),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(!0),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(!0),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(!1),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=(0,t.useState)(""),z=(0,D.Z)(I,2),L=z[0],B=z[1],W=(0,t.useState)(5),U=(0,D.Z)(W,2),q=U[0],H=U[1],V=x((function(e){return e.question})),Y=V.allquestions,G=x((function(e){return e.exam})),$=G.allExam,K=(0,t.useState)(null),X=(0,D.Z)(K,2),Q=X[0],J=X[1],ee=(0,t.useState)(!1),ne=(0,D.Z)(ee,2),re=ne[0],oe=ne[1],ie=(0,t.useState)(""),ae=(0,D.Z)(ie,2),le=ae[0],se=ae[1],ce=(0,t.useState)([]),ue=(0,D.Z)(ce,2),de=ue[0],fe=ue[1],pe=(0,t.useState)(""),he=(0,D.Z)(pe,2),me=he[0],ve=he[1],ge=Hb(Fx().breakpoints.down("sm")),ye=_(),be=t.forwardRef((function(e,t){return(0,Bi.jsx)(Ab,te({elevation:6,ref:t,variant:"filled"},e))})),xe=(0,t.useState)({marksError:!1}),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1];(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();ye(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.question).then((function(e){ye(kn.getQuestion(e.data))})).catch((function(e){return console.log("Exam error: ",e)}))}),[a,r,re]),(0,t.useEffect)((function(){if(Y&&Y.length>=0&&null!==a){var e=Y.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id)===a})),t=e.map((function(e){return{question:e.question,option1:e.option1,option2:e.option2,option3:e.option3,option4:e.option4,answer:e.answer,marks:e.marks,level:e.level,exam_id:a}})),n=$.find((function(e){return e.id===a}));ve(null!==n?null===n||void 0===n?void 0:n.examName:"");var r=[["question","option1","option2","option3","option4","answer","marks","level","exam_id"]].concat((0,F.Z)(t));fe(r)}}),[Y,a,$]);var je=function(e,t){if("questionImage"===e&&t instanceof File){if(t.size>5242880)return B("File size should be less than 5MB."),N(!0),void O(!1);O(!0)}"marks"===e&&(Number.isInteger(Number(t))||(B("Only numeric value accepted ."),N(!0),T(!1))),o((function(n){return te(te({},n),{},(0,u.Z)({},e,t))}))},Ee=function(){N(!1)},Oe=function(e){if(e.preventDefault(),E&&Z){if(""==l||""==s||""==c)return B("Please provide a question, answer, and at least two options."),N(!0),void O(!1);var t=new FormData;t.append("question",l),t.append("option1",s),t.append("option2",c),t.append("option3",d),t.append("option4",f),t.append("answer",p),t.append("marks",h),t.append("level",g),t.append("exam_id",a),m&&t.append("questionImage",m),ah(uh.question,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("Question added !"),ye(kn.addQuestion(e.data))),o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null})),Ce()})).catch((function(e){N(!0),B(null===e||void 0===e?void 0:e.message)}))}},Ce=function(){o((function(e){return te(te({},e),{},{open:!1})}))},Pe=function(){oe(!1)},Ze=!l||!s||!c||!p||!h||!E||!g,_e=Y&&Y.length>0&&Y.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id)===a}));return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(db,{open:R,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:3e3,onClose:Ee,children:(0,Bi.jsx)(be,{onClose:Ee,severity:"error",children:L})}),(0,Bi.jsx)(db,{open:re,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:3e3,onClose:Pe,children:(0,Bi.jsx)(be,{onClose:Pe,severity:"success",children:le})}),(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Question"}),a&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)("label",{htmlFor:"file-upload",className:"custom-file-upload",style:{fontSize:ge?"13px":"15px"},children:[(0,Bi.jsx)("input",{id:"file-upload",size:ge?"small":"medium",type:"file",accept:".csv",onChange:function(e){return J(e.target.files[0])}}),Q?Q.name:ge?"Select file":"Click here to select a file"]}),(0,Bi.jsx)(mf,{sx:{fontSize:ge?"10px":"14px",color:"black",marginLeft:"8px"},variant:"contained",color:"inherit",component:"label",startIcon:(0,Bi.jsx)(hS,{}),onClick:function(){if(!Q)return N(!0),void B("Please select a file to upload.");var e=new FormData;e.append("file",Q),zw().parse(Q,{complete:function(t){if(t.errors&&t.errors.length>0)return N(!0),void B("There was an error with the file format.");t.data&&t.data.length>0?ah(uh.upload_csv,e).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("File uploaded successfully!"),ye(kn.addCsvFile(e.data)))})).catch((function(e){var t,n;console.error(e),N(!0),B((null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||"An error occurred during file upload.")})):(N(!0),B("No valid data found in the file."))},error:function(e){console.error(e),N(!0),B("Error parsing the CSV file.")}})},children:"Import Csv"})]})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsx)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(zg,{children:(0,Bi.jsxs)(Vh,{colSpan:9,sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[a&&(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null,open:!0,editingQuestion:null}))},children:"Add"}),_e.length>0?(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",sx:{left:"7%"},startIcon:(0,Bi.jsx)(pS,{}),onClick:function(){var e="data:text/csv;charset=utf-8,"+encodeURIComponent(de.map((function(e){return Object.values(e).join(",")})).join("\n")),t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download","".concat(me,"_Questions.csv")),document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:"Export CSV"}):null]}),!a&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",startIcon:(0,Bi.jsx)(mS,{}),onClick:function(){var e="data:text/csv;charset=utf-8,".concat(["question","option1","option2","option3","option4","answer","marks","level","exam_id"].join(","),"\n").concat(["HTML stands for?","HyperText Machine Language","HyperText Markup Language","HyperText Marking Language","HighText Marking Language","option2","1","simple/intermediate/complex","1"].join(","),"\n"),t=document.createElement("a");t.setAttribute("href",encodeURI(e)),t.setAttribute("download","QuestionsCsvFormat.csv"),document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:"Export CSV Format"}),(0,Bi.jsxs)(Sy,{size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",style:{fontSize:ge?"12px":"16px"},children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",value:a,onChange:function(e){var t=Number(e.target.value);o((function(e){return te(te({},e),{},{selectedExam:t})}))},autoWidth:!0,style:{backgroundColor:"white",width:ge?"130px":"200px",height:ge?"30px":"40px"},label:"Select Exam",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,sx:{width:ge?"130px":"200px",height:ge?"30px":"40px",justifyContent:"center"},children:"None"}),$.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,sx:{width:ge?"130px":"200px",height:ge?"30px":"40px",justifyContent:"center"},children:yf(e.examName)},e.id)}))]})]})]})}),(0,Bi.jsxs)(Bd,{open:i,onClose:Ce,children:[(0,Bi.jsxs)(Hd,{sx:{backgroundColor:"primary.main",color:"white",fontSize:"18px",display:"flex",justifyContent:"space-between"},children:[v?"Edit Question":"Add Question",(0,Bi.jsx)(vf.Z,{onClick:Ce,style:{fontSize:"25px"}})]}),(0,Bi.jsx)($d,{children:(0,Bi.jsxs)("form",{onSubmit:Oe,children:[(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Question",variant:"outlined",margin:"normal",value:l,onChange:function(e){return je("question",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 1",variant:"outlined",margin:"normal",value:s,onChange:function(e){return je("option1",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 2",variant:"outlined",margin:"normal",value:c,onChange:function(e){return je("option2",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 3",variant:"outlined",margin:"normal",value:d,onChange:function(e){return je("option3",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 4",variant:"outlined",margin:"normal",value:f,onChange:function(e){return je("option4",e.target.value)}}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{marginTop:"18px"},children:[(0,Bi.jsx)(gy,{id:"answer-label",children:"Answer"}),(0,Bi.jsxs)(fg,{labelId:"answer-label",id:"answer",value:p,onChange:function(e){return je("answer",e.target.value)},label:"Answer",children:[(0,Bi.jsx)(Zm,{value:"option1",children:"Option1"}),(0,Bi.jsx)(Zm,{value:"option2",children:"Option2"}),(0,Bi.jsx)(Zm,{value:"option3",children:"Option3"}),(0,Bi.jsx)(Zm,{value:"option4",children:"Option4"})]})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{marginTop:"24px"},children:[(0,Bi.jsx)(gy,{id:"question-level-label",children:"Question Level"}),(0,Bi.jsx)(fg,{labelId:"question-level-label",id:"question-level",label:"Question level",value:g,name:"level",onChange:function(e){return je("level",e.target.value)},children:["simple","intermediate","complex"].map((function(e,t){return(0,Bi.jsx)(Zm,{value:e,children:yf(e)},t)}))})]}),(0,Bi.jsx)(Ry,{sx:{marginTop:"24px"},fullWidth:!0,label:"Marks",variant:"outlined",margin:"normal",value:h,name:"marks",onChange:function(e){return je("marks",e.target.value)},onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("marks"===n){var o=!/^[0-9]{1,2}$/.test(r);ke((function(e){return te(te({},e),{},{marksError:o})}))}},inputProps:{maxLength:2},error:Se.marksError,helperText:Se.marksError&&xh("Invalid marks.E.g-1,10")}),(0,Bi.jsx)(Ry,{fullWidth:!0,variant:"outlined",label:"Select Image",margin:"normal",type:"file",onChange:function(e){return je("questionImage",e.target.files[0])},accept:"image/*",InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"start",children:(0,Bi.jsx)(dS,{})})}})]})}),(0,Bi.jsxs)(rf,{children:[(0,Bi.jsx)(mf,{variant:"outlined",size:"small",onClick:Ce,color:"primary",children:"Cancel"}),(0,Bi.jsx)(mf,{size:"small",onClick:v?function(){var e=new FormData;if(e.append("question",l),e.append("option1",s),e.append("option2",c),e.append("option3",d),e.append("option4",f),e.append("answer",p),e.append("marks",h),e.append("level",g),e.append("exam_id",a),m instanceof File){var t=m.name;e.append("questionImage",m,t)}lh("".concat(uh.question).concat(v.id,"/"),e).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==e.status||(oe(!0),se("Question Updated !"),ye(kn.updateQuestion(e.data))),o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null})),Ce()})).catch((function(e){var t,n;N(!0),B(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)}))}:Oe,disabled:Ze,color:"primary",variant:"contained",children:v?"Save":"Submit"})]})]}),(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:_e.length>0?"Questions":"Questions not found"})})}),(0,Bi.jsx)(Bh,{children:0===_e.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:2,align:"center",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):_e&&_e.length>0&&_e.slice(w*q,w*q+q).map((function(e,t){var n=w*q+t;return(0,Bi.jsxs)(Jw,{children:[(0,Bi.jsx)(aS,{expandIcon:(0,Bi.jsx)(fS.Z,{}),children:(0,Bi.jsxs)(Xy,{container:!0,sx:{textAlign:"left"},spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:8,children:(0,Bi.jsxs)(as,{sx:{fontSize:"18px"},children:["Que ",n+1,": ",e.question]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"30%",color:"#2c387e"},children:[e.marks," Marks"]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"0%",color:"#2c387e"},children:["Level:",e.level," "]})})]})}),(0,Bi.jsxs)(uS,{children:[(0,Bi.jsxs)("ul",{style:{listStyleType:"none"},children:[e.questionImage&&(0,Bi.jsx)("li",{style:{maxWidth:"400px",objectFit:"cover"},children:(0,Bi.jsx)("img",{src:e.questionImage,alt:"Question Image",style:{maxHeight:"100%",maxWidth:"100%"}})}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 1 : ",e.option1]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 2 : ",e.option2]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 3 : ",e.option3]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 4 : ",e.option4]}),(0,Bi.jsxs)("li",{style:{backgroundColor:"#2c387eb8",color:"white",boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Answer: ",e.answer]})]}),(0,Bi.jsx)(Js,{color:"primary",onClick:function(){return function(e){var t;o({open:!0,selectedExam:null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id,question:e.question,option1:e.option1,option2:e.option2,option3:e.option3,option4:e.option4,answer:e.answer,marks:e.marks,level:e.level,questionImage:e.questionImage,editingQuestion:e})}(e)},children:(0,Bi.jsx)(ty.Z,{})}),(0,Bi.jsx)(Js,{color:"primary",onClick:function(){return t=e.id,void sh("".concat(uh.question).concat(t)).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("Question Deleted !"),ye(kn.deleteQuestion(t)))})).catch((function(e){N(!0),B(null===e||void 0===e?void 0:e.message)}));var t},children:(0,Bi.jsx)(ey.Z,{})})]})]},t)}))}),(null===_e||void 0===_e?void 0:_e.length)>0?(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:7,count:_e.length,rowsPerPage:q,page:w,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){S(t)},onRowsPerPageChange:function(e){H(parseInt(e.target.value,10)),S(0)}}):null]})})})]})]})},yS=n(1122),bS=["className","component","disableGutters","fixed","maxWidth","classes"],xS=(0,nw.Z)(),wS=ew("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,yS.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),SS=function(e){return(0,tw.Z)({props:e,name:"MuiContainer",defaultTheme:xS})};var kS=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?wS:n,o=e.useThemeProps,i=void 0===o?SS:o,a=e.componentName,l=void 0===a?"MuiContainer":a,s=r((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}))}),(function(e){var t=e.theme;return e.ownerState.fixed&&Object.keys(t.breakpoints.values).reduce((function(e,n){var r=n,o=t.breakpoints.values[r];return 0!==o&&(e[t.breakpoints.up(r)]={maxWidth:"".concat(o).concat(t.breakpoints.unit)}),e}),{})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},"xs"===n.maxWidth&&(0,u.Z)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),n.maxWidth&&"xs"!==n.maxWidth&&(0,u.Z)({},t.breakpoints.up(n.maxWidth),{maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)}))})),c=t.forwardRef((function(e,t){var n=i(e),r=n.className,o=n.component,a=void 0===o?"div":o,c=n.disableGutters,u=void 0!==c&&c,d=n.fixed,f=void 0!==d&&d,p=n.maxWidth,h=void 0===p?"lg":p,m=(0,T.Z)(n,bS),v=(0,Ti.Z)({},n,{component:a,disableGutters:u,fixed:f,maxWidth:h}),g=function(e,t){var n=e.classes,r=e.fixed,o=e.disableGutters,i=e.maxWidth,a={root:["root",i&&"maxWidth".concat((0,yS.Z)(String(i))),r&&"fixed",o&&"disableGutters"]};return(0,Yi.Z)(a,(function(e){return(0,Oa.Z)(t,e)}),n)}(v,l);return(0,Bi.jsx)(s,(0,Ti.Z)({as:a,ownerState:v,className:(0,Mi.Z)(g.root,r),ref:t},m))}));return c}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,vl.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiContainer"})}}),jS=kS,ES=n(165),OS=n(3553),CS=function(){var e=Lo(),n=(0,t.useState)(!1),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=(0,t.useState)(""),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=(0,t.useState)(""),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=(0,t.useState)(""),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(""),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(""),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(null),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(!0),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=(0,t.useState)(!1),z=(0,D.Z)(I,2),L=z[0],B=z[1],F=(0,t.useState)(!1),W=(0,D.Z)(F,2),U=W[0],q=W[1],H=_(),V=x((function(e){return e.user})),Y=V.allUser,G=(0,t.useState)({passwordError:!1,matchPasswordError:!1,password2Error:!1,emailError:!1}),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=Hb(Fx().breakpoints.down("sm"));(0,t.useEffect)((function(){ih(uh.branch).then((function(e){var t=e.data.reverse();H(hn.getBranch(t))})).catch((function(e){return console.log("Branch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();H(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var J=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);X((function(e){return te(te({},e),{},{passwordError:o})}))}if("password2"===n){var i=!mh(r);X((function(e){return te(te({},e),{},{password2Error:i})}))}if(""!==w&&""!==E&&X(w!==E?function(e){return te(te({},e),{},{matchPasswordError:!0})}:function(e){return te(te({},e),{},{matchPasswordError:!1})}),"email"===n){var a=!ph(r);X((function(e){return te(te({},e),{},{emailError:a})}))}},ee=!v||!w||K.emailError||K.password2Error||K.matchPasswordError||!E;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:8,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:"0px 0px 7px black",borderRadius:"10px",border:"none",padding:"50px"},children:[(0,Bi.jsx)(OS.Z,{style:{fontSize:"50px",color:"#2c387e"}}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:Q?"18px":"20px"},children:"Forget Password"}),(0,Bi.jsxs)(Vi,{component:"form",noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"code",label:"Enter Email Id",name:"email",autoFocus:!0,inputProps:{maxLength:30},size:"small",value:v,onChange:function(e){g(e.target.value)},onBlur:J,error:K.emailError,helperText:K.emailError&&xh("Invalid email id")}),R&&(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsx)(mf,{type:"button",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){var e=Y.find((function(e){return e.email===v.toLowerCase()}));e?(T(e),c("success"),p("User found successfully!"),N(!1)):(c("error"),p("User not found!")),i(!0)},children:"Forget Password"})}),Z&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"password",label:"New Password",name:"password",size:"small",type:L?"text":"password",value:w,onChange:function(e){return S(e.target.value)},onBlur:J,error:K.passwordError,inputProps:{maxLength:14},helperText:K.passwordError&&xh("Invalid password"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){B((function(e){return!e}))},edge:"end",children:L?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})}}),(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"password2",size:"small",label:"Confirm Password",name:"password2",type:U?"text":"password",value:E,onBlur:J,onChange:function(e){return O(e.target.value)},error:K.matchPasswordError,helperText:K.matchPasswordError&&xh("Password and Confirm Password doesn't match"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){q((function(e){return!e}))},edge:"end",children:U?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:14}}),K.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsx)(mf,{type:"button",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){if(!Z||!Z.id)return c("error"),p("User or user ID not found."),void i(!0);if(w!==E)return c("error"),p("Passwords don't match!"),void i(!0);var t=te(te({},Z),{},{password:w,password2:E,branch_id:Z.branch?Z.branch.id:null}),n="".concat(uh.password).concat(Z.id,"/");lh(n,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(c("success"),p("Password reset!"),i(!0))})).catch((function(e){c("error"),p(null===e||void 0===e?void 0:e.message),i(!0)})),setTimeout((function(){e("/")}),2e3)},disabled:ee,children:"Update Password"})]})]})]})]}),(0,Bi.jsx)(db,{open:o,autoHideDuration:3e3,onClose:function(){return i(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:function(){return i(!1)},severity:s,sx:{width:"100%"},children:f})})]})},PS=function(e){var n=e.children,r=Lo(),o=sessionStorage.getItem("accessToken"),i=sessionStorage.getItem("role");return(0,t.useEffect)((function(){if(o){if(["teacher","counsellor"].includes(i)){["/dashboard/user","/dashboard/staff"].includes(window.location.pathname)&&r("/")}else if(["student","intern"].includes(i)){["/dashboard/user","/dashboard/staff","/dashboard/exam","/dashboard/voucher","/dashboard/result","/dashboard/question","/dashboard/feedback"].includes(window.location.pathname)&&r("/")}}else r("/")}),[o,i,r]),(0,Bi.jsx)(Bi.Fragment,{children:n})},ZS=n(1141);var _S=function(e){var t=e.title,n=Hb(Fx().breakpoints.down("sm"));return(0,Bi.jsx)(Tl,{color:"primary",sx:{top:"90%",position:"-webkit-sticky",marginBottom:6},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{sx:{flexGrow:1},style:{fontSize:n?"13px":"16px",textAlign:n?"center":"left"},children:t})})})};function TS(e){return(0,Oa.Z)("MuiCardActions",e)}(0,Ea.Z)("MuiCardActions",["root","spacing"]);var MS=["disableSpacing","className"],AS=(0,Oi.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),RS=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCardActions"}),r=n.disableSpacing,o=void 0!==r&&r,i=n.className,a=(0,T.Z)(n,MS),l=(0,Ti.Z)({},n,{disableSpacing:o}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Yi.Z)(n,TS,t)}(l);return(0,Bi.jsx)(AS,(0,Ti.Z)({className:(0,Mi.Z)(s.root,i),ownerState:l,ref:t},a))})),NS=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function IS(e){return(0,Oa.Z)("MuiChip",e)}var DS=(0,Ea.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),zS=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],LS=(0,Oi.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,o=n.iconColor,i=n.clickable,a=n.onDelete,l=n.size,s=n.variant;return[(0,u.Z)({},"& .".concat(DS.avatar),t.avatar),(0,u.Z)({},"& .".concat(DS.avatar),t["avatar".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.avatar),t["avatarColor".concat((0,vl.Z)(r))]),(0,u.Z)({},"& .".concat(DS.icon),t.icon),(0,u.Z)({},"& .".concat(DS.icon),t["icon".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.icon),t["iconColor".concat((0,vl.Z)(o))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t.deleteIcon),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIcon".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIconColor".concat((0,vl.Z)(r))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIcon".concat((0,vl.Z)(s),"Color").concat((0,vl.Z)(r))]),t.root,t["size".concat((0,vl.Z)(l))],t["color".concat((0,vl.Z)(r))],i&&t.clickable,i&&"default"!==r&&t["clickableColor".concat((0,vl.Z)(r),")")],a&&t.deletable,a&&"default"!==r&&t["deletableColor".concat((0,vl.Z)(r))],t[s],t["".concat(s).concat((0,vl.Z)(r))]]}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300];return(0,Ti.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(n.vars||n).palette.text.primary,backgroundColor:(n.vars||n).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,u.Z)(t,"&.".concat(DS.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,u.Z)(t,"& .".concat(DS.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:n.vars?n.vars.palette.Chip.defaultAvatarColor:o,fontSize:n.typography.pxToRem(12)}),(0,u.Z)(t,"& .".concat(DS.avatarColorPrimary),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.dark}),(0,u.Z)(t,"& .".concat(DS.avatarColorSecondary),{color:(n.vars||n).palette.secondary.contrastText,backgroundColor:(n.vars||n).palette.secondary.dark}),(0,u.Z)(t,"& .".concat(DS.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,u.Z)(t,"& .".concat(DS.icon),(0,Ti.Z)({marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},r.iconColor===r.color&&(0,Ti.Z)({color:n.vars?n.vars.palette.Chip.defaultIconColor:o},"default"!==r.color&&{color:"inherit"}))),(0,u.Z)(t,"& .".concat(DS.deleteIcon),(0,Ti.Z)({WebkitTapHighlightColor:"transparent",color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.26)"):(0,cl.Fq)(n.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.4)"):(0,cl.Fq)(n.palette.text.primary,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:n.vars?"rgba(".concat(n.vars.palette[r.color].contrastTextChannel," / 0.7)"):(0,cl.Fq)(n.palette[r.color].contrastText,.7),"&:hover, &:active":{color:(n.vars||n).palette[r.color].contrastText}})),t),"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:(n.vars||n).palette[r.color].main,color:(n.vars||n).palette[r.color].contrastText},r.onDelete&&(0,u.Z)({},"&.".concat(DS.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),r.onDelete&&"default"!==r.color&&(0,u.Z)({},"&.".concat(DS.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({},r.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,u.Z)(t,"&.".concat(DS.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,u.Z)(t,"&:active",{boxShadow:(n.vars||n).shadows[1]}),t),r.clickable&&"default"!==r.color&&(0,u.Z)({},"&:hover, &.".concat(DS.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n,r=e.theme,o=e.ownerState;return(0,Ti.Z)({},"outlined"===o.variant&&(t={backgroundColor:"transparent",border:r.vars?"1px solid ".concat(r.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[700])},(0,u.Z)(t,"&.".concat(DS.clickable,":hover"),{backgroundColor:(r.vars||r).palette.action.hover}),(0,u.Z)(t,"&.".concat(DS.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,u.Z)(t,"& .".concat(DS.avatar),{marginLeft:4}),(0,u.Z)(t,"& .".concat(DS.avatarSmall),{marginLeft:2}),(0,u.Z)(t,"& .".concat(DS.icon),{marginLeft:4}),(0,u.Z)(t,"& .".concat(DS.iconSmall),{marginLeft:2}),(0,u.Z)(t,"& .".concat(DS.deleteIcon),{marginRight:5}),(0,u.Z)(t,"& .".concat(DS.deleteIconSmall),{marginRight:3}),t),"outlined"===o.variant&&"default"!==o.color&&(n={color:(r.vars||r).palette[o.color].main,border:"1px solid ".concat(r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.7)"):(0,cl.Fq)(r.palette[o.color].main,.7))},(0,u.Z)(n,"&.".concat(DS.clickable,":hover"),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(r.palette[o.color].main,r.palette.action.hoverOpacity)}),(0,u.Z)(n,"&.".concat(DS.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.focusOpacity,")"):(0,cl.Fq)(r.palette[o.color].main,r.palette.action.focusOpacity)}),(0,u.Z)(n,"& .".concat(DS.deleteIcon),{color:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.7)"):(0,cl.Fq)(r.palette[o.color].main,.7),"&:hover, &:active":{color:(r.vars||r).palette[o.color].main}}),n))})),BS=(0,Oi.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat((0,vl.Z)(n))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})}));function FS(e){return"Backspace"===e.key||"Delete"===e.key}var WS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiChip"}),o=r.avatar,i=r.className,a=r.clickable,l=r.color,s=void 0===l?"default":l,c=r.component,u=r.deleteIcon,d=r.disabled,f=void 0!==d&&d,p=r.icon,h=r.label,m=r.onClick,v=r.onDelete,g=r.onKeyDown,y=r.onKeyUp,b=r.size,x=void 0===b?"medium":b,w=r.variant,S=void 0===w?"filled":w,k=r.tabIndex,j=r.skipFocusWhenDisabled,E=void 0!==j&&j,O=(0,T.Z)(r,zS),C=t.useRef(null),P=(0,qa.Z)(C,n),Z=function(e){e.stopPropagation(),v&&v(e)},_=!(!1===a||!m)||a,M=_||v?Ys:c||"div",A=(0,Ti.Z)({},r,{component:M,disabled:f,size:x,color:s,iconColor:t.isValidElement(p)&&p.props.color||s,onDelete:!!v,clickable:_,variant:S}),R=function(e){var t=e.classes,n=e.disabled,r=e.size,o=e.color,i=e.iconColor,a=e.onDelete,l=e.clickable,s=e.variant,c={root:["root",s,n&&"disabled","size".concat((0,vl.Z)(r)),"color".concat((0,vl.Z)(o)),l&&"clickable",l&&"clickableColor".concat((0,vl.Z)(o)),a&&"deletable",a&&"deletableColor".concat((0,vl.Z)(o)),"".concat(s).concat((0,vl.Z)(o))],label:["label","label".concat((0,vl.Z)(r))],avatar:["avatar","avatar".concat((0,vl.Z)(r)),"avatarColor".concat((0,vl.Z)(o))],icon:["icon","icon".concat((0,vl.Z)(r)),"iconColor".concat((0,vl.Z)(i))],deleteIcon:["deleteIcon","deleteIcon".concat((0,vl.Z)(r)),"deleteIconColor".concat((0,vl.Z)(o)),"deleteIcon".concat((0,vl.Z)(s),"Color").concat((0,vl.Z)(o))]};return(0,Yi.Z)(c,IS,t)}(A),N=M===Ys?(0,Ti.Z)({component:c||"div",focusVisibleClassName:R.focusVisible},v&&{disableRipple:!0}):{},I=null;v&&(I=u&&t.isValidElement(u)?t.cloneElement(u,{className:(0,Mi.Z)(u.props.className,R.deleteIcon),onClick:Z}):(0,Bi.jsx)(NS,{className:(0,Mi.Z)(R.deleteIcon),onClick:Z}));var D=null;o&&t.isValidElement(o)&&(D=t.cloneElement(o,{className:(0,Mi.Z)(R.avatar,o.props.className)}));var z=null;return p&&t.isValidElement(p)&&(z=t.cloneElement(p,{className:(0,Mi.Z)(R.icon,p.props.className)})),(0,Bi.jsxs)(LS,(0,Ti.Z)({as:M,className:(0,Mi.Z)(R.root,i),disabled:!(!_||!f)||void 0,onClick:m,onKeyDown:function(e){e.currentTarget===e.target&&FS(e)&&e.preventDefault(),g&&g(e)},onKeyUp:function(e){e.currentTarget===e.target&&(v&&FS(e)?v(e):"Escape"===e.key&&C.current&&C.current.blur()),y&&y(e)},ref:P,tabIndex:E&&f?-1:k,ownerState:A},N,O,{children:[D||z,(0,Bi.jsx)(BS,{className:(0,Mi.Z)(R.label),ownerState:A,children:h}),I]}))})),US=WS,qS=n(2270);function HS(e){return(0,Oa.Z)("MuiLink",e)}var VS=(0,Ea.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),YS=n(8529),GS={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$S=function(e){var t=e.theme,n=e.ownerState,r=function(e){return GS[e]||e}(n.color),o=(0,YS.DW)(t,"palette.".concat(r),!1)||n.color,i=(0,YS.DW)(t,"palette.".concat(r,"Channel"));return"vars"in t&&i?"rgba(".concat(i," / 0.4)"):(0,cl.Fq)(o,.4)},KS=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],XS=(0,Oi.ZP)(as,{name:"MuiLink",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["underline".concat((0,vl.Z)(n.underline))],"button"===n.component&&t.button]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,Ti.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:$S({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&(0,u.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(VS.focusVisible),{outline:"auto"}))})),QS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiLink"}),o=r.className,i=r.color,a=void 0===i?"primary":i,l=r.component,s=void 0===l?"a":l,c=r.onBlur,u=r.onFocus,d=r.TypographyClasses,f=r.underline,p=void 0===f?"always":f,h=r.variant,m=void 0===h?"inherit":h,v=r.sx,g=(0,T.Z)(r,KS),y=(0,ms.Z)(),b=y.isFocusVisibleRef,x=y.onBlur,w=y.onFocus,S=y.ref,k=t.useState(!1),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,qa.Z)(n,S),P=(0,Ti.Z)({},r,{color:a,component:s,focusVisible:E,underline:p,variant:m}),Z=function(e){var t=e.classes,n=e.component,r=e.focusVisible,o=e.underline,i={root:["root","underline".concat((0,vl.Z)(o)),"button"===n&&"button",r&&"focusVisible"]};return(0,Yi.Z)(i,HS,t)}(P);return(0,Bi.jsx)(XS,(0,Ti.Z)({color:a,className:(0,Mi.Z)(Z.root,o),classes:d,component:s,onBlur:function(e){x(e),!1===b.current&&O(!1),c&&c(e)},onFocus:function(e){w(e),!0===b.current&&O(!0),u&&u(e)},ref:C,ownerState:P,variant:m,sx:[].concat((0,F.Z)(Object.keys(GS).includes(a)?[]:[{color:a}]),(0,F.Z)(Array.isArray(v)?v:[v]))},g))})),JS=QS;function ek(){var e=Lo();return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(ay,{sx:{maxWidth:345,margin:"auto",marginTop:10,borderRadius:10,boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)"},children:(0,Bi.jsxs)(zy,{children:[(0,Bi.jsx)(as,{gutterBottom:!0,variant:"h5",color:"primary",component:"div",children:"Exam Submitted Successfully"}),(0,Bi.jsx)(as,{align:"center",variant:"h1",color:"primary",children:(0,Bi.jsx)(ec,{})})]})}),(0,Bi.jsx)(as,{align:"center",variant:"body2",color:"secondary",sx:{marginTop:3},children:(0,Bi.jsx)(JS,{onClick:function(){e("/student-feedback")},underline:"hover",sx:{fontSize:"1.2rem",fontWeight:"bold"},children:"Click here to give feedback"})})]})}var tk=function(){var e,n=(0,t.useState)(3600),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=(0,t.useState)([]),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=(0,t.useState)([]),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=(0,t.useState)(""),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(!1),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(!1),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(0),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(null),A=(0,D.Z)(M,2),N=(A[0],A[1]),z=(0,t.useState)(!1),L=(0,D.Z)(z,2),B=L[0],W=L[1],U=(0,t.useState)(!1),q=(0,D.Z)(U,2),H=q[0],V=q[1],Y=(0,t.useState)([]),G=(0,D.Z)(Y,2),$=G[0],K=G[1],X=(0,t.useState)(!1),Q=(0,D.Z)(X,2),J=Q[0],ee=Q[1],ne=(0,t.useState)(!1),re=(0,D.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,t.useState)(!1),le=(0,D.Z)(ae,2),se=le[0],ce=le[1],ue=(0,t.useState)(0),de=(0,D.Z)(ue,2),fe=de[0],pe=de[1],he=x((function(e){return e.question})),me=he.examquestion,ve=x((function(e){return e.exam})),ge=ve.allExam,ye=x((function(e){return e.user})),be=ye.loginUser,xe=_(),we=Lo(),Se=t.useState(!1),ke=(0,D.Z)(Se,2),je=ke[0],Ee=ke[1],Oe=t.useState(""),Ce=(0,D.Z)(Oe,2),Pe=Ce[0],Ze=Ce[1],_e=t.useState("info"),Te=(0,D.Z)(_e,2),Me=(Te[0],Te[1]),Ae=Hb(Fx().breakpoints.down("sm")),Re=(new Date).getFullYear(),Ne="\xa9 2017-".concat(Re," Hematite Infotech, All Rights Reserved.");(0,t.useEffect)((function(){var e=function(e){e.preventDefault()};return window.addEventListener("contextmenu",e),function(){window.removeEventListener("contextmenu",e)}}),[]),(0,t.useEffect)((function(){ih("".concat(uh.loginUser)).then((function(e){xe(hn.GetLogginUser(e.data))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){var e=function(){var e=I(R().mark((function e(){var t;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ih(uh.start_exam);case 3:t=e.sent,xe(kn.getStartExamQuestion(t.data)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("Exam error: ",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,t.useEffect)((function(){K([0])}),[]),(0,t.useEffect)((function(){var e=function(e){e.preventDefault(),e.returnValue="Do not reload the page. Exam gets submitted automatically.",ee(!0)};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}}),[]);var Ie=function(){ee(!1)};(0,t.useEffect)((function(){var e=function(){document.hidden&&(pe((function(e){return e+1})),ie(!0))};return document.addEventListener("visibilitychange",e),function(){document.removeEventListener("visibilitychange",e)}}),[]),(0,t.useEffect)((function(){1===fe&&(i(0),ce(!0))}),[fe]);var De=function(){ie(!1)},ze=function(e){e.preventDefault()};(0,t.useEffect)((function(){return document.addEventListener("keydown",ze),function(){document.removeEventListener("keydown",ze)}}),[]),(0,t.useEffect)((function(){var e=function(e){e.preventDefault(),we("/start-exam")};return window.history.pushState(null,"",window.location.pathname),window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}}),[we]),(0,t.useEffect)((function(){if(0!==ge.length){var e=sessionStorage.getItem("examId"),t=Number(e),n=ge.find((function(e){return e.id===t}));if(n){var r="".concat(null===be||void 0===be?void 0:be.fname," ").concat(null===be||void 0===be?void 0:be.lname);r&&g(r);var o=0;if(n){var a=n.examTime.toLowerCase();if(a.endsWith("min"))o=60*parseInt(a);else if(a.endsWith("hr")){o=3600*parseInt(a)}}i(o);var l=n.totalQuestion,s=me&&me.filter((function(e){return e.exam.id===n.id})),u=Le(s).slice(0,l);c(u);var d=setInterval((function(){i((function(e){return Math.max(0,e-1)}))}),1e3);return N(d),function(){return clearInterval(d)}}}}),[me,ge]);var Le=function(e){for(var t,n,r=e.length;0!==r;)n=Math.floor(Math.random()*r),t=e[r-=1],e[r]=e[n],e[n]=t;return e},Be=function(e,t){var n=s.findIndex((function(e){return e.id===t}));if(-1!==n){var r=(0,F.Z)(s),o=Object.keys(r[n]).find((function(t){return r[n][t]===e}));o&&(r[n]=te(te({},r[n]),{},{answer:o}),c(r))}},Fe=function(){O(!1)},We=function(e){return e.some((function(e){return!e.answer||""===e.answer}))},Ue=function(){V(!1)},qe=0===Z,He=Z===s.length-1;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(db,{open:H,autoHideDuration:6e3,onClose:Ue,anchorOrigin:{vertical:"top",horizontal:"center"},message:"Please solve all questions",action:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:Ue,children:"Close"})}),(0,Bi.jsx)(db,{open:J,autoHideDuration:9e3,onClose:Ie,anchorOrigin:{vertical:"top",horizontal:"center"},message:"You refreshed the exam page. Please click the Submit button and contact the admin.",action:(0,Bi.jsx)(t.Fragment,{children:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:Ie,children:"Close"})})}),(0,Bi.jsx)(db,{open:oe,autoHideDuration:9e3,onClose:De,anchorOrigin:{vertical:"top",horizontal:"center"},message:"Warning:Please do not switch tabs.Don't do again.",action:(0,Bi.jsx)(t.Fragment,{children:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:De,children:"Close"})})}),w?we("/exam-submitted"):(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Vi,{sx:{},children:(0,Bi.jsx)(Tl,{color:"primary",position:"fixed",children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[(0,Bi.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(vS,{style:{fontSize:"25px"}}),(0,Bi.jsxs)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px",marginLeft:"10px"},children:["Welcome, ",v]})]}),(0,Bi.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(qS.Z,{style:{fontSize:"25px",marginRight:"10px"}}),(0,Bi.jsx)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px"},children:function(e){var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return"".concat(t.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0"))}(o)}),(0,Bi.jsx)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px",marginLeft:"10px"},children:"|"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){We(s)&&o>0?V(!0):(Me("warning"),Ze("Are you sure you want to logout ?"),Ee(!0))},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})]})})})}),o>0?(0,Bi.jsxs)("div",{className:"chip",style:{display:"inline-list-item"},children:[(0,Bi.jsx)(US,{color:"warning",label:"Visited",sx:{minWidth:"30px",height:"30px",fontSize:"12px"}}),(0,Bi.jsx)(US,{color:"primary",label:"Current",sx:{minWidth:"30px",height:"30px",fontSize:"12px",marginLeft:2}}),(0,Bi.jsx)(US,{color:"success",label:"Answered",sx:{minWidth:"30px",height:"30px",fontSize:"12px",marginLeft:2}})]}):null,(0,Bi.jsxs)(Vi,{sx:{padding:5,display:"flex",flexDirection:"column",flexWrap:"wrap",width:"auto"},children:[o>0?(0,Bi.jsx)(as,{sx:{fontSize:Ae?"14px":"20px"},gutterBottom:!0,children:"Questions"}):null,0==o?(0,Bi.jsx)(Vi,{sx:{marginBottom:"20px",padding:"20px",marginTop:"20px",boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},children:(0,Bi.jsx)(as,{sx:{fontSize:"20px"},variant:"h6",color:"secondary",gutterBottom:!0,children:se?"You try to switch the browser tab.Please click on submit button.":"Time is over...Please click on submit button"})}):null,o>0&&s&&s.length>0&&Z<s.length?(0,Bi.jsxs)(Vi,{sx:{marginBottom:"20px",padding:"20px",boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},children:[(0,Bi.jsxs)(as,{sx:{fontSize:"20px",textAlign:"left"},variant:"h6",gutterBottom:!0,children:[Z+1,". ",s[Z].question]}),s[Z].questionImage&&(0,Bi.jsx)("div",{style:{display:"flex",height:"400px",width:"400px",marginTop:"10px",objectFit:"cover"},children:(0,Bi.jsx)("img",{src:s[Z].questionImage,alt:"Question Image",style:{maxHeight:"100%",maxWidth:"100%"}})}),(0,Bi.jsx)("div",{style:{display:"flex"},children:(0,Bi.jsx)(Jx,{"aria-label":"question-".concat(Z),name:"question-".concat(Z),value:(null===(e=f.find((function(e){return e.questionIndex===Z})))||void 0===e?void 0:e.optionValue)||"",onChange:function(e){return function(e,t){var n=e.target.value,r=s.findIndex((function(e){return e.id===t}));null!==r&&r>=0&&Be(n,t);var o=f.filter((function(e){return e.questionIndex!==r}));o.push({questionIndex:r,optionValue:n}),p(o)}(e,s[Z].id)},children:Object.keys(s[Z]).map((function(e){return e.startsWith("option")&&s[Z][e]?(0,Bi.jsx)(gw,{value:s[Z][e],control:(0,Bi.jsx)(Mw,{}),label:s[Z][e]},e):null}))})}),!qe&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:function(){Z>0&&(T((function(e){return e-1})),$.includes(Z-1)||K((function(e){return[].concat((0,F.Z)(e),[Z-1])})))},sx:{marginRight:"10px"},children:"Previous"}),!He&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:function(){Z<s.length-1&&(T((function(e){return e+1})),$.includes(Z+1)||K((function(e){return[].concat((0,F.Z)(e),[Z+1])})))},sx:{marginRight:"10px"},children:"Next"}),(0,Bi.jsx)(Vi,{sx:{display:"flex",justifyContent:"center",marginTop:"20px",flexWrap:"wrap",gap:"5px"},children:s.map((function(e,t){return(0,Bi.jsx)(US,{label:"".concat(t+1),color:f.some((function(e){return e.questionIndex===t}))?"success":Z===t?"primary":$.includes(t)?"warning":"default",onClick:function(){return function(e){T(e),$.includes(e)||K((function(t){return[].concat((0,F.Z)(t),[e])}))}(t)},sx:{minWidth:"30px",height:"30px",fontSize:"12px"}},e)}))})]}):null,(0,Bi.jsx)(Vi,{sx:{display:"flex",justifyContent:"center",marginBottom:"27px",overflowX:"auto",overflowY:"auto"},children:(0,Bi.jsx)(mf,{variant:"outlined",color:"primary",onClick:function(){O(!0)},children:"Submit Exam"})})]}),(0,Bi.jsx)(gf,{open:E,onClose:Fe,show:!0,onConfirm:function(){Fe(),function(){if(We(s)&&o>0)V(!0);else{var e=sessionStorage.getItem("examId"),t=null===be||void 0===be?void 0:be.id,n=sessionStorage.getItem("showResult");console.log(n);var r={exam_id:e,student_id:t,questions:s};ah(uh.submit_exam,r).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||xe(On.addResult(e.data))})).catch((function(e){Me("error"),Ze(null===e||void 0===e?void 0:e.message),Ee(!0)})),B||(W(!0),V(!1),"true"==n?we("/question-answer",{state:{req:r}}):(sessionStorage.clear(),we("/exam-submitted"))),S(!0)}}()},message:"Are you sure you want to submit the exam?",title:"Confirmation",submitLabel:"submit"}),(0,Bi.jsx)(gf,{open:je,onClose:function(){return Ee(!1)},show:!0,onConfirm:function(){Ee(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),we("/")},title:"Confirmation",message:Pe,submitLabel:"Logout"})]}),(0,Bi.jsx)(_S,{title:Ne})]})};function nk(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var n=t.useState(!1),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=Lo(),l=Hb(Fx().breakpoints.down("sm")),s=t.useState(!1),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=t.useState(""),p=(0,D.Z)(f,2),h=p[0],m=(p[1],t.useState(!1)),v=(0,D.Z)(m,2),g=v[0],y=v[1];return(0,Bi.jsxs)("div",{children:[g?(0,Bi.jsx)(rk,{}):(0,Bi.jsx)(Bi.Fragment,{children:o?(0,Bi.jsx)(tk,{}):(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{maxWidth:345,margin:"auto",marginTop:10,boxShadow:"0px 0px 7px black",borderRadius:"10px"},children:[(0,Bi.jsxs)(zy,{children:[(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:l?"18px":"20px"},gutterBottom:!0,variant:"h5",component:"div",children:"Instructions"}),(0,Bi.jsx)(as,{align:"left",variant:"body2",color:"red",children:(0,Bi.jsxs)("ul",{children:[(0,Bi.jsx)("h4",{children:"Follow the Below Instruction"}),(0,Bi.jsx)("li",{children:"Do not refresh the page"}),(0,Bi.jsx)("li",{children:"Do not use keyboard"}),(0,Bi.jsx)("li",{children:"Exam will be automatically submit after time is over"}),(0,Bi.jsx)("li",{children:"Do not open another tab "})]})})]}),(0,Bi.jsxs)(RS,{sx:{display:"flex",flex:"row",justifyContent:"space-around"},children:[(0,Bi.jsx)(mf,{variant:"text",color:"primary",size:"small",onClick:function(){y(!0)},children:"Back"}),(0,Bi.jsx)(mf,{variant:"text",color:"primary",size:"small",onClick:function(){i(!0)},children:"Start Exam"})]})]})})}),(0,Bi.jsx)(gf,{open:u,onClose:function(){return d(!1)},show:!0,onConfirm:function(){d(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),a("/")},title:"Confirmation",message:h,submitLabel:"Logout"})]})}var rk=function(){var e=(0,t.useState)(""),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=x((function(e){return e.exam})),u=c.allExam,d=_(),f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,t.useState)(""),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=Hb(Fx().breakpoints.down("sm"));(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();d(sn.GET_EXAM(t))})).catch((function(e){j("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message))}))}),[]);var S=u.filter((function(e){return e.examStatus})),k=u.some((function(e){return e.id==r&&1==e.showResult})),j=function(e){b(e),m(!0)},E=!r;return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(db,{open:h,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:6e3,onClose:function(){return m(!1)},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return m(!1)},severity:"warning",children:y})}),l?(0,Bi.jsx)(nk,{}):(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{boxShadow:"0px 0px 7px black",marginTop:10},borderRadius:2,p:3,textAlign:"center",children:[(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:w?"18px":"20px"},children:"Select Exam"}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{mt:1},size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-label",children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-label",id:"demo-simple-select",value:r,label:"select Exam",name:"exam",autoWidth:!0,onChange:function(e){o(parseInt(e.target.value,10))},children:[(0,Bi.jsx)(Zm,{sx:{width:w?"240px":"345px"},children:"None"}),S.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.examName)},e.id)}))]})]}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){k?sessionStorage.setItem("showResult",!0):sessionStorage.setItem("showResult",!1),r?(sessionStorage.setItem("examId",r),s(!0)):j("Please select an exam before proceeding.")},disabled:E,children:"submit"})]})]})})]})},ok=n.p+"static/media/Hematite Logo.3eb399f731be02ad90b6.jpg";var ik=function(){var e=(0,t.useState)(""),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=t.useState(!1),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=t.useState(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=t.useState("info"),M=(0,D.Z)(T,2),A=(M[0],M[1]),R=x((function(e){return e.voucher})),N=R.allvouchers,I=_(),z=Lo(),L=Hb(Fx().breakpoints.down("sm")),B=(new Date).getFullYear(),F="\xa9 2017-".concat(B," Hematite Infotech, All Rights Reserved."),W=(0,t.useState)({voucherError:!1}),U=(0,D.Z)(W,2),q=U[0],H=U[1];(0,t.useEffect)((function(){ih(uh.voucher).then((function(e){return I(on.GET_VOUCHER(e.data))})).catch((function(e){console.error("Error fetching vouchers:",e)}))}),[]);var V=function(e){e.preventDefault(),N.some((function(e){return r===e.Vcode&&!0===e.status}))?(sessionStorage.setItem("Voucher","true"),s(!0),f("success"),v("Valid voucher code"),setTimeout((function(){s(!1),w(!0)}),1e3)):(s(!0),f("error"),v("Invalid voucher"))};return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:L?"40px":"50px",height:L?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:L?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){A("warning"),Z("Are you sure you want to logout ?"),E(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),b?(0,Bi.jsx)(rk,{}):(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:10,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:"0px 0px 7px black",borderRadius:"10px",border:"none"},children:[(0,Bi.jsx)(ZS.Z,{color:"primary",style:{fontSize:"50px"}}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:L?"18px":"20px"},children:"Enter Voucher Code"}),(0,Bi.jsxs)(Vi,{component:"form",onSubmit:V,noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"code",label:"Enter Voucher code",name:"Vcode",inputProps:{maxLength:6},autoFocus:!0,size:"small",onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("Vcode"===n){var o=!/^[A-Z0-9]{6}$/.test(r);H((function(e){return te(te({},e),{},{voucherError:o})}))}},onChange:function(e){var t=e.target,n=(t.name,t.value);o(n)},error:q.voucherError,helperText:q.voucherError&&xh("Invalid Voucher")}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:V,children:"submit"})]})]})]}),(0,Bi.jsx)(db,{open:l,autoHideDuration:3e3,onClose:function(){return s(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:function(){return s(!1)},severity:d,sx:{width:"100%"},children:m})})]}),(0,Bi.jsx)(_S,{title:F}),(0,Bi.jsx)(gf,{open:j,onClose:function(){return E(!1)},show:!0,onConfirm:function(){E(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),z("/")},title:"Confirmation",message:P,submitLabel:"Logout"})]})},ak=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function lk(e){return(0,Oa.Z)("MuiAvatar",e)}(0,Ea.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var sk=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],ck=(0,Oi.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:(t.vars||t).shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&(0,Ti.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}))})),uk=(0,Oi.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(e,t){return t.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),dk=(0,Oi.ZP)(ak,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(e,t){return t.fallback}})({width:"75%",height:"75%"});var fk=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAvatar"}),o=r.alt,i=r.children,a=r.className,l=r.component,s=void 0===l?"div":l,c=r.imgProps,u=r.sizes,d=r.src,f=r.srcSet,p=r.variant,h=void 0===p?"circular":p,m=(0,T.Z)(r,sk),v=null,g=function(e){var n=e.crossOrigin,r=e.referrerPolicy,o=e.src,i=e.srcSet,a=t.useState(!1),l=(0,D.Z)(a,2),s=l[0],c=l[1];return t.useEffect((function(){if(o||i){c(!1);var e=!0,t=new Image;return t.onload=function(){e&&c("loaded")},t.onerror=function(){e&&c("error")},t.crossOrigin=n,t.referrerPolicy=r,t.src=o,i&&(t.srcset=i),function(){e=!1}}}),[n,r,o,i]),s}((0,Ti.Z)({},c,{src:d,srcSet:f})),y=d||f,b=y&&"error"!==g,x=(0,Ti.Z)({},r,{colorDefault:!b,component:s,variant:h}),w=function(e){var t=e.classes,n={root:["root",e.variant,e.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,Yi.Z)(n,lk,t)}(x);return v=b?(0,Bi.jsx)(uk,(0,Ti.Z)({alt:o,src:d,srcSet:f,sizes:u,ownerState:x,className:w.img},c)):null!=i?i:y&&o?o[0]:(0,Bi.jsx)(dk,{ownerState:x,className:w.fallback}),(0,Bi.jsx)(ck,(0,Ti.Z)({as:s,ownerState:x,className:(0,Mi.Z)(w.root,a),ref:n},m,{children:v}))})),pk=fk,hk=n(403);function mk(){var e=t.useState(!1),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=t.useState(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=t.useState("info"),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=t.useState(!1),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=x((function(e){return e.user})),y=(g.loginUser,x((function(e){return e.login}))),b=(y.token,_()),w=Lo(),S=(0,t.useState)(null),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=Hb(Fx().breakpoints.down("sm")),C=(new Date).getFullYear(),P="\xa9 2017-".concat(C," Hematite Infotech, All Rights Reserved."),Z=(0,t.useState)({emailError:!1,passwordError:!1}),T=(0,D.Z)(Z,2),M=T[0],A=T[1],N=(0,t.useState)(null),z=(0,D.Z)(N,2),L=(z[0],z[1]),B=function(){var e=I(R().mark((function e(t){var n,r,o,i,a,l;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=new FormData(t.currentTarget),""!==(r={email:n.get("email"),password:n.get("password")}).email||""!==r.password){e.next=6;break}return W("Please enter login credentials","error"),e.abrupt("return");case 6:return e.prev=6,e.next=9,ah("".concat(uh.token),r);case 9:if(o=e.sent,console.log(o),null===o||void 0===o||!o.access){e.next=20;break}return W("Login successful","success"),sessionStorage.setItem("accessToken",o.access),b(dn.LOGIN_SUCCESS(o.access)),e.next=17,ih("".concat(uh.loginUser));case 17:i=e.sent,L(null===i||void 0===i?void 0:i.data),setTimeout((function(){var e,t=null===i||void 0===i||null===(e=i.data)||void 0===e?void 0:e.role;w("student"===t||"intern"===t?"/quizapp":"trainer"===t||"counsellor"===t?"/dashboard/exam":"/dashboard/student")}),2e3);case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(6),W((null===e.t0||void 0===e.t0||null===(a=e.t0.response)||void 0===a||null===(l=a.data)||void 0===l?void 0:l.detail)||"Login failed","error");case 25:case"end":return e.stop()}}),e,null,[[6,22]])})));return function(t){return e.apply(this,arguments)}}(),F=function(e,t){"clickaway"!==t&&o(!1)},W=function(e,t){s(e),f(t),o(!0)},U=function(){E(null)},q=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);A((function(e){return te(te({},e),{},{passwordError:o})}))}if("email"===n){var i=!ph(r);A((function(e){return te(te({},e),{},{emailError:i})}))}};return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:O?"40px":"50px",height:O?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:O?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":j?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(j),onClick:function(e){E(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:j,open:Boolean(j),onClose:U,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){w("/student-registration"),U()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){w("/employee-registration"),U()},children:"Employee"})]})]})}),(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:O?3:8,display:"flex",flexDirection:"column",alignItems:"center",position:"sticky"},children:[(0,Bi.jsx)(pk,{sx:{m:1,bgcolor:"primary.main"},children:(0,Bi.jsx)(hk.Z,{})}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:O?"18px":"20px"},children:"Login"}),(0,Bi.jsxs)(Vi,{component:"form",onSubmit:B,noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"email",label:"Email Address",name:"email",autoComplete:"email",onBlur:q,inputProps:{maxLength:30},size:"small",error:M.emailError,helperText:M.emailError&&xh("Enter valid email")}),(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,name:"password",label:"Password",type:m?"text":"password",id:"password",inputProps:{maxLength:20},autoComplete:"current-password",size:"small",onBlur:q,error:M.passwordError,helperText:M.passwordError&&xh("Enter valid password"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){v((function(e){return!e}))},edge:"end",children:m?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})}}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},children:"Sign In"}),(0,Bi.jsxs)("div",{style:{textAlign:"left",marginBottom:O?"35px":"0px"},children:[(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){e.preventDefault(),w("/forgetpassword")},children:"Forget Password ? Click Here"})," ",(0,Bi.jsx)("br",{}),(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){e.preventDefault(),w("/student-feedback")},children:"Feedback ? Click Here"})]})]})]})]}),(0,Bi.jsx)(_S,{title:P}),(0,Bi.jsx)(db,{open:r,autoHideDuration:3e3,onClose:F,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:F,severity:d,sx:{width:"100%"},children:l})})]})}var vk=t.createContext(null);function gk(){return t.useContext(vk)}var yk="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var bk=function(e){var n=e.children,r=e.theme,o=gk(),i=t.useMemo((function(){var e=null===o?r:function(e,t){return"function"===typeof t?t(e):(0,Ti.Z)({},e,t)}(o,r);return null!=e&&(e[yk]=null!==o),e}),[r,o]);return(0,Bi.jsx)(vk.Provider,{value:i,children:n})},xk={};function wk(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.useMemo((function(){var t=e&&n[e]||n;if("function"===typeof r){var i=r(t),a=e?(0,Ti.Z)({},n,(0,u.Z)({},e,i)):i;return o?function(){return a}:a}return e?(0,Ti.Z)({},n,(0,u.Z)({},e,r)):(0,Ti.Z)({},n,r)}),[e,n,r,o])}var Sk=function(e){var t=e.children,n=e.theme,r=e.themeId,o=(0,ud.Z)(xk),i=gk()||xk,a=wk(r,o,n),l=wk(r,i,n,!0);return(0,Bi.jsx)(bk,{theme:l,children:(0,Bi.jsx)(Fl.T.Provider,{value:a,children:t})})},kk=["theme"];function jk(e){var t=e.theme,n=(0,T.Z)(e,kk),r=t[Zi.Z];return(0,Bi.jsx)(Sk,(0,Ti.Z)({},n,{themeId:r?Zi.Z:void 0,theme:r||t}))}var Ek=n(2854),Ok=n.n(Ek),Ck=n(4786),Pk=n.n(Ck),Zk=n(6222),_k=n.n(Zk),Tk=n(6181),Mk=n.n(Tk),Ak=n(4286),Rk=n.n(Ak),Nk=n(3038),Ik=n.n(Nk),Dk=!0,zk="Invariant failed";function Lk(e,t){if(!e){if(Dk)throw new Error(zk);var n="function"===typeof t?t():t,r=n?"".concat(zk,": ").concat(n):zk;throw new Error(r)}}var Bk=n(6769),Fk=n.n(Bk),Wk=n(8092),Uk=n.n(Wk),qk=n(8493),Hk=n(2066),Vk=n.n(Hk),Yk=n(298),Gk=n.n(Yk),$k=function(e){return 0===e?0:e>0?1:-1},Kk=function(e){return Fk()(e)&&e.indexOf("%")===e.length-1},Xk=function(e){return Gk()(e)&&!Vk()(e)},Qk=function(e){return Xk(e)||Fk()(e)},Jk=0,ej=function(e){var t=++Jk;return"".concat(e||"").concat(t)},tj=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Xk(e)&&!Fk()(e))return r;if(Kk(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return Vk()(n)&&(n=r),o&&n>t&&(n=t),n},nj=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},rj=function(e,t){return Xk(e)&&Xk(t)?function(n){return e+n*(t-e)}:function(){return t}};function oj(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"===typeof t?t(e):Mk()(e,t))===n})):null}function ij(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function aj(e){return aj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aj(e)}var lj=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],sj=["points","pathLength"],cj={svg:["viewBox","children"],polygon:sj,polyline:sj},uj=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],dj=function(e,n){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var r=e;if((0,t.isValidElement)(e)&&(r=e.props),!Uk()(r))return null;var o={};return Object.keys(r).forEach((function(e){uj.includes(e)&&(o[e]=n||function(t){return r[e](r,t)})})),o},fj=function(e,t,n){if(!Uk()(e)||"object"!==aj(e))return null;var r=null;return Object.keys(e).forEach((function(o){var i=e[o];uj.includes(o)&&"function"===typeof i&&(r||(r={}),r[o]=function(e,t,n){return function(r){return e(t,n,r),null}}(i,t,n))})),r},pj=["children"],hj=["children"];function mj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var vj={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},gj=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},yj=null,bj=null,xj=function e(n){if(n===yj&&Array.isArray(bj))return bj;var r=[];return t.Children.forEach(n,(function(t){Ok()(t)||((0,qk.isFragment)(t)?r=r.concat(e(t.props.children)):r.push(t))})),bj=r,yj=n,r};function wj(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map((function(e){return gj(e)})):[gj(t)],xj(e).forEach((function(e){var t=Mk()(e,"type.displayName")||Mk()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n}function Sj(e,t){var n=wj(e,t);return n&&n[0]}var kj=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Xk(n)||n<=0||!Xk(r)||r<=0)},jj=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Ej=function(e){return e&&e.type&&Fk()(e.type)&&jj.indexOf(e.type)>=0},Oj=function(e,n,r){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var o=e;if((0,t.isValidElement)(e)&&(o=e.props),!Uk()(o))return null;var i={};return Object.keys(o).forEach((function(e){var t;(function(e,t,n,r){var o,i=null!==(o=null===cj||void 0===cj?void 0:cj[r])&&void 0!==o?o:[];return!Pk()(e)&&(r&&i.includes(t)||lj.includes(t))||n&&uj.includes(t)})(null===(t=o)||void 0===t?void 0:t[e],e,n,r)&&(i[e]=o[e])})),i},Cj=function e(n,r){if(n===r)return!0;var o=t.Children.count(n);if(o!==t.Children.count(r))return!1;if(0===o)return!0;if(1===o)return Pj(Array.isArray(n)?n[0]:n,Array.isArray(r)?r[0]:r);for(var i=0;i<o;i++){var a=n[i],l=r[i];if(Array.isArray(a)||Array.isArray(l)){if(!e(a,l))return!1}else if(!Pj(a,l))return!1}return!0},Pj=function(e,t){if(Ok()(e)&&Ok()(t))return!0;if(!Ok()(e)&&!Ok()(t)){var n=e.props||{},r=n.children,o=mj(n,pj),i=t.props||{},a=i.children,l=mj(i,hj);return r&&a?ij(o,l)&&Cj(r,a):!r&&!a&&ij(o,l)}return!1},Zj=function(e,t){var n=[],r={};return xj(e).forEach((function(e,o){if(Ej(e))n.push(e);else if(e){var i=gj(e.type),a=t[i]||{},l=a.handler,s=a.once;if(l&&(!s||!r[i])){var c=l(e,i,o);n.push(c),r[i]=!0}}})),n},_j=["children","width","height","viewBox","className","style","title","desc"];function Tj(){return Tj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tj.apply(this,arguments)}function Mj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Aj(e){var n=e.children,r=e.width,o=e.height,i=e.viewBox,a=e.className,l=e.style,s=e.title,c=e.desc,u=Mj(e,_j),d=i||{width:r,height:o,x:0,y:0},f=(0,Mi.Z)("recharts-surface",a);return t.createElement("svg",Tj({},Oj(u,!0,"svg"),{className:f,width:r,height:o,style:l,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height)}),t.createElement("title",null,s),t.createElement("desc",null,c),n)}var Rj=["children","className"];function Nj(){return Nj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nj.apply(this,arguments)}function Ij(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Dj=t.forwardRef((function(e,n){var r=e.children,o=e.className,i=Ij(e,Rj),a=(0,Mi.Z)("recharts-layer",o);return t.createElement("g",Nj({className:a},Oj(i,!0),{ref:n}),r)}));function zj(e){return zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zj(e)}function Lj(){return Lj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lj.apply(this,arguments)}function Bj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Fj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fj(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wj(Object(n),!0).forEach((function(t){qj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qj(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=zj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=zj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hj(e){return Array.isArray(e)&&Qk(e[0])&&Qk(e[1])?e.join(" ~ "):e}var Vj=function(e){var n=e.separator,r=void 0===n?" : ":n,o=e.contentStyle,i=void 0===o?{}:o,a=e.itemStyle,l=void 0===a?{}:a,s=e.labelStyle,c=void 0===s?{}:s,u=e.payload,d=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,m=e.label,v=e.labelFormatter,g=e.accessibilityLayer,y=void 0!==g&&g,b=Uj({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),x=Uj({margin:0},c),w=!Ok()(m),S=w?m:"",k=(0,Mi.Z)("recharts-default-tooltip",p),j=(0,Mi.Z)("recharts-tooltip-label",h);w&&v&&void 0!==u&&null!==u&&(S=v(m,u));var E=y?{role:"status","aria-live":"assertive"}:{};return t.createElement("div",Lj({className:k,style:b},E),t.createElement("p",{className:j,style:x},t.isValidElement(S)?S:"".concat(S)),function(){if(u&&u.length){var e=(f?Rk()(u,f):u).map((function(e,n){if("none"===e.type)return null;var o=Uj({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},l),i=e.formatter||d||Hj,a=e.value,s=e.name,c=a,f=s;if(i&&null!=c&&null!=f){var p=i(a,s,e,n,u);if(Array.isArray(p)){var h=Bj(p,2);c=h[0],f=h[1]}else c=p}return t.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(n),style:o},Qk(f)?t.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Qk(f)?t.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,t.createElement("span",{className:"recharts-tooltip-item-value"},c),t.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return t.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function Yj(e){return Yj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yj(e)}function Gj(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Yj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $j="recharts-tooltip-wrapper",Kj={visibility:"hidden"};function Xj(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return(0,Mi.Z)($j,Gj(Gj(Gj(Gj({},"".concat($j,"-right"),Xk(n)&&t&&Xk(t.x)&&n>=t.x),"".concat($j,"-left"),Xk(n)&&t&&Xk(t.x)&&n<t.x),"".concat($j,"-bottom"),Xk(r)&&t&&Xk(t.y)&&r>=t.y),"".concat($j,"-top"),Xk(r)&&t&&Xk(t.y)&&r<t.y))}function Qj(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,o=e.offsetTopLeft,i=e.position,a=e.reverseDirection,l=e.tooltipDimension,s=e.viewBox,c=e.viewBoxDimension;if(i&&Xk(i[r]))return i[r];var u=n[r]-l-o,d=n[r]+o;return t[r]?a[r]?u:d:a[r]?u<s[r]?Math.max(d,s[r]):Math.max(u,s[r]):d+l>s[r]+c?Math.max(u,s[r]):Math.max(d,s[r])}function Jj(e){return Jj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jj(e)}function eE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eE(Object(n),!0).forEach((function(t){sE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cE(r.key),r)}}function rE(e,t,n){return t=iE(t),function(e,t){if(t&&("object"===Jj(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return aE(e)}(e,oE()?Reflect.construct(t,n||[],iE(e).constructor):t.apply(e,n))}function oE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oE=function(){return!!e})()}function iE(e){return iE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},iE(e)}function aE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lE(e,t){return lE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lE(e,t)}function sE(e,t,n){return(t=cE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cE(e){var t=function(e,t){if("object"!=Jj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jj(t)?t:String(t)}var uE=function(e){function n(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return sE(aE(e=rE(this,n,[].concat(r))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sE(aE(e),"handleKeyDown",(function(t){var n,r,o,i;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=e.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(o=null===(i=e.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),e}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lE(e,t)}(n,e),r=n,o=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,n=this.props,r=n.active,o=n.allowEscapeViewBox,i=n.animationDuration,a=n.animationEasing,l=n.children,s=n.coordinate,c=n.hasPayload,u=n.isAnimationActive,d=n.offset,f=n.position,p=n.reverseDirection,h=n.useTranslate3d,m=n.viewBox,v=n.wrapperStyle,g=function(e){var t,n,r=e.allowEscapeViewBox,o=e.coordinate,i=e.offsetTopLeft,a=e.position,l=e.reverseDirection,s=e.tooltipBox,c=e.useTranslate3d,u=e.viewBox;return{cssProperties:s.height>0&&s.width>0&&o?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:t=Qj({allowEscapeViewBox:r,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:l,tooltipDimension:s.width,viewBox:u,viewBoxDimension:u.width}),translateY:n=Qj({allowEscapeViewBox:r,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:l,tooltipDimension:s.height,viewBox:u,viewBoxDimension:u.height}),useTranslate3d:c}):Kj,cssClasses:Xj({translateX:t,translateY:n,coordinate:o})}}({allowEscapeViewBox:o,coordinate:s,offsetTopLeft:d,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:m}),y=g.cssClasses,b=g.cssProperties,x=tE(tE({transition:u&&r?"transform ".concat(i,"ms ").concat(a):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&c?"visible":"hidden",position:"absolute",top:0,left:0},v);return t.createElement("div",{tabIndex:-1,className:y,style:x,ref:function(t){e.wrapperNode=t}},l)}}],o&&nE(r.prototype,o),i&&nE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent),dE={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return dE[e]},set:function(e,t){if("string"===typeof e)dE[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){dE[t]=e[t]}))}}},fE=n(6339),pE=n.n(fE);function hE(e,t,n){return!0===t?pE()(e,n):Pk()(t)?pE()(e,t):e}function mE(e){return mE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mE(e)}function vE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vE(Object(n),!0).forEach((function(t){kE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jE(r.key),r)}}function bE(e,t,n){return t=wE(t),function(e,t){if(t&&("object"===mE(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xE()?Reflect.construct(t,n||[],wE(e).constructor):t.apply(e,n))}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xE=function(){return!!e})()}function wE(e){return wE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wE(e)}function SE(e,t){return SE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},SE(e,t)}function kE(e,t,n){return(t=jE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jE(e){var t=function(e,t){if("object"!=mE(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mE(t)?t:String(t)}function EE(e){return e.dataKey}var OE=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),bE(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&SE(e,t)}(n,e),r=n,o=[{key:"render",value:function(){var e=this,n=this.props,r=n.active,o=n.allowEscapeViewBox,i=n.animationDuration,a=n.animationEasing,l=n.content,s=n.coordinate,c=n.filterNull,u=n.isAnimationActive,d=n.offset,f=n.payload,p=n.payloadUniqBy,h=n.position,m=n.reverseDirection,v=n.useTranslate3d,g=n.viewBox,y=n.wrapperStyle,b=null!==f&&void 0!==f?f:[];c&&b.length&&(b=hE(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,EE));var x=b.length>0;return t.createElement(uE,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:u,active:r,coordinate:s,hasPayload:x,offset:d,position:h,reverseDirection:m,useTranslate3d:v,viewBox:g,wrapperStyle:y},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):"function"===typeof e?t.createElement(e,n):t.createElement(Vj,n)}(l,gE(gE({},this.props),{},{payload:b})))}}],o&&yE(r.prototype,o),i&&yE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);kE(OE,"displayName","Tooltip"),kE(OE,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!dE.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var CE=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]},PE=n(2085),ZE=n.n(PE),_E=(Math.abs,Math.atan2,Math.cos),TE=(Math.max,Math.min,Math.sin),ME=Math.sqrt,AE=Math.PI,RE=2*AE;var NE,IE,DE,zE,LE,BE,FE,WE,UE,qE,HE,VE,YE,GE,$E={draw:function(e,t){var n=ME(t/AE);e.moveTo(n,0),e.arc(0,0,n,0,RE)}},KE={draw:function(e,t){var n=ME(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},XE=ME(1/3),QE=2*XE,JE={draw:function(e,t){var n=ME(t/QE),r=n*XE;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},eO={draw:function(e,t){var n=ME(t),r=-n/2;e.rect(r,r,n,n)}},tO=TE(AE/10)/TE(7*AE/10),nO=TE(RE/10)*tO,rO=-_E(RE/10)*tO,oO={draw:function(e,t){var n=ME(.8908130915292852*t),r=nO*n,o=rO*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=RE*i/5,l=_E(a),s=TE(a);e.lineTo(s*n,-l*n),e.lineTo(l*r-s*o,s*r+l*o)}e.closePath()}},iO=ME(3),aO={draw:function(e,t){var n=-ME(t/(3*iO));e.moveTo(0,2*n),e.lineTo(-iO*n,-n),e.lineTo(iO*n,-n),e.closePath()}},lO=-.5,sO=ME(3)/2,cO=1/ME(12),uO=3*(cO/2+1),dO={draw:function(e,t){var n=ME(t/uO),r=n/2,o=n*cO,i=r,a=n*cO+n,l=-i,s=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(l,s),e.lineTo(lO*r-sO*o,sO*r+lO*o),e.lineTo(lO*i-sO*a,sO*i+lO*a),e.lineTo(lO*l-sO*s,sO*l+lO*s),e.lineTo(lO*r+sO*o,lO*o-sO*r),e.lineTo(lO*i+sO*a,lO*a-sO*i),e.lineTo(lO*l+sO*s,lO*s-sO*l),e.closePath()}};function fO(e){return function(){return e}}var pO=Math.PI,hO=2*pO,mO=1e-6,vO=hO-mO;function gO(e){this._+=e[0];for(var t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}var yO=function(){function e(t){W(this,e),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?gO:function(e){var t=Math.floor(e);if(!(t>=0))throw new Error("invalid digits: ".concat(e));if(t>15)return gO;var n=Math.pow(10,t);return function(e){this._+=e[0];for(var t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(t)}return H(e,[{key:"moveTo",value:function(e,t){this._append(NE||(NE=vs(["M",",",""])),this._x0=this._x1=+e,this._y0=this._y1=+t)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(IE||(IE=vs(["Z"]))))}},{key:"lineTo",value:function(e,t){this._append(DE||(DE=vs(["L",",",""])),this._x1=+e,this._y1=+t)}},{key:"quadraticCurveTo",value:function(e,t,n,r){this._append(zE||(zE=vs(["Q",",",",",",",""])),+e,+t,this._x1=+n,this._y1=+r)}},{key:"bezierCurveTo",value:function(e,t,n,r,o,i){this._append(LE||(LE=vs(["C",",",",",",",",",",",""])),+e,+t,+n,+r,this._x1=+o,this._y1=+i)}},{key:"arcTo",value:function(e,t,n,r,o){if(e=+e,t=+t,n=+n,r=+r,(o=+o)<0)throw new Error("negative radius: ".concat(o));var i=this._x1,a=this._y1,l=n-e,s=r-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append(BE||(BE=vs(["M",",",""])),this._x1=e,this._y1=t);else if(d>mO)if(Math.abs(u*l-s*c)>mO&&o){var f=n-i,p=r-a,h=l*l+s*s,m=f*f+p*p,v=Math.sqrt(h),g=Math.sqrt(d),y=o*Math.tan((pO-Math.acos((h+d-m)/(2*v*g)))/2),b=y/g,x=y/v;Math.abs(b-1)>mO&&this._append(WE||(WE=vs(["L",",",""])),e+b*c,t+b*u),this._append(UE||(UE=vs(["A",",",",0,0,",",",",",""])),o,o,+(u*f>c*p),this._x1=e+x*l,this._y1=t+x*s)}else this._append(FE||(FE=vs(["L",",",""])),this._x1=e,this._y1=t);else;}},{key:"arc",value:function(e,t,n,r,o,i){if(e=+e,t=+t,i=!!i,(n=+n)<0)throw new Error("negative radius: ".concat(n));var a=n*Math.cos(r),l=n*Math.sin(r),s=e+a,c=t+l,u=1^i,d=i?r-o:o-r;null===this._x1?this._append(qE||(qE=vs(["M",",",""])),s,c):(Math.abs(this._x1-s)>mO||Math.abs(this._y1-c)>mO)&&this._append(HE||(HE=vs(["L",",",""])),s,c),n&&(d<0&&(d=d%hO+hO),d>vO?this._append(VE||(VE=vs(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),n,n,u,e-a,t-l,n,n,u,this._x1=s,this._y1=c):d>mO&&this._append(YE||(YE=vs(["A",",",",0,",",",",",",",""])),n,n,+(d>=pO),u,this._x1=e+n*Math.cos(o),this._y1=t+n*Math.sin(o)))}},{key:"rect",value:function(e,t,n,r){this._append(GE||(GE=vs(["M",",","h","v","h","Z"])),this._x0=this._x1=+e,this._y0=this._y1=+t,n=+n,+r,-n)}},{key:"toString",value:function(){return this._}}]),e}();function bO(e){var t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{var r=Math.floor(n);if(!(r>=0))throw new RangeError("invalid digits: ".concat(n));t=r}return e},function(){return new yO(t)}}yO.prototype;ME(3),ME(3);function xO(e){return xO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xO(e)}var wO=["type","size","sizeType"];function SO(){return SO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SO.apply(this,arguments)}function kO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kO(Object(n),!0).forEach((function(t){EO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EO(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=xO(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xO(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OO(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var CO={symbolCircle:$E,symbolCross:KE,symbolDiamond:JE,symbolSquare:eO,symbolStar:oO,symbolTriangle:aO,symbolWye:dO},PO=Math.PI/180,ZO=function(e){var n=e.type,r=void 0===n?"circle":n,o=e.size,i=void 0===o?64:o,a=e.sizeType,l=void 0===a?"area":a,s=jO(jO({},OO(e,wO)),{},{type:r,size:i,sizeType:l}),c=s.className,u=s.cx,d=s.cy,f=Oj(s,!0);return u===+u&&d===+d&&i===+i?t.createElement("path",SO({},f,{className:(0,Mi.Z)("recharts-symbols",c),transform:"translate(".concat(u,", ").concat(d,")"),d:function(){var e=function(e){var t="symbol".concat(ZE()(e));return CO[t]||$E}(r),t=function(e,t){var n=null,r=bO(o);function o(){var o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return e="function"===typeof e?e:fO(e||$E),t="function"===typeof t?t:fO(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"===typeof t?t:fO(t),o):e},o.size=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),o):t},o.context=function(e){return arguments.length?(n=null==e?null:e,o):n},o}().type(e).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*PO;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(i,l,r));return t()}()})):null};function _O(e){return _O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_O(e)}function TO(){return TO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TO.apply(this,arguments)}function MO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function AO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LO(r.key),r)}}function RO(e,t,n){return t=IO(t),function(e,t){if(t&&("object"===_O(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NO()?Reflect.construct(t,n||[],IO(e).constructor):t.apply(e,n))}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NO=function(){return!!e})()}function IO(e){return IO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IO(e)}function DO(e,t){return DO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DO(e,t)}function zO(e,t,n){return(t=LO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LO(e){var t=function(e,t){if("object"!=_O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_O(t)?t:String(t)}ZO.registerSymbol=function(e,t){CO["symbol".concat(ZE()(e))]=t};var BO=32,FO=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),RO(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DO(e,t)}(n,e),r=n,o=[{key:"renderIcon",value:function(e){var n=this.props.inactiveColor,r=16,o=BO/6,i=BO/3,a=e.inactive?n:e.color;if("plainline"===e.type)return t.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:BO,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return t.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(BO,"M").concat(2*i,",").concat(r,"\n A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return t.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(BO,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(t.isValidElement(e.legendIcon)){var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MO(Object(n),!0).forEach((function(t){zO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete l.legendIcon,t.cloneElement(e.legendIcon,l)}return t.createElement(ZO,{fill:a,cx:r,cy:r,size:BO,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,n=this.props,r=n.payload,o=n.iconSize,i=n.layout,a=n.formatter,l=n.inactiveColor,s={x:0,y:0,width:BO,height:BO},c={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(n,r){var i=n.formatter||a,d=(0,Mi.Z)(zO(zO({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",n.inactive));if("none"===n.type)return null;var f=Pk()(n.value)?null:n.value;CE(!Pk()(n.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=n.inactive?l:n.color;return t.createElement("li",TO({className:d,style:c,key:"legend-item-".concat(r)},fj(e.props,n,r)),t.createElement(Aj,{width:o,height:o,viewBox:s,style:u},e.renderIcon(n)),t.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,n,r):f))}))}},{key:"render",value:function(){var e=this.props,n=e.payload,r=e.layout,o=e.align;if(!n||!n.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?o:"left"};return t.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],o&&AO(r.prototype,o),i&&AO(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function WO(e){return WO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WO(e)}zO(FO,"displayName","Legend"),zO(FO,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var UO=["ref"];function qO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qO(Object(n),!0).forEach((function(t){QO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function VO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,JO(r.key),r)}}function YO(e,t,n){return t=$O(t),function(e,t){if(t&&("object"===WO(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return KO(e)}(e,GO()?Reflect.construct(t,n||[],$O(e).constructor):t.apply(e,n))}function GO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(GO=function(){return!!e})()}function $O(e){return $O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$O(e)}function KO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){return XO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XO(e,t)}function QO(e,t,n){return(t=JO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JO(e){var t=function(e,t){if("object"!=WO(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=WO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==WO(t)?t:String(t)}function eC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tC(e){return e.value}var nC=function(e){function n(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return QO(KO(e=YO(this,n,[].concat(r))),"lastBoundingBox",{width:-1,height:-1}),e}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XO(e,t)}(n,e),r=n,o=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?HO({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,l=r.margin,s=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((s||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:l&&l.right||0}:{left:l&&l.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:l&&l.bottom||0}:{top:l&&l.top||0}),HO(HO({},t),n)}},{key:"render",value:function(){var e=this,n=this.props,r=n.content,o=n.width,i=n.height,a=n.wrapperStyle,l=n.payloadUniqBy,s=n.payload,c=HO(HO({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return t.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if("function"===typeof e)return t.createElement(e,n);n.ref;var r=eC(n,UO);return t.createElement(FO,r)}(r,HO(HO({},this.props),{},{payload:hE(s,l,tC)})))}}],i=[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&Xk(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],o&&VO(r.prototype,o),i&&VO(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rC.apply(this,arguments)}QO(nC,"displayName","Legend"),QO(nC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var oC=function(e){var n=e.cx,r=e.cy,o=e.r,i=e.className,a=(0,Mi.Z)("recharts-dot",i);return n===+n&&r===+r&&o===+o?t.createElement("circle",rC({},Oj(e,!1),dj(e),{className:a,cx:n,cy:r,r:o})):null},iC=n(2007),aC=n.n(iC),lC=Object.getOwnPropertyNames,sC=Object.getOwnPropertySymbols,cC=Object.prototype.hasOwnProperty;function uC(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function dC(e){return function(t,n,r){if(!t||!n||"object"!==typeof t||"object"!==typeof n)return e(t,n,r);var o=r.cache,i=o.get(t),a=o.get(n);if(i&&a)return i===n&&a===t;o.set(t,n),o.set(n,t);var l=e(t,n,r);return o.delete(t),o.delete(n),l}}function fC(e){return lC(e).concat(sC(e))}var pC=Object.hasOwn||function(e,t){return cC.call(e,t)};function hC(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var mC="_owner",vC=Object.getOwnPropertyDescriptor,gC=Object.keys;function yC(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function bC(e,t){return hC(e.getTime(),t.getTime())}function xC(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.entries(),l=0;(r=a.next())&&!r.done;){for(var s=t.entries(),c=!1,u=0;(o=s.next())&&!o.done;){var d=r.value,f=d[0],p=d[1],h=o.value,m=h[0],v=h[1];c||i[u]||!(c=n.equals(f,m,l,u,e,t,n)&&n.equals(p,v,f,m,e,t,n))||(i[u]=!0),u++}if(!c)return!1;l++}return!0}function wC(e,t,n){var r,o=gC(e),i=o.length;if(gC(t).length!==i)return!1;for(;i-- >0;){if((r=o[i])===mC&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!pC(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function SC(e,t,n){var r,o,i,a=fC(e),l=a.length;if(fC(t).length!==l)return!1;for(;l-- >0;){if((r=a[l])===mC&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!pC(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(o=vC(e,r),i=vC(t,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function kC(e,t){return hC(e.valueOf(),t.valueOf())}function jC(e,t){return e.source===t.source&&e.flags===t.flags}function EC(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.values();(r=a.next())&&!r.done;){for(var l=t.values(),s=!1,c=0;(o=l.next())&&!o.done;)s||i[c]||!(s=n.equals(r.value,o.value,r.value,o.value,e,t,n))||(i[c]=!0),c++;if(!s)return!1}return!0}function OC(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var CC="[object Arguments]",PC="[object Boolean]",ZC="[object Date]",_C="[object Map]",TC="[object Number]",MC="[object Object]",AC="[object RegExp]",RC="[object Set]",NC="[object String]",IC=Array.isArray,DC="function"===typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,zC=Object.assign,LC=Object.prototype.toString.call.bind(Object.prototype.toString);var BC=FC();FC({strict:!0}),FC({circular:!0}),FC({circular:!0,strict:!0}),FC({createInternalComparator:function(){return hC}}),FC({strict:!0,createInternalComparator:function(){return hC}}),FC({circular:!0,createInternalComparator:function(){return hC}}),FC({circular:!0,createInternalComparator:function(){return hC},strict:!0});function FC(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,o=e.createInternalComparator,i=e.createState,a=e.strict,l=void 0!==a&&a,s=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,o={areArraysEqual:r?SC:yC,areDatesEqual:bC,areMapsEqual:r?uC(xC,SC):xC,areObjectsEqual:r?SC:wC,arePrimitiveWrappersEqual:kC,areRegExpsEqual:jC,areSetsEqual:r?uC(EC,SC):EC,areTypedArraysEqual:r?SC:OC};if(n&&(o=zC({},o,n(o))),t){var i=dC(o.areArraysEqual),a=dC(o.areMapsEqual),l=dC(o.areObjectsEqual),s=dC(o.areSetsEqual);o=zC({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:l,areSetsEqual:s})}return o}(e),c=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,l=e.areSetsEqual,s=e.areTypedArraysEqual;return function(e,c,u){if(e===c)return!0;if(null==e||null==c||"object"!==typeof e||"object"!==typeof c)return e!==e&&c!==c;var d=e.constructor;if(d!==c.constructor)return!1;if(d===Object)return o(e,c,u);if(IC(e))return t(e,c,u);if(null!=DC&&DC(e))return s(e,c,u);if(d===Date)return n(e,c,u);if(d===RegExp)return a(e,c,u);if(d===Map)return r(e,c,u);if(d===Set)return l(e,c,u);var f=LC(e);return f===ZC?n(e,c,u):f===AC?a(e,c,u):f===_C?r(e,c,u):f===RC?l(e,c,u):f===MC?"function"!==typeof e.then&&"function"!==typeof c.then&&o(e,c,u):f===CC?o(e,c,u):(f===PC||f===TC||f===NC)&&i(e,c,u)}}(s),u=o?o(c):(t=c,function(e,n,r,o,i,a,l){return t(e,n,l)});return function(e){var t=e.circular,n=e.comparator,r=e.createState,o=e.equals,i=e.strict;if(r)return function(e,a){var l=r(),s=l.cache,c=void 0===s?t?new WeakMap:void 0:s,u=l.meta;return n(e,a,{cache:c,equals:o,meta:u,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return n(e,t,a)}}({circular:r,comparator:c,createState:i,equals:u,strict:l})}function WC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame((function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):function(e){"undefined"!==typeof requestAnimationFrame&&requestAnimationFrame(e)}(r)}))}function UC(e){return UC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UC(e)}function qC(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return HC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VC(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=qC(r),i=o[0],a=o.slice(1);return"number"===typeof i?void WC(n.bind(null,a),i):(n(i),void WC(n.bind(null,a)))}"object"===UC(r)&&e(r),"function"===typeof r&&r()}};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function YC(e){return YC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YC(e)}function GC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GC(Object(n),!0).forEach((function(t){KC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KC(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==YC(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==YC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===YC(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XC=function(e){return e},QC=function(e,t){return Object.keys(t).reduce((function(n,r){return $C($C({},n),{},KC({},r,e(r,t[r])))}),{})},JC=function(e,t,n){return e.map((function(e){return"".concat((r=e,r.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(n);var r})).join(",")};function eP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||nP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tP(e){return function(e){if(Array.isArray(e))return rP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||nP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nP(e,t){if(e){if("string"===typeof e)return rP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rP(e,t):void 0}}function rP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oP=1e-4,iP=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},aP=function(e,t){return e.map((function(e,n){return e*Math.pow(t,n)})).reduce((function(e,t){return e+t}))},lP=function(e,t){return function(n){var r=iP(e,t);return aP(r,n)}},sP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var l=t[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s=eP(l[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),4);r=s[0],o=s[1],i=s[2],a=s[3]}}[r,i,o,a].every((function(e){return"number"===typeof e&&e>=0&&e<=1}));var c,u,d=lP(r,i),f=lP(o,a),p=(c=r,u=i,function(e){var t=iP(c,u),n=[].concat(tP(t.map((function(e,t){return e*t})).slice(1)),[0]);return aP(n,e)}),h=function(e){return e>1?1:e<0?0:e},m=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=d(n)-t,i=p(n);if(Math.abs(o-t)<oP||i<oP)return f(n);n=h(n-o/i)}return f(n)};return m.isStepper=!1,m},cP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"===typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return sP(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,l=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,l=r*a/1e3+e;return Math.abs(l-t)<oP&&Math.abs(i)<oP?[t,0]:[l,i]};return l.isStepper=!0,l.dt=a,l}();default:if("cubic-bezier"===r.split("(")[0])return sP(r)}return"function"===typeof r?r:null};function uP(e){return uP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uP(e)}function dP(e){return function(e){if(Array.isArray(e))return gP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fP(Object(n),!0).forEach((function(t){hP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hP(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==uP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==uP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===uP(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||vP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vP(e,t){if(e){if("string"===typeof e)return gP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gP(e,t):void 0}}function gP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yP=function(e,t,n){return e+(t-e)*n},bP=function(e){return e.from!==e.to},xP=function e(t,n,r){var o=QC((function(e,n){if(bP(n)){var r=mP(t(n.from,n.to,n.velocity),2),o=r[0],i=r[1];return pP(pP({},n),{},{from:o,velocity:i})}return n}),n);return r<1?QC((function(e,t){return bP(t)?pP(pP({},t),{},{velocity:yP(t.velocity,o[e].velocity,r),from:yP(t.from,o[e].from,r)}):t}),n):e(t,o,r-1)},wP=function(e,t,n,r,o){var i,a,l,s,c=(i=e,a=t,[Object.keys(i),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),u=c.reduce((function(n,r){return pP(pP({},n),{},hP({},r,[e[r],t[r]]))}),{}),d=c.reduce((function(n,r){return pP(pP({},n),{},hP({},r,{from:e[r],velocity:0,to:t[r]}))}),{}),f=-1,p=function(){return null};return p=n.isStepper?function(r){l||(l=r);var i=(r-l)/n.dt;d=xP(n,d,i),o(pP(pP(pP({},e),t),QC((function(e,t){return t.from}),d))),l=r,Object.values(d).filter(bP).length&&(f=requestAnimationFrame(p))}:function(i){s||(s=i);var a=(i-s)/r,l=QC((function(e,t){return yP.apply(void 0,dP(t).concat([n(a)]))}),u);if(o(pP(pP(pP({},e),t),l)),a<1)f=requestAnimationFrame(p);else{var c=QC((function(e,t){return yP.apply(void 0,dP(t).concat([n(1)]))}),u);o(pP(pP(pP({},e),t),c))}},function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}};function SP(e){return SP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SP(e)}var kP=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function jP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EP(e){return function(e){if(Array.isArray(e))return OP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return OP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OP(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function CP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CP(Object(n),!0).forEach((function(t){ZP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZP(e,t,n){return(t=TP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TP(r.key),r)}}function TP(e){var t=function(e,t){if("object"!==SP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==SP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===SP(t)?t:String(t)}function MP(e,t){return MP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},MP(e,t)}function AP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IP(e);if(t){var o=IP(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RP(this,n)}}function RP(e,t){if(t&&("object"===SP(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return NP(e)}function NP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IP(e){return IP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IP(e)}var DP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&MP(e,t)}(a,e);var n,r,o,i=AP(a);function a(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,e,t)).props,o=r.isActive,l=r.attributeName,s=r.from,c=r.to,u=r.steps,d=r.children,f=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(NP(n)),n.changeStyle=n.changeStyle.bind(NP(n)),!o||f<=0)return n.state={style:{}},"function"===typeof d&&(n.state={style:c}),RP(n);if(u&&u.length)n.state={style:u[0].style};else if(s){if("function"===typeof d)return n.state={style:s},RP(n);n.state={style:l?ZP({},l,s):s}}else n.state={style:{}};return n}return n=a,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,a=t.to,l=t.from,s=this.state.style;if(r)if(n){if(!(BC(e.to,a)&&e.canBegin&&e.isActive)){var c=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=c||i?l:e.to;if(this.state&&s){var d={style:o?ZP({},o,u):u};(o&&s[o]!==u||!o&&s!==u)&&this.setState(d)}this.runAnimation(PP(PP({},this.props),{},{from:u,begin:0}))}}else{var f={style:o?ZP({},o,a):a};this.state&&s&&(o&&s[o]!==a||!o&&s!==a)&&this.setState(f)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,o=e.duration,i=e.easing,a=e.begin,l=e.onAnimationEnd,s=e.onAnimationStart,c=wP(n,r,cP(i),o,this.changeStyle);this.manager.start([s,a,function(){t.stopJSAnimation=c()},o,l])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,o=e.onAnimationStart,i=n[0],a=i.style,l=i.duration,s=void 0===l?0:l;return this.manager.start([o].concat(EP(n.reduce((function(e,r,o){if(0===o)return e;var i=r.duration,a=r.easing,l=void 0===a?"ease":a,s=r.style,c=r.properties,u=r.onAnimationEnd,d=o>0?n[o-1]:r,f=c||Object.keys(s);if("function"===typeof l||"spring"===l)return[].concat(EP(e),[t.runJSAnimation.bind(t,{from:d.style,to:s,duration:i,easing:l}),i]);var p=JC(f,i,l),h=PP(PP(PP({},d.style),s),{},{transition:p});return[].concat(EP(e),[h,i,u]).filter(XC)}),[a,Math.max(s,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=VC());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,l=e.onAnimationEnd,s=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(s.length>1)this.runStepAnimation(e);else{var d=r?ZP({},r,o):o,f=JC(Object.keys(d),n,i);u.start([a,t,PP(PP({},d),{},{transition:f}),n,l])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,n=e.children,r=(e.begin,e.duration),o=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,jP(e,kP)),a=t.Children.count(n),l=this.state.style;if("function"===typeof n)return n(l);if(!o||0===a||r<=0)return n;var s=function(e){var n=e.props,r=n.style,o=void 0===r?{}:r,a=n.className;return(0,t.cloneElement)(e,PP(PP({},i),{},{style:PP(PP({},o),l),className:a}))};return 1===a?s(t.Children.only(n)):t.createElement("div",null,t.Children.map(n,(function(e){return s(e)})))}}],r&&_P(n.prototype,r),o&&_P(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.PureComponent);DP.displayName="Animate",DP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},DP.propTypes={from:aC().oneOfType([aC().object,aC().string]),to:aC().oneOfType([aC().object,aC().string]),attributeName:aC().string,duration:aC().number,begin:aC().number,easing:aC().oneOfType([aC().string,aC().func]),steps:aC().arrayOf(aC().shape({duration:aC().number.isRequired,style:aC().object.isRequired,easing:aC().oneOfType([aC().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),aC().func]),properties:aC().arrayOf("string"),onAnimationEnd:aC().func})),children:aC().oneOfType([aC().node,aC().func]),isActive:aC().bool,canBegin:aC().bool,onAnimationEnd:aC().func,shouldReAnimate:aC().bool,onAnimationStart:aC().func,onAnimationReStart:aC().func};var zP=DP,LP=["children","appearOptions","enterOptions","leaveOptions"];function BP(e){return BP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BP(e)}function FP(){return FP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FP.apply(this,arguments)}function WP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function UP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UP(Object(n),!0).forEach((function(t){KP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XP(r.key),r)}}function VP(e,t){return VP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},VP(e,t)}function YP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$P(e);if(t){var o=$P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===BP(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GP(e)}(this,n)}}function GP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e){return $P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$P(e)}function KP(e,t,n){return(t=XP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XP(e){var t=function(e,t){if("object"!==BP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==BP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===BP(t)?t:String(t)}var QP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(n)?n:0},JP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VP(e,t)}(a,e);var n,r,o,i=YP(a);function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),KP(GP(e=i.call(this)),"handleEnter",(function(t,n){var r=e.props,o=r.appearOptions,i=r.enterOptions;e.handleStyleActive(n?o:i)})),KP(GP(e),"handleExit",(function(){var t=e.props.leaveOptions;e.handleStyleActive(t)})),e.state={isActive:!1},e}return n=a,r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(qP(qP({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,n=e.enterOptions,r=e.leaveOptions;return QP(t)+QP(n)+QP(r)}},{key:"render",value:function(){var e=this,n=this.props,r=n.children,o=(n.appearOptions,n.enterOptions,n.leaveOptions,WP(n,LP));return t.createElement(Fa,FP({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return t.createElement(zP,e.state,t.Children.only(r))}))}}],r&&HP(n.prototype,r),o&&HP(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.Component);JP.propTypes={appearOptions:aC().object,enterOptions:aC().object,leaveOptions:aC().object,children:aC().element};var eZ=JP;function tZ(e){var n=e.component,r=e.children,o=e.appear,i=e.enter,a=e.leave;return t.createElement(Ss,{component:n},t.Children.map(r,(function(e,n){return t.createElement(eZ,{appearOptions:o,enterOptions:i,leaveOptions:a,key:"child-".concat(n)},e)})))}tZ.propTypes={appear:aC().object,enter:aC().object,leave:aC().object,children:aC().oneOfType([aC().array,aC().element]),component:aC().any},tZ.defaultProps={component:"span"};var nZ=zP;function rZ(e){return rZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rZ(e)}function oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oZ.apply(this,arguments)}function iZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return aZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aZ(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lZ(Object(n),!0).forEach((function(t){cZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cZ(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rZ(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uZ=function(e,t,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),l=r>=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(e,",").concat(t+l*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+s*u[0],",").concat(t)),i+="L ".concat(e+n-s*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+l*u[1])),i+="L ".concat(e+n,",").concat(t+r-l*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n ").concat(e+n-s*u[2],",").concat(t+r)),i+="L ".concat(e+s*u[3],",").concat(t+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-l*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(e,",").concat(t+l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+s*f,",").concat(t,"\n L ").concat(e+n-s*f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+l*f,"\n L ").concat(e+n,",").concat(t+r-l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-s*f,",").concat(t+r,"\n L ").concat(e+s*f,",").concat(t+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-l*f," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},dZ=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,l=t.height;if(Math.abs(a)>0&&Math.abs(l)>0){var s=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+l),d=Math.max(i,i+l);return n>=s&&n<=c&&r>=u&&r<=d}return!1},fZ={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},pZ=function(e){var n=sZ(sZ({},fZ),e),r=(0,t.useRef)(),o=iZ((0,t.useState)(-1),2),i=o[0],a=o[1];(0,t.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch(t){}}),[]);var l=n.x,s=n.y,c=n.width,u=n.height,d=n.radius,f=n.className,p=n.animationEasing,h=n.animationDuration,m=n.animationBegin,v=n.isAnimationActive,g=n.isUpdateAnimationActive;if(l!==+l||s!==+s||c!==+c||u!==+u||0===c||0===u)return null;var y=(0,Mi.Z)("recharts-rectangle",f);return g?t.createElement(nZ,{canBegin:i>0,from:{width:c,height:u,x:l,y:s},to:{width:c,height:u,x:l,y:s},duration:h,animationEasing:p,isActive:g},(function(e){var o=e.width,a=e.height,l=e.x,s=e.y;return t.createElement(nZ,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:h,isActive:v,easing:p},t.createElement("path",oZ({},Oj(n,!0),{className:y,d:uZ(l,s,o,a,d),ref:r})))})):t.createElement("path",oZ({},Oj(n,!0),{className:y,d:uZ(l,s,c,u,d)}))};function hZ(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function mZ(e,t){switch(arguments.length){case 0:break;case 1:"function"===typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"===typeof t?this.interpolator(t):this.range(t)}return this}var vZ=function(e){$(n,e);var t=K(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xZ;if(W(this,n),r=t.call(this),Object.defineProperties(V(r),{_intern:{value:new Map},_key:{value:o}}),null!=e){var i,a=J(e);try{for(a.s();!(i=a.n()).done;){var l=(0,D.Z)(i.value,2),s=l[0],c=l[1];r.set(s,c)}}catch(u){a.e(u)}finally{a.f()}}return r}return H(n,[{key:"get",value:function(e){return G(Y(n.prototype),"get",this).call(this,gZ(this,e))}},{key:"has",value:function(e){return G(Y(n.prototype),"has",this).call(this,gZ(this,e))}},{key:"set",value:function(e,t){return G(Y(n.prototype),"set",this).call(this,yZ(this,e),t)}},{key:"delete",value:function(e){return G(Y(n.prototype),"delete",this).call(this,bZ(this,e))}}]),n}(X(Map));function gZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)?n.get(r):t}function yZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)?n.get(r):(n.set(r,t),t)}function bZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)&&(t=n.get(r),n.delete(r)),t}function xZ(e){return null!==e&&"object"===typeof e?e.valueOf():e}var wZ=Symbol("implicit");function SZ(){var e=new vZ,t=[],n=[],r=wZ;function o(o){var i=e.get(o);if(void 0===i){if(r!==wZ)return r;e.set(o,i=t.push(o)-1)}return n[i%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new vZ;var r,i=J(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;e.has(a)||e.set(a,t.push(a)-1)}}catch(l){i.e(l)}finally{i.f()}return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return SZ(t,n).unknown(r)},hZ.apply(o,arguments),o}function kZ(){var e,t,n=SZ().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,l=!1,s=0,c=0,u=.5;function d(){var n=r().length,d=a<i,f=d?a:i,p=d?i:a;e=(p-f)/Math.max(1,n-s+2*c),l&&(e=Math.floor(e)),f+=(p-f-e*(n-s))*u,t=e*(1-s),l&&(f=Math.round(f),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return f+e*t}));return o(d?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){var t;return arguments.length?(t=(0,D.Z)(e,2),i=t[0],a=t[1],i=+i,a=+a,d()):[i,a]},n.rangeRound=function(e){var t;return t=(0,D.Z)(e,2),i=t[0],a=t[1],i=+i,a=+a,l=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(l=!!e,d()):l},n.padding=function(e){return arguments.length?(s=Math.min(1,c=+e),d()):s},n.paddingInner=function(e){return arguments.length?(s=Math.min(1,e),d()):s},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return kZ(r(),[i,a]).round(l).paddingInner(s).paddingOuter(c).align(u)},hZ.apply(d(),arguments)}function jZ(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return jZ(t())},e}function EZ(){return jZ(kZ.apply(null,arguments).paddingInner(1))}function OZ(e){return OZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OZ(e)}function CZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CZ(Object(n),!0).forEach((function(t){ZZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZZ(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=OZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=OZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==OZ(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _Z={widthCache:{},cacheCount:0},TZ={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},MZ="recharts_measurement_span";var AZ=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||dE.isSsr)return{width:0,height:0};var n=function(e){var t=PZ({},e);return Object.keys(t).forEach((function(e){t[e]||delete t[e]})),t}(t),r=JSON.stringify({text:e,copyStyle:n});if(_Z.widthCache[r])return _Z.widthCache[r];try{var o=document.getElementById(MZ);o||((o=document.createElement("span")).setAttribute("id",MZ),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var i=PZ(PZ({},TZ),n);Object.assign(o.style,i),o.textContent="".concat(e);var a=o.getBoundingClientRect(),l={width:a.width,height:a.height};return _Z.widthCache[r]=l,++_Z.cacheCount>2e3&&(_Z.cacheCount=0,_Z.widthCache={}),l}catch(s){return{width:0,height:0}}};function RZ(e){return RZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RZ(e)}function NZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return IZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IZ(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zZ(r.key),r)}}function zZ(e){var t=function(e,t){if("object"!=RZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=RZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==RZ(t)?t:String(t)}var LZ=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,BZ=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,FZ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,WZ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,UZ={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},qZ=Object.keys(UZ),HZ="NaN";var VZ=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""===n||FZ.test(n)||(this.num=NaN,this.unit=""),qZ.includes(n)&&(this.num=function(e,t){return e*UZ[t]}(t,n),this.unit="px")}var t,n,r;return t=e,r=[{key:"parse",value:function(t){var n,r=NZ(null!==(n=WZ.exec(t))&&void 0!==n?n:[],3),o=r[1],i=r[2];return new e(parseFloat(o),null!==i&&void 0!==i?i:"")}}],(n=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&DZ(t.prototype,n),r&&DZ(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function YZ(e){if(e.includes(HZ))return HZ;for(var t=e;t.includes("*")||t.includes("/");){var n,r=NZ(null!==(n=LZ.exec(t))&&void 0!==n?n:[],4),o=r[1],i=r[2],a=r[3],l=VZ.parse(null!==o&&void 0!==o?o:""),s=VZ.parse(null!==a&&void 0!==a?a:""),c="*"===i?l.multiply(s):l.divide(s);if(c.isNaN())return HZ;t=t.replace(LZ,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=NZ(null!==(u=BZ.exec(t))&&void 0!==u?u:[],4),f=d[1],p=d[2],h=d[3],m=VZ.parse(null!==f&&void 0!==f?f:""),v=VZ.parse(null!==h&&void 0!==h?h:""),g="+"===p?m.add(v):m.subtract(v);if(g.isNaN())return HZ;t=t.replace(BZ,g.toString())}return t}var GZ=/\(([^()]*)\)/;function $Z(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=NZ(GZ.exec(t),2)[1];t=t.replace(GZ,YZ(n))}return t}(t),t=YZ(t)}function KZ(e){var t=function(e){try{return $Z(e)}catch(t){return HZ}}(e.slice(5,-1));return t===HZ?"":t}var XZ=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],QZ=["dx","dy","angle","className","breakAll"];function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(this,arguments)}function e_(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function t_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return n_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n_(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var r_=/[ \f\n\r\t\v\u2028\u2029]+/,o_=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var o=[];return Ok()(t)||(o=n?t.toString().split(""):t.toString().split(r_)),{wordsWithComputedWidth:o.map((function(e){return{word:e,width:AZ(e,r).width}})),spaceWidth:n?0:AZ("\xa0",r).width}}catch(i){return null}},i_=function(e){return[{words:Ok()(e)?[]:e.toString().split(r_)}]},a_=function(e){var t=e.width,n=e.scaleToFit,r=e.children,o=e.style,i=e.breakAll,a=e.maxLines;if((t||n)&&!dE.isSsr){var l=o_({breakAll:i,children:r,style:o});return l?function(e,t,n,r,o){var i=e.maxLines,a=e.children,l=e.style,s=e.breakAll,c=Xk(i),u=a,d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,l=e[e.length-1];if(l&&(null==r||o||l.width+a+n<Number(r)))l.words.push(i),l.width+=a+n;else{var s={words:[i],width:a};e.push(s)}return e}),[])},f=d(t);if(!c)return f;for(var p,h=function(e){var t=u.slice(0,e),n=o_({breakAll:s,style:l,children:t+"\u2026"}).wordsWithComputedWidth,o=d(n),a=o.length>i||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>Number(r);return[a,o]},m=0,v=u.length-1,g=0;m<=v&&g<=u.length-1;){var y=Math.floor((m+v)/2),b=t_(h(y-1),2),x=b[0],w=b[1],S=t_(h(y),1)[0];if(x||S||(m=y+1),x&&S&&(v=y-1),!x&&S){p=w;break}g++}return p||f}({breakAll:i,children:r,maxLines:a,style:o},l.wordsWithComputedWidth,l.spaceWidth,t,n):i_(r)}return i_(r)},l_="#808080",s_=function(e){var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.lineHeight,l=void 0===a?"1em":a,s=e.capHeight,c=void 0===s?"0.71em":s,u=e.scaleToFit,d=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,m=void 0===h?"end":h,v=e.fill,g=void 0===v?l_:v,y=e_(e,XZ),b=(0,t.useMemo)((function(){return a_({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:d,style:y.style,width:y.width})}),[y.breakAll,y.children,y.maxLines,d,y.style,y.width]),x=y.dx,w=y.dy,S=y.angle,k=y.className,j=y.breakAll,E=e_(y,QZ);if(!Qk(r)||!Qk(i))return null;var O,C=r+(Xk(x)?x:0),P=i+(Xk(w)?w:0);switch(m){case"start":O=KZ("calc(".concat(c,")"));break;case"middle":O=KZ("calc(".concat((b.length-1)/2," * -").concat(l," + (").concat(c," / 2))"));break;default:O=KZ("calc(".concat(b.length-1," * -").concat(l,")"))}var Z=[];if(d){var _=b[0].width,T=y.width;Z.push("scale(".concat((Xk(T)?T/_:1)/_,")"))}return S&&Z.push("rotate(".concat(S,", ").concat(C,", ").concat(P,")")),Z.length&&(E.transform=Z.join(" ")),t.createElement("text",JZ({},Oj(E,!0),{x:C,y:P,className:(0,Mi.Z)("recharts-text",k),textAnchor:p,fill:g.includes("url")?l_:g}),b.map((function(e,n){var r=e.words.join(j?"":" ");return t.createElement("tspan",{x:C,dy:0===n?O:l,key:r},r)})))},c_=Math.sqrt(50),u_=Math.sqrt(10),d_=Math.sqrt(2);function f_(e,t,n){var r,o,i,a=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(a)),s=a/Math.pow(10,l),c=s>=c_?10:s>=u_?5:s>=d_?2:1;return l<0?(i=Math.pow(10,-l)/c,(r=Math.round(e*i))/i<e&&++r,(o=Math.round(t*i))/i>t&&--o,i=-i):(i=Math.pow(10,l)*c,(r=Math.round(e/i))*i<e&&++r,(o=Math.round(t/i))*i>t&&--o),o<r&&.5<=n&&n<2?f_(e,t,2*n):[r,o,i]}function p_(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];var r=t<e,o=r?f_(t,e,n):f_(e,t,n),i=(0,D.Z)(o,3),a=i[0],l=i[1],s=i[2];if(!(l>=a))return[];var c=l-a+1,u=new Array(c);if(r)if(s<0)for(var d=0;d<c;++d)u[d]=(l-d)/-s;else for(var f=0;f<c;++f)u[f]=(l-f)*s;else if(s<0)for(var p=0;p<c;++p)u[p]=(a+p)/-s;else for(var h=0;h<c;++h)u[h]=(a+h)*s;return u}function h_(e,t,n){return f_(e=+e,t=+t,n=+n)[2]}function m_(e,t,n){n=+n;var r=(t=+t)<(e=+e),o=r?h_(t,e,n):h_(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function v_(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function g_(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function y_(e){var t,n,r;function o(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(o<i){if(0!==t(r,r))return i;do{var a=o+i>>>1;n(e[a],r)<0?o=a+1:i=a}while(o<i)}return o}return 2!==e.length?(t=v_,n=function(t,n){return v_(e(t),n)},r=function(t,n){return e(t)-n}):(t=e===v_||e===g_?e:b_,n=e,r=e),{left:o,center:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=o(e,t,n,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length)-1);return i>n&&r(e[i-1],t)>-r(e[i],t)?i-1:i},right:function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(o<i){if(0!==t(r,r))return i;do{var a=o+i>>>1;n(e[a],r)<=0?o=a+1:i=a}while(o<i)}return o}}}function b_(){return 0}var x_=R().mark(S_);function w_(e){return null===e?NaN:+e}function S_(e,t){var n,r,o,i,a,l,s;return R().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(void 0!==t){c.next=21;break}n=J(e),c.prev=2,n.s();case 4:if((r=n.n()).done){c.next=11;break}if(!(null!=(o=r.value)&&(o=+o)>=o)){c.next=9;break}return c.next=9,o;case 9:c.next=4;break;case 11:c.next=16;break;case 13:c.prev=13,c.t0=c.catch(2),n.e(c.t0);case 16:return c.prev=16,n.f(),c.finish(16);case 19:c.next=40;break;case 21:i=-1,a=J(e),c.prev=23,a.s();case 25:if((l=a.n()).done){c.next=32;break}if(s=l.value,!(null!=(s=t(s,++i,e))&&(s=+s)>=s)){c.next=30;break}return c.next=30,s;case 30:c.next=25;break;case 32:c.next=37;break;case 34:c.prev=34,c.t1=c.catch(23),a.e(c.t1);case 37:return c.prev=37,a.f(),c.finish(37);case 40:case"end":return c.stop()}}),x_,null,[[2,13,16,19],[23,34,37,40]])}var k_=y_(v_),j_=k_.right,E_=(k_.left,y_(w_).center,j_);function O_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function C_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function P_(){}var Z_=.7,__=1/Z_,T_="\\s*([+-]?\\d+)\\s*",M_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",A_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",R_=/^#([0-9a-f]{3,8})$/,N_=new RegExp("^rgb\\(".concat(T_,",").concat(T_,",").concat(T_,"\\)$")),I_=new RegExp("^rgb\\(".concat(A_,",").concat(A_,",").concat(A_,"\\)$")),D_=new RegExp("^rgba\\(".concat(T_,",").concat(T_,",").concat(T_,",").concat(M_,"\\)$")),z_=new RegExp("^rgba\\(".concat(A_,",").concat(A_,",").concat(A_,",").concat(M_,"\\)$")),L_=new RegExp("^hsl\\(".concat(M_,",").concat(A_,",").concat(A_,"\\)$")),B_=new RegExp("^hsla\\(".concat(M_,",").concat(A_,",").concat(A_,",").concat(M_,"\\)$")),F_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function W_(){return this.rgb().formatHex()}function U_(){return this.rgb().formatRgb()}function q_(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=R_.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?H_(t):3===n?new G_(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?V_(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?V_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=N_.exec(e))?new G_(t[1],t[2],t[3],1):(t=I_.exec(e))?new G_(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=D_.exec(e))?V_(t[1],t[2],t[3],t[4]):(t=z_.exec(e))?V_(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=L_.exec(e))?eT(t[1],t[2]/100,t[3]/100,1):(t=B_.exec(e))?eT(t[1],t[2]/100,t[3]/100,t[4]):F_.hasOwnProperty(e)?H_(F_[e]):"transparent"===e?new G_(NaN,NaN,NaN,0):null}function H_(e){return new G_(e>>16&255,e>>8&255,255&e,1)}function V_(e,t,n,r){return r<=0&&(e=t=n=NaN),new G_(e,t,n,r)}function Y_(e,t,n,r){return 1===arguments.length?((o=e)instanceof P_||(o=q_(o)),o?new G_((o=o.rgb()).r,o.g,o.b,o.opacity):new G_):new G_(e,t,n,null==r?1:r);var o}function G_(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function $_(){return"#".concat(J_(this.r)).concat(J_(this.g)).concat(J_(this.b))}function K_(){var e=X_(this.opacity);return"".concat(1===e?"rgb(":"rgba(").concat(Q_(this.r),", ").concat(Q_(this.g),", ").concat(Q_(this.b)).concat(1===e?")":", ".concat(e,")"))}function X_(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Q_(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function J_(e){return((e=Q_(e))<16?"0":"")+e.toString(16)}function eT(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new nT(e,t,n,r)}function tT(e){if(e instanceof nT)return new nT(e.h,e.s,e.l,e.opacity);if(e instanceof P_||(e=q_(e)),!e)return new nT;if(e instanceof nT)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new nT(a,l,s,e.opacity)}function nT(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function rT(e){return(e=(e||0)%360)<0?e+360:e}function oT(e){return Math.max(0,Math.min(1,e||0))}function iT(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function aT(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}O_(P_,q_,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:W_,formatHex:W_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tT(this).formatHsl()},formatRgb:U_,toString:U_}),O_(G_,Y_,C_(P_,{brighter:function(e){return e=null==e?__:Math.pow(__,e),new G_(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Z_:Math.pow(Z_,e),new G_(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},clamp:function(){return new G_(Q_(this.r),Q_(this.g),Q_(this.b),X_(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$_,formatHex:$_,formatHex8:function(){return"#".concat(J_(this.r)).concat(J_(this.g)).concat(J_(this.b)).concat(J_(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:K_,toString:K_})),O_(nT,(function(e,t,n,r){return 1===arguments.length?tT(e):new nT(e,t,n,null==r?1:r)}),C_(P_,{brighter:function(e){return e=null==e?__:Math.pow(__,e),new nT(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Z_:Math.pow(Z_,e),new nT(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new G_(iT(e>=240?e-240:e+120,o,r),iT(e,o,r),iT(e<120?e+240:e-120,o,r),this.opacity)},clamp:function(){return new nT(rT(this.h),oT(this.s),oT(this.l),X_(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=X_(this.opacity);return"".concat(1===e?"hsl(":"hsla(").concat(rT(this.h),", ").concat(100*oT(this.s),"%, ").concat(100*oT(this.l),"%").concat(1===e?")":", ".concat(e,")"))}}));var lT=function(e){return function(){return e}};function sT(e,t){return function(n){return e+n*t}}function cT(e){return 1===(e=+e)?uT:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lT(isNaN(t)?n:t)}}function uT(e,t){var n=t-e;return n?sT(e,n):lT(isNaN(e)?t:e)}var dT=function e(t){var n=cT(t);function r(e,t){var r=n((e=Y_(e)).r,(t=Y_(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=uT(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function fT(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=Y_(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}fT((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return aT((n-r/t)*t,a,o,i,l)}})),fT((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return aT((n-r/t)*t,o,i,a,l)}}));function pT(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=wT(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function hT(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function mT(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function vT(e,t){var n,r={},o={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=wT(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var gT=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yT=new RegExp(gT.source,"g");function bT(e,t){var n,r,o,i=gT.lastIndex=yT.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=gT.exec(e))&&(r=yT.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:mT(n,r)})),i=yT.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function xT(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function wT(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?lT(t):("number"===o?mT:"string"===o?(n=q_(t))?(t=n,dT):bT:t instanceof q_?dT:t instanceof Date?hT:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?pT:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?vT:mT:xT))(e,t)}function ST(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function kT(e){return+e}var jT=[0,1];function ET(e){return e}function OT(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function CT(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=OT(o,r),i=n(a,i)):(r=OT(r,o),i=n(i,a)),function(e){return i(r(e))}}function PT(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=OT(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=E_(e,t,1,r)-1;return i[n](o[n](t))}}function ZT(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function _T(){var e,t,n,r,o,i,a=jT,l=jT,s=wT,c=ET;function u(){var e=Math.min(a.length,l.length);return c!==ET&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?PT:CT,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(l,a.map(e),mT)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,kT),u()):a.slice()},d.range=function(e){return arguments.length?(l=Array.from(e),u()):l.slice()},d.rangeRound=function(e){return l=Array.from(e),s=ST,u()},d.clamp=function(e){return arguments.length?(c=!!e||ET,u()):c!==ET},d.interpolate=function(e){return arguments.length?(s=e,u()):s},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function TT(){return _T()(ET,ET)}var MT,AT=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function RT(e){if(!(t=AT.exec(e)))throw new Error("invalid format: "+e);var t;return new NT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function NT(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function IT(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function DT(e){return(e=IT(Math.abs(e)))?e[1]:NaN}function zT(e,t){var n=IT(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}RT.prototype=NT.prototype,NT.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var LT={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return zT(100*e,t)},r:zT,s:function(e,t){var n=IT(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(MT=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+IT(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function BT(e){return e}var FT,WT,UT,qT=Array.prototype.map,HT=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function VT(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?BT:(t=qT.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?BT:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(qT.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"\u2212":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=RT(e)).fill,n=e.align,d=e.sign,f=e.symbol,p=e.zero,h=e.width,m=e.comma,v=e.precision,g=e.trim,y=e.type;"n"===y?(m=!0,y="g"):LT[y]||(void 0===v&&(v=12),g=!0,y="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===f?i:/[%p]/.test(y)?s:"",w=LT[y],S=/[defgprs%]/.test(y);function k(e){var o,i,s,f=b,k=x;if("c"===y)k=w(e)+k,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),j&&0===+e&&"+"!==d&&(j=!1),f=(j?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===y?HT[8+MT/3]:"")+k+(j&&"("===d?")":""),S)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){k=(46===s?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}m&&!p&&(e=r(e,1/0));var E=f.length+e.length+k.length,O=E<h?new Array(h-E+1).join(t):"";switch(m&&p&&(e=r(O+e,O.length?h-k.length:1/0),O=""),n){case"<":e=f+e+k+O;break;case"=":e=f+O+e+k;break;case"^":e=O.slice(0,E=O.length>>1)+f+e+k+O.slice(E);break;default:e=O+f+e+k}return l(e)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=RT(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(DT(t)/3))),o=Math.pow(10,-r),i=HT[8+r/3];return function(e){return n(o*e)+i}}}}function YT(e,t,n,r){var o,i=m_(e,t,n);switch((r=RT(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(DT(t)/3)))-DT(Math.abs(e)))}(i,a))||(r.precision=o),UT(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,DT(t)-DT(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-DT(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return WT(r)}function GT(e){var t=e.domain;return e.ticks=function(e){var n=t();return p_(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return YT(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,l=i.length-1,s=i[a],c=i[l],u=10;for(c<s&&(o=s,s=c,c=o,o=a,a=l,l=o);u-- >0;){if((o=h_(s,c,n))===r)return i[a]=s,i[l]=c,t(i);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function $T(){var e=TT();return e.copy=function(){return ZT(e,$T())},hZ.apply(e,arguments),GT(e)}function KT(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,kT),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return KT(e).unknown(t)},e=arguments.length?Array.from(e,kT):[0,1],GT(n)}function XT(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function QT(e){return Math.log(e)}function JT(e){return Math.exp(e)}function eM(e){return-Math.log(-e)}function tM(e){return-Math.exp(-e)}function nM(e){return isFinite(e)?+("1e"+e):e<0?0:e}function rM(e){return function(t,n){return-e(-t,n)}}function oM(e){var t,n,r=e(QT,JT),o=r.domain,i=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(i),n=function(e){return 10===e?nM:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(i),o()[0]<0?(t=rM(t),n=rM(n),e(eM,tM)):e(QT,JT),r}return r.base=function(e){return arguments.length?(i=+e,a()):i},r.domain=function(e){return arguments.length?(o(e),a()):o()},r.ticks=function(e){var r=o(),a=r[0],l=r[r.length-1],s=l<a;if(s){var c=[l,a];a=c[0],l=c[1]}var u,d,f=t(a),p=t(l),h=null==e?10:+e,m=[];if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<i;++u)if(!((d=f<0?u/n(-f):u*n(f))<a)){if(d>l)break;m.push(d)}}else for(;f<=p;++f)for(u=i-1;u>=1;--u)if(!((d=f>0?u/n(-f):u*n(f))<a)){if(d>l)break;m.push(d)}2*m.length<h&&(m=p_(a,l,h))}else m=p_(f,p,Math.min(p-f,h)).map(n);return s?m.reverse():m},r.tickFormat=function(e,o){if(null==e&&(e=10),null==o&&(o=10===i?"s":","),"function"!==typeof o&&(i%1||null!=(o=RT(o)).precision||(o.trim=!0),o=WT(o)),e===1/0)return o;var a=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i<i-.5&&(r*=i),r<=a?o(e):""}},r.nice=function(){return o(XT(o(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function iM(){var e=oM(_T()).domain([1,10]);return e.copy=function(){return ZT(e,iM()).base(e.base())},hZ.apply(e,arguments),e}function aM(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function lM(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function sM(e){var t=1,n=e(aM(t),lM(t));return n.constant=function(n){return arguments.length?e(aM(t=+n),lM(t)):t},GT(n)}function cM(){var e=sM(_T());return e.copy=function(){return ZT(e,cM()).constant(e.constant())},hZ.apply(e,arguments)}function uM(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function dM(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function fM(e){return e<0?-e*e:e*e}function pM(e){var t=e(ET,ET),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(ET,ET):.5===n?e(dM,fM):e(uM(n),uM(1/n)):n},GT(t)}function hM(){var e=pM(_T());return e.copy=function(){return ZT(e,hM()).exponent(e.exponent())},hZ.apply(e,arguments),e}function mM(){return hM.apply(null,arguments).exponent(.5)}function vM(e){return Math.sign(e)*e*e}function gM(){var e,t=TT(),n=[0,1],r=!1;function o(n){var o=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(o)?e:r?Math.round(o):o}return o.invert=function(e){return t.invert(vM(e))},o.domain=function(e){return arguments.length?(t.domain(e),o):t.domain()},o.range=function(e){return arguments.length?(t.range((n=Array.from(e,kT)).map(vM)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(r=!!e,o):r},o.clamp=function(e){return arguments.length?(t.clamp(e),o):t.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return gM(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},hZ.apply(o,arguments),GT(o)}function yM(e,t){var n;if(void 0===t){var r,o=J(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n<i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=J(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n<c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function bM(e,t){var n;if(void 0===t){var r,o=J(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n>i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=J(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function xM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v_;if(e===v_)return wM;if("function"!==typeof e)throw new TypeError("compare is not a function");return function(t,n){var r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function wM(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function SM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4?arguments[4]:void 0;if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=void 0===o?wM:xM(o);r>n;){if(r-n>600){var i=r-n+1,a=t-n+1,l=Math.log(i),s=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*s*(i-s)/i)*(a-i/2<0?-1:1);SM(e,t,Math.max(n,Math.floor(t-a*s/i+c)),Math.min(r,Math.floor(t+(i-a)*s/i+c)),o)}var u=e[t],d=n,f=r;for(kM(e,n,t),o(e[r],u)>0&&kM(e,n,r);d<f;){for(kM(e,d,f),++d,--f;o(e[d],u)<0;)++d;for(;o(e[f],u)>0;)--f}0===o(e[n],u)?kM(e,n,f):kM(e,++f,r),f<=t&&(n=f+1),t<=f&&(r=f-1)}return e}function kM(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function jM(e,t,n){if((r=(e=Float64Array.from(S_(e,n))).length)&&!isNaN(t=+t)){if(t<=0||r<2)return bM(e);if(t>=1)return yM(e);var r,o=(r-1)*t,i=Math.floor(o),a=yM(SM(e,i).subarray(0,i+1));return a+(bM(e.subarray(i+1))-a)*(o-i)}}function EM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w_;if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}function OM(){var e,t=[],n=[],r=[];function o(){var e=0,o=Math.max(1,n.length);for(r=new Array(o-1);++e<o;)r[e-1]=EM(t,e/o);return i}function i(t){return null==t||isNaN(t=+t)?e:n[E_(r,t)]}return i.invertExtent=function(e){var o=n.indexOf(e);return o<0?[NaN,NaN]:[o>0?r[o-1]:t[0],o<r.length?r[o]:t[t.length-1]]},i.domain=function(e){if(!arguments.length)return t.slice();t=[];var n,r=J(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;null==i||isNaN(i=+i)||t.push(i)}}catch(a){r.e(a)}finally{r.f()}return t.sort(v_),o()},i.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.quantiles=function(){return r.slice()},i.copy=function(){return OM().domain(t).range(n).unknown(e)},hZ.apply(i,arguments)}function CM(){var e,t=0,n=1,r=1,o=[.5],i=[0,1];function a(t){return null!=t&&t<=t?i[E_(o,t,0,r)]:e}function l(){var e=-1;for(o=new Array(r);++e<r;)o[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){var r;return arguments.length?(r=(0,D.Z)(e,2),t=r[0],n=r[1],t=+t,n=+n,l()):[t,n]},a.range=function(e){return arguments.length?(r=(i=Array.from(e)).length-1,l()):i.slice()},a.invertExtent=function(e){var a=i.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return CM().domain([t,n]).range(i).unknown(e)},hZ.apply(GT(a),arguments)}function PM(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[E_(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return PM().domain(t).range(n).unknown(e)},hZ.apply(o,arguments)}FT=VT({thousands:",",grouping:[3],currency:["$",""]}),WT=FT.format,UT=FT.formatPrefix;var ZM=1e3,_M=6e4,TM=36e5,MM=864e5,AM=6048e5,RM=2592e6,NM=31536e6,IM=new Date,DM=new Date;function zM(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,l=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return l;do{l.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return l},o.filter=function(n){return zM((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return IM.setTime(+t),DM.setTime(+r),e(IM),e(DM),Math.floor(n(IM,DM))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var LM=zM((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));LM.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?zM((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):LM:null};LM.range;var BM=zM((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*ZM)}),(function(e,t){return(t-e)/ZM}),(function(e){return e.getUTCSeconds()})),FM=(BM.range,zM((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZM)}),(function(e,t){e.setTime(+e+t*_M)}),(function(e,t){return(t-e)/_M}),(function(e){return e.getMinutes()}))),WM=(FM.range,zM((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*_M)}),(function(e,t){return(t-e)/_M}),(function(e){return e.getUTCMinutes()}))),UM=(WM.range,zM((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZM-e.getMinutes()*_M)}),(function(e,t){e.setTime(+e+t*TM)}),(function(e,t){return(t-e)/TM}),(function(e){return e.getHours()}))),qM=(UM.range,zM((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*TM)}),(function(e,t){return(t-e)/TM}),(function(e){return e.getUTCHours()}))),HM=(qM.range,zM((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_M)/MM}),(function(e){return e.getDate()-1}))),VM=(HM.range,zM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/MM}),(function(e){return e.getUTCDate()-1}))),YM=(VM.range,zM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/MM}),(function(e){return Math.floor(e/MM)})));YM.range;function GM(e){return zM((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_M)/AM}))}var $M=GM(0),KM=GM(1),XM=GM(2),QM=GM(3),JM=GM(4),eA=GM(5),tA=GM(6);$M.range,KM.range,XM.range,QM.range,JM.range,eA.range,tA.range;function nA(e){return zM((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/AM}))}var rA=nA(0),oA=nA(1),iA=nA(2),aA=nA(3),lA=nA(4),sA=nA(5),cA=nA(6),uA=(rA.range,oA.range,iA.range,aA.range,lA.range,sA.range,cA.range,zM((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),dA=(uA.range,zM((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),fA=(dA.range,zM((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));fA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?zM((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};fA.range;var pA=zM((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));pA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?zM((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};pA.range;function hA(e,t,n,r,o,i){var a=[[BM,1,ZM],[BM,5,5e3],[BM,15,15e3],[BM,30,3e4],[i,1,_M],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,TM],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,MM],[r,2,1728e5],[n,1,AM],[t,1,RM],[t,3,7776e6],[e,1,NM]];function l(t,n,r){var o=Math.abs(n-t)/r,i=y_((function(e){return(0,D.Z)(e,3)[2]})).right(a,o);if(i===a.length)return e.every(m_(t/NM,n/NM,r));if(0===i)return LM.every(Math.max(m_(t,n,r),1));var l=(0,D.Z)(a[o/a[i-1][2]<a[i][2]/o?i-1:i],2),s=l[0],c=l[1];return s.every(c)}return[function(e,t,n){var r=t<e;if(r){var o=[t,e];e=o[0],t=o[1]}var i=n&&"function"===typeof n.range?n:l(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},l]}var mA=hA(pA,dA,rA,YM,qM,WM),vA=(0,D.Z)(mA,2),gA=vA[0],yA=vA[1],bA=hA(fA,uA,$M,HM,UM,FM),xA=(0,D.Z)(bA,2),wA=xA[0],SA=xA[1];function kA(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function jA(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function EA(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var OA,CA,PA,ZA={"-":"",_:" ",0:"0"},_A=/^\s*\d+/,TA=/^%/,MA=/[\\^$*+?|[\]().{}]/g;function AA(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function RA(e){return e.replace(MA,"\\$&")}function NA(e){return new RegExp("^(?:"+e.map(RA).join("|")+")","i")}function IA(e){return new Map(e.map((function(e,t){return[e.toLowerCase(),t]})))}function DA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function zA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function LA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function BA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function FA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function WA(e,t,n){var r=_A.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function UA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function qA(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function HA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function VA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function YA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function GA(e,t,n){var r=_A.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function $A(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function KA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function XA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function QA(e,t,n){var r=_A.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function JA(e,t,n){var r=_A.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function eR(e,t,n){var r=TA.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function tR(e,t,n){var r=_A.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function nR(e,t,n){var r=_A.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function rR(e,t){return AA(e.getDate(),t,2)}function oR(e,t){return AA(e.getHours(),t,2)}function iR(e,t){return AA(e.getHours()%12||12,t,2)}function aR(e,t){return AA(1+HM.count(fA(e),e),t,3)}function lR(e,t){return AA(e.getMilliseconds(),t,3)}function sR(e,t){return lR(e,t)+"000"}function cR(e,t){return AA(e.getMonth()+1,t,2)}function uR(e,t){return AA(e.getMinutes(),t,2)}function dR(e,t){return AA(e.getSeconds(),t,2)}function fR(e){var t=e.getDay();return 0===t?7:t}function pR(e,t){return AA($M.count(fA(e)-1,e),t,2)}function hR(e){var t=e.getDay();return t>=4||0===t?JM(e):JM.ceil(e)}function mR(e,t){return e=hR(e),AA(JM.count(fA(e),e)+(4===fA(e).getDay()),t,2)}function vR(e){return e.getDay()}function gR(e,t){return AA(KM.count(fA(e)-1,e),t,2)}function yR(e,t){return AA(e.getFullYear()%100,t,2)}function bR(e,t){return AA((e=hR(e)).getFullYear()%100,t,2)}function xR(e,t){return AA(e.getFullYear()%1e4,t,4)}function wR(e,t){var n=e.getDay();return AA((e=n>=4||0===n?JM(e):JM.ceil(e)).getFullYear()%1e4,t,4)}function SR(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+AA(t/60|0,"0",2)+AA(t%60,"0",2)}function kR(e,t){return AA(e.getUTCDate(),t,2)}function jR(e,t){return AA(e.getUTCHours(),t,2)}function ER(e,t){return AA(e.getUTCHours()%12||12,t,2)}function OR(e,t){return AA(1+VM.count(pA(e),e),t,3)}function CR(e,t){return AA(e.getUTCMilliseconds(),t,3)}function PR(e,t){return CR(e,t)+"000"}function ZR(e,t){return AA(e.getUTCMonth()+1,t,2)}function _R(e,t){return AA(e.getUTCMinutes(),t,2)}function TR(e,t){return AA(e.getUTCSeconds(),t,2)}function MR(e){var t=e.getUTCDay();return 0===t?7:t}function AR(e,t){return AA(rA.count(pA(e)-1,e),t,2)}function RR(e){var t=e.getUTCDay();return t>=4||0===t?lA(e):lA.ceil(e)}function NR(e,t){return e=RR(e),AA(lA.count(pA(e),e)+(4===pA(e).getUTCDay()),t,2)}function IR(e){return e.getUTCDay()}function DR(e,t){return AA(oA.count(pA(e)-1,e),t,2)}function zR(e,t){return AA(e.getUTCFullYear()%100,t,2)}function LR(e,t){return AA((e=RR(e)).getUTCFullYear()%100,t,2)}function BR(e,t){return AA(e.getUTCFullYear()%1e4,t,4)}function FR(e,t){var n=e.getUTCDay();return AA((e=n>=4||0===n?lA(e):lA.ceil(e)).getUTCFullYear()%1e4,t,4)}function WR(){return"+0000"}function UR(){return"%"}function qR(e){return+e}function HR(e){return Math.floor(+e/1e3)}function VR(e){return new Date(e)}function YR(e){return e instanceof Date?+e:+new Date(+e)}function GR(e,t,n,r,o,i,a,l,s,c){var u=TT(),d=u.invert,f=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),y=c("%b %d"),b=c("%B"),x=c("%Y");function w(e){return(s(e)<e?p:l(e)<e?h:a(e)<e?m:i(e)<e?v:r(e)<e?o(e)<e?g:y:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,YR)):f().map(VR)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=f();return e&&"function"===typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(XT(n,e)):u},u.copy=function(){return ZT(u,GR(e,t,n,r,o,i,a,l,s,c))},u}function $R(){return hZ.apply(GR(wA,SA,fA,uA,$M,HM,UM,FM,BM,CA).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function KR(){return hZ.apply(GR(gA,yA,pA,dA,rA,VM,qM,WM,BM,PA).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function XR(){var e,t,n,r,o,i=0,a=1,l=ET,s=!1;function c(t){return null==t||isNaN(t=+t)?o:l(0===n?.5:(t=(r(t)-e)*n,s?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r,o;return arguments.length?(r=(n=(0,D.Z)(t,2))[0],o=n[1],l=e(r,o),c):[l(0),l(1)]}}return c.domain=function(o){var l;return arguments.length?(l=(0,D.Z)(o,2),i=l[0],a=l[1],e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(s=!!e,c):s},c.interpolator=function(e){return arguments.length?(l=e,c):l},c.range=u(wT),c.rangeRound=u(ST),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function QR(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function JR(){var e=GT(XR()(ET));return e.copy=function(){return QR(e,JR())},mZ.apply(e,arguments)}function eN(){var e=oM(XR()).domain([1,10]);return e.copy=function(){return QR(e,eN()).base(e.base())},mZ.apply(e,arguments)}function tN(){var e=sM(XR());return e.copy=function(){return QR(e,tN()).constant(e.constant())},mZ.apply(e,arguments)}function nN(){var e=pM(XR());return e.copy=function(){return QR(e,nN()).exponent(e.exponent())},mZ.apply(e,arguments)}function rN(){return nN.apply(null,arguments).exponent(.5)}function oN(){var e=[],t=ET;function n(n){if(null!=n&&!isNaN(n=+n))return t((E_(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,o=J(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null==i||isNaN(i=+i)||e.push(i)}}catch(a){o.e(a)}finally{o.f()}return e.sort(v_),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((function(n,r){return t(r/(e.length-1))}))},n.quantiles=function(t){return Array.from({length:t+1},(function(n,r){return jM(e,r/t)}))},n.copy=function(){return oN(t).domain(e)},mZ.apply(n,arguments)}function iN(){var e,t,n,r,o,i,a,l=0,s=.5,c=1,u=1,d=ET,f=!1;function p(e){return isNaN(e=+e)?a:(e=.5+((e=+i(e))-t)*(u*e<u*t?r:o),d(f?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var n,r,o,i;return arguments.length?(r=(n=(0,D.Z)(t,3))[0],o=n[1],i=n[2],d=function(e,t){void 0===t&&(t=e,e=wT);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return i[t](e-t)}}(e,[r,o,i]),p):[d(0),d(.5),d(1)]}}return p.domain=function(a){var d;return arguments.length?(d=(0,D.Z)(a,3),l=d[0],s=d[1],c=d[2],e=i(l=+l),t=i(s=+s),n=i(c=+c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,p):[l,s,c]},p.clamp=function(e){return arguments.length?(f=!!e,p):f},p.interpolator=function(e){return arguments.length?(d=e,p):d},p.range=h(wT),p.rangeRound=h(ST),p.unknown=function(e){return arguments.length?(a=e,p):a},function(a){return i=a,e=a(l),t=a(s),n=a(c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,p}}function aN(){var e=GT(iN()(ET));return e.copy=function(){return QR(e,aN())},mZ.apply(e,arguments)}function lN(){var e=oM(iN()).domain([.1,1,10]);return e.copy=function(){return QR(e,lN()).base(e.base())},mZ.apply(e,arguments)}function sN(){var e=sM(iN());return e.copy=function(){return QR(e,sN()).constant(e.constant())},mZ.apply(e,arguments)}function cN(){var e=pM(iN());return e.copy=function(){return QR(e,cN()).exponent(e.exponent())},mZ.apply(e,arguments)}function uN(){return cN.apply(null,arguments).exponent(.5)}function dN(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],l=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<l;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}!function(e){OA=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,l=e.months,s=e.shortMonths,c=NA(o),u=IA(o),d=NA(i),f=IA(i),p=NA(a),h=IA(a),m=NA(l),v=IA(l),g=NA(s),y=IA(s),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:rR,e:rR,f:sR,g:bR,G:wR,H:oR,I:iR,j:aR,L:lR,m:cR,M:uR,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:qR,s:HR,S:dR,u:fR,U:pR,V:mR,w:vR,W:gR,x:null,X:null,y:yR,Y:xR,Z:SR,"%":UR},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:kR,e:kR,f:PR,g:LR,G:FR,H:jR,I:ER,j:OR,L:CR,m:ZR,M:_R,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:qR,s:HR,S:TR,u:MR,U:AR,V:NR,w:IR,W:DR,x:null,X:null,y:zR,Y:BR,Z:WR,"%":UR},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return j(e,t,n,r)},d:YA,e:YA,f:JA,g:UA,G:WA,H:$A,I:$A,j:GA,L:QA,m:VA,M:KA,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:HA,Q:tR,s:nR,S:XA,u:zA,U:LA,V:BA,w:DA,W:FA,x:function(e,t,r){return j(e,n,t,r)},X:function(e,t,n){return j(e,r,t,n)},y:UA,Y:WA,Z:qA,"%":eR};function S(e,t){return function(n){var r,o,i,a=[],l=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++l<c;)37===e.charCodeAt(l)&&(a.push(e.slice(s,l)),null!=(o=ZA[r=e.charAt(++l)])?r=e.charAt(++l):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),s=l+1);return a.push(e.slice(s,l)),a.join("")}}function k(e,t){return function(n){var r,o,i=EA(1900,void 0,1);if(j(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=jA(EA(i.y,0,1))).getUTCDay(),r=o>4||0===o?oA.ceil(r):oA(r),r=VM.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=kA(EA(i.y,0,1))).getDay(),r=o>4||0===o?KM.ceil(r):KM(r),r=HM.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?jA(EA(i.y,0,1)).getUTCDay():kA(EA(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,jA(i)):kA(i)}}function j(e,t,n,r){for(var o,i,a=0,l=t.length,s=n.length;a<l;){if(r>=s)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in ZA?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=S(n,b),b.X=S(r,b),b.c=S(t,b),x.x=S(n,x),x.X=S(r,x),x.c=S(t,x),{format:function(e){var t=S(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),CA=OA.format,OA.parse,PA=OA.utcFormat,OA.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Array.prototype.slice;function fN(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function pN(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function hN(e,t){return e[t]}function mN(e){var t=[];return t.key=e,t}var vN=n(9627),gN=n.n(vN),yN=n(6452),bN=n.n(yN),xN=n(5008),wN=n.n(xN),SN=n(8111),kN=n.n(SN),jN=n(4234),EN=n.n(jN);function ON(e){return function(e){if(Array.isArray(e))return CN(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return CN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CN(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var PN=function(e){return e},ZN={"@@functional/placeholder":!0},_N=function(e){return e===ZN},TN=function(e){return function t(){return 0===arguments.length||1===arguments.length&&_N(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},MN=function e(t,n){return 1===t?n:TN((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(e){return e!==ZN})).length;return a>=t?n.apply(void 0,o):e(t-a,TN((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=o.map((function(e){return _N(e)?t.shift():e}));return n.apply(void 0,ON(i).concat(t))})))}))},AN=function(e){return MN(e.length,e)},RN=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},NN=AN((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),IN=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return PN;var r=t.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),o.apply(void 0,arguments))}},DN=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},zN=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.every((function(e,n){return e===t[n]}))?n:(t=o,n=e.apply(void 0,o))}};var LN=AN((function(e,t,n){var r=+e;return r+n*(+t-r)})),BN=AN((function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)})),FN=AN((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))})),WN={rangeStep:function(e,t,n){for(var r=new(EN())(e),o=0,i=[];r.lt(t)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},getDigitCount:function(e){return 0===e?1:Math.floor(new(EN())(e).abs().log(10).toNumber())+1},interpolateNumber:LN,uninterpolateNumber:BN,uninterpolateTruncation:FN};function UN(e){return function(e){if(Array.isArray(e))return VN(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||HN(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||HN(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HN(e,t){if(e){if("string"===typeof e)return VN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VN(e,t):void 0}}function VN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function YN(e){var t=qN(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function GN(e,t,n){if(e.lte(0))return new(EN())(0);var r=WN.getDigitCount(e.toNumber()),o=new(EN())(10).pow(r),i=e.div(o),a=1!==r?.05:.1,l=new(EN())(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?l:new(EN())(Math.ceil(l))}function $N(e,t,n){var r=1,o=new(EN())(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new(EN())(10).pow(WN.getDigitCount(e)-1),o=new(EN())(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new(EN())(Math.floor(e)))}else 0===e?o=new(EN())(Math.floor((t-1)/2)):n||(o=new(EN())(Math.floor(e)));var a=Math.floor((t-1)/2);return IN(NN((function(e){return o.add(new(EN())(e-a).mul(r)).toNumber()})),RN)(0,t)}function KN(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(EN())(0),tickMin:new(EN())(0),tickMax:new(EN())(0)};var i,a=GN(new(EN())(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new(EN())(0):(i=new(EN())(e).add(t).div(2)).sub(new(EN())(i).mod(a));var l=Math.ceil(i.sub(e).div(a).toNumber()),s=Math.ceil(new(EN())(t).sub(i).div(a).toNumber()),c=l+s+1;return c>n?KN(e,t,n,r,o+1):(c<n&&(s=t>0?s+(n-c):s,l=t>0?l:l+(n-c)),{step:a,tickMin:i.sub(new(EN())(l).mul(a)),tickMax:i.add(new(EN())(s).mul(a))})}var XN=zN((function(e){var t=qN(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=qN(YN([n,r]),2),s=l[0],c=l[1];if(s===-1/0||c===1/0){var u=c===1/0?[s].concat(UN(RN(0,o-1).map((function(){return 1/0})))):[].concat(UN(RN(0,o-1).map((function(){return-1/0}))),[c]);return n>r?DN(u):u}if(s===c)return $N(s,o,i);var d=KN(s,c,a,i),f=d.step,p=d.tickMin,h=d.tickMax,m=WN.rangeStep(p,h.add(new(EN())(.1).mul(f)),f);return n>r?DN(m):m})),QN=(zN((function(e){var t=qN(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=qN(YN([n,r]),2),s=l[0],c=l[1];if(s===-1/0||c===1/0)return[n,r];if(s===c)return $N(s,o,i);var u=GN(new(EN())(c).sub(s).div(a-1),i,0),d=IN(NN((function(e){return new(EN())(s).add(new(EN())(e).mul(u)).toNumber()})),RN)(0,a).filter((function(e){return e>=s&&e<=c}));return n>r?DN(d):d})),zN((function(e,t){var n=qN(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=qN(YN([r,o]),2),l=a[0],s=a[1];if(l===-1/0||s===1/0)return[r,o];if(l===s)return[l];var c=Math.max(t,2),u=GN(new(EN())(s).sub(l).div(c-1),i,0),d=[].concat(UN(WN.rangeStep(new(EN())(l),new(EN())(s).sub(new(EN())(.99).mul(u)),u)),[s]);return r>o?DN(d):d}))),JN=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function eI(){return eI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eI.apply(this,arguments)}function tI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return nI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nI(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oI(e){var n=e.offset,r=e.layout,o=e.width,i=e.dataKey,a=e.data,l=e.dataPointFormatter,s=e.xAxis,c=e.yAxis,u=rI(e,JN),d=Oj(u,!1);"x"===e.direction&&"number"!==s.type&&Lk(!1);var f=a.map((function(e){var a=l(e,i),u=a.x,f=a.y,p=a.value,h=a.errorVal;if(!h)return null;var m,v,g=[];if(Array.isArray(h)){var y=tI(h,2);m=y[0],v=y[1]}else m=v=h;if("vertical"===r){var b=s.scale,x=f+n,w=x+o,S=x-o,k=b(p-m),j=b(p+v);g.push({x1:j,y1:w,x2:j,y2:S}),g.push({x1:k,y1:x,x2:j,y2:x}),g.push({x1:k,y1:w,x2:k,y2:S})}else if("horizontal"===r){var E=c.scale,O=u+n,C=O-o,P=O+o,Z=E(p-m),_=E(p+v);g.push({x1:C,y1:_,x2:P,y2:_}),g.push({x1:O,y1:Z,x2:O,y2:_}),g.push({x1:C,y1:Z,x2:P,y2:Z})}return t.createElement(Dj,eI({className:"recharts-errorBar",key:"bar-".concat(g.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},d),g.map((function(e){return t.createElement("line",eI({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return t.createElement(Dj,{className:"recharts-errorBars"},f)}function iI(e){return iI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iI(e)}function aI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aI(Object(n),!0).forEach((function(t){sI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=iI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=iI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}oI.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},oI.displayName="ErrorBar";var cI=function(e){var t,n=e.children,r=e.formattedGraphicalItems,o=e.legendWidth,i=e.legendContent,a=Sj(n,nC);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(r||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:a.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(r||[]).map((function(e){var t=e.item,n=t.props,r=n.dataKey,o=n.name,i=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||i||"square",color:yI(t),value:o||r,payload:t.props}})),lI(lI(lI({},a.props),nC.getWithHeight(a,o)),{},{payload:t,item:a})):null};function uI(e){return uI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uI(e)}function dI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dI(Object(n),!0).forEach((function(t){pI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=uI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=uI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hI(e){return function(e){if(Array.isArray(e))return mI(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return mI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mI(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vI(e,t,n){return Ok()(e)||Ok()(t)?n:Qk(t)?Mk()(e,t,n):Pk()(t)?t(e):n}function gI(e,t,n,r){var o=wN()(e,(function(e){return vI(e,t)}));if("number"===n){var i=o.filter((function(e){return Xk(e)||parseFloat(e)}));return i.length?[bN()(i),gN()(i)]:[1/0,-1/0]}return(r?o.filter((function(e){return!Ok()(e)})):o).map((function(e){return Qk(e)||e instanceof Date?e:""}))}var yI=function(e){var t,n=e.type.displayName,r=e.props,o=r.stroke,i=r.fill;switch(n){case"Line":t=o;break;case"Area":case"Radar":t=o&&"none"!==o?o:i;break;default:t=i}return t},bI=function(e,t,n,r,o){var i=wj(t.props.children,oI).filter((function(e){return function(e,t,n){return!!Ok()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,o,e.props.direction)}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=vI(t,n);if(Ok()(r))return e;var o=Array.isArray(r)?[bN()(r),gN()(r)]:[r,r],i=a.reduce((function(e,n){var r=vI(t,n,0),i=o[0]-Math.abs(Array.isArray(r)?r[0]:r),a=o[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},xI=function(e,t,n,r,o){var i=t.map((function(t){var i=t.props.dataKey;return"number"===n&&i&&bI(e,t,i,r)||gI(e,i,n,o)}));if("number"===n)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e}),[])},wI=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},SI=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,l="scaleBand"===e.realScaleType?r.bandwidth()/2:2,s=(t||n)&&"category"===i&&r.bandwidth?r.bandwidth()/l:0;return s="angleAxis"===e.axisType&&(null===a||void 0===a?void 0:a.length)>=2?2*$k(a[0]-a[1])*s:s,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+s,value:e,offset:s}})).filter((function(e){return!Vk()(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+s,value:e,index:t,offset:s}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+s,value:e,offset:s}})):r.domain().map((function(e,t){return{coordinate:r(e)+s,value:o?o[e]:e,index:t,offset:s}}))},kI=new WeakMap,jI=function(e,t){if("function"!==typeof t)return e;kI.has(e)||kI.set(e,new WeakMap);var n=kI.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},EI=1e-4,OI={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0,a=0;a<t;++a){var l=Vk()(e[a][n][1])?e[a][n][0]:e[a][n][1];l>=0?(e[a][n][0]=o,e[a][n][1]=o+l,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+l,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}dN(e,t)}},none:dN,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,l=0;a<n;++a)l+=e[a][r][1]||0;o[r][1]+=o[r][0]=-l/2}dN(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var l=0,s=0,c=0;l<o;++l){for(var u=e[t[l]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,p=0;p<l;++p){var h=e[t[p]];f+=(h[a][1]||0)-(h[a-1][1]||0)}s+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,s&&(i-=c/s)}n[a-1][1]+=n[a-1][0]=i,dN(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0;i<t;++i){var a=Vk()(e[i][n][1])?e[i][n][0]:e[i][n][1];a>=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},CI=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=OI[n],i=function(){var e=fO([]),t=pN,n=dN,r=hN;function o(o){var i,a,l,s=Array.from(e.apply(this,arguments),mN),c=s.length,u=-1,d=J(o);try{for(d.s();!(l=d.n()).done;){var f=l.value;for(i=0,++u;i<c;++i)(s[i][u]=[0,+r(f,s[i].key,u,o)]).data=f}}catch(p){d.e(p)}finally{d.f()}for(i=0,a=fN(t(s));i<c;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"===typeof t?t:fO(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"===typeof e?e:fO(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?pN:"function"===typeof e?e:fO(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?dN:e,o):n},o}().keys(r).value((function(e,t){return+vI(e,t,0)})).order(pN).offset(o);return i(e)};var PI=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=r.slice(t,n+1).reduce((function(e,t){return[bN()(t.concat([e[0]]).filter(Xk)),gN()(t.concat([e[1]]).filter(Xk))]}),[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},ZI=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,_I=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,TI=function(e,t,n){if(Pk()(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(Xk(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(ZI.test(e[0])){var o=+ZI.exec(e[0])[1];r[0]=t[0]-o}else Pk()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Xk(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(_I.test(e[1])){var i=+_I.exec(e[1])[1];r[1]=t[1]+i}else Pk()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},MI=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=Rk()(t,(function(e){return e.coordinate})),i=1/0,a=1,l=o.length;a<l;a++){var s=o[a],c=o[a-1];i=Math.min((s.coordinate||0)-(c.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},AI=function(e,t,n){return e&&e.length?kN()(e,Mk()(n,"type.defaultProps.domain"))?t:e:t},RI=function(e,t){var n=e.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,l=n.tooltipType,s=n.chartType,c=n.hide;return fI(fI({},Oj(e,!1)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:yI(e),value:vI(t,r),type:l,payload:t,chartType:s,hide:c})};function NI(e){return NI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NI(e)}function II(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function DI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?II(Object(n),!0).forEach((function(t){zI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):II(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=NI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=NI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LI=["Webkit","Moz","O","ms"];function BI(e){return BI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BI(e)}function FI(){return FI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FI.apply(this,arguments)}function WI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WI(Object(n),!0).forEach((function(t){KI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XI(r.key),r)}}function HI(e,t,n){return t=YI(t),function(e,t){if(t&&("object"===BI(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GI(e)}(e,VI()?Reflect.construct(t,n||[],YI(e).constructor):t.apply(e,n))}function VI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VI=function(){return!!e})()}function YI(e){return YI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YI(e)}function GI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $I(e,t){return $I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$I(e,t)}function KI(e,t,n){return(t=XI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XI(e){var t=function(e,t){if("object"!=BI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=BI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==BI(t)?t:String(t)}var QI=function(e){return e.changedTouches&&!!e.changedTouches.length},JI=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),KI(GI(t=HI(this,n,[e])),"handleDrag",(function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)})),KI(GI(t),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])})),KI(GI(t),"handleDragEnd",(function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=t.props,n=e.endIndex,r=e.onDragEnd,o=e.startIndex;null===r||void 0===r||r({endIndex:n,startIndex:o})})),t.detachDragEndListener()})),KI(GI(t),"handleLeaveWrapper",(function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))})),KI(GI(t),"handleEnterSlideOrTraveller",(function(){t.setState({isTextActive:!0})})),KI(GI(t),"handleLeaveSlideOrTraveller",(function(){t.setState({isTextActive:!1})})),KI(GI(t),"handleSlideDragStart",(function(e){var n=QI(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()})),t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(GI(t),"startX"),endX:t.handleTravellerDragStart.bind(GI(t),"endX")},t.state={},t}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$I(e,t)}(n,e),r=n,o=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,o=this.state.scaleValues,i=this.props,a=i.gap,l=i.data.length-1,s=Math.min(t,r),c=Math.max(t,r),u=n.getIndexInRange(o,s),d=n.getIndexInRange(o,c);return{startIndex:u-u%a,endIndex:d===l?l:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=vI(n[e],o,e);return Pk()(r)?r(i,e):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,l=i.width,s=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=e.pageX-n;f>0?f=Math.min(f,a+l-s-o,a+l-s-r):f<0&&(f=Math.max(f,a-r,a-o));var p=this.getIndex({startX:r+f,endX:o+f});p.startIndex===c&&p.endIndex===u||!d||d(p),this.setState({startX:r+f,endX:o+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=QI(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,o=t.endX,i=t.startX,a=this.state[r],l=this.props,s=l.x,c=l.width,u=l.travellerWidth,d=l.onChange,f=l.gap,p=l.data,h={startX:this.state.startX,endX:this.state.endX},m=e.pageX-n;m>0?m=Math.min(m,s+c-u-a):m<0&&(m=Math.max(m,s-a)),h[r]=a+m;var v=this.getIndex(h),g=v.startIndex,y=v.endIndex;this.setState(KI(KI({},r,a+m),"brushMoveStartX",e.pageX),(function(){d&&function(){var e=p.length-1;return"startX"===r&&(o>i?g%f===0:y%f===0)||o<i&&y===e||"endX"===r&&(o>i?y%f===0:g%f===0)||o>i&&y===e}()&&d(v)}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,o=r.scaleValues,i=r.startX,a=r.endX,l=this.state[t],s=o.indexOf(l);if(-1!==s){var c=s+e;if(!(-1===c||c>=o.length)){var u=o[c];"startX"===t&&u>=a||"endX"===t&&u<=i||this.setState(KI({},t,u),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.fill,l=e.stroke;return t.createElement("rect",{stroke:l,fill:a,x:n,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.data,l=e.children,s=e.padding,c=t.Children.only(l);return c?t.cloneElement(c,{x:n,y:r,width:o,height:i,margin:s,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,r){var o,i,a=this,l=this.props,s=l.y,c=l.travellerWidth,u=l.height,d=l.traveller,f=l.ariaLabel,p=l.data,h=l.startIndex,m=l.endIndex,v=Math.max(e,this.props.x),g=UI(UI({},Oj(this.props,!1)),{},{x:v,y:s,width:c,height:u}),y=f||"Min value: ".concat(null===(o=p[h])||void 0===o?void 0:o.name,", Max value: ").concat(null===(i=p[m])||void 0===i?void 0:i.name);return t.createElement(Dj,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(d,g))}},{key:"renderSlide",value:function(e,n){var r=this.props,o=r.y,i=r.height,a=r.stroke,l=r.travellerWidth,s=Math.min(e,n)+l,c=Math.max(Math.abs(n-e)-l,0);return t.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:s,y:o,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,n=e.startIndex,r=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,l=e.stroke,s=this.state,c=s.startX,u=s.endX,d={pointerEvents:"none",fill:l};return t.createElement(Dj,{className:"recharts-brush-texts"},t.createElement(s_,FI({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:o+i/2},d),this.getTextOfTick(n)),t.createElement(s_,FI({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+a+5,y:o+i/2},d),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,n=e.data,r=e.className,o=e.children,i=e.x,a=e.y,l=e.width,s=e.height,c=e.alwaysShowText,u=this.state,d=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,m=u.isTravellerMoving,v=u.isTravellerFocused;if(!n||!n.length||!Xk(i)||!Xk(a)||!Xk(l)||!Xk(s)||l<=0||s<=0)return null;var g=(0,Mi.Z)("recharts-brush",r),y=1===t.Children.count(o),b=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=LI.reduce((function(e,r){return DI(DI({},e),{},zI({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return t.createElement(Dj,{className:g,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:b},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(d,f),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||m||v||c)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var n=e.x,r=e.y,o=e.width,i=e.height,a=e.stroke,l=Math.floor(r+i/2)-1;return t.createElement(t.Fragment,null,t.createElement("rect",{x:n,y:r,width:o,height:i,fill:a,stroke:"none"}),t.createElement("line",{x1:n+1,y1:l,x2:n+o-1,y2:l,fill:"none",stroke:"#fff"}),t.createElement("line",{x1:n+1,y1:l+2,x2:n+o-1,y2:l+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return t.isValidElement(e)?t.cloneElement(e,r):Pk()(e)?e(r):n.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,l=e.startIndex,s=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return UI({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var l=t.length,s=EZ().domain(_k()(0,l)).range([o,o+i-a]),c=s.domain().map((function(e){return s(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(n),endX:s(r),scale:s,scaleValues:c}}({data:n,width:r,x:o,travellerWidth:i,startIndex:l,endIndex:s}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var c=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],o&&qI(r.prototype,o),i&&qI(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function eD(e){return eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eD(e)}function tD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tD(Object(n),!0).forEach((function(t){rD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=eD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return iD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iD(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}KI(JI,"displayName","Brush"),KI(JI,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var aD=Math.PI/180,lD=function(e){return 180*e/Math.PI},sD=function(e,t,n,r){return{x:e+Math.cos(-aD*r)*n,y:t+Math.sin(-aD*r)*n}},cD=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},uD=function(e,t){var n=e.x,r=e.y,o=t.cx,i=t.cy,a=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var l=(n-o)/a,s=Math.acos(l);return r>i&&(s=2*Math.PI-s),{radius:a,angle:lD(s),angleInRadian:s}},dD=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},fD=function(e,t){var n=e.x,r=e.y,o=uD({x:n,y:r},t),i=o.radius,a=o.angle,l=t.innerRadius,s=t.outerRadius;if(i<l||i>s)return!1;if(0===i)return!0;var c,u=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),d=u.startAngle,f=u.endAngle,p=a;if(d<=f){for(;p>f;)p-=360;for(;p<d;)p+=360;c=p>=d&&p<=f}else{for(;p>d;)p-=360;for(;p<f;)p+=360;c=p>=f&&p<=d}return c?nD(nD({},t),{},{radius:i,angle:dD(p,t)}):null},pD=function(e){return(0,t.isValidElement)(e)||Pk()(e)||"boolean"===typeof e?"":e.className};function hD(e){return hD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hD(e)}var mD=["offset"];function vD(e){return function(e){if(Array.isArray(e))return gD(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return gD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gD(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yD(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bD(Object(n),!0).forEach((function(t){wD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=hD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=hD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SD(){return SD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SD.apply(this,arguments)}var kD=function(e){var t=e.value,n=e.formatter,r=Ok()(e.children)?t:e.children;return Pk()(n)?n(r):r},jD=function(e,n,r){var o,i,a=e.position,l=e.viewBox,s=e.offset,c=e.className,u=l,d=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,m=u.startAngle,v=u.endAngle,g=u.clockWise,y=(p+h)/2,b=function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),360)}(m,v),x=b>=0?1:-1;"insideStart"===a?(o=m+x*s,i=g):"insideEnd"===a?(o=v-x*s,i=!g):"end"===a&&(o=v+x*s,i=g),i=b<=0?i:!i;var w=sD(d,f,y,o),S=sD(d,f,y,o+359*(i?1:-1)),k="M".concat(w.x,",").concat(w.y,"\n A").concat(y,",").concat(y,",0,1,").concat(i?0:1,",\n ").concat(S.x,",").concat(S.y),j=Ok()(e.id)?ej("recharts-radial-line-"):e.id;return t.createElement("text",SD({},r,{dominantBaseline:"central",className:(0,Mi.Z)("recharts-radial-bar-label",c)}),t.createElement("defs",null,t.createElement("path",{id:j,d:k})),t.createElement("textPath",{xlinkHref:"#".concat(j)},n))},ED=function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,l=o.innerRadius,s=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=sD(i,a,s+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=sD(i,a,(l+s)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},OD=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,i=t,a=i.x,l=i.y,s=i.width,c=i.height,u=c>=0?1:-1,d=u*r,f=u>0?"end":"start",p=u>0?"start":"end",h=s>=0?1:-1,m=h*r,v=h>0?"end":"start",g=h>0?"start":"end";if("top"===o)return xD(xD({},{x:a+s/2,y:l-u*r,textAnchor:"middle",verticalAnchor:f}),n?{height:Math.max(l-n.y,0),width:s}:{});if("bottom"===o)return xD(xD({},{x:a+s/2,y:l+c+d,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(n.y+n.height-(l+c),0),width:s}:{});if("left"===o){var y={x:a-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"};return xD(xD({},y),n?{width:Math.max(y.x-n.x,0),height:c}:{})}if("right"===o){var b={x:a+s+m,y:l+c/2,textAnchor:g,verticalAnchor:"middle"};return xD(xD({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:c}:{})}var x=n?{width:s,height:c}:{};return"insideLeft"===o?xD({x:a+m,y:l+c/2,textAnchor:g,verticalAnchor:"middle"},x):"insideRight"===o?xD({x:a+s-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"},x):"insideTop"===o?xD({x:a+s/2,y:l+d,textAnchor:"middle",verticalAnchor:p},x):"insideBottom"===o?xD({x:a+s/2,y:l+c-d,textAnchor:"middle",verticalAnchor:f},x):"insideTopLeft"===o?xD({x:a+m,y:l+d,textAnchor:g,verticalAnchor:p},x):"insideTopRight"===o?xD({x:a+s-m,y:l+d,textAnchor:v,verticalAnchor:p},x):"insideBottomLeft"===o?xD({x:a+m,y:l+c-d,textAnchor:g,verticalAnchor:f},x):"insideBottomRight"===o?xD({x:a+s-m,y:l+c-d,textAnchor:v,verticalAnchor:f},x):Uk()(o)&&(Xk(o.x)||Kk(o.x))&&(Xk(o.y)||Kk(o.y))?xD({x:a+tj(o.x,s),y:l+tj(o.y,c),textAnchor:"end",verticalAnchor:"end"},x):xD({x:a+s/2,y:l+c/2,textAnchor:"middle",verticalAnchor:"middle"},x)},CD=function(e){return"cx"in e&&Xk(e.cx)};function PD(e){var n,r=e.offset,o=xD({offset:void 0===r?5:r},yD(e,mD)),i=o.viewBox,a=o.position,l=o.value,s=o.children,c=o.content,u=o.className,d=void 0===u?"":u,f=o.textBreakAll;if(!i||Ok()(l)&&Ok()(s)&&!(0,t.isValidElement)(c)&&!Pk()(c))return null;if((0,t.isValidElement)(c))return(0,t.cloneElement)(c,o);if(Pk()(c)){if(n=(0,t.createElement)(c,o),(0,t.isValidElement)(n))return n}else n=kD(o);var p=CD(i),h=Oj(o,!0);if(p&&("insideStart"===a||"insideEnd"===a||"end"===a))return jD(o,n,h);var m=p?ED(o):OD(o);return t.createElement(s_,SD({className:(0,Mi.Z)("recharts-label",d)},h,m,{breakAll:f}),n)}PD.displayName="Label";var ZD=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,l=e.radius,s=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,h=e.width,m=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if(Xk(h)&&Xk(m)){if(Xk(u)&&Xk(d))return{x:u,y:d,width:h,height:m};if(Xk(f)&&Xk(p))return{x:f,y:p,width:h,height:m}}return Xk(u)&&Xk(d)?{x:u,y:d,width:0,height:0}:Xk(t)&&Xk(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:s||0,outerRadius:c||l||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};PD.parseViewBox=ZD,PD.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=e.children,i=ZD(e),a=wj(o,PD).map((function(e,r){return(0,t.cloneElement)(e,{viewBox:n||i,key:"label-".concat(r)})}));if(!r)return a;var l=function(e,n){return e?!0===e?t.createElement(PD,{key:"label-implicit",viewBox:n}):Qk(e)?t.createElement(PD,{key:"label-implicit",viewBox:n,value:e}):(0,t.isValidElement)(e)?e.type===PD?(0,t.cloneElement)(e,{key:"label-implicit",viewBox:n}):t.createElement(PD,{key:"label-implicit",content:e,viewBox:n}):Pk()(e)?t.createElement(PD,{key:"label-implicit",content:e,viewBox:n}):Uk()(e)?t.createElement(PD,SD({viewBox:n},e,{key:"label-implicit"})):null:null}(e.label,n||i);return[l].concat(vD(a))};var _D=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},TD=n(7702),MD=n.n(TD),AD=n(2730),RD=n.n(AD);function ND(e){return ND="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ND(e)}function ID(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BD(r.key),r)}}function DD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DD(Object(n),!0).forEach((function(t){LD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LD(e,t,n){return(t=BD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BD(e){var t=function(e,t){if("object"!=ND(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ND(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ND(t)?t:String(t)}var FD=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},WD=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,n,r;return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&ID(t.prototype,n),r&&ID(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();LD(WD,"EPS",1e-4);var UD=function(e){var t=Object.keys(e).reduce((function(t,n){return zD(zD({},t),{},LD({},n,WD.create(e[n])))}),{});return zD(zD({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return MD()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:o})}))},isInRange:function(e){return RD()(e,(function(e,n){return t[n].isInRange(e)}))}})};function qD(e){return qD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qD(e)}function HD(){return HD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HD.apply(this,arguments)}function VD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VD(Object(n),!0).forEach((function(t){GD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=qD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $D(e){var n=e.x,r=e.y,o=e.r,i=e.alwaysShow,a=e.clipPathId,l=Qk(n),s=Qk(r);if(CE(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!s)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,i=UD({x:r.scale,y:o.scale}),a=i.apply({x:t,y:n},{bandAware:!0});return _D(e,"discard")&&!i.isInRange(a)?null:a}(e);if(!c)return null;var u=c.x,d=c.y,f=e.shape,p=e.className,h=YD(YD({clipPath:_D(e,"hidden")?"url(#".concat(a,")"):void 0},Oj(e,!0)),{},{cx:u,cy:d});return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-dot",p)},$D.renderDot(f,h),PD.renderCallByParent(e,{x:u-o,y:d-o,width:2*o,height:2*o}))}$D.displayName="ReferenceDot",$D.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},$D.renderDot=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(oC,HD({},n,{cx:n.cx,cy:n.cy,className:"recharts-reference-dot-dot"}))};var KD=n(4064),XD=n.n(KD),QD=(n(1211),n(9151)),JD=n.n(QD)()((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));var ez=(0,t.createContext)(void 0),tz=(0,t.createContext)(void 0),nz=(0,t.createContext)(void 0),rz=(0,t.createContext)({}),oz=(0,t.createContext)(void 0),iz=(0,t.createContext)(0),az=(0,t.createContext)(0),lz=function(e){var n=e.state,r=n.xAxisMap,o=n.yAxisMap,i=n.offset,a=e.clipPathId,l=e.children,s=e.width,c=e.height,u=JD(i);return t.createElement(ez.Provider,{value:r},t.createElement(tz.Provider,{value:o},t.createElement(rz.Provider,{value:i},t.createElement(nz.Provider,{value:u},t.createElement(oz.Provider,{value:a},t.createElement(iz.Provider,{value:c},t.createElement(az.Provider,{value:s},l)))))))};function sz(e){return sz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sz(e)}function cz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cz(Object(n),!0).forEach((function(t){dz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return pz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hz(){return hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hz.apply(this,arguments)}function mz(e){var n=e.x,r=e.y,o=e.segment,i=e.xAxisId,a=e.yAxisId,l=e.shape,s=e.className,c=e.alwaysShow,u=(0,t.useContext)(oz),d=function(e){var n=(0,t.useContext)(ez);null==n&&Lk(!1);var r=n[e];return null==r&&Lk(!1),r}(i),f=function(e){var n=(0,t.useContext)(tz);null==n&&Lk(!1);var r=n[e];return null==r&&Lk(!1),r}(a),p=(0,t.useContext)(nz);if(!u||!p)return null;CE(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,n,r,o,i,a,l,s){var c=o.x,u=o.y,d=o.width,f=o.height;if(n){var p=s.y,h=e.y.apply(p,{position:i});if(_D(s,"discard")&&!e.y.isInRange(h))return null;var m=[{x:c+d,y:h},{x:c,y:h}];return"left"===l?m.reverse():m}if(t){var v=s.x,g=e.x.apply(v,{position:i});if(_D(s,"discard")&&!e.x.isInRange(g))return null;var y=[{x:g,y:u+f},{x:g,y:u}];return"top"===a?y.reverse():y}if(r){var b=s.segment.map((function(t){return e.apply(t,{position:i})}));return _D(s,"discard")&&XD()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(UD({x:d.scale,y:f.scale}),Qk(n),Qk(r),o&&2===o.length,p,e.position,d.orientation,f.orientation,e);if(!h)return null;var m=fz(h,2),v=m[0],g=v.x,y=v.y,b=m[1],x=b.x,w=b.y,S=uz(uz({clipPath:_D(e,"hidden")?"url(#".concat(u,")"):void 0},Oj(e,!0)),{},{x1:g,y1:y,x2:x,y2:w});return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-line",s)},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement("line",hz({},n,{className:"recharts-reference-line-line"}))}(l,S),PD.renderCallByParent(e,function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return FD({x:t,y:n},{x:r,y:o})}({x1:g,y1:y,x2:x,y2:w})))}function vz(e){return vz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vz(e)}function gz(){return gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gz.apply(this,arguments)}function yz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yz(Object(n),!0).forEach((function(t){xz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=vz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=vz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}mz.displayName="ReferenceLine",mz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function wz(e){var n=e.x1,r=e.x2,o=e.y1,i=e.y2,a=e.className,l=e.alwaysShow,s=e.clipPathId;CE(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Qk(n),u=Qk(r),d=Qk(o),f=Qk(i),p=e.shape;if(!c&&!u&&!d&&!f&&!p)return null;var h=function(e,t,n,r,o){var i=o.x1,a=o.x2,l=o.y1,s=o.y2,c=o.xAxis,u=o.yAxis;if(!c||!u)return null;var d=UD({x:c.scale,y:u.scale}),f={x:e?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(l,{position:"start"}):d.y.rangeMin},p={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(s,{position:"end"}):d.y.rangeMax};return!_D(o,"discard")||d.isInRange(f)&&d.isInRange(p)?FD(f,p):null}(c,u,d,f,e);if(!h&&!p)return null;var m=_D(e,"hidden")?"url(#".concat(s,")"):void 0;return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-area",a)},wz.renderRect(p,bz(bz({clipPath:m},Oj(e,!0)),h)),PD.renderCallByParent(e,h))}function Sz(e){return function(e){if(Array.isArray(e))return kz(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return kz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kz(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}wz.displayName="ReferenceArea",wz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},wz.renderRect=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(pZ,gz({},n,{className:"recharts-reference-area-rect"}))};var jz=function(e,t,n,r,o){var i=wj(e,mz),a=wj(e,$D),l=[].concat(Sz(i),Sz(a)),s=wj(e,wz),c="".concat(r,"Id"),u=r[0],d=t;if(l.length&&(d=l.reduce((function(e,t){if(t.props[c]===n&&_D(t.props,"extendDomain")&&Xk(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),d)),s.length){var f="".concat(u,"1"),p="".concat(u,"2");d=s.reduce((function(e,t){if(t.props[c]===n&&_D(t.props,"extendDomain")&&Xk(t.props[f])&&Xk(t.props[p])){var r=t.props[f],o=t.props[p];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e}),d)}return o&&o.length&&(d=o.reduce((function(e,t){return Xk(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),d)),d},Ez=n(7143),Oz=new(n.n(Ez)()),Cz="recharts.syncMouseEvents";function Pz(e){return Pz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pz(e)}function Zz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tz(r.key),r)}}function _z(e,t,n){return(t=Tz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tz(e){var t=function(e,t){if("object"!=Pz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pz(t)?t:String(t)}var Mz=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),_z(this,"activeIndex",0),_z(this,"coordinateList",[]),_z(this,"layout","horizontal")}var t,n,r;return t=e,n=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,o=e.container,i=void 0===o?null:o,a=e.layout,l=void 0===a?null:a,s=e.offset,c=void 0===s?null:s,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=null!==r&&void 0!==r?r:this.coordinateList)&&void 0!==t?t:[],this.container=null!==i&&void 0!==i?i:this.container,this.layout=null!==l&&void 0!==l?l:this.layout,this.offset=null!==c&&void 0!==c?c:this.offset,this.mouseHandlerCallback=null!==d&&void 0!==d?d:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=this.coordinateList[this.activeIndex].coordinate,l=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,s=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=r+a+l,u=o+this.offset.top+i/2+s;this.mouseHandlerCallback({pageX:c,pageY:u})}}}],n&&Zz(t.prototype,n),r&&Zz(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();var Az=n(3977),Rz=n.n(Az),Nz=n(5127),Iz=n.n(Nz);function Dz(e){return Dz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dz(e)}function zz(){return zz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zz.apply(this,arguments)}function Lz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Bz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fz(Object(n),!0).forEach((function(t){Uz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Dz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qz=function(e,t,n,r,o){var i,a=n-r;return i="M ".concat(e,",").concat(t),i+="L ".concat(e+n,",").concat(t),i+="L ".concat(e+n-a/2,",").concat(t+o),i+="L ".concat(e+n-a/2-r,",").concat(t+o),i+="L ".concat(e,",").concat(t," Z")},Hz={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Vz=function(e){var n=Wz(Wz({},Hz),e),r=(0,t.useRef)(),o=Lz((0,t.useState)(-1),2),i=o[0],a=o[1];(0,t.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch(t){}}),[]);var l=n.x,s=n.y,c=n.upperWidth,u=n.lowerWidth,d=n.height,f=n.className,p=n.animationEasing,h=n.animationDuration,m=n.animationBegin,v=n.isUpdateAnimationActive;if(l!==+l||s!==+s||c!==+c||u!==+u||d!==+d||0===c&&0===u||0===d)return null;var g=(0,Mi.Z)("recharts-trapezoid",f);return v?t.createElement(nZ,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:s},to:{upperWidth:c,lowerWidth:u,height:d,x:l,y:s},duration:h,animationEasing:p,isActive:v},(function(e){var o=e.upperWidth,a=e.lowerWidth,l=e.height,s=e.x,c=e.y;return t.createElement(nZ,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:h,easing:p},t.createElement("path",zz({},Oj(n,!0),{className:g,d:qz(s,c,o,a,l),ref:r})))})):t.createElement("g",null,t.createElement("path",zz({},Oj(n,!0),{className:g,d:qz(l,s,c,u,d)})))};function Yz(e){return Yz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yz(e)}function Gz(){return Gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gz.apply(this,arguments)}function $z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$z(Object(n),!0).forEach((function(t){Xz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Yz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qz=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.angle,i=e.sign,a=e.isExternal,l=e.cornerRadius,s=e.cornerIsExternal,c=l*(a?1:-1)+r,u=Math.asin(l/c)/aD,d=s?o:o+i*u,f=s?o-i*u:o;return{center:sD(t,n,c,d),circleTangency:sD(t,n,r,d),lineTangency:sD(t,n,c*Math.cos(u*aD),f),theta:u}},Jz=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.startAngle,a=function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),359.999)}(i,e.endAngle),l=i+a,s=sD(t,n,o,i),c=sD(t,n,o,l),u="M ".concat(s.x,",").concat(s.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>l),",\n ").concat(c.x,",").concat(c.y,"\n ");if(r>0){var d=sD(t,n,r,i),f=sD(t,n,r,l);u+="L ".concat(f.x,",").concat(f.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=l),",\n ").concat(d.x,",").concat(d.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},eL={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},tL=function(e){var n=Kz(Kz({},eL),e),r=n.cx,o=n.cy,i=n.innerRadius,a=n.outerRadius,l=n.cornerRadius,s=n.forceCornerRadius,c=n.cornerIsExternal,u=n.startAngle,d=n.endAngle,f=n.className;if(a<i||u===d)return null;var p,h=(0,Mi.Z)("recharts-sector",f),m=a-i,v=tj(l,m,0,!0);return p=v>0&&Math.abs(u-d)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,l=e.cornerIsExternal,s=e.startAngle,c=e.endAngle,u=$k(c-s),d=Qz({cx:t,cy:n,radius:o,angle:s,sign:u,cornerRadius:i,cornerIsExternal:l}),f=d.circleTangency,p=d.lineTangency,h=d.theta,m=Qz({cx:t,cy:n,radius:o,angle:c,sign:-u,cornerRadius:i,cornerIsExternal:l}),v=m.circleTangency,g=m.lineTangency,y=m.theta,b=l?Math.abs(s-c):Math.abs(s-c)-h-y;if(b<0)return a?"M ".concat(p.x,",").concat(p.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):Jz({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c});var x="M ".concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(f.x,",").concat(f.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n ");if(r>0){var w=Qz({cx:t,cy:n,radius:r,angle:s,sign:u,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),S=w.circleTangency,k=w.lineTangency,j=w.theta,E=Qz({cx:t,cy:n,radius:r,angle:c,sign:-u,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),O=E.circleTangency,C=E.lineTangency,P=E.theta,Z=l?Math.abs(s-c):Math.abs(s-c)-j-P;if(Z<0&&0===i)return"".concat(x,"L").concat(t,",").concat(n,"Z");x+="L".concat(C.x,",").concat(C.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(O.x,",").concat(O.y,"\n A").concat(r,",").concat(r,",0,").concat(+(Z>180),",").concat(+(u>0),",").concat(S.x,",").concat(S.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(k.x,",").concat(k.y,"Z")}else x+="L".concat(t,",").concat(n,"Z");return x}({cx:r,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(v,m/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:u,endAngle:d}):Jz({cx:r,cy:o,innerRadius:i,outerRadius:a,startAngle:u,endAngle:d}),t.createElement("path",Gz({},Oj(n,!0),{className:h,d:p,role:"img"}))},nL=["option","shapeType","propTransformer","activeClassName","isActive"];function rL(e){return rL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rL(e)}function oL(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function iL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iL(Object(n),!0).forEach((function(t){lL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lL(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sL(e,t){return aL(aL({},t),e)}function cL(e){var n=e.shapeType,r=e.elementProps;switch(n){case"rectangle":return t.createElement(pZ,r);case"trapezoid":return t.createElement(Vz,r);case"sector":return t.createElement(tL,r);case"symbols":if(function(e,t){return"symbols"===e}(n))return t.createElement(ZO,r);break;default:return null}}function uL(e){var n,r=e.option,o=e.shapeType,i=e.propTransformer,a=void 0===i?sL:i,l=e.activeClassName,s=void 0===l?"recharts-active-shape":l,c=e.isActive,u=oL(e,nL);if((0,t.isValidElement)(r))n=(0,t.cloneElement)(r,aL(aL({},u),function(e){return(0,t.isValidElement)(e)?e.props:e}(r)));else if(Pk()(r))n=r(u);else if(Rz()(r)&&!Iz()(r)){var d=a(r,u);n=t.createElement(cL,{shapeType:o,elementProps:d})}else{var f=u;n=t.createElement(cL,{shapeType:o,elementProps:f})}return c?t.createElement(Dj,{className:s},n):n}function dL(e,t){return null!=t&&"trapezoids"in e.props}function fL(e,t){return null!=t&&"sectors"in e.props}function pL(e,t){return null!=t&&"points"in e.props}function hL(e,t){var n,r,o=e.x===(null===t||void 0===t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,i=e.y===(null===t||void 0===t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return o&&i}function mL(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function vL(e,t){var n=e.x===t.x,r=e.y===t.y,o=e.z===t.z;return n&&r&&o}function gL(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,o=function(e,t){var n;return dL(e,t)?n="trapezoids":fL(e,t)?n="sectors":pL(e,t)&&(n="points"),n}(n,t),i=function(e,t){var n,r;return dL(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:fL(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:pL(e,t)?t.payload:{}}(n,t),a=r.filter((function(e,r){var a=kN()(i,e),l=n.props[o].filter((function(e){var r=function(e,t){var n;return dL(e,t)?n=hL:fL(e,t)?n=mL:pL(e,t)&&(n=vL),n}(n,t);return r(e,t)})),s=n.props[o].indexOf(l[l.length-1]);return a&&r===s}));return r.indexOf(a[a.length-1])}function yL(){}function bL(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function xL(e){this._context=e}function wL(e){this._context=e}function SL(e){this._context=e}xL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bL(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},wL.prototype={areaStart:yL,areaEnd:yL,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},SL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var kL=function(){function e(t,n){W(this,e),this._context=t,this._x=n}return H(e,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}]),e}();function jL(e){this._context=e}function EL(e){this._context=e}function OL(e){return new EL(e)}function CL(e){return e<0?-1:1}function PL(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),l=(i*o+a*r)/(r+o);return(CL(i)+CL(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(l))||0}function ZL(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function _L(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,l=(i-r)/3;e._context.bezierCurveTo(r+l,o+l*t,i-l,a-l*n,i,a)}function TL(e){this._context=e}function ML(e){this._context=new AL(e)}function AL(e){this._context=e}function RL(e){this._context=e}function NL(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function IL(e,t){this._context=e,this._t=t}function DL(e){return e[0]}function zL(e){return e[1]}function LL(e,t){var n=fO(!0),r=null,o=OL,i=null,a=bO(l);function l(l){var s,c,u,d=(l=fN(l)).length,f=!1;for(null==r&&(i=o(u=a())),s=0;s<=d;++s)!(s<d&&n(c=l[s],s,l))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(c,s,l),+t(c,s,l));if(u)return i=null,u+""||null}return e="function"===typeof e?e:void 0===e?DL:fO(e),t="function"===typeof t?t:void 0===t?zL:fO(t),l.x=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),l):e},l.y=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),l):t},l.defined=function(e){return arguments.length?(n="function"===typeof e?e:fO(!!e),l):n},l.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),l):o},l.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),l):r},l}function BL(e,t,n){var r=null,o=fO(!0),i=null,a=OL,l=null,s=bO(c);function c(c){var u,d,f,p,h,m=(c=fN(c)).length,v=!1,g=new Array(m),y=new Array(m);for(null==i&&(l=a(h=s())),u=0;u<=m;++u){if(!(u<m&&o(p=c[u],u,c))===v)if(v=!v)d=u,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),f=u-1;f>=d;--f)l.point(g[f],y[f]);l.lineEnd(),l.areaEnd()}v&&(g[u]=+e(p,u,c),y[u]=+t(p,u,c),l.point(r?+r(p,u,c):g[u],n?+n(p,u,c):y[u]))}if(h)return l=null,h+""||null}function u(){return LL().defined(o).curve(a).context(i)}return e="function"===typeof e?e:void 0===e?DL:fO(+e),t="function"===typeof t?t:fO(void 0===t?0:+t),n="function"===typeof n?n:void 0===n?zL:fO(+n),c.x=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:fO(+e),c):r},c.y=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:fO(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(o="function"===typeof e?e:fO(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(l=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=l=null:l=a(i=e),c):i},c}function FL(e){return FL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},FL(e)}function WL(){return WL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WL.apply(this,arguments)}function UL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UL(Object(n),!0).forEach((function(t){HL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HL(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=FL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=FL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==FL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}jL.prototype={areaStart:yL,areaEnd:yL,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},EL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},TL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_L(this,this._t0,ZL(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,_L(this,ZL(this,n=PL(this,e,t)),n);break;default:_L(this,this._t0,n=PL(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ML.prototype=Object.create(TL.prototype)).point=function(e,t){TL.prototype.point.call(this,t,e)},AL.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},RL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=NL(e),o=NL(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},IL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var VL={curveBasisClosed:function(e){return new wL(e)},curveBasisOpen:function(e){return new SL(e)},curveBasis:function(e){return new xL(e)},curveBumpX:function(e){return new kL(e,!0)},curveBumpY:function(e){return new kL(e,!1)},curveLinearClosed:function(e){return new jL(e)},curveLinear:OL,curveMonotoneX:function(e){return new TL(e)},curveMonotoneY:function(e){return new ML(e)},curveNatural:function(e){return new RL(e)},curveStep:function(e){return new IL(e,.5)},curveStepAfter:function(e){return new IL(e,1)},curveStepBefore:function(e){return new IL(e,0)}},YL=function(e){return e.x===+e.x&&e.y===+e.y},GL=function(e){return e.x},$L=function(e){return e.y},KL=function(e){var t,n=e.type,r=void 0===n?"linear":n,o=e.points,i=void 0===o?[]:o,a=e.baseLine,l=e.layout,s=e.connectNulls,c=void 0!==s&&s,u=function(e,t){if(Pk()(e))return e;var n="curve".concat(ZE()(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?VL[n]||OL:VL["".concat(n).concat("vertical"===t?"Y":"X")]}(r,l),d=c?i.filter((function(e){return YL(e)})):i;if(Array.isArray(a)){var f=c?a.filter((function(e){return YL(e)})):a,p=d.map((function(e,t){return qL(qL({},e),{},{base:f[t]})}));return(t="vertical"===l?BL().y($L).x1(GL).x0((function(e){return e.base.x})):BL().x(GL).y1($L).y0((function(e){return e.base.y}))).defined(YL).curve(u),t(p)}return(t="vertical"===l&&Xk(a)?BL().y($L).x1(GL).x0(a):Xk(a)?BL().x(GL).y1($L).y0(a):LL().x(GL).y($L)).defined(YL).curve(u),t(d)},XL=function(e){var n=e.className,r=e.points,o=e.path,i=e.pathRef;if((!r||!r.length)&&!o)return null;var a=r&&r.length?KL(e):o;return t.createElement("path",WL({},Oj(e,!1),dj(e),{className:(0,Mi.Z)("recharts-curve",n),d:a,ref:i}))};function QL(e){return QL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QL(e)}var JL=["x","y","top","left","width","height","className"];function eB(){return eB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eB.apply(this,arguments)}function tB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nB(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=QL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=QL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==QL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var oB=function(e,t,n,r,o,i){return"M".concat(e,",").concat(o,"v").concat(r,"M").concat(i,",").concat(t,"h").concat(n)},iB=function(e){var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.top,l=void 0===a?0:a,s=e.left,c=void 0===s?0:s,u=e.width,d=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tB(Object(n),!0).forEach((function(t){nB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({x:r,y:i,top:l,left:c,width:d,height:p},rB(e,JL));return Xk(r)&&Xk(i)&&Xk(d)&&Xk(p)&&Xk(l)&&Xk(c)?t.createElement("path",eB({},Oj(m,!0),{className:(0,Mi.Z)("recharts-cross",h),d:oB(r,i,d,p,l,c)})):null};function aB(e){var t=e.cx,n=e.cy,r=e.radius,o=e.startAngle,i=e.endAngle;return{points:[sD(t,n,r,o),sD(t,n,r,i)],cx:t,cy:n,radius:r,startAngle:o,endAngle:i}}function lB(e,t,n){var r,o,i,a;if("horizontal"===e)i=r=t.x,o=n.top,a=n.top+n.height;else if("vertical"===e)a=o=t.y,r=n.left,i=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return aB(t);var l=t.cx,s=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,f=sD(l,s,c,d),p=sD(l,s,u,d);r=f.x,o=f.y,i=p.x,a=p.y}return[{x:r,y:o},{x:i,y:a}]}function sB(e){return sB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sB(e)}function cB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cB(Object(n),!0).forEach((function(t){dB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dB(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sB(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fB(e){var n,r=e.element,o=e.tooltipEventType,i=e.isActive,a=e.activeCoordinate,l=e.activePayload,s=e.offset,c=e.activeTooltipIndex,u=e.tooltipAxisBandSize,d=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!a||"ScatterChart"!==f&&"axis"!==o)return null;var p=XL;if("ScatterChart"===f)n=a,p=iB;else if("BarChart"===f)n=function(e,t,n,r){var o=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-o,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(d,a,s,u),p=pZ;else if("radial"===d){var h=aB(a),m=h.cx,v=h.cy,g=h.radius;n={cx:m,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:g,outerRadius:g},p=tL}else n={points:lB(d,a,s)},p=XL;var y=uB(uB(uB(uB({stroke:"#ccc",pointerEvents:"none"},s),n),Oj(r.props.cursor,!1)),{},{payload:l,payloadIndex:c,className:(0,Mi.Z)("recharts-tooltip-cursor",r.props.cursor.className)});return(0,t.isValidElement)(r.props.cursor)?(0,t.cloneElement)(r.props.cursor,y):(0,t.createElement)(p,y)}var pB=["item"],hB=["children","className","width","height","style","compact","title","desc"];function mB(e){return mB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mB(e)}function vB(){return vB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vB.apply(this,arguments)}function gB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||OB(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TB(r.key),r)}}function xB(e,t,n){return t=SB(t),function(e,t){if(t&&("object"===mB(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kB(e)}(e,wB()?Reflect.construct(t,n||[],SB(e).constructor):t.apply(e,n))}function wB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wB=function(){return!!e})()}function SB(e){return SB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SB(e)}function kB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jB(e,t){return jB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jB(e,t)}function EB(e){return function(e){if(Array.isArray(e))return CB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||OB(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OB(e,t){if(e){if("string"===typeof e)return CB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CB(e,t):void 0}}function CB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ZB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PB(Object(n),!0).forEach((function(t){_B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _B(e,t,n){return(t=TB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TB(e){var t=function(e,t){if("object"!=mB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mB(t)?t:String(t)}var MB={xAxis:["bottom","top"],yAxis:["left","right"]},AB={width:"100%",height:"100%"},RB={x:0,y:0};function NB(e){return e}var IB=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,o=t.dataEndIndex,i=(null!==n&&void 0!==n?n:[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(EB(e),EB(n)):e}),[]);return i.length>0?i:e&&e.length&&Xk(r)&&Xk(o)?e.slice(r,o+1):[]};function DB(e){return"number"===e?[0,"auto"]:void 0}var zB=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=IB(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(o,l){var s,c,u=null!==(s=l.props.data)&&void 0!==s?s:t;(u&&e.dataStartIndex+e.dataEndIndex!==0&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory)?c=oj(void 0===u?a:u,i.dataKey,r):c=u&&u[n]||a[n];return c?[].concat(EB(o),[RI(l,c)]):o}),[])},LB=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,l=e.tooltipAxis,s=e.tooltipTicks,c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null===n||void 0===n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,s=0;s<a;s++){var c=s>0?r[s-1].coordinate:r[a-1].coordinate,u=r[s].coordinate,d=s>=a-1?r[0].coordinate:r[s+1].coordinate,f=void 0;if($k(u-c)!==$k(d-u)){var p=[];if($k(d-u)===$k(l[1]-l[0])){f=d;var h=u+l[1]-l[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{f=c;var m=d+l[1]-l[0];p[0]=Math.min(u,(m+u)/2),p[1]=Math.max(u,(m+u)/2)}var v=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){i=r[s].index;break}}else{var g=Math.min(c,d),y=Math.max(c,d);if(e>(g+u)/2&&e<=(y+u)/2){i=r[s].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}return i}(i,a,s,l);if(c>=0&&s){var u=s[c]&&s[c].value,d=zB(e,t,c,u),f=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return ZB(ZB(ZB({},r),sD(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var l=o.coordinate,s=r.angle;return ZB(ZB(ZB({},r),sD(r.cx,r.cy,l,s)),{},{angle:s,radius:l})}return RB}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},BB=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,f=wI(c,o);return n.reduce((function(t,n){var p,h=n.props,m=h.type,v=h.dataKey,g=h.allowDataOverflow,y=h.allowDuplicatedCategory,b=h.scale,x=h.ticks,w=h.includeHidden,S=n.props[i];if(t[S])return t;var k,j,E,O=IB(e.data,{graphicalItems:r.filter((function(e){return e.props[i]===S})),dataStartIndex:l,dataEndIndex:s}),C=O.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null===e||void 0===e?void 0:e[0],o=null===e||void 0===e?void 0:e[1];if(r&&o&&Xk(r)&&Xk(o))return!0}return!1})(n.props.domain,g,m)&&(k=TI(n.props.domain,null,g),!f||"number"!==m&&"auto"===b||(E=gI(O,v,"category")));var P=DB(m);if(!k||0===k.length){var Z,_=null!==(Z=n.props.domain)&&void 0!==Z?Z:P;if(v){if(k=gI(O,v,m),"category"===m&&f){var T=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(k);y&&T?(j=k,k=_k()(0,C)):y||(k=AI(_,k,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(EB(e),[t])}),[]))}else if("category"===m)k=y?k.filter((function(e){return""!==e&&!Ok()(e)})):AI(_,k,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Ok()(t)?e:[].concat(EB(e),[t])}),[]);else if("number"===m){var M=function(e,t,n,r,o){var i=t.map((function(t){return bI(e,t,n,o,r)})).filter((function(e){return!Ok()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(O,r.filter((function(e){return e.props[i]===S&&(w||!e.props.hide)})),v,o,c);M&&(k=M)}!f||"number"!==m&&"auto"===b||(E=gI(O,v,"category"))}else k=f?_k()(0,C):a&&a[S]&&a[S].hasStack&&"number"===m?"expand"===d?[0,1]:PI(a[S].stackGroups,l,s):xI(O,r.filter((function(e){return e.props[i]===S&&(w||!e.props.hide)})),m,c,!0);if("number"===m)k=jz(u,k,S,o,x),_&&(k=TI(_,k,g));else if("category"===m&&_){var A=_;k.every((function(e){return A.indexOf(e)>=0}))&&(k=A)}}return ZB(ZB({},t),{},_B({},S,ZB(ZB({},n.props),{},{axisType:o,domain:k,categoricalDomain:E,duplicateDomain:j,originalDomain:null!==(p=n.props.domain)&&void 0!==p?p:P,isCategorical:f,layout:c})))}),{})},FB=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.children,u="".concat(r,"Id"),d=wj(c,o),f={};return d&&d.length?f=BB(e,{axes:d,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s}):i&&i.length&&(f=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=IB(e.data,{graphicalItems:n,dataStartIndex:l,dataEndIndex:s}),f=d.length,p=wI(c,o),h=-1;return n.reduce((function(e,t){var m,v=t.props[i],g=DB("number");return e[v]?e:(h++,p?m=_k()(0,f):a&&a[v]&&a[v].hasStack?(m=PI(a[v].stackGroups,l,s),m=jz(u,m,v,o)):(m=TI(g,xI(d,n.filter((function(e){return e.props[i]===v&&!e.props.hide})),"number",c),r.defaultProps.allowDataOverflow),m=jz(u,m,v,o)),ZB(ZB({},e),{},_B({},v,ZB(ZB({axisType:o},r.defaultProps),{},{hide:!0,orientation:Mk()(MB,"".concat(o,".").concat(h%2),null),domain:m,originalDomain:g,isCategorical:p,layout:c}))))}),{})}(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s})),f},WB=function(e){var t=e.children,n=e.defaultShowTooltip,r=Sj(t,JI),o=0,i=0;return e.data&&0!==e.data.length&&(i=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(o=r.props.startIndex),r.props.endIndex>=0&&(i=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(n)}},UB=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},qB=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,l=n.width,s=n.height,c=n.children,u=n.margin||{},d=Sj(c,JI),f=Sj(c,nC),p=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:ZB(ZB({},e),{},_B({},r,e[r]+n.width))}),{left:u.left||0,right:u.right||0}),h=Object.keys(o).reduce((function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:ZB(ZB({},e),{},_B({},r,Mk()(e,"".concat(r))+n.height))}),{top:u.top||0,bottom:u.bottom||0}),m=ZB(ZB({},h),p),v=m.bottom;d&&(m.bottom+=d.props.height||JI.defaultProps.height),f&&t&&(m=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,l=i-(a.left||0)-(a.right||0),s=cI({children:o,legendWidth:l});if(s){var c=r||{},u=c.width,d=c.height,f=s.align,p=s.verticalAlign,h=s.layout;if(("vertical"===h||"horizontal"===h&&"middle"===p)&&"center"!==f&&Xk(e[f]))return fI(fI({},e),{},pI({},f,e[f]+(u||0)));if(("horizontal"===h||"vertical"===h&&"center"===f)&&"middle"!==p&&Xk(e[p]))return fI(fI({},e),{},pI({},p,e[p]+(d||0)))}return e}(m,0,n,t));var g=l-m.left-m.right,y=s-m.top-m.bottom;return ZB(ZB({brushBottom:v},m),{},{width:Math.max(g,0),height:Math.max(y,0)})},HB=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},VB=["points","className","baseLinePoints","connectNulls"];function YB(){return YB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YB.apply(this,arguments)}function GB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $B(e){return function(e){if(Array.isArray(e))return KB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return KB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KB(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function KB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var XB=function(e){return e&&e.x===+e.x&&e.y===+e.y},QB=function(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach((function(e){XB(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])})),XB(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}(e);t&&(n=[n.reduce((function(e,t){return[].concat($B(e),$B(t))}),[])]);var r=n.map((function(e){return e.reduce((function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)}),"")})).join("");return 1===n.length?"".concat(r,"Z"):r},JB=function(e){var n=e.points,r=e.className,o=e.baseLinePoints,i=e.connectNulls,a=GB(e,VB);if(!n||!n.length)return null;var l=(0,Mi.Z)("recharts-polygon",r);if(o&&o.length){var s=a.stroke&&"none"!==a.stroke,c=function(e,t,n){var r=QB(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(QB(t.reverse(),n).slice(1))}(n,o,i);return t.createElement("g",{className:l},t.createElement("path",YB({},Oj(a,!0),{fill:"Z"===c.slice(-1)?a.fill:"none",stroke:"none",d:c})),s?t.createElement("path",YB({},Oj(a,!0),{fill:"none",d:QB(n,i)})):null,s?t.createElement("path",YB({},Oj(a,!0),{fill:"none",d:QB(o,i)})):null)}var u=QB(n,i);return t.createElement("path",YB({},Oj(a,!0),{fill:"Z"===u.slice(-1)?a.fill:"none",className:l,d:u}))};function eF(e){return eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eF(e)}function tF(){return tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tF.apply(this,arguments)}function nF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nF(Object(n),!0).forEach((function(t){cF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,uF(r.key),r)}}function iF(e,t,n){return t=lF(t),function(e,t){if(t&&("object"===eF(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,aF()?Reflect.construct(t,n||[],lF(e).constructor):t.apply(e,n))}function aF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(aF=function(){return!!e})()}function lF(e){return lF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lF(e)}function sF(e,t){return sF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sF(e,t)}function cF(e,t,n){return(t=uF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uF(e){var t=function(e,t){if("object"!=eF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eF(t)?t:String(t)}var dF=Math.PI/180,fF=1e-5,pF=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),iF(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sF(e,t)}(n,e),r=n,o=[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,r=t.cy,o=t.radius,i=t.orientation,a=t.tickSize||8,l=sD(n,r,o,e.coordinate),s=sD(n,r,o+("inner"===i?-1:1)*a,e.coordinate);return{x1:l.x,y1:l.y,x2:s.x,y2:s.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*dF);return n>fF?"outer"===t?"start":"end":n<-fF?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.radius,i=e.axisLine,a=e.axisLineType,l=rF(rF({},Oj(this.props,!1)),{},{fill:"none"},Oj(i,!1));if("circle"===a)return t.createElement(oC,tF({className:"recharts-polar-angle-axis-line"},l,{cx:n,cy:r,r:o}));var s=this.props.ticks.map((function(e){return sD(n,r,o,e.coordinate)}));return t.createElement(JB,tF({className:"recharts-polar-angle-axis-line"},l,{points:s}))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.tickLine,l=r.tickFormatter,s=r.stroke,c=Oj(this.props,!1),u=Oj(i,!1),d=rF(rF({},c),{},{fill:"none"},Oj(a,!1)),f=o.map((function(r,o){var f=e.getTickLineCoord(r),p=rF(rF(rF({textAnchor:e.getTickTextAnchor(r)},c),{},{stroke:"none",fill:s},u),{},{index:o,payload:r,x:f.x2,y:f.y2});return t.createElement(Dj,tF({className:(0,Mi.Z)("recharts-polar-angle-axis-tick",pD(i)),key:"tick-".concat(r.coordinate)},fj(e.props,r,o)),a&&t.createElement("line",tF({className:"recharts-polar-angle-axis-tick-line"},d,f)),i&&n.renderTickItem(i,p,l?l(r.value,o):r.value))}));return t.createElement(Dj,{className:"recharts-polar-angle-axis-ticks"},f)}},{key:"render",value:function(){var e=this.props,n=e.ticks,r=e.radius,o=e.axisLine;return r<=0||!n||!n.length?null:t.createElement(Dj,{className:(0,Mi.Z)("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks())}}],i=[{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(s_,tF({},n,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],o&&oF(r.prototype,o),i&&oF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);cF(pF,"displayName","PolarAngleAxis"),cF(pF,"axisType","angleAxis"),cF(pF,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var hF=n(8559),mF=n.n(hF),vF=n(3638),gF=n.n(vF),yF=["cx","cy","angle","ticks","axisLine"],bF=["ticks","tick","angle","tickFormatter","stroke"];function xF(e){return xF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xF(e)}function wF(){return wF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wF.apply(this,arguments)}function SF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SF(Object(n),!0).forEach((function(t){_F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jF(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TF(r.key),r)}}function OF(e,t,n){return t=PF(t),function(e,t){if(t&&("object"===xF(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,CF()?Reflect.construct(t,n||[],PF(e).constructor):t.apply(e,n))}function CF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(CF=function(){return!!e})()}function PF(e){return PF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},PF(e)}function ZF(e,t){return ZF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZF(e,t)}function _F(e,t,n){return(t=TF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TF(e){var t=function(e,t){if("object"!=xF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xF(t)?t:String(t)}var MF=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),OF(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZF(e,t)}(n,e),r=n,o=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,r=n.angle,o=n.cx,i=n.cy;return sD(o,i,t,r)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,o=e.ticks,i=mF()(o,(function(e){return e.coordinate||0}));return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:gF()(o,(function(e){return e.coordinate||0})).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.angle,i=e.ticks,a=e.axisLine,l=jF(e,yF),s=i.reduce((function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]}),[1/0,-1/0]),c=sD(n,r,s[0],o),u=sD(n,r,s[1],o),d=kF(kF(kF({},Oj(l,!1)),{},{fill:"none"},Oj(a,!1)),{},{x1:c.x,y1:c.y,x2:u.x,y2:u.y});return t.createElement("line",wF({className:"recharts-polar-radius-axis-line"},d))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.angle,l=r.tickFormatter,s=r.stroke,c=jF(r,bF),u=this.getTickTextAnchor(),d=Oj(c,!1),f=Oj(i,!1),p=o.map((function(r,o){var c=e.getTickValueCoord(r),p=kF(kF(kF(kF({textAnchor:u,transform:"rotate(".concat(90-a,", ").concat(c.x,", ").concat(c.y,")")},d),{},{stroke:"none",fill:s},f),{},{index:o},c),{},{payload:r});return t.createElement(Dj,wF({className:(0,Mi.Z)("recharts-polar-radius-axis-tick",pD(i)),key:"tick-".concat(r.coordinate)},fj(e.props,r,o)),n.renderTickItem(i,p,l?l(r.value,o):r.value))}));return t.createElement(Dj,{className:"recharts-polar-radius-axis-ticks"},p)}},{key:"render",value:function(){var e=this.props,n=e.ticks,r=e.axisLine,o=e.tick;return n&&n.length?t.createElement(Dj,{className:(0,Mi.Z)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),o&&this.renderTicks(),PD.renderCallByParent(this.props,this.getViewBox())):null}}],i=[{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(s_,wF({},n,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],o&&EF(r.prototype,o),i&&EF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);_F(MF,"displayName","PolarRadiusAxis"),_F(MF,"axisType","radiusAxis"),_F(MF,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var AF=n(5727),RF=n.n(AF);function NF(e){return NF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NF(e)}var IF=["valueAccessor"],DF=["data","dataKey","clockWise","id","textBreakAll"];function zF(e){return function(e){if(Array.isArray(e))return LF(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return LF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LF(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BF(){return BF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BF.apply(this,arguments)}function FF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FF(Object(n),!0).forEach((function(t){UF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UF(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=NF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=NF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NF(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qF(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var HF=function(e){return Array.isArray(e.value)?RF()(e.value):e.value};function VF(e){var n=e.valueAccessor,r=void 0===n?HF:n,o=qF(e,IF),i=o.data,a=o.dataKey,l=o.clockWise,s=o.id,c=o.textBreakAll,u=qF(o,DF);return i&&i.length?t.createElement(Dj,{className:"recharts-label-list"},i.map((function(e,n){var o=Ok()(a)?r(e,n):vI(e&&e.payload,a),i=Ok()(s)?{}:{id:"".concat(s,"-").concat(n)};return t.createElement(PD,BF({},Oj(e,!0),u,i,{parentViewBox:e.parentViewBox,value:o,textBreakAll:c,viewBox:PD.parseViewBox(Ok()(l)?e:WF(WF({},e),{},{clockWise:l})),key:"label-".concat(n),index:n}))}))):null}VF.displayName="LabelList",VF.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=wj(e.children,VF).map((function(e,r){return(0,t.cloneElement)(e,{data:n,key:"labelList-".concat(r)})}));return r?[function(e,n){return e?!0===e?t.createElement(VF,{key:"labelList-implicit",data:n}):t.isValidElement(e)||Pk()(e)?t.createElement(VF,{key:"labelList-implicit",data:n,content:e}):Uk()(e)?t.createElement(VF,BF({data:n},e,{key:"labelList-implicit"})):null:null}(e.label,n)].concat(zF(o)):o};var YF,GF=function(e){return null};function $F(e){return $F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$F(e)}function KF(){return KF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KF.apply(this,arguments)}function XF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XF(Object(n),!0).forEach((function(t){iW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aW(r.key),r)}}function eW(e,t,n){return t=nW(t),function(e,t){if(t&&("object"===$F(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rW(e)}(e,tW()?Reflect.construct(t,n||[],nW(e).constructor):t.apply(e,n))}function tW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tW=function(){return!!e})()}function nW(e){return nW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nW(e)}function rW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oW(e,t){return oW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oW(e,t)}function iW(e,t,n){return(t=aW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aW(e){var t=function(e,t){if("object"!=$F(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$F(t)?t:String(t)}GF.displayName="Cell";var lW=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),iW(rW(t=eW(this,n,[e])),"pieRef",null),iW(rW(t),"sectorRefs",[]),iW(rW(t),"id",ej("recharts-pie-")),iW(rW(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Pk()(e)&&e()})),iW(rW(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Pk()(e)&&e()})),t.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},t}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oW(e,t)}(n,e),r=n,o=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.label,i=r.labelLine,a=r.dataKey,l=r.valueKey,s=Oj(this.props,!1),c=Oj(o,!1),u=Oj(i,!1),d=o&&o.offsetRadius||20,f=e.map((function(e,r){var f=(e.startAngle+e.endAngle)/2,p=sD(e.cx,e.cy,e.outerRadius+d,f),h=QF(QF(QF(QF({},s),e),{},{stroke:"none"},c),{},{index:r,textAnchor:n.getTextAnchor(p.x,e.cx)},p),m=QF(QF(QF(QF({},s),e),{},{fill:"none",stroke:e.fill},u),{},{index:r,points:[sD(e.cx,e.cy,e.outerRadius,f),p],key:"line"}),v=a;return Ok()(a)&&Ok()(l)?v="value":Ok()(a)&&(v=l),t.createElement(Dj,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(r)},i&&n.renderLabelLineItem(i,m),n.renderLabelItem(o,h,vI(e,v)))}));return t.createElement(Dj,{className:"recharts-pie-labels"},f)}},{key:"renderSectorsStatically",value:function(e){var n=this,r=this.props,o=r.activeShape,i=r.blendStroke,a=r.inactiveShape;return e.map((function(r,l){if(0===(null===r||void 0===r?void 0:r.startAngle)&&0===(null===r||void 0===r?void 0:r.endAngle)&&1!==e.length)return null;var s=n.isActiveIndex(l),c=a&&n.hasActiveIndex()?a:null,u=s?o:c,d=QF(QF({},r),{},{stroke:i?r.fill:r.stroke,tabIndex:-1});return t.createElement(Dj,KF({ref:function(e){e&&!n.sectorRefs.includes(e)&&n.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},fj(n.props,r,l),{key:"sector-".concat(null===r||void 0===r?void 0:r.startAngle,"-").concat(null===r||void 0===r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(l)}),t.createElement(uL,KF({option:u,isActive:s,shapeType:"sector"},d)))}))}},{key:"renderSectorsWithAnimation",value:function(){var e=this,n=this.props,r=n.sectors,o=n.isAnimationActive,i=n.animationBegin,a=n.animationDuration,l=n.animationEasing,s=n.animationId,c=this.state,u=c.prevSectors,d=c.prevIsAnimationActive;return t.createElement(nZ,{begin:i,duration:a,isActive:o,easing:l,from:{t:0},to:{t:1},key:"pie-".concat(s,"-").concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(n){var o=n.t,i=[],a=(r&&r[0]).startAngle;return r.forEach((function(e,t){var n=u&&u[t],r=t>0?Mk()(e,"paddingAngle",0):0;if(n){var l=rj(n.endAngle-n.startAngle,e.endAngle-e.startAngle),s=QF(QF({},e),{},{startAngle:a+r,endAngle:a+l(o)+r});i.push(s),a=s.endAngle}else{var c=e.endAngle,d=e.startAngle,f=rj(0,c-d)(o),p=QF(QF({},e),{},{startAngle:a+r,endAngle:a+f+r});i.push(p),a=p.endAngle}})),t.createElement(Dj,null,e.renderSectorsStatically(i))}))}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&kN()(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,n=this.props,r=n.hide,o=n.sectors,i=n.className,a=n.label,l=n.cx,s=n.cy,c=n.innerRadius,u=n.outerRadius,d=n.isAnimationActive,f=this.state.isAnimationFinished;if(r||!o||!o.length||!Xk(l)||!Xk(s)||!Xk(c)||!Xk(u))return null;var p=(0,Mi.Z)("recharts-pie",i);return t.createElement(Dj,{tabIndex:this.props.rootTabIndex,className:p,ref:function(t){e.pieRef=t}},this.renderSectors(),a&&this.renderLabels(o),PD.renderCallByParent(this.props,null,!1),(!d||f)&&VF.renderCallByParent(this.props,o,!1))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if(Pk()(e))return e(n);var r=(0,Mi.Z)("recharts-pie-label-line","boolean"!==typeof e?e.className:"");return t.createElement(XL,KF({},n,{type:"linear",className:r}))}},{key:"renderLabelItem",value:function(e,n,r){if(t.isValidElement(e))return t.cloneElement(e,n);var o=r;if(Pk()(e)&&(o=e(n),t.isValidElement(o)))return o;var i=(0,Mi.Z)("recharts-pie-label-text","boolean"===typeof e||Pk()(e)?"":e.className);return t.createElement(s_,KF({},n,{alignmentBaseline:"middle",className:i}),o)}}],o&&JF(r.prototype,o),i&&JF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);YF=lW,iW(lW,"displayName","Pie"),iW(lW,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!dE.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),iW(lW,"parseDeltaAngle",(function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),360)})),iW(lW,"getRealPieData",(function(e){var t=e.props,n=t.data,r=t.children,o=Oj(e.props,!1),i=wj(r,GF);return n&&n.length?n.map((function(e,t){return QF(QF(QF({payload:e},o),e),i&&i[t]&&i[t].props)})):i&&i.length?i.map((function(e){return QF(QF({},o),e.props)})):[]})),iW(lW,"parseCoordinateOfPie",(function(e,t){var n=t.top,r=t.left,o=t.width,i=t.height,a=cD(o,i);return{cx:r+tj(e.props.cx,o,o/2),cy:n+tj(e.props.cy,i,i/2),innerRadius:tj(e.props.innerRadius,a,0),outerRadius:tj(e.props.outerRadius,a,.8*a),maxRadius:e.props.maxRadius||Math.sqrt(o*o+i*i)/2}})),iW(lW,"getComposedData",(function(e){var t=e.item,n=e.offset,r=YF.getRealPieData(t);if(!r||!r.length)return null;var o=t.props,i=o.cornerRadius,a=o.startAngle,l=o.endAngle,s=o.paddingAngle,c=o.dataKey,u=o.nameKey,d=o.valueKey,f=o.tooltipType,p=Math.abs(t.props.minAngle),h=YF.parseCoordinateOfPie(t,n),m=YF.parseDeltaAngle(a,l),v=Math.abs(m),g=c;Ok()(c)&&Ok()(d)?(CE(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),g="value"):Ok()(c)&&(CE(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),g=d);var y,b,x=r.filter((function(e){return 0!==vI(e,g,0)})).length,w=v-x*p-(v>=360?x:x-1)*s,S=r.reduce((function(e,t){var n=vI(t,g,0);return e+(Xk(n)?n:0)}),0);S>0&&(y=r.map((function(e,t){var n,r=vI(e,g,0),o=vI(e,u,t),l=(Xk(r)?r:0)/S,c=(n=t?b.endAngle+$k(m)*s*(0!==r?1:0):a)+$k(m)*((0!==r?p:0)+l*w),d=(n+c)/2,v=(h.innerRadius+h.outerRadius)/2,y=[{name:o,value:r,payload:e,dataKey:g,type:f}],x=sD(h.cx,h.cy,v,d);return b=QF(QF(QF({percent:l,cornerRadius:i,name:o,tooltipPayload:y,midAngle:d,middleRadius:v,tooltipPosition:x},e),h),{},{value:vI(e,g),startAngle:n,endAngle:c,payload:e,paddingAngle:$k(m)*s})})));return QF(QF({},h),{},{sectors:y,data:r})}));var sW=function(e){var n,r=e.chartName,o=e.GraphicalChild,i=e.defaultTooltipEventType,a=void 0===i?"axis":i,l=e.validateTooltipEventTypes,s=void 0===l?["axis"]:l,c=e.axisComponents,u=e.legendContent,d=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,i=t.updateId,a=t.dataStartIndex,l=t.dataEndIndex,s=e.barSize,u=e.layout,d=e.barGap,f=e.barCategoryGap,p=e.maxBarSize,h=UB(u),m=h.numericAxisName,v=h.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=gj(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),y=[];return n.forEach((function(n,h){var b=IB(e.data,{graphicalItems:[n],dataStartIndex:a,dataEndIndex:l}),x=n.props,w=x.dataKey,S=x.maxBarSize,k=n.props["".concat(m,"Id")],j=n.props["".concat(v,"Id")],E=c.reduce((function(e,r){var o=t["".concat(r.axisType,"Map")],i=n.props["".concat(r.axisType,"Id")];o&&o[i]||"zAxis"===r.axisType||Lk(!1);var a=o[i];return ZB(ZB({},e),{},_B(_B({},r.axisType,a),"".concat(r.axisType,"Ticks"),SI(a)))}),{}),O=E[v],C=E["".concat(v,"Ticks")],P=r&&r[k]&&r[k].hasStack&&function(e,t){var n=e.props.stackId;if(Qk(n)){var r=t[n];if(r){var o=r.items.indexOf(e);return o>=0?r.stackedData[o]:null}}return null}(n,r[k].stackGroups),Z=gj(n.type).indexOf("Bar")>=0,_=MI(O,C),T=[],M=g&&function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,o=void 0===r?{}:r;if(!o)return{};for(var i={},a=Object.keys(o),l=0,s=a.length;l<s;l++)for(var c=o[a[l]].stackGroups,u=Object.keys(c),d=0,f=u.length;d<f;d++){var p=c[u[d]],h=p.items,m=p.cateAxisId,v=h.filter((function(e){return gj(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,y=v[0].props[m];i[y]||(i[y]=[]);var b=Ok()(g)?t:g;i[y].push({item:v[0],stackList:v.slice(1),barSize:Ok()(b)?void 0:tj(b,n,0)})}}return i}({barSize:s,stackGroups:r,totalSize:HB(E,v)});if(Z){var A,R,N=Ok()(S)?p:S,I=null!==(A=null!==(R=MI(O,C,!0))&&void 0!==R?R:N)&&void 0!==A?A:0;T=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,l=i.length;if(l<1)return null;var s,c=tj(t,r,0,!0),u=[];if(i[0].barSize===+i[0].barSize){var d=!1,f=r/l,p=i.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(l-1)*c)>=r&&(p-=(l-1)*c,c=0),p>=r&&f>0&&(d=!0,p=l*(f*=.9));var h={offset:((r-p)/2>>0)-c,size:0};s=i.reduce((function(e,t){var n={item:t.item,position:{offset:h.offset+h.size+c,size:d?f:t.barSize}},r=[].concat(hI(e),[n]);return h=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:h})})),r}),u)}else{var m=tj(n,r,0,!0);r-2*m-(l-1)*c<=0&&(c=0);var v=(r-2*m-(l-1)*c)/l;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;s=i.reduce((function(e,t,n){var r=[].concat(hI(e),[{item:t.item,position:{offset:m+(v+c)*n+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),u)}return s}({barGap:d,barCategoryGap:f,bandSize:I!==_?I:_,sizeList:M[j],maxBarSize:N}),I!==_&&(T=T.map((function(e){return ZB(ZB({},e),{},{position:ZB(ZB({},e.position),{},{offset:e.position.offset-I/2})})})))}var D,z,L=n&&n.type&&n.type.getComposedData;L&&y.push({props:ZB(ZB({},L(ZB(ZB({},E),{},{displayedData:b,props:e,dataKey:w,item:n,bandSize:_,barPosition:T,offset:o,stackedData:P,layout:u,dataStartIndex:a,dataEndIndex:l}))),{},_B(_B(_B({key:n.key||"item-".concat(h)},m,E[m]),v,E[v]),"animationId",i)),childIndex:(D=n,z=e.children,xj(z).indexOf(D)),item:n})})),y},h=function(e,t){var n=e.props,i=e.dataStartIndex,a=e.dataEndIndex,l=e.updateId;if(!kj({props:n}))return null;var s=n.children,u=n.layout,f=n.stackOffset,h=n.data,m=n.reverseStackOrder,v=UB(u),g=v.numericAxisName,y=v.cateAxisName,b=wj(s,o),x=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],l=e[a]||{hasStack:!1,stackGroups:{}};if(Qk(i)){var s=l.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};s.items.push(t),l.hasStack=!0,l.stackGroups[i]=s}else l.stackGroups[ej("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return fI(fI({},e),{},pI({},a,l))}),{});return Object.keys(a).reduce((function(t,i){var l=a[i];return l.hasStack&&(l.stackGroups=Object.keys(l.stackGroups).reduce((function(t,i){var a=l.stackGroups[i];return fI(fI({},t),{},pI({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:CI(e,a.items,o)}))}),{})),fI(fI({},t),{},pI({},i,l))}),{})}(h,b,"".concat(g,"Id"),"".concat(y,"Id"),f,m),w=c.reduce((function(e,t){var r="".concat(t.axisType,"Map");return ZB(ZB({},e),{},_B({},r,FB(n,ZB(ZB({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&x,dataStartIndex:i,dataEndIndex:a}))))}),{}),S=qB(ZB(ZB({},w),{},{props:n,graphicalItems:b}),null===t||void 0===t?void 0:t.legendBBox);Object.keys(w).forEach((function(e){w[e]=d(n,w[e],S,e.replace("Map",""),r)}));var k=function(e){var t=nj(e),n=SI(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Rk()(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:MI(t,n)}}(w["".concat(y,"Map")]),j=p(n,ZB(ZB({},w),{},{dataStartIndex:i,dataEndIndex:a,updateId:l,graphicalItems:b,stackGroups:x,offset:S}));return ZB(ZB({formattedGraphicalItems:j,graphicalItems:b,offset:S,stackGroups:x},k),w)};return n=function(e){function n(e){var o,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),_B(kB(a=xB(this,n,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),_B(kB(a),"accessibilityManager",new Mz),_B(kB(a),"handleLegendBBoxUpdate",(function(e){if(e){var t=a.state,n=t.dataStartIndex,r=t.dataEndIndex,o=t.updateId;a.setState(ZB({legendBBox:e},h({props:a.props,dataStartIndex:n,dataEndIndex:r,updateId:o},ZB(ZB({},a.state),{},{legendBBox:e}))))}})),_B(kB(a),"handleReceiveSyncEvent",(function(e,t,n){if(a.props.syncId===e){if(n===a.eventEmitterSymbol&&"function"!==typeof a.props.syncMethod)return;a.applySyncEvent(t)}})),_B(kB(a),"handleBrushChange",(function(e){var t=e.startIndex,n=e.endIndex;if(t!==a.state.dataStartIndex||n!==a.state.dataEndIndex){var r=a.state.updateId;a.setState((function(){return ZB({dataStartIndex:t,dataEndIndex:n},h({props:a.props,dataStartIndex:t,dataEndIndex:n,updateId:r},a.state))})),a.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}})),_B(kB(a),"handleMouseEnter",(function(e){var t=a.getMouseInfo(e);if(t){var n=ZB(ZB({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseEnter;Pk()(r)&&r(n,e)}})),_B(kB(a),"triggeredAfterMouseMove",(function(e){var t=a.getMouseInfo(e),n=t?ZB(ZB({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseMove;Pk()(r)&&r(n,e)})),_B(kB(a),"handleItemMouseEnter",(function(e){a.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),_B(kB(a),"handleItemMouseLeave",(function(){a.setState((function(){return{isTooltipActive:!1}}))})),_B(kB(a),"handleMouseMove",(function(e){e.persist(),a.throttleTriggeredAfterMouseMove(e)})),_B(kB(a),"handleMouseLeave",(function(e){a.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};a.setState(t),a.triggerSyncEvent(t);var n=a.props.onMouseLeave;Pk()(n)&&n(t,e)})),_B(kB(a),"handleOuterEvent",(function(e){var t,n=function(e){var t=e&&e.type;return t&&vj[t]?vj[t]:null}(e),r=Mk()(a.props,"".concat(n));n&&Pk()(r)&&r(null!==(t=/.*touch.*/i.test(n)?a.getMouseInfo(e.changedTouches[0]):a.getMouseInfo(e))&&void 0!==t?t:{},e)})),_B(kB(a),"handleClick",(function(e){var t=a.getMouseInfo(e);if(t){var n=ZB(ZB({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onClick;Pk()(r)&&r(n,e)}})),_B(kB(a),"handleMouseDown",(function(e){var t=a.props.onMouseDown;Pk()(t)&&t(a.getMouseInfo(e),e)})),_B(kB(a),"handleMouseUp",(function(e){var t=a.props.onMouseUp;Pk()(t)&&t(a.getMouseInfo(e),e)})),_B(kB(a),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),_B(kB(a),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseDown(e.changedTouches[0])})),_B(kB(a),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseUp(e.changedTouches[0])})),_B(kB(a),"triggerSyncEvent",(function(e){void 0!==a.props.syncId&&Oz.emit(Cz,a.props.syncId,e,a.eventEmitterSymbol)})),_B(kB(a),"applySyncEvent",(function(e){var t=a.props,n=t.layout,r=t.syncMethod,o=a.state.updateId,i=e.dataStartIndex,l=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)a.setState(ZB({dataStartIndex:i,dataEndIndex:l},h({props:a.props,dataStartIndex:i,dataEndIndex:l,updateId:o},a.state)));else if(void 0!==e.activeTooltipIndex){var s=e.chartX,c=e.chartY,u=e.activeTooltipIndex,d=a.state,f=d.offset,p=d.tooltipTicks;if(!f)return;if("function"===typeof r)u=r(p,e);else if("value"===r){u=-1;for(var m=0;m<p.length;m++)if(p[m].value===e.activeLabel){u=m;break}}var v=ZB(ZB({},f),{},{x:f.left,y:f.top}),g=Math.min(s,v.x+v.width),y=Math.min(c,v.y+v.height),b=p[u]&&p[u].value,x=zB(a.state,a.props.data,u),w=p[u]?{x:"horizontal"===n?p[u].coordinate:g,y:"horizontal"===n?y:p[u].coordinate}:RB;a.setState(ZB(ZB({},e),{},{activeLabel:b,activeCoordinate:w,activePayload:x,activeTooltipIndex:u}))}else a.setState(e)})),_B(kB(a),"renderCursor",(function(e){var n,o=a.state,i=o.isTooltipActive,l=o.activeCoordinate,s=o.activePayload,c=o.offset,u=o.activeTooltipIndex,d=o.tooltipAxisBandSize,f=a.getTooltipEventType(),p=null!==(n=e.props.active)&&void 0!==n?n:i,h=a.props.layout,m=e.key||"_recharts-cursor";return t.createElement(fB,{key:m,activeCoordinate:l,activePayload:s,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:c,tooltipAxisBandSize:d,tooltipEventType:f})})),_B(kB(a),"renderPolarAxis",(function(e,n,r){var o=Mk()(e,"type.axisType"),i=Mk()(a.state,"".concat(o,"Map")),l=i&&i[e.props["".concat(o,"Id")]];return(0,t.cloneElement)(e,ZB(ZB({},l),{},{className:(0,Mi.Z)(o,l.className),key:e.key||"".concat(n,"-").concat(r),ticks:SI(l,!0)}))})),_B(kB(a),"renderPolarGrid",(function(e){var n=e.props,r=n.radialLines,o=n.polarAngles,i=n.polarRadius,l=a.state,s=l.radiusAxisMap,c=l.angleAxisMap,u=nj(s),d=nj(c),f=d.cx,p=d.cy,h=d.innerRadius,m=d.outerRadius;return(0,t.cloneElement)(e,{polarAngles:Array.isArray(o)?o:SI(d,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:SI(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:r})})),_B(kB(a),"renderLegend",(function(){var e=a.state.formattedGraphicalItems,n=a.props,r=n.children,o=n.width,i=n.height,l=a.props.margin||{},s=o-(l.left||0)-(l.right||0),c=cI({children:r,formattedGraphicalItems:e,legendWidth:s,legendContent:u});if(!c)return null;var d=c.item,f=yB(c,pB);return(0,t.cloneElement)(d,ZB(ZB({},f),{},{chartWidth:o,chartHeight:i,margin:l,onBBoxUpdate:a.handleLegendBBoxUpdate}))})),_B(kB(a),"renderTooltip",(function(){var e,n=a.props,r=n.children,o=n.accessibilityLayer,i=Sj(r,OE);if(!i)return null;var l=a.state,s=l.isTooltipActive,c=l.activeCoordinate,u=l.activePayload,d=l.activeLabel,f=l.offset,p=null!==(e=i.props.active)&&void 0!==e?e:s;return(0,t.cloneElement)(i,{viewBox:ZB(ZB({},f),{},{x:f.left,y:f.top}),active:p,label:d,payload:p?u:[],coordinate:c,accessibilityLayer:o})})),_B(kB(a),"renderBrush",(function(e){var n=a.props,r=n.margin,o=n.data,i=a.state,l=i.offset,s=i.dataStartIndex,c=i.dataEndIndex,u=i.updateId;return(0,t.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:jI(a.handleBrushChange,e.props.onChange),data:o,x:Xk(e.props.x)?e.props.x:l.left,y:Xk(e.props.y)?e.props.y:l.top+l.height+l.brushBottom-(r.bottom||0),width:Xk(e.props.width)?e.props.width:l.width,startIndex:s,endIndex:c,updateId:"brush-".concat(u)})})),_B(kB(a),"renderReferenceElement",(function(e,n,r){if(!e)return null;var o=kB(a).clipPathId,i=a.state,l=i.xAxisMap,s=i.yAxisMap,c=i.offset,u=e.props,d=u.xAxisId,f=u.yAxisId;return(0,t.cloneElement)(e,{key:e.key||"".concat(n,"-").concat(r),xAxis:l[d],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})})),_B(kB(a),"renderActivePoints",(function(e){var t=e.item,r=e.activePoint,o=e.basePoint,i=e.childIndex,a=e.isRange,l=[],s=t.props.key,c=t.item.props,u=c.activeDot,d=ZB(ZB({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:yI(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(s,"-activePoint-").concat(i)},Oj(u,!1)),dj(u));return l.push(n.renderActiveDot(u,d)),o?l.push(n.renderActiveDot(u,ZB(ZB({},d),{},{cx:o.x,cy:o.y,key:"".concat(s,"-basePoint-").concat(i)}))):a&&l.push(null),l})),_B(kB(a),"renderGraphicChild",(function(e,n,r){var o=a.filterFormatItem(e,n,r);if(!o)return null;var i=a.getTooltipEventType(),l=a.state,s=l.isTooltipActive,c=l.tooltipAxis,u=l.activeTooltipIndex,d=l.activeLabel,f=Sj(a.props.children,OE),p=o.props,h=p.points,m=p.isRange,v=p.baseLine,g=o.item.props,y=g.activeDot,b=g.hide,x=g.activeBar,w=g.activeShape,S=Boolean(!b&&s&&f&&(y||x||w)),k={};"axis"!==i&&f&&"click"===f.props.trigger?k={onClick:jI(a.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(k={onMouseLeave:jI(a.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:jI(a.handleItemMouseEnter,e.props.onMouseEnter)});var j=(0,t.cloneElement)(e,ZB(ZB({},o.props),k));if(S){if(!(u>=0)){var E,O=(null!==(E=a.getItemByXY(a.state.activeCoordinate))&&void 0!==E?E:{graphicalItem:j}).graphicalItem,C=O.item,P=void 0===C?e:C,Z=O.childIndex,_=ZB(ZB(ZB({},o.props),k),{},{activeIndex:Z});return[(0,t.cloneElement)(P,_),null,null]}var T,M;if(c.dataKey&&!c.allowDuplicatedCategory){var A="function"===typeof c.dataKey?function(e){return"function"===typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());T=oj(h,A,d),M=m&&v&&oj(v,A,d)}else T=null===h||void 0===h?void 0:h[u],M=m&&v&&v[u];if(w||x){var R=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[(0,t.cloneElement)(e,ZB(ZB(ZB({},o.props),k),{},{activeIndex:R})),null,null]}if(!Ok()(T))return[j].concat(EB(a.renderActivePoints({item:o,activePoint:T,basePoint:M,childIndex:u,isRange:m})))}return m?[j,null,null]:[j,null]})),_B(kB(a),"renderCustomized",(function(e,n,r){return(0,t.cloneElement)(e,ZB(ZB({key:"recharts-customized-".concat(r)},a.props),a.state))})),_B(kB(a),"renderMap",{CartesianGrid:{handler:NB,once:!0},ReferenceArea:{handler:a.renderReferenceElement},ReferenceLine:{handler:NB},ReferenceDot:{handler:a.renderReferenceElement},XAxis:{handler:NB},YAxis:{handler:NB},Brush:{handler:a.renderBrush,once:!0},Bar:{handler:a.renderGraphicChild},Line:{handler:a.renderGraphicChild},Area:{handler:a.renderGraphicChild},Radar:{handler:a.renderGraphicChild},RadialBar:{handler:a.renderGraphicChild},Scatter:{handler:a.renderGraphicChild},Pie:{handler:a.renderGraphicChild},Funnel:{handler:a.renderGraphicChild},Tooltip:{handler:a.renderCursor,once:!0},PolarGrid:{handler:a.renderPolarGrid,once:!0},PolarAngleAxis:{handler:a.renderPolarAxis},PolarRadiusAxis:{handler:a.renderPolarAxis},Customized:{handler:a.renderCustomized}}),a.clipPathId="".concat(null!==(o=e.id)&&void 0!==o?o:ej("recharts"),"-clip"),a.throttleTriggeredAfterMouseMove=Ik()(a.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),a.state={},a}var o,i,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jB(e,t)}(n,e),o=n,i=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,o=e.layout,i=Sj(t,OE);if(i){var a=i.props.defaultIndex;if(!("number"!==typeof a||a<0||a>this.state.tooltipTicks.length)){var l=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,s=zB(this.state,n,a,l),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,d="horizontal"===o?{x:c,y:u}:{y:c,x:u},f=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));f&&(d=ZB(ZB({},d),f.props.points[a].tooltipPosition),s=f.props.points[a].tooltipPayload);var p={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:l,activePayload:s,activeCoordinate:d};this.setState(p),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){Cj([Sj(e.children,OE)],[Sj(this.props.children,OE)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Sj(this.props.children,OE);if(e&&"boolean"===typeof e.props.shared){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:a}return a}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,n=this.container,r=n.getBoundingClientRect(),o={top:(t=r).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(e.pageX-o.left),chartY:Math.round(e.pageY-o.top)},a=r.width/n.offsetWidth||1,l=this.inRange(i.chartX,i.chartY,a);if(!l)return null;var s=this.state,c=s.xAxisMap,u=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var d=nj(c).scale,f=nj(u).scale,p=d&&d.invert?d.invert(i.chartX):null,h=f&&f.invert?f.invert(i.chartY):null;return ZB(ZB({},i),{},{xValue:p,yValue:h})}var m=LB(this.state,this.props.data,this.props.layout,l);return m?ZB(ZB({},i),m):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,o=e/n,i=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var l=this.state,s=l.angleAxisMap,c=l.radiusAxisMap;if(s&&c){var u=nj(s);return fD({x:o,y:i},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=Sj(e,OE),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ZB(ZB({},dj(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){Oz.on(Cz,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Oz.removeListener(Cz,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===e||a.props.key===e.key||t===gj(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,n=this.state.offset,r=n.left,o=n.top,i=n.height,a=n.width;return t.createElement("defs",null,t.createElement("clipPath",{id:e},t.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gB(t,2),r=n[0],o=n[1];return ZB(ZB({},e),{},_B({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gB(t,2),r=n[0],o=n[1];return ZB(ZB({},e),{},_B({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var o=0,i=n.length;o<i;o++){var a=n[o],l=a.props,s=a.item,c=gj(s.type);if("Bar"===c){var u=(l.data||[]).find((function(t){return dZ(e,t)}));if(u)return{graphicalItem:a,payload:u}}else if("RadialBar"===c){var d=(l.data||[]).find((function(t){return fD(e,t)}));if(d)return{graphicalItem:a,payload:d}}else if(dL(a,r)||fL(a,r)||pL(a,r)){var f=gL({graphicalItem:a,activeTooltipItem:r,itemData:s.props.data}),p=void 0===s.props.activeIndex?f:s.props.activeIndex;return{graphicalItem:ZB(ZB({},a),{},{childIndex:p}),payload:pL(a,r)?s.props.data[f]:a.props.data[f]}}}return null}},{key:"render",value:function(){var e=this;if(!kj(this))return null;var n,r,o=this.props,i=o.children,a=o.className,l=o.width,s=o.height,c=o.style,u=o.compact,d=o.title,f=o.desc,p=yB(o,hB),h=Oj(p,!1);if(u)return t.createElement(lz,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},t.createElement(Aj,vB({},h,{width:l,height:s,title:d,desc:f}),this.renderClipPath(),Zj(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(n=this.props.tabIndex)&&void 0!==n?n:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return t.createElement(lz,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},t.createElement("div",vB({className:(0,Mi.Z)("recharts-wrapper",a),style:ZB({position:"relative",cursor:"default",width:l,height:s},c)},m,{ref:function(t){e.container=t}}),t.createElement(Aj,vB({},h,{width:l,height:s,title:d,desc:f,style:AB}),this.renderClipPath(),Zj(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],i&&bB(o.prototype,i),l&&bB(o,l),Object.defineProperty(o,"prototype",{writable:!1}),n}(t.Component),_B(n,"displayName",r),_B(n,"defaultProps",ZB({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),_B(n,"getDerivedStateFromProps",(function(e,t){var n=e.dataKey,r=e.data,o=e.children,i=e.width,a=e.height,l=e.layout,s=e.stackOffset,c=e.margin,u=t.dataStartIndex,d=t.dataEndIndex;if(void 0===t.updateId){var f=WB(e);return ZB(ZB(ZB({},f),{},{updateId:0},h(ZB(ZB({props:e},f),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:s,prevMargin:c,prevChildren:o})}if(n!==t.prevDataKey||r!==t.prevData||i!==t.prevWidth||a!==t.prevHeight||l!==t.prevLayout||s!==t.prevStackOffset||!ij(c,t.prevMargin)){var p=WB(e),m={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=ZB(ZB({},LB(t,r,l)),{},{updateId:t.updateId+1}),g=ZB(ZB(ZB({},p),m),v);return ZB(ZB(ZB({},g),h(ZB({props:e},g),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:s,prevMargin:c,prevChildren:o})}if(!Cj(o,t.prevChildren)){var y,b,x,w,S=Sj(o,JI),k=S&&null!==(y=null===(b=S.props)||void 0===b?void 0:b.startIndex)&&void 0!==y?y:u,j=S&&null!==(x=null===(w=S.props)||void 0===w?void 0:w.endIndex)&&void 0!==x?x:d,E=k!==u||j!==d,O=!Ok()(r)&&!E?t.updateId:t.updateId+1;return ZB(ZB({updateId:O},h(ZB(ZB({props:e},t),{},{updateId:O,dataStartIndex:k,dataEndIndex:j}),t)),{},{prevChildren:o,dataStartIndex:k,dataEndIndex:j})}return null})),_B(n,"renderActiveDot",(function(e,n){var r;return r=(0,t.isValidElement)(e)?(0,t.cloneElement)(e,n):Pk()(e)?e(n):t.createElement(oC,n),t.createElement(Dj,{className:"recharts-active-dot",key:n.key},r)})),n}({chartName:"PieChart",GraphicalChild:lW,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:pF},{axisType:"radiusAxis",AxisComp:MF}],formatAxisMap:function(t,n,r,o,i){var a=t.width,l=t.height,s=t.startAngle,c=t.endAngle,u=tj(t.cx,a,a/2),d=tj(t.cy,l,l/2),f=cD(a,l,r),p=tj(t.innerRadius,f,0),h=tj(t.outerRadius,f,.8*f);return Object.keys(n).reduce((function(t,r){var a,l=n[r],f=l.domain,m=l.reversed;if(Ok()(l.range))"angleAxis"===o?a=[s,c]:"radiusAxis"===o&&(a=[p,h]),m&&(a=[a[1],a[0]]);else{var v=oD(a=l.range,2);s=v[0],c=v[1]}var g=function(t,n,r){var o=t.scale,i=t.type,a=t.layout,l=t.axisType;if("auto"===o)return"radial"===a&&"radiusAxis"===l?{scale:kZ(),realScaleType:"band"}:"radial"===a&&"angleAxis"===l?{scale:$T(),realScaleType:"linear"}:"category"===i&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:EZ(),realScaleType:"point"}:"category"===i?{scale:kZ(),realScaleType:"band"}:{scale:$T(),realScaleType:"linear"};if(Fk()(o)){var s="scale".concat(ZE()(o));return{scale:(e[s]||EZ)(),realScaleType:e[s]?s:"point"}}return Pk()(o)?{scale:o}:{scale:EZ(),realScaleType:"point"}}(l,i),y=g.realScaleType,b=g.scale;b.domain(f).range(a),function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-EI,i=Math.max(r[0],r[1])+EI,a=e(t[0]),l=e(t[n-1]);(a<o||a>i||l<o||l>i)&&e.domain([t[0],t[n-1]])}}(b);var x=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,l=n||t.scale;if("auto"!==l&&"linear"!==l)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var s=e.domain();if(!s.length)return null;var c=XN(s,o,a);return e.domain([bN()(c),gN()(c)]),{niceTicks:c}}if(o&&"number"===r){var u=e.domain();return{niceTicks:QN(u,o,a)}}return null}(b,nD(nD({},l),{},{realScaleType:y})),w=nD(nD(nD({},l),x),{},{range:a,radius:h,realScaleType:y,scale:b,cx:u,cy:d,innerRadius:p,outerRadius:h,startAngle:s,endAngle:c});return nD(nD({},t),{},rD({},r,w))}),{})},defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),cW=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=(u[0],u[1],x((function(e){return e.result}))),f=d.allresult,p=d.allBatchWiseStudent,h=d.allBatch,m=_(),v=(0,t.useState)(""),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=(0,t.useState)(""),S=(0,D.Z)(w,2),k=S[0],j=S[1],E=(0,t.useState)(""),O=(0,D.Z)(E,2),C=O[0],P=O[1],Z=x((function(e){return e.exam})),T=Z.allExam,M=Hb(Fx().breakpoints.down("sm")),A=(0,t.useState)(!1),R=(0,D.Z)(A,2),N=R[0],I=R[1];(0,t.useEffect)((function(){ih(uh.result).then((function(e){var t=e.data.reverse();m(On.getResult(t))})).catch((function(e){return console.log("result error: ",e)}))}),[]),(0,t.useEffect)((function(){}),[C]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){var t=e.data.reverse();m(On.getBatch(t))})).catch((function(e){console.error("Error fetching batch:",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();m(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();m(On.getBatchWiseStudent(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();m(On.getBatchWiseStudent(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[C]);var z=function(){var e=W.filter((function(e){var t,n=!y||(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y,r=!k||(null===e||void 0===e?void 0:e.date)==k;return n&&r})),t=e.length,n=e.filter((function(e){return"pass"===e.status})).length;return[{name:"Pass",value:t>0?n/t*100:0},{name:"Fail",value:t>0?(t-n)/t*100:0}]},L=function(e){e.name;var t=e.value;return"".concat(t.toFixed(2),"%")},B=function(e){var t;"Pass"===e.name?(t=W.filter((function(e){return"pass"===e.status&&e.date==k&&e.exam.examName===y})),I(!0),console.log("click on pass:",t)):"Fail"===e.name?(t=W.filter((function(e){return"fail"===e.status&&e.date==k&&e.exam.examName===y})),console.log("click on fail:",t),I(!0)):t=W.filter((function(e){var t=!y||e.exam.examName===y,n=!k||e.date==k;return console.log(k),t&&n})),V(t)};console.log(p),console.log(C);var F=null===p||void 0===p?void 0:p.filter((function(e){return e.batch.id==C}));console.log(F);var W=f.filter((function(e){var t,n=!y||(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y,r=!k||e.date==k,o=F.some((function(t){return t.student.id===e.student.id}));return n&&r&&o}));console.log(W);var U=(0,t.useState)(W),q=(0,D.Z)(U,2),H=q[0],V=q[1];console.log("filteredResult",W),(0,t.useEffect)((function(){I(!1)}),[C]);var Y=f&&f.length>0&&f.some((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y&&e.date===k}));return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Result"})})})}),(0,Bi.jsxs)("div",{style:{padding:"20px"},children:[(0,Bi.jsxs)(Sy,{size:"small",children:[(0,Bi.jsx)(gy,{id:"select-batch-label",children:"Select Batch"}),(0,Bi.jsxs)(fg,{labelId:"select-batch-label",id:"select-batch",value:C,onChange:function(e){P(e.target.value),o(0)},style:{backgroundColor:"white",width:M?"130px":"150px",height:M?"30px":"40px"},label:"Select Batch",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"None"}),null===h||void 0===h?void 0:h.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.batchname)},e.id)}))]})]}),(0,Bi.jsxs)(Sy,{size:"small",sx:{marginLeft:"10px"},children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",value:y,onChange:function(e){b(e.target.value),o(0)},style:{backgroundColor:"white",width:M?"130px":"150px",height:M?"30px":"40px"},label:"Select Exam",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"None"}),T&&T.length>0&&T.map((function(e){return(0,Bi.jsx)(Zm,{value:null===e||void 0===e?void 0:e.examName,children:yf(null===e||void 0===e?void 0:e.examName)},e.id)}))]})]}),(0,Bi.jsx)(Ry,{type:"date",label:"Date",value:k,onChange:function(e){j(e.target.value),o(0)},variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",marginLeft:"10px"},InputLabelProps:{shrink:!0}})]}),Y&&(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[function(){if(!y||!k||0===W.length)return null;z();return(0,Bi.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,Bi.jsxs)(sW,{width:400,height:400,children:[(0,Bi.jsx)(lW,{dataKey:"value",data:z(),cx:"50%",cy:"50%",outerRadius:100,fill:"#8884d8",label:L,onClick:B,children:z().map((function(e,t){return(0,Bi.jsx)(GF,{fill:"Pass"===e.name?"#82ca9d":"#ff5733"},"cell-".concat(t))}))}),(0,Bi.jsx)(nC,{}),(0,Bi.jsx)(OE,{formatter:function(e){return"".concat(e.toFixed(2),"%")}})]})})}(),Y&&N&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:B,style:{float:"right"},children:"Show Total Students"}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Exam Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Exam Date"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Obtained Marks"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Total Marks"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Grade"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Status"})]})}),(0,Bi.jsx)(Bh,{children:0===H.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):H&&H.length>0&&H.slice(r*l,r*l+l).map((function(e,t){var n,o,i,a=r*l+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:a}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e||null===(n=e.student)||void 0===n?void 0:n.fname)+" "+yf(e.student.lname)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e||null===(o=e.student)||void 0===o?void 0:o.email," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e||null===(i=e.exam)||void 0===i?void 0:i.examName)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[qx(null===e||void 0===e?void 0:e.date)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.obtainedmark," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.totalmark," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.grade," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e?void 0:e.status)," "]})]},e.id)}))||[]})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:7,count:W.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})]})]})]})})};var uW=function(){var e=Lo();return(0,Bi.jsxs)("body",{children:[(0,Bi.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"}),(0,Bi.jsx)("script",{src:"https://kit.fontawesome.com/4b9ba14b0f.js",crossOrigin:"anonymous"}),(0,Bi.jsxs)("div",{class:"mainbox",children:[(0,Bi.jsx)("div",{class:"err",children:"4"}),(0,Bi.jsx)("i",{class:"far fa-question-circle fa-spin"}),(0,Bi.jsx)("div",{class:"err2",children:"4"}),(0,Bi.jsxs)("div",{class:"msg",children:["Oops...? Somthings went's wrong !",(0,Bi.jsx)("p",{style:{color:"red"},children:"Error:404 Page Not Found "})," ",(0,Bi.jsxs)("p",{children:["Press Login button to return to the Login page. ",(0,Bi.jsx)(mf,{variant:"outlined",color:"error",component:"button",onClick:function(){e("/")},children:"Login"})," and try from there."]})]})]})]})},dW=function(){var e=(0,t.useState)({fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",organization:""}),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)({fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrNoError:!1,passwordError:!1,password2Error:!1,matchPasswordError:!1,otherBranchError:!1}),d=(0,D.Z)(c,2),f=d[0],p=d[1],h=(0,t.useState)(!1),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(""),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(""),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=t.useState(!1),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=t.useState(!1),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=t.useState(!1),z=(0,D.Z)(I,2),L=(z[0],z[1]),B=x((function(e){return e.user})),F=B.allBranch,W=x((function(e){return e.user})),U=W.allUser,q=_(),H=Lo(),V=Hb(Fx().breakpoints.down("sm")),Y=(new Date).getFullYear(),G=(0,t.useState)(null),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q="\xa9 2017-".concat(Y," Hematite Infotech, All Rights Reserved."),J=Do();(0,t.useEffect)((function(){ih(uh.branch).then((function(e){var t=e.data.reverse();q(hn.getBranch(t))})).catch((function(e){return console.log("Branch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();q(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){"/student-registration"!==J.pathname&&"/employee-registration"!==J.pathname||L(!0)}),[]),(0,t.useEffect)((function(){if(F&&1===F.length){var e=F[0];s(e.branchName),o((function(t){return te(te({},t),{},{branch_id:e.id})}))}}),[F]),(0,t.useEffect)((function(){var e=null===F||void 0===F?void 0:F.find((function(e){return e.branchName===l}));e&&o((function(t){return te(te({},t),{},{branch_id:e.id})}))}),[l,F]);var ee=function(e){var t,n,i=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,a=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;switch(i){case"fname":o(te(te({},r),{},{fname:a}));break;case"lname":o(te(te({},r),{},{lname:a}));break;case"email":o(te(te({},r),{},{email:a}));break;case"contact":o(te(te({},r),{},{contact:a}));break;case"password":o(te(te({},r),{},{password:a}));break;case"password2":o(te(te({},r),{},{password2:a}));break;case"gender":o(te(te({},r),{},{gender:a}));break;case"prnNo":o(te(te({},r),{},{prnNo:a}));break;case"branch":o((function(e){return te(te({},e),{},{branch:a})})),"branch"===i&&"Branch"===a&&(o((function(e){return te(te({},e),{},{prnNo:null,otherbranch:"",organization:"Hematite branch"})})),p((function(e){return te(te({},e),{},{otherBranchError:!1,pnrNoError:!1})}))),"branch"===i&&"cdac"===a&&(o((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),p((function(e){return te(te({},e),{},{otherBranchError:!1})}))),"branch"===i&&"otherbranch"===a&&(o((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,prnNo:null,organization:"Other branch"})})),p((function(e){return te(te({},e),{},{pnrNoError:!1})})));break;case"role":o(te(te({},r),{},{role:a}));break;case"organization":o(te(te({},r),{},{organization:a}));break;case"otherbranch":o(te(te({},r),{},{otherbranch:a}))}},ne=function(e){var t=e.target,n=t.name,i=t.value;if("fname"===n||"lname"===n){var a=!dh(i);p((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),a))}))}if("email"===n){var l=!ph(i);p((function(e){return te(te({},e),{},{emailError:l})}))}if("contact"===n){var s=!fh(i);p((function(e){return te(te({},e),{},{contactError:s})}))}if("prnNo"===n){var c=!hh(i);p((function(e){return te(te({},e),{},{pnrNoError:c})}))}if("otherbranch"===n){var d=!gh(i);p((function(e){return te(te({},e),{},{otherBranchError:d})}))}if("password"===n){var h=!mh(i);p((function(e){return te(te({},e),{},{passwordError:h})}))}if("password2"===n){var m=!mh(i);p((function(e){return te(te({},e),{},{password2Error:m})}))}if(""!==r.password&&""!==r.password2&&(r.password!==r.password2?p((function(e){return te(te({},e),{},{matchPasswordError:!0})})):p((function(e){return te(te({},e),{},{matchPasswordError:!1})}))),"branch"===n&&"Branch"===i&&(o((function(e){return te(te({},e),{},{prnNo:null,otherbranch:"",organization:"Hematite branch"})})),p(te(te({},f),{},{otherBranchError:!1,pnrNoError:!1}))),"branch"===n){var v=F.find((function(e){return e.branchName===i}));v&&o((function(e){return te(te({},e),{},{branch_id:v.id})}))}"branch"===n&&"cdac"===i&&(o((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),p(te(te({},f),{},{otherBranchError:!1}))),"branch"===n&&"otherbranch"===i&&(o((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,prnNo:null,organization:"Other branch"})})),p(te(te({},f),{},{pnrNoError:!1})))},re=function(){X(null)},oe=r.fname,ie=r.lname,ae=r.email,le=r.contact,se=r.gender,ce=r.role,ue=r.prnNo,de=r.branch,fe=r.otherbranch,pe=r.password,he=r.password2,me=r.organization,ve=!oe||!ie||!ae||!le||!se||!pe||!me||!de||f.fnameError||f.lnameError||f.emailError||f.contactError||f.passwordError||f.otherBranchError||f.pnrNoError||f.password2Error||f.matchPasswordError;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:V?{width:"40px",height:"35px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"}:{width:"50px",height:"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{component:"div",sx:{flexGrow:1},style:{textAlign:"left",width:"90px"},children:V?"Hematite Infotech ":"Hematite Infotech Online-Quiz"}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":K?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(K),onClick:function(e){e.preventDefault(),H("/")},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Login"}),(0,Bi.jsx)(as,{sx:{},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":K?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(K),onClick:function(e){X(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:K,open:Boolean(K),onClose:re,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){H("/student-registration"),re()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){H("/employee-registration"),re()},children:"Employee"})]})]})]})}),(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:V?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"600px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:V?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Student Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),U.some((function(e){return e.email===r.email})))return g(!0),O("error"),void S("User already exists.");if(r.password===r.password2){if(f.fnameError||f.lnameError||f.emailError||f.contactError||f.pnrNoError||f.passwordError||f.password2Error||f.otherBranchError||f.matchPasswordError)return g(!0),O("error"),void S("Please fix the validation errors before submitting.");if("otherbranch"==de&&""==fe)return g(!0),O("error"),void S("Please enter other branch.");if("cdac"==de&&(""==ue||null==ue))return g(!0),O("error"),void S("Please enter PNR No.");var t=te(te({},r),{},{email:r.email.toLowerCase(),fname:r.fname.toLowerCase(),lname:r.lname.toLowerCase()});console.log(t),ah(uh.student,t).then((function(e){console.log(e),201!==(null===e||void 0===e?void 0:e.status)&&200!==(null===e||void 0===e?void 0:e.status)||(q(hn.addUser(e.data)),g(!0),O("success"),S("Student Registered Successfully"))})).catch((function(e){console.log(e),g(!0),O("error"),S("".concat(null===e||void 0===e?void 0:e.name,":").concat(null===e||void 0===e?void 0:e.message))})),o({fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",branch_id:"",organization:""}),setTimeout((function(){H("/")}),3e3)}else o((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},children:[(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["First Name ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:oe,name:"fname",fullWidth:!0,inputProps:{maxLength:20},size:"small",error:f.fnameError,helperText:f.fnameError&&xh("Enter valid first name"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Last Name ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:ie,name:"lname",fullWidth:!0,inputProps:{maxLength:20},size:"small",error:f.lnameError,helperText:f.lnameError&&xh("Enter valid last name"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Email ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:ae,name:"email",fullWidth:!0,size:"small",inputProps:{maxLength:30},sx:{mb:4},error:f.emailError,helperText:f.emailError&&xh("Enter valid email id"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Contact Number ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:le,name:"contact",fullWidth:!0,size:"small",inputProps:{maxLength:10},sx:{mb:4},error:f.contactError,helperText:f.contactError&&xh("Enter valid contact number"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:Z?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:pe,name:"password",fullWidth:!0,size:"small",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){return T((function(e){return!e}))},edge:"end",children:Z?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:20},sx:{mb:4},error:f.passwordError,helperText:f.passwordError&&xh("Enter valid password"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:R?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Confirm Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:he,name:"password2",fullWidth:!0,size:"small",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){return N((function(e){return!e}))},edge:"end",children:R?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:14},sx:{mb:4},error:f.matchPasswordError,helperText:f.matchPasswordError&&xh("Password and Confirm Password doesn't match"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),f.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"8 characters minimum"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",sx:{marginTop:"20px"},children:[(0,Bi.jsxs)(gy,{sx:{fontSize:V?"12px":"16px"},id:"demo-simple-select-autowidth-label",children:["Select Role ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"role",value:ce,onChange:function(e){return ee(e)},onBlur:ne,autoWidth:!0,label:"Select Role",required:!0,color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose role",children:"Select Role"}),(0,Bi.jsx)(Zm,{value:"student",children:"Student"}),(0,Bi.jsx)(Zm,{value:"intern",children:"Intern"})]})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)("p",{style:{textAlign:"left",fontWeight:"bold",fontSize:V?"14px":"16px"},children:["Select Branch ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{row:!0,"aria-labelledby":"demo-row-radio-buttons-group-label",name:"branch",value:de||" ",onChange:function(e){return ee(e)},onBlur:ne,children:[(0,Bi.jsx)(gw,{value:"Branch",control:(0,Bi.jsx)(Mw,{}),label:"Hematite Branch"}),(0,Bi.jsx)(gw,{value:"cdac",control:(0,Bi.jsx)(Mw,{}),label:"CDAC"}),(0,Bi.jsx)(gw,{value:"otherbranch",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]}),"Branch"===de&&(F&&F.length>1?(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsxs)(gy,{sx:{fontSize:V?"12px":"16px"},id:"demo-simple-select-autowidth-label",children:["Select Branch ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"selectedBranch",value:l,onChange:function(e){return ee(e)},onBlur:ne,"aria-label":"Choose branch",autoWidth:!0,label:"Select Branch",color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose branch",children:"Select Branch"}),F.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.branchName)},e.id)}))]})]}):(F&&1===F.length&&l!==F[0].id&&ee({target:{name:"selectedBranch",value:F[0].id}}),null)),"cdac"===de&&(0,Bi.jsx)(Ry,{id:"prnNo",variant:"outlined",color:"primary",label:"PRN No",name:"prnNo",value:ue,onChange:function(e){return ee(e)},onBlur:ne,inputProps:{maxLength:20},error:f.pnrNoError,helperText:f.pnrNoError&&xh("Enter valid PRN-No"),fullWidth:!0,size:"small"}),"otherbranch"===de&&(0,Bi.jsx)(Ry,{id:"otherbranch",variant:"outlined",color:"primary",label:"Other Branch",name:"otherbranch",value:fe,inputProps:{maxLength:30},onChange:function(e){return ee(e)},onBlur:ne,fullWidth:!0,size:"small",error:f.otherBranchError,helperText:f.otherBranchError&&xh("Enter valid other branch")})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)("p",{style:{fontWeight:"bold",fontSize:V?"14px":"16px",textAlign:"left"},children:["Select Gender ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:se||" ",onChange:function(e){return ee(e)},onBlur:ne,sx:{mb:4},row:!0,children:[(0,Bi.jsx)(gw,{value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"8px",display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",type:"submit",size:"small",disabled:ve,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:function(){o((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",branch_id:"",organization:""})}))},variant:"contained",color:"primary",children:"Clear"})]})]})]})}),(0,Bi.jsx)(db,{open:v,autoHideDuration:4e3,onClose:function(){return g(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return g(!1)},severity:E,children:w})}),(0,Bi.jsx)(_S,{title:Q})]})})})]})};var fW=function(){var e=x((function(e){return e.employee})),n=e.allEmployee,r=x((function(e){return e.user})),o=r.allUser,i=_(),a=Lo(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],d=s[1],f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=Hb(Fx().breakpoints.down("sm")),g=(new Date).getFullYear(),y="\xa9 2017-".concat(g," Hematite Infotech, All Rights Reserved."),b=(0,t.useState)(null),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=(0,t.useState)({students:[],id:null,fname:"",lname:"",email:"",contact:"",dob:"",password:"",password2:"",gender:"",role:"",term:!1,open:!1,isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,selectedRecord:"",snackbarOpen:!1,snackbarMessage:"",severity:"",isFieldsEnabled:!1,errors:{empIdError:!1,fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,password2Error:!1,employeeIdError:!1,matchPasswordError:!1}}),E=(0,D.Z)(j,2),O=E[0],C=E[1];(0,t.useEffect)((function(){ih(uh.employee).then((function(e){var t=e.data.reverse();i(gn.getEmployee(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();i(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var P=function(e){var t,n,r=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,o=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;if("employeeId"!==r)switch(r){case"employeeId":case"fname":case"dob":C(te(te({},O),{},{fname:o}));break;case"lname":C(te(te({},O),{},{lname:o}));break;case"email":C(te(te({},O),{},{email:o}));break;case"contact":C(te(te({},O),{},{contact:o}));break;case"password":C(te(te({},O),{},{password:o}));break;case"password2":C(te(te({},O),{},{password2:o}));break;case"gender":C(te(te({},O),{},{gender:o}));break;case"role":C(te(te({},O),{},{role:o}))}else C((function(e){var t;return te(te({},e),{},(t={},(0,u.Z)(t,r,o),(0,u.Z)(t,"errors",te(te({},e.errors),{},{employeeIdError:!bh(o)})),t))}))},Z=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);C((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{passwordError:o})})}))}if("password2"===n){var i=!mh(r);C((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{password2Error:i})})}))}""!==z&&""!==L&&C(z!==L?function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{matchPasswordError:!0})})}:function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{matchPasswordError:!1})})})},T=function(){C((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",dob:"",role:"",employeeId:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,password2Error:!1,employeeIdError:!1}})}))},M=function(){k(null)},A=O.fname,R=O.lname,N=O.email,I=O.contact,z=O.password,L=O.password2,B=O.gender,F=O.dob,W=O.role,U=O.errors,q=O.employeeId,H=O.isFieldsEnabled,V=!A||!R||!N||!I||!z||!L||!B||!W||!q||!F||U.passwordError||U.password2Error;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:v?{width:"40px",height:"35px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"}:{width:"50px",height:"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{component:"div",sx:{flexGrow:1},style:{textAlign:"left",width:"90px"},children:v?"Hematite Infotech ":"Hematite Infotech Online-Quiz"}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":S?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(S),onClick:function(e){e.preventDefault(),a("/")},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Login"}),(0,Bi.jsx)(as,{sx:{},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":S?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(S),onClick:function(e){k(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:S,open:Boolean(S),onClose:M,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){a("/student-registration"),M()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){a("/employee-registration"),M()},children:"Employee"})]})]})]})}),(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:v?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"600px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:v?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Employee Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),O.password===O.password2)if(o.some((function(e){return e.email===O.email})))C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User already exists.",severity:"error"})}));else if(O.errors.passwordError||O.errors.password2Error||O.errors.employeeIdError)C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Please fix the validation errors before submitting.",severity:"error"})}));else{C((function(e){return te(te({},e),{},{students:[],fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",role:"",dob:"",employeeId:"",organization:"",term:!1,branch:"",pnr:"",otherBranch:"",isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,snackbarOpen:!1,snackbarMessage:"",severity:"success"})}));var t={fname:O.fname,lname:O.lname,email:O.email,contact:O.contact,password:O.password,password2:O.password2,gender:O.gender,dob:O.dob,role:O.role,employeeId:O.employeeId};ah(uh.staff,t).then((function(e){201!==e.status&&200!==e.status||(C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Employee registered.",severity:"success"})})),i(hn.addUser(e.data)))})).catch((function(e){C((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:e.message,severity:"error"})}))})),setTimeout((function(){a("/")}),2e3)}else C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},action:(0,Bi.jsx)(JS,{to:""}),children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Enter employee id",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:q,name:"employeeId",fullWidth:!0,size:"small",inputProps:{maxLength:3},onBlur:function(e){"employeeId"===e.target.name&&function(e){var t=parseInt(e),r=n.find((function(e){return e.employeeId===t}));r?(setTimeout((function(){C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee located successfully",severity:"success"})}))}),500),C((function(e){return te(te(te({},e),r),{},{isFieldsEnabled:!0})}))):(setTimeout((function(){C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee not found",severity:"error"})}))}),500),T(),C((function(e){return te(te({},e),{},{isFieldsEnabled:!1})})))}(e.target.value),P(e)},helperText:O.errors.employeeIdError&&xh("Enter valid employee id"),error:O.errors.employeeIdError,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"First Name",onChange:function(e){return P(e)},value:A,name:"fname",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.fnameError,helperText:O.errors.fnameError&&xh("Enter valid first name"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Last Name",onChange:function(e){return P(e)},value:R,name:"lname",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.lnameError,helperText:O.errors.lnameError&&xh("Enter valid last name"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:"Email",onChange:function(e){return P(e)},value:N,name:"email",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.emailError,helperText:O.errors.emailError&&xh("Enter valid email"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:"Contact Number",onChange:function(e){return P(e)},value:I,name:"contact",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.contactError,helperText:O.errors.contactError&&xh("Enter valid contact number"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:c?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:z,name:"password",onBlur:Z,fullWidth:!0,size:"small",disabled:!H,InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){d((function(e){return!e}))},edge:"end",children:c?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},error:O.errors.passwordError,helperText:O.errors.passwordError&&xh("Enter valid password"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:h?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Confirm Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:L,name:"password2",size:"small",onBlur:Z,disabled:!H,error:O.errors.matchPasswordError,helperText:O.errors.matchPasswordError&&xh("Password and Confirm Password does't match"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){m((function(e){return!e}))},edge:"end",children:h?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},fullWidth:!0,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),O.errors.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsxs)(Sy,{fullWidth:!0,"aria-readonly":!0,children:[(0,Bi.jsx)("p",{style:{textAlign:"left"},children:"Select Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:B||" ","aria-readonly":!0,row:!0,children:[(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",marginTop:3,children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"secondary",label:"Role",onChange:function(e){return P(e)},value:yf(W),name:"role",fullWidth:!0,required:!0,size:"small",InputProps:{readOnly:!0},disabled:!H,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{variant:"outlined",color:"secondary",onChange:function(e){return P(e)},value:F,name:"dob",label:"DOB",fullWidth:!0,size:"small",required:!0,InputProps:{readOnly:!0},disabled:!H,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(mf,{variant:"contained",size:"small",color:"primary",type:"submit",disabled:V,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:T,variant:"contained",color:"primary",children:"Clear"})]})]})]})}),(0,Bi.jsx)(db,{open:O.snackbarOpen,autoHideDuration:4e3,onClose:function(){return C((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return C((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},severity:O.severity,children:O.snackbarMessage})}),(0,Bi.jsx)(_S,{title:y})]})})})]})};var pW=function(e){var n=e.req,r=n.exam_id,o=(n.student_id,n.questions),i=Hb(Fx().breakpoints.down("sm")),a=(new Date).getFullYear(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],u=s[1],d=(0,t.useState)(""),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)("info"),v=(0,D.Z)(m,2),g=(v[0],v[1]),y="\xa9 2017-".concat(a," Hematite Infotech, All Rights Reserved."),b=Lo(),w=_(),S=x((function(e){return e.question})),k=S.allquestions,j=x((function(e){return e.exam})),E=j.allExam,O=(0,t.useState)([]),C=(0,D.Z)(O,2),P=C[0],Z=C[1];(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();w(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.question).then((function(e){w(kn.getQuestion(e.data))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){if(E.length&&k.length){var e=E.filter((function(e){return e.id==r})).map((function(e){return e.id})).join(", "),t=o.map((function(e){return e.id})).join(", "),n=k.filter((function(n){return e.includes(n.exam.id)&&t.includes(n.id)}));console.log(n);var i=n.map((function(e){return{id:e.id,answerKey:e.answer}}));console.log(i),Z(i)}}),[E,k,r,o]);var T=function(e,t){var n,r=P.find((function(t){return t.id===e})),i=null===(n=o.find((function(t){return t.id===e})))||void 0===n?void 0:n.answer;return r?r.answerKey===t?{backgroundColor:"lightgreen"}:i===t&&i!==r.answerKey?{backgroundColor:"lightcoral"}:{}:{}};return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:i?"40px":"50px",height:i?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:i?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){g("warning"),h("Are you sure you want to logout ?"),u(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),o&&o.map((function(e,t){return(0,Bi.jsxs)(Jw,{children:[(0,Bi.jsx)(aS,{expandIcon:(0,Bi.jsx)(fS.Z,{}),children:(0,Bi.jsxs)(Xy,{container:!0,sx:{textAlign:"left"},spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:8,children:(0,Bi.jsxs)(as,{sx:{fontSize:"18px"},children:["Que ",t+1," : ",e.question]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"30%",color:"#2c387e"},children:[e.marks," Marks"]})})]})}),(0,Bi.jsxs)(uS,{children:[e.questionImage&&(0,Bi.jsx)("img",{src:e.questionImage,alt:"Question ".concat(t+1)}),(0,Bi.jsxs)("ul",{children:[(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option1"),children:["Option 1: ",e.option1]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option2"),children:["Option 2: ",e.option2]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option3"),children:["Option 3: ",e.option3]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option4"),children:["Option 4: ",e.option4]})]})]})]},t)})),(0,Bi.jsx)("div",{className:"close-btn",style:{marginBottom:"80px"},children:(0,Bi.jsx)(mf,{type:"button",variant:"contained",size:"small",onClick:function(){sessionStorage.clear(),b("/exam-submitted")},children:"Close"})}),(0,Bi.jsx)(_S,{title:y}),(0,Bi.jsx)(gf,{open:c,onClose:function(){return u(!1)},show:!0,onConfirm:function(){u(!1),sessionStorage.clear(),b("/exam-submitted")},title:"Confirmation",message:p,submitLabel:"Logout"})]})},hW=n(78),mW=function(e,t,n){var r,o,i=e.keys[0];if(Array.isArray(t))t.forEach((function(t,r){n((function(t,n){r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"===typeof t){(Object.keys(t).length>e.keys.length?e.keys:(r=e.keys,o=Object.keys(t),r.filter((function(e){return o.includes(e)})))).forEach((function(r){if(-1!==e.keys.indexOf(r)){var o=t[r];void 0!==o&&n((function(t,n){i===r?Object.assign(t,n):t[e.up(r)]=n}),o)}}))}else"number"!==typeof t&&"string"!==typeof t||n((function(e,t){Object.assign(e,t)}),t)};function vW(e){return e?"Level".concat(e):""}function gW(e){return e.unstable_level>0&&e.container}function yW(e){return function(t){return"var(--Grid-".concat(t,"Spacing").concat(vW(e.unstable_level),")")}}function bW(e){return function(t){return 0===e.unstable_level?"var(--Grid-".concat(t,"Spacing)"):"var(--Grid-".concat(t,"Spacing").concat(vW(e.unstable_level-1),")")}}function xW(e){return 0===e.unstable_level?"var(--Grid-columns)":"var(--Grid-columns".concat(vW(e.unstable_level-1),")")}var wW=function(e){var t=e.theme,n=e.ownerState,r=yW(n),o={};return mW(t.breakpoints,n.gridSize,(function(e,t){var i={};!0===t&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"===typeof t&&(i={flexGrow:0,flexBasis:"auto",width:"calc(100% * ".concat(t," / ").concat(xW(n)).concat(gW(n)?" + ".concat(r("column")):"",")")}),e(o,i)})),o},SW=function(e){var t=e.theme,n=e.ownerState,r={};return mW(t.breakpoints,n.gridOffset,(function(e,t){var o={};"auto"===t&&(o={marginLeft:"auto"}),"number"===typeof t&&(o={marginLeft:0===t?"0px":"calc(100% * ".concat(t," / ").concat(xW(n),")")}),e(r,o)})),r},kW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=gW(n)?(0,u.Z)({},"--Grid-columns".concat(vW(n.unstable_level)),xW(n)):{"--Grid-columns":12};return mW(t.breakpoints,n.columns,(function(e,t){e(r,(0,u.Z)({},"--Grid-columns".concat(vW(n.unstable_level)),t))})),r},jW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=bW(n),o=gW(n)?(0,u.Z)({},"--Grid-rowSpacing".concat(vW(n.unstable_level)),r("row")):{};return mW(t.breakpoints,n.rowSpacing,(function(e,r){var i;e(o,(0,u.Z)({},"--Grid-rowSpacing".concat(vW(n.unstable_level)),"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)))})),o},EW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=bW(n),o=gW(n)?(0,u.Z)({},"--Grid-columnSpacing".concat(vW(n.unstable_level)),r("column")):{};return mW(t.breakpoints,n.columnSpacing,(function(e,r){var i;e(o,(0,u.Z)({},"--Grid-columnSpacing".concat(vW(n.unstable_level)),"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)))})),o},OW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r={};return mW(t.breakpoints,n.direction,(function(e,t){e(r,{flexDirection:t})})),r},CW=function(e){var t=e.ownerState,n=yW(t),r=bW(t);return(0,Ti.Z)({minWidth:0,boxSizing:"border-box"},t.container&&(0,Ti.Z)({display:"flex",flexWrap:"wrap"},t.wrap&&"wrap"!==t.wrap&&{flexWrap:t.wrap},{margin:"calc(".concat(n("row")," / -2) calc(").concat(n("column")," / -2)")},t.disableEqualOverflow&&{margin:"calc(".concat(n("row")," * -1) 0px 0px calc(").concat(n("column")," * -1)")}),(!t.container||gW(t))&&(0,Ti.Z)({padding:"calc(".concat(r("row")," / 2) calc(").concat(r("column")," / 2)")},(t.disableEqualOverflow||t.parentDisableEqualOverflow)&&{padding:"".concat(r("row")," 0px 0px ").concat(r("column"))}))},PW=function(e){var t=[];return Object.entries(e).forEach((function(e){var n=(0,D.Z)(e,2),r=n[0],o=n[1];!1!==o&&void 0!==o&&t.push("grid-".concat(r,"-").concat(String(o)))})),t},ZW=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xs";function n(e){return void 0!==e&&("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e&&e>0)}if(n(e))return["spacing-".concat(t,"-").concat(String(e))];if("object"===typeof e&&!Array.isArray(e)){var r=[];return Object.entries(e).forEach((function(e){var t=(0,D.Z)(e,2),o=t[0],i=t[1];n(i)&&r.push("spacing-".concat(o,"-").concat(String(i)))})),r}return[]},_W=function(e){return void 0===e?[]:"object"===typeof e?Object.entries(e).map((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];return"direction-".concat(n,"-").concat(r)})):["direction-xs-".concat(String(e))]},TW=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],MW=(0,nw.Z)(),AW=ew("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){return t.root}});function RW(e){return(0,tw.Z)({props:e,name:"MuiGrid",defaultTheme:MW})}var NW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?AW:n,o=e.useThemeProps,i=void 0===o?RW:o,a=e.componentName,l=void 0===a?"MuiGrid":a,s=t.createContext(void 0),c=r(kW,EW,jW,wW,OW,CW,SW),u=t.forwardRef((function(e,n){var r,o,a,u,d,f,p,h,m=(0,Ci.Z)(),v=Li(i(e)),g=t.useContext(s),y=v.className,b=v.children,x=v.columns,w=void 0===x?12:x,S=v.container,k=void 0!==S&&S,j=v.component,E=void 0===j?"div":j,O=v.direction,C=void 0===O?"row":O,P=v.wrap,Z=void 0===P?"wrap":P,_=v.spacing,M=void 0===_?0:_,A=v.rowSpacing,R=void 0===A?M:A,N=v.columnSpacing,I=void 0===N?M:N,z=v.disableEqualOverflow,L=v.unstable_level,B=void 0===L?0:L,W=(0,T.Z)(v,TW),U=z;B&&void 0!==z&&(U=e.disableEqualOverflow);var q={},H={},V={};Object.entries(W).forEach((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];void 0!==m.breakpoints.values[n]?q[n]=r:void 0!==m.breakpoints.values[n.replace("Offset","")]?H[n.replace("Offset","")]=r:V[n]=r}));var Y=null!=(r=e.columns)?r:B?void 0:w,G=null!=(o=e.spacing)?o:B?void 0:M,$=null!=(a=null!=(u=e.rowSpacing)?u:e.spacing)?a:B?void 0:R,K=null!=(d=null!=(f=e.columnSpacing)?f:e.spacing)?d:B?void 0:I,X=(0,Ti.Z)({},v,{level:B,columns:Y,container:k,direction:C,wrap:Z,spacing:G,rowSpacing:$,columnSpacing:K,gridSize:q,gridOffset:H,disableEqualOverflow:null!=(p=null!=(h=U)?h:g)&&p,parentDisableEqualOverflow:g}),Q=function(e,t){var n=e.container,r=e.direction,o=e.spacing,i=e.wrap,a=e.gridSize,s={root:["root",n&&"container","wrap"!==i&&"wrap-xs-".concat(String(i))].concat((0,F.Z)(_W(r)),(0,F.Z)(PW(a)),(0,F.Z)(n?ZW(o,t.breakpoints.keys[0]):[]))};return(0,Yi.Z)(s,(function(e){return(0,Oa.Z)(l,e)}),{})}(X,m),J=(0,Bi.jsx)(c,(0,Ti.Z)({ref:n,as:E,ownerState:X,className:(0,Mi.Z)(Q.root,y)},V,{children:t.Children.map(b,(function(e){var n;return t.isValidElement(e)&&(0,hW.Z)(e,["Grid"])?t.cloneElement(e,{unstable_level:null!=(n=e.props.unstable_level)?n:B+1}):e}))}));return void 0!==U&&U!==(null!=g&&g)&&(J=(0,Bi.jsx)(s.Provider,{value:U,children:J})),J}));return u.muiName="Grid",u}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:function(e,t){return t.root}}),componentName:"MuiGrid2",useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiGrid2"})}}),IW=NW,DW=n(1897);var zW=function(){var e=x((function(e){return e.employee})),n=e.allEmployee,r=x((function(e){return e.user})),o=r.allUser,i=_(),a=Lo(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],d=s[1],f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=Hb(Fx().breakpoints.down("sm")),g=(new Date).getFullYear(),y="\xa9 2017-".concat(g," Hematite Infotech, All Rights Reserved."),b=(0,t.useState)({students:[],id:null,fname:"",lname:"",email:"",contact:"",dob:"",password:"",password2:"",gender:"",role:"",term:!1,open:!1,isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,selectedRecord:"",snackbarOpen:!1,snackbarMessage:"",severity:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,employeeIdError:!1}}),w=(0,D.Z)(b,2),S=w[0],k=w[1];(0,t.useEffect)((function(){ih(uh.employee).then((function(e){var t=e.data.reverse();i(gn.getEmployee(t))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();i(hn.getUser(t))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}))}),[]);var j=function(e){var t=e.target,n=t.name,r=t.value;k((function(e){return te(te({},e),{},(0,u.Z)({},n,r))}))},E=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{passwordError:o})})}))}"employeeId"!==n||(Number.isInteger(Number(r))?k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{employeeIdError:!1})})})):k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{employeeIdError:!0})})})))},O=function(){k((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",dob:"",role:"",employeeId:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,employeeIdError:!1}})}))},C=S.fname,P=S.lname,Z=S.email,T=S.contact,M=S.password,A=S.password2,R=S.gender,N=S.dob,I=S.role,z=S.employeeId,L=S.isFieldsEnabled,B=!C||!P||!Z||!T||!M||!A||!R||!I||!z||!N;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:v?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"700px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:v?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Student Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),S.password===S.password2)if(o.some((function(e){return e.email===S.email})))k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User already exists.",severity:"error"})}));else if(S.errors.passwordError||S.errors.employeeIdError)k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Please fix the validation errors before submitting.",severity:"error"})}));else{k((function(e){return te(te({},e),{},{students:[],fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",role:"",dob:"",employeeId:"",organization:"",term:!1,branch:"",pnr:"",otherBranch:"",isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,snackbarOpen:!1,snackbarMessage:"",severity:"success"})}));var t={fname:S.fname,lname:S.lname,email:S.email,contact:S.contact,password:S.password,password2:S.password2,gender:S.gender,dob:S.dob,role:S.role,employeeId:S.employeeId};ah(uh.staff,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==e.statu||(k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User successfully registered.",severity:"success"})})),i(hn.addUser(e.data)))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:null===e||void 0===e?void 0:e.message,severity:"error"})}))})),setTimeout((function(){a("/")}),2e3)}else k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},action:(0,Bi.jsx)(JS,{to:""}),children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Enter Student Mail ID ",onChange:j,value:z,name:"employeeId",fullWidth:!0,required:!0,size:"small",onBlur:function(e){E(e),j(e),function(e){var t=parseInt(e),r=n.find((function(e){return e.employeeId===t}));r?(setTimeout((function(){k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee found successfully",severity:"success"})}))}),500),k((function(e){return te(te(te({},e),r),{},{isFieldsEnabled:!0})}))):(setTimeout((function(){k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee not found",severity:"error"})}))}),500),O(),k((function(e){return te(te({},e),{},{isFieldsEnabled:!1})})))}(e.target.value)},helperText:S.errors.employeeIdError&&xh("Please enter a valid student Email id")||"eg:john@example.com",error:S.errors.employeeIdError,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)("br",{}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"First Name",onChange:j,value:C,name:"fname",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.fnameError,helperText:S.errors.fnameError&&xh("Please enter a valid fname")||"eg:John",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Last Name",onChange:j,value:P,name:"lname",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.lnameError,helperText:S.errors.lnameError&&xh("Please enter a valid last name")||"eg: Doe",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:"Email",onChange:j,value:Z,name:"email",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.emailError,helperText:S.errors.emailError&&xh("Please enter a valid email")||"eg:jhon@gmail.com",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:"+91 Contact Number",onChange:j,value:T,name:"contact",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.contactError,helperText:S.errors.contactError&&xh("Please enter a valid contact")||"eg:9999999999",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:c?"text":"password",variant:"outlined",color:"primary",label:"Password",onChange:j,value:M,name:"password",onBlur:E,fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){d((function(e){return!e}))},edge:"end",children:c?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},error:S.errors.passwordError,helperText:S.errors.passwordError&&xh("Please enter a valid password")||"eg:Jhon@1234",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:h?"text":"password",variant:"outlined",color:"primary",label:"Confirm Password",onChange:j,value:A,name:"password2",size:"small",disabled:!L,error:S.errors.passwordError,helperText:S.errors.passwordError&&xh("Please enter a valid password")||"eg:Jhon@1234",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){m((function(e){return!e}))},edge:"end",children:h?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},fullWidth:!0,required:!0,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),S.errors.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"8 characters minimum"})]})}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(Sy,{fullWidth:!0,disabled:!L,children:[(0,Bi.jsx)("p",{style:{textAlign:"left"},children:"Select Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:R||" ",onChange:j,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",marginTop:3,children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"secondary",label:"Role",onChange:j,value:I,name:"role",fullWidth:!0,required:!0,size:"small",InputProps:{readOnly:!0},disabled:!L,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{variant:"outlined",color:"secondary",onChange:j,value:N,name:"dob",label:"DOB",fullWidth:!0,size:"small",required:!0,InputProps:{readOnly:!0},disabled:!L,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"10px"},children:[(0,Bi.jsx)(mf,{variant:"contained",size:"small",color:"primary",type:"submit",disabled:B,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:O,variant:"contained",color:"primary",children:"Clear"})]}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row",marginTop:"25px",justifyContent:"left"},children:[(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){return function(e){e.preventDefault(),a("/")}(e)},children:"Login ? Click Here"})," ",(0,Bi.jsx)("br",{})]})]})]})}),(0,Bi.jsx)(db,{open:S.snackbarOpen,autoHideDuration:4e3,onClose:function(){return k((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return k((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},severity:S.severity,children:S.snackbarMessage})}),(0,Bi.jsx)(_S,{title:y})]})})})})},LW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),BW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),FW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function WW(e){return(0,Oa.Z)("MuiCheckbox",e)}var UW=(0,Ea.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),qW=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],HW=(0,Oi.ZP)(qg,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiCheckbox",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},!r.disableRipple&&{"&:hover":{backgroundColor:n.vars?"rgba(".concat("default"===r.color?n.vars.palette.action.activeChannel:n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)("default"===r.color?n.palette.action.active:n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,u.Z)(t,"&.".concat(UW.checked,", &.").concat(UW.indeterminate),{color:(n.vars||n).palette[r.color].main}),(0,u.Z)(t,"&.".concat(UW.disabled),{color:(n.vars||n).palette.action.disabled}),t))})),VW=(0,Bi.jsx)(BW,{}),YW=(0,Bi.jsx)(LW,{}),GW=(0,Bi.jsx)(FW,{}),$W=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiCheckbox"}),a=i.checkedIcon,l=void 0===a?VW:a,s=i.color,c=void 0===s?"primary":s,u=i.icon,d=void 0===u?YW:u,f=i.indeterminate,p=void 0!==f&&f,h=i.indeterminateIcon,m=void 0===h?GW:h,v=i.inputProps,g=i.size,y=void 0===g?"medium":g,b=i.className,x=(0,T.Z)(i,qW),w=p?m:d,S=p?m:l,k=(0,Ti.Z)({},i,{color:c,indeterminate:p,size:y}),j=function(e){var t=e.classes,n=e.indeterminate,r=e.color,o=e.size,i={root:["root",n&&"indeterminate","color".concat((0,vl.Z)(r)),"size".concat((0,vl.Z)(o))]},a=(0,Yi.Z)(i,WW,t);return(0,Ti.Z)({},t,a)}(k);return(0,Bi.jsx)(HW,(0,Ti.Z)({type:"checkbox",inputProps:(0,Ti.Z)({"data-indeterminate":p},v),icon:t.cloneElement(w,{fontSize:null!=(r=w.props.fontSize)?r:y}),checkedIcon:t.cloneElement(S,{fontSize:null!=(o=S.props.fontSize)?o:y}),ownerState:k,ref:n,className:(0,Mi.Z)(j.root,b)},x,{classes:j}))})),KW=$W,XW={textAlign:"left",paddingLeft:"10px",fontSize:"16px"};var QW=function(e){var n=e.selectedBatch,r=e.updateShowBatchDetail,o=e.getTrainerName,i=(0,t.useState)([]),a=(0,D.Z)(i,2),l=(a[0],a[1]),s=(0,t.useState)(!1),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=(0,t.useState)([]),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,t.useState)({open:!1,message:"",severity:"success"}),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=(Lo(),_()),S=x((function(e){return e.user})),k=S.allUser,j=x((function(e){return e.feedbackAns})),E=j.allBatchWiseStudent,O=(0,t.useState)(!1),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(null),M=(0,D.Z)(T,2),A=M[0],R=M[1];(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();w(hn.getUser(t))})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();w(Zn.getBatchWiseStudent(t)),l(e.data)})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();w(Zn.getBatchWiseStudent(t)),l(e.data)})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[y]);var N=function(e){var t=k.find((function(t){return t.id===e}));return t?"".concat(yf(t.fname)):"Student ".concat(e).join(",")},I=function(){b(te(te({},y),{},{open:!1}))},z=function(e){Z(!0),R(e)},L=function(){Z(!1),R(null)},B=E.filter((function(e){return e.batch&&e.batch.id===n.id})),F=new Set(B.map((function(e){return e.student.id}))),W=k.filter((function(e){return"student"===e.role&&!F.has(e.id)}));return console.log(B),(0,Bi.jsxs)("div",{children:[(0,Bi.jsxs)(Vi,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{position:"static",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block",textAlign:"left"}},children:"Batch Details"}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:{flexGrow:1,textAlign:"end"},children:["Batch Start Date:"," ",null!==n&&void 0!==n&&n.startDate?null===n||void 0===n?void 0:n.startDate:"Loading..."]})]})})}),(0,Bi.jsx)(Kh,{component:ml,sx:{borderRadius:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsxs)(nm,{children:[(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:7,children:(0,Bi.jsxs)(Vi,{sx:{marginTop:"20px",display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[n&&(0,Bi.jsxs)("div",{children:[(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Trainer Name: ",yf(o(null===n||void 0===n?void 0:n.trainer))]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Course Name: ",yf(n.course.CourseName)]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Duration In Days: ",null===n||void 0===n?void 0:n.duration_in_days]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Left Days:"," ",function(e,t){if(!e||!t)return"Invalid date or duration";var n=parseInt(t.replace(/\D/g,""),10),r=new Date(e),o=new Date(r);o.setDate(r.getDate()+n);var i=o-new Date;return i<0?0:Math.ceil(i/864e5)}(null===n||void 0===n?void 0:n.startDate,null===n||void 0===n?void 0:n.duration_in_days)," ","days"]})]}),(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Vi,{sx:{minWidth:160},children:(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsx)(gy,{id:"demo-multiple-checkbox-label",children:"Select Students"}),(0,Bi.jsx)(fg,{labelId:"demo-multiple-checkbox-label",id:"demo-multiple-checkbox",multiple:!0,label:"Select Students",value:h,onChange:function(e){var t=e.target.value;m(t)},renderValue:function(e){return e.map((function(e){return N(e)})).join(", ")},children:0===W.length?(0,Bi.jsx)(Zm,{disabled:!0,value:"",children:(0,Bi.jsx)(Mc,{primary:"None"})}):W.map((function(e){return(0,Bi.jsxs)(Zm,{value:e.id,children:[(0,Bi.jsx)(KW,{checked:h.indexOf(e.id)>-1}),(0,Bi.jsx)(Mc,{primary:"".concat(yf(e.fname)," ").concat(yf(e.lname))})]},e.id)}))})]})}),(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"medium",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){if(n)if(0!==h.length){var e=(new Date).toISOString().split("T")[0];h.forEach((function(t){var r=N(t);if(E.some((function(e){return e.student.id===t&&e.batch.id===n.id})))b({open:!0,message:"Student ".concat(r," already in the batch"),severity:"warning"});else{var o={student_id:t,batch_id:n.id,date:e};ah(uh.batchWiseStudent,o).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(b({open:!0,message:"Students added successfully",severity:"success"}),w(Zn.addBatchwiseStudent(e.data)))})).catch((function(e){b({open:!0,message:"Error adding student ".concat(t),severity:"error"})}))}})),m([])}else b({open:!0,message:"No students selected",severity:"warning"});else b({open:!0,message:"Selected batch is undefined",severity:"error"})},sx:{mt:2},children:"Add student"})]})]})})}),(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"SrNo"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Student Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Student Email Id"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Organization Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})]}),(0,Bi.jsx)(Bh,{children:B.map((function(e,t){return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:t+1}),(0,Bi.jsxs)(Vh,{children:[yf(e.student.fname)," ",yf(e.student.lname)]}),(0,Bi.jsx)(Vh,{children:e.student.email}),(0,Bi.jsx)(Vh,{children:e.student.organization}),(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(Js,{onClick:function(){return t=e.id,void z(t);var t},children:(0,Bi.jsx)(ey.Z,{style:{color:"red"}})})})]},t)}))})]})})]}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){return r(!1)},children:"Back to Batches"}),(0,Bi.jsx)(Bd,{open:u,onClose:function(){d(!1)},children:(0,Bi.jsx)($d,{children:(0,Bi.jsx)(zW,{})})}),(0,Bi.jsx)(gf,{open:P,onClose:L,onConfirm:function(){L(),function(){var e="".concat(uh.batchWiseStudent).concat(A);sh(e).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){b({open:!0,message:"Student deleted successfully",severity:"success"}),w(Zn.deleteBatchWiseStudent(A));var t=B.filter((function(e){return e.id!==A}));l(t)}})).catch((function(e){b({open:!0,message:null===e||void 0===e?void 0:e.message,severity:"error"})}))}()},show:!0,message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:y.open,autoHideDuration:6e3,onClose:I,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:I,severity:y.severity,children:y.message})})]})},JW=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)("days"),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(0),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(5),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(!1),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(""),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)(!0),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)(!1),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=(0,t.useState)(null),ie=(0,D.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,t.useState)(!1),ce=(0,D.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,t.useState)(""),pe=(0,D.Z)(fe,2),he=pe[0],me=pe[1],ve=(0,t.useState)(!0),ge=(0,D.Z)(ve,2),ye=ge[0],be=ge[1],xe=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1,batchNameError:!1}),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1],je=(0,t.useState)("success"),Ee=(0,D.Z)(je,2),Oe=Ee[0],Ce=Ee[1],Pe=Lo(),Ze=_(),_e=x((function(e){return e.employee})),Te=_e.allEmployee,Me=x((function(e){return e.batch})).SingleBatch,Ae=x((function(e){return e.batch})).allBatches,Re=(0,t.useState)(!0),Ne=(0,D.Z)(Re,2),Ie=(Ne[0],Ne[1]),De=x((function(e){return e.batch})),ze=De.allCourse;(0,t.useEffect)((function(){ih(uh.course).then((function(e){return Ze(Mn.Get_Course(e.data))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){return Ze(Mn.GET_BATCH(e.data.reverse()))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[ue]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){return Ze(Mn.GET_BATCH(e.data.reverse()))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){ih("".concat(uh.employee)).then((function(e){var t=e.data.reverse();Ze(gn.getEmployee(t))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){if(Me){var e=Me.id,t=Me.courseId,n=Me.trainerId,r=Me.duration_in_days,i=Me.startDate,a=Me.batchname;o(e),f(t),s(n),w(null===r||void 0===r?void 0:r.replace(/[a-z]/g,"")),E(null===r||void 0===r?void 0:r.replace(/\d+/g,"")),v(i),Z(a)}}),[Me]);var Le=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"courseId":f(r);break;case"trainerId":s(r);break;case"duration":w(r);break;case"durationUnit":E(r);break;case"startDate":v(r);break;case"batchname":Z(r)}"duration"===n&&(Number.isInteger(Number(r))||(me("Only numeric value accepted ."),Ce("error"),de(!0),be(!1)))},Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=Ae.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.duration_in_days,i=t.startDate,a=t.batchname;o(n),f(t.course.id),s(t.trainer.id),w(r.replace(/[a-z]/g,"")),E(r.replace(/\d+/g,"")),v(i),Z(a),q(!0),Ie(!1),Q(!1)}}else q(!0),Ie(!0),Fe(),Q(!0)},Fe=function(){o(null),Z(""),f(""),w(""),s(""),v(""),E("days")},We=function(){q(!1),ke((function(e){return te(te({},e),{},{fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1,batchNameError:!1})}))},Ue=function(e){re(!0),le(e)},qe=function(){re(!1),le(null)},He=function(e){e.preventDefault();var t=Ae.some((function(e){return e.batchname==P&&e.id!==r}));if(t)return de(!0),me("Batch name already exists. Please enter a unique batch name."),void Ce("error");if(ye){var n="".concat(b).concat(j),o={course_id:d,trainer_id:l,duration_in_days:n,startDate:m,batchname:"".concat(P.toLowerCase(),"-").concat(m)};X?ah(uh.batch,o).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){de(!0),me("Batch Added!."),Ce("success"),Ze(Mn.ADD_BATCH(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(Ae));Ze(Mn.GET_BATCH(n))}})).catch((function(e){de(!0),me(null===e||void 0===e?void 0:e.message),Ce("error")})):(o.id=r,lh("".concat(uh.batch).concat(o.id,"/"),o).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(de(!0),me("Batch Updated!."),Ce("success"),Ze(Mn.UPDATE_BATCH(e.data)))})).catch((function(e){de(!0),me(e.message),Ce("error")}))),We(),q(!1)}},Ve=function(){de(!1),me("")},Ye=Ae&&Ae.filter((function(e){var t,n,r=Y.toLowerCase(),o=e.batchname&&e.batchname.toLowerCase().includes(r),i=(null===e||void 0===e||null===(t=e.course)||void 0===t?void 0:t.CourseName)&&(null===e||void 0===e||null===(n=e.course)||void 0===n?void 0:n.CourseName.toLowerCase().includes(r));return o||i})),Ge=!d||!l||!P||!m||!b||!j||Se.batchNameError;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,marginLeft:"-17px",position:"relative",borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Batch"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:Y,onChange:function(e){G(e.target.value),R(0)},placeholder:"Search Employee",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"small",type:"button",sx:{marginBottom:2},startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return Be()},children:"Add"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Batch Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Course Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Start Date"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Duration"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Trainer Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===Ye.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):Ye&&Ye.length>0&&Ye.slice(A*z,A*z+z).map((function(e,t){var n,r,o,i=A*z+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{component:"th",align:"center",scope:"row",children:i}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.batchname)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:null===e||void 0===e||null===(n=e.course)||void 0===n?void 0:n.CourseName}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:qx(e.startDate)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"center",children:e.duration_in_days}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"left",children:[yf(null===e||void 0===e||null===(r=e.trainer)||void 0===r?void 0:r.fname)+" "+yf(null===e||void 0===e||null===(o=e.trainer)||void 0===o?void 0:o.lname)," "]}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"left",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return Be(e.id)},style:{color:"#2c387e",fontSize:"25px"}})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){Ue(e)}(e.id)},style:{color:"#2c387e",fontSize:"25px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:Ye.length,rowsPerPage:z,page:A,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){R(t)},onRowsPerPageChange:function(e){L(parseInt(e.target.value,10)),R(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:U,onClose:We,show:!0,onConfirm:function(e){We(),He(e)},title:X?"Add Batch":"Update Batch",content:(0,Bi.jsx)("form",{onSubmit:He,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Batch name",variant:"outlined",fullWidth:!0,name:"batchname",size:"small",type:"text",inputProps:{maxLength:30},onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("batchname"===n){var o=!function(e){return/^[a-zA-Z0-9\- ]{2,30}$/.test(e)}(r);ke((function(e){return te(te({},e),{},{batchNameError:o})}))}},value:P,onChange:Le,error:Se.batchNameError,helperText:Se.batchNameError&&xh("Enter Valid Batch Name.")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select1-label",children:"Select course"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select1-label",id:"demo-simple-select1",value:d,name:"courseId",label:"Select course",onChange:Le,children:[" ",(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"Select Course"}),ze&&(null===ze||void 0===ze?void 0:ze.length)>0&&(null===ze||void 0===ze?void 0:ze.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.CourseName)},t)})))]})]})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-label",children:"Select trainer"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-label",id:"demo-simple-select",value:l,name:"trainerId",label:"Select trainer",onChange:Le,children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"Select Trainer"}),Te&&(null===Te||void 0===Te?void 0:Te.length)>0&&(null===Te||void 0===Te?void 0:Te.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.fname)+" "+yf(e.lname)},t)})))]})]})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,type:"date",name:"startDate",value:m,size:"small",onChange:Le,InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"start",children:"Start Date:"})}})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsx)(Ry,{label:"Duration",value:b,onChange:Le,name:"duration",fullWidth:!0,required:!0,size:"small",inputProps:{maxLength:3}})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsx)(Ry,{label:"Duration Unit",value:"days",onChange:Le,name:"durationUnit",fullWidth:!0,required:!0,"aria-readonly":!0,size:"small"})})]})}),disable:Ge,submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ne,onClose:qe,show:!0,onConfirm:function(){qe(),function(){var e=ae;sh("".concat(uh.batch).concat(e)).then((function(t){200!==(null===t||void 0===t?void 0:t.status)&&201!==(null===t||void 0===t?void 0:t.status)||(de(!0),me("batch deleted successfully"),Ce("success"),Ze(Mn.DELETE_BATCH(e)))})).catch((function(e){de(!0),me(e.message),Ce("error")})),qe()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:ue,autoHideDuration:3e3,onClose:Ve,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:Ve,severity:Oe,sx:{width:"100%"},children:he})})]}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){Pe("/dashboard/batch")},children:"Back to Courses"})]})};var eU=function(){var e=(0,t.useState)([]),n=(0,D.Z)(e,2),r=(n[0],n[1]),o=(0,t.useState)(!1),i=(0,D.Z)(o,2),a=i[0],l=i[1],s=(0,t.useState)(""),c=(0,D.Z)(s,2),u=(c[0],c[1]),d=(0,t.useState)({}),f=(0,D.Z)(d,2),p=(f[0],f[1],(0,t.useState)({})),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(null),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)([]),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)({}),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(!1),M=(0,D.Z)(T,2),A=(M[0],M[1],Lo());(0,t.useEffect)((function(){u(function(){var e=(new Date).getHours();return e<12?"Morning":e<18?"Afternoon":"Evening"}())}),[]);var R=x((function(e){return e.batch})),N=R.allBatches,I=x((function(e){return e.batch})),z=I.allCourse,L=_();(0,t.useEffect)((function(){ih(uh.course).then((function(e){return L(Mn.Get_Course(e.data))})).catch((function(e){return console.log("Batch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){var t;return L(Mn.GET_BATCH(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.reverse()))})).catch((function(e){return console.log("Batch error: ",e)}))}),[]),(0,t.useEffect)((function(){N&&N.length>0&&(r((0,F.Z)(N)),Z(W(N)))}),[N]);var B=function(e){var t="",n=e.fname,r=void 0===n?"":n,o=e.lname,i=void 0===o?"":o;return r&&i&&(t="".concat(r," ").concat(i)),t},W=function(e){return e.reduce((function(e,t){var n,r=null===t||void 0===t||null===(n=t.course)||void 0===n?void 0:n.id;return e[r]||(e[r]=0),e[r]++,e}),{})},U=function(e){var t=N.filter((function(t){var n;return(null===t||void 0===t||null===(n=t.course)||void 0===n?void 0:n.id)===e}));E(t)},q=(0,Oi.ZP)(ml)((function(e){var t=e.theme;return te(te({backgroundColor:"dark"===t.palette.mode?"#1A2027":"#fff"},t.typography.body2),{},{padding:t.spacing(2),textAlign:"center",color:t.palette.text.secondary})}));return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(Jl,{}),!a&&!b&&(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none",borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Nl,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,Bi.jsx)("div",{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,sx:{textAlign:"left",fontSize:"24px"},children:"Manage Batch"})}),(0,Bi.jsx)("div",{children:(0,Bi.jsx)(mf,{type:"button",variant:"outlined",size:"small",color:"inherit",onClick:function(){A("/dashboard/manage-batch")},children:"All Batch"})})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsx)(Vi,{sx:{flexGrow:1,padding:"10px"},children:z.length>0?(0,Bi.jsx)(IW,{container:!0,spacing:{xs:2,md:3},columns:{xs:4,sm:8,md:12},children:z.map((function(e,t){return(0,Bi.jsx)(IW,{item:!0,xs:2,sm:4,md:4,children:(0,Bi.jsxs)(q,{onClick:function(){return w(t=e),U(t.id),void l(!1);var t},children:[(0,Bi.jsx)(Tl,{position:"static",sx:{height:"50px"},children:(0,Bi.jsx)(Nl,{sx:{justifyContent:"center"},children:(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,component:"div",sx:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsxs)("div",{style:{marginRight:"10px"},children:[" ",(0,Bi.jsx)(DW.Z,{sx:{fontSize:"25px"}})]}),(0,Bi.jsx)("div",{style:{fontSize:"16px"},children:yf(null===e||void 0===e?void 0:e.CourseName)})]})})}),(0,Bi.jsx)("div",{style:{padding:"20px"},children:(0,Bi.jsxs)("span",{children:["Batch count: ",P[null===e||void 0===e?void 0:e.id]||0]})})]})},t)}))}):(0,Bi.jsx)(as,{variant:"h6",align:"center",children:"No Courses Available"})})})]}),!a&&b&&(0,Bi.jsxs)(Vi,{sx:{flexGrow:1,marginTop:7,marginRight:"25px",marginLeft:"-17px"},children:[(0,Bi.jsx)(Tl,{position:"static",children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,sx:{textAlign:"center",fontSize:"24px"},children:["Batches for ",yf(b.CourseName)]})})}),j.length>0?(0,Bi.jsx)(Kh,{component:ml,children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:"Batch Name"}),(0,Bi.jsx)(Vh,{children:"Trainer"}),(0,Bi.jsx)(Vh,{children:"Start Date"}),(0,Bi.jsx)(Vh,{children:"Duration"}),(0,Bi.jsx)(Vh,{children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:j.map((function(e,t){return(0,Bi.jsxs)(zg,{onClick:function(){return function(e){v(e),l(!0)}(e)},children:[(0,Bi.jsx)(Vh,{children:e.batchname}),(0,Bi.jsx)(Vh,{children:B(e.trainer)}),(0,Bi.jsx)(Vh,{children:e.startDate}),(0,Bi.jsx)(Vh,{children:e.duration_in_days}),(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(mf,{variant:"outlined",color:"success",size:"small",children:"See Students"})})]},t)}))})]})}):(0,Bi.jsx)(as,{variant:"h6",align:"center",sx:{marginTop:2},children:"No Batches Found"}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){return w(null)},children:"Back to Courses"})]}),a&&(0,Bi.jsx)(QW,{selectedBatch:m,getTrainerName:B,updateShowBatchDetail:l})]})};var tU=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(null),h=(0,D.Z)(p,2),m=(h[0],h[1],(0,t.useState)(!1)),v=(0,D.Z)(m,2),g=(v[0],v[1],Hb(Fx().breakpoints.down("sm")),_()),y=x((function(e){return e.enroll})),b=y.allEnrollDetails;(0,t.useEffect)((function(){ih(uh.enroll).then((function(e){var t=e.data.reverse();g(zn.getEnrollmentDetails(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]);var w=b&&b.length>0&&b.filter((function(e){var t=e&&e.fname&&e.fname.toLowerCase().includes(d),n=(e&&e.lname&&e.lname.toLowerCase().includes(d),e&&e.email&&e.email.toLowerCase().includes(d)),r=e&&e.course&&e.course.toLowerCase().includes(d),o=e&&e.mode&&e.mode.toLowerCase().includes(d);return t||n||r||o}))||[];return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Register Student"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:d,onChange:function(e){f(e.target.value),o(0)},placeholder:"Search Student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Date"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Contact"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Course"}),(0,Bi.jsx)(Vh,{align:"center",sx:{fontWeight:"bold"},children:"Trainning Mode"})]})}),(0,Bi.jsx)(Bh,{children:0===w.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):w&&w.length>0&&w.slice(r*l,r*l+l).map((function(e,t){var n=r*l+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:qx(e.enrollDate)}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(e.fname)," ",yf(e.lname)]}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.email)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.mobile)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.course)}),(0,Bi.jsx)(Vh,{align:"center",children:yf(e.mode)})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:w.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})})]})})},nU=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(0),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(5),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(!1),F=(0,D.Z)(B,2),W=F[0],U=F[1],q=(0,t.useState)(""),H=(0,D.Z)(q,2),V=H[0],Y=H[1],G=(0,t.useState)(!0),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=(0,t.useState)(!1),J=(0,D.Z)(Q,2),ee=J[0],ne=J[1],re=(0,t.useState)(null),oe=(0,D.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,t.useState)(!1),se=(0,D.Z)(le,2),ce=se[0],ue=se[1],de=(0,t.useState)(!1),fe=(0,D.Z)(de,2),pe=fe[0],he=fe[1],me=(0,t.useState)(""),ve=(0,D.Z)(me,2),ge=ve[0],ye=ve[1],be=(0,t.useState)(""),xe=(0,D.Z)(be,2),we=xe[0],Se=xe[1],ke=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1}),je=(0,D.Z)(ke,2),Ee=je[0],Oe=je[1],Ce=(0,t.useState)("success"),Pe=(0,D.Z)(Ce,2),Ze=Pe[0],_e=Pe[1],Te=_(),Me=x((function(e){return e.enquiry})),Ae=Me.allEnquiry,Re=x((function(e){return e.enquiry})).singleEnquiry,Ne=(0,t.useState)(!0),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=(Ie[1],Hb(Fx().breakpoints.down("sm")));(0,t.useEffect)((function(){ih("".concat(uh.enquiry)).then((function(e){var t=e.data.reverse();Te(Nn.getEnquiry(t))})).catch((function(e){ue(!0),Se("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),_e("error")}))}),[]),(0,t.useEffect)((function(){if(Re){var e=Re.id,t=Re.fname,n=Re.lname,r=Re.email,i=Re.message,a=Re.status,l=Re.mobile;o(e),s(t),f(n),v(a),E(l),w(i),Z(r)}}),[Re]);var Le=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r);break;case"lname":f(r);break;case"status":v(r);break;case"message":w(r);break;case"mobile":E(r);break;case"email":Z(r)}},Be=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":var o=!dh(r);Oe((function(e){return te(te({},e),{},{fnameError:o})}));break;case"lname":var i=!dh(r);Oe((function(e){return te(te({},e),{},{lnameError:i})}));break;case"mobile":var a=!fh(r);Oe((function(e){return te(te({},e),{},{contactError:a})}));break;case"email":var l=!ph(r);Oe((function(e){return te(te({},e),{},{emailError:l})}))}},Fe=function(){U(!1)},We=function(){he(!1),ye("")},Ue=function(e){ne(!0),ae(e)},qe=function(){ne(!1),ae(null)},He=function(){o(null),s(""),f(""),w(""),E(""),v(""),Z("")},Ve=function(e){if(e.preventDefault(),Ee.fnameError||Ee.lnameError||Ee.emailError||Ee.contactError)return ue(!0),Se("please fix validiation error before submiting"),void _e("error");var t={email:P,fname:l,lname:d,message:b,mobile:j,status:m};K?ah(uh.enquiry,t).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){ue(!0),Se("enquiry added successfully."),_e("success");var t=[null===e||void 0===e?void 0:e.data].reverse();Te(Nn.addEnquiry(t))}})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("true")})):(t.id=r,lh("".concat(uh.enquiry).concat(t.id,"/"),t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(ue(!0),Se("enquiry updated successfully."),_e("success"),Te(Nn.updateEnquiry(null===e||void 0===e?void 0:e.data)))})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("error")}))),Fe(),U(!1)},Ye=function(){ue(!1),Se("")},Ge=Ae&&Ae.filter((function(e){var t=V.toLowerCase(),n=e.fname&&e.fname.toLowerCase().includes(t),r=e.lname&&e.lname.toLowerCase().includes(t),o=e.email&&e.email.toLowerCase().includes(t),i=e.status&&e.status.toLowerCase().includes(t),a=e.enquiryDate&&e.enquiryDate.includes(t),l=e.mobile&&e.mobile.includes(t);return n||r||o||i||a||l}));return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Enquiry"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:V,onChange:function(e){Y(e.target.value),R(0)},placeholder:"Search student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Date"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Mobile no"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"status"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===Ge.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):Ge&&Ge.length>0&&Ge.slice(A*z,A*z+z).map((function(e,t){var n=A*z+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{component:"th",align:"left",scope:"row",children:n}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:qx(e.enquiryDate)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:e.mobile}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.status)}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=Ae.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.fname,i=t.lname,a=t.mobile,l=t.message,c=t.status,u=t.email;o(n),s(r),f(i),E(a),w(l),v(c),Z(u),U(!0),X(!1)}}else U(!0),X(!0),He()}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Pd,{title:"See Message",children:(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,he(!0),void ye(t);var t},style:{color:"#2c387e",fontSize:"18px"}})})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){Ue(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:Ge.length,rowsPerPage:z,page:A,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){R(t)},onRowsPerPageChange:function(e){L(parseInt(e.target.value,10)),R(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:W,onClose:Fe,show:De,onConfirm:function(e){Fe(),Ve(e)},title:"Edit enquiry details",content:(0,Bi.jsx)("form",{onSubmit:Ve,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"First Name",variant:"outlined",fullWidth:!0,name:"fname",size:"small",type:"text",value:l,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.fnameError,helperText:Ee.fnameError&&xh("Enter Valid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Last Name",variant:"outlined",type:"text",fullWidth:!0,name:"lname",size:"small",value:d,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.lnameError,helperText:Ee.lnameError&&xh("Enter Valid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Email",variant:"outlined",fullWidth:!0,type:"email",name:"email",size:"small",value:P,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.emailError,helperText:Ee.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Mobile No",variant:"outlined",fullWidth:!0,type:"tel",name:"mobile",value:j,"aria-readonly":!0,InputProps:{readOnly:!0},size:"small",onChange:Le,onBlur:Be,error:Ee.contactError,helperText:Ee.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsx)(gy,{sx:{ml:1},children:"Message"}),(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,name:"message",type:"text",size:"small",value:b,InputProps:{readOnly:!0},onChange:Le})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Ry,{select:!0,margin:"normal",required:!0,fullWidth:!0,label:"Status",name:"status",size:"small",id:"status",value:m,onChange:Le,onBlur:Be,children:[(0,Bi.jsx)(Zm,{value:"pending",children:"Pending"}),(0,Bi.jsx)(Zm,{value:"contacted",children:"Contacted"}),(0,Bi.jsx)(Zm,{value:"no answer",children:"No Answer"}),(0,Bi.jsx)(Zm,{value:"busy",children:"Busy"}),(0,Bi.jsx)(Zm,{value:"wrong number",children:"Wrong Number"}),(0,Bi.jsx)(Zm,{value:"Follow-Up Needed",children:"Follow-Up Needed"}),(0,Bi.jsx)(Zm,{value:"Customer Unreachable",children:"Customer Unreachable"}),(0,Bi.jsx)(Zm,{value:"wrong number",children:"Wrong Number"}),(0,Bi.jsx)(Zm,{value:"disconnected",children:"Disconnected"})]})})]})}),submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ee,onClose:qe,show:!0,onConfirm:function(){qe(),function(){var e=ie;sh("".concat(uh.enquiry).concat(e)).then((function(t){200!==(null===t||void 0===t?void 0:t.status)&&201!==(null===t||void 0===t?void 0:t.status)||(ue(!0),Se("Enquiry deleted successfully"),_e("success"),Te(Nn.deleteEnquiry(e)))})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("error")})),qe()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(gf,{open:pe,onClose:We,onConfirm:function(e){We()},show:!1,title:"User Details",content:ge&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:ze?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:[(0,Bi.jsxs)("div",{children:[" ",(0,Bi.jsx)("strong",{children:"Full Name:"})," ",yf(ge.fname)," ",yf(ge.lname)]}),(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)("strong",{children:"Email:"})," ",ge.email," "]})]}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:ze?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" ",(0,Bi.jsx)("strong",{children:"Message:"})," ",yf(ge.message)," "]})})]})})}),(0,Bi.jsx)(db,{open:ce,autoHideDuration:3e3,onClose:Ye,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:Ye,severity:Ze,sx:{width:"100%"},children:we})})]})})},rU=function(){return _t({reducer:{voucher:an,exam:cn,login:fn,user:mn,employee:yn,feedback:wn,question:jn,result:Cn,feedbackAns:_n,batch:An,enquiry:In,enroll:Ln},preloadedState:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})}();var oU=function(){var e,t=null===(e=Do().state)||void 0===e?void 0:e.req;return(0,Bi.jsx)(pW,{req:t})},iU=function(){(0,t.useEffect)((function(){if("https:"===window.location.protocol){var e=window.location.href.replace("https://","http://");window.location.replace(e)}}),[]);var e=(0,Ui.Z)({palette:{primary:{main:"#2c387e"},secondary:{main:"#f44336"}}}),n=function(e,t){return Lr({basename:null==t?void 0:t.basename,future:ai({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),er((function(e,t){var n=Jn(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,l=n.hash,s=void 0===l?"":l;return o.startsWith("/")||o.startsWith(".")||(o="/"+o),Xn("",{pathname:o,search:a,hash:s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:Qn(t))}),(function(e,t){$n("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||li(),routes:e,mapRouteProperties:ii}).initialize();var n}([{path:"",element:(0,Bi.jsx)(mk,{})},{path:"/quizapp",element:(0,Bi.jsxs)(PS,{children:[" ",(0,Bi.jsx)(ik,{})]})},{path:"/instruction",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(nk,{})})},{path:"/start-exam",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(tk,{})})},{path:"/exam-submitted",element:(0,Bi.jsx)(ek,{})},{path:"/student-registration",element:(0,Bi.jsx)(dW,{})},{path:"/employee-registration",element:(0,Bi.jsx)(fW,{})},{path:"/student-feedback",element:(0,Bi.jsx)(Aw,{})},{path:"/forgetpassword",element:(0,Bi.jsx)(CS,{})},{path:"/question-answer",element:(0,Bi.jsx)(oU,{})},{path:"*",element:(0,Bi.jsx)(uW,{})},{path:"/dashboard",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Ch,{})}),children:[{path:"exam",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Lb,{})})},{path:"voucher",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Fb,{})})},{path:"feedback",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Hx,{})})},{path:"student",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Nw,{})})},{path:"question",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(gS,{})})},{path:"staff",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Iw,{})})},{path:"result",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(cW,{})})},{path:"manage-batch",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(JW,{})})},{path:"batch",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(eU,{})})},{path:"register-student",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(tU,{})})},{path:"enquiry",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(nU,{})})}]}]);return(0,Bi.jsx)(j,{store:rU,children:(0,Bi.jsx)(jk,{theme:e,children:(0,Bi.jsx)("div",{className:"App","data-testid":"AppWrapper",children:(0,Bi.jsx)(Jo,{router:n})})})})},aU=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))};o.createRoot(document.getElementById("root")).render((0,Bi.jsx)(t.StrictMode,{children:(0,Bi.jsx)(iU,{})})),aU()}()}(); //# sourceMappingURL=main.dbe7cbc3.js.mapEvidence version:"18.2.0",rendererPackageName:"react-dom"Solution Please upgrade to the latest version of react-dom.
-
-
-
Risk=Informational, Confidence=Low (2)
-
http://quiz-be-test.hematitecorp.com (1)
-
Authentication Request Identified (1)
POST http://quiz-be-test.hematitecorp.com/api/token/
Alert tags Alert description The given request has been identified as an authentication request. The 'Other Info' field contains a set of key=value lines which identify any relevant fields. If the request is in a context which has an Authentication Method set to "Auto-Detect" then this rule will change the authentication to match the request identified.
Other info userParam=email
userValue=admin@gmail.com
passwordParam=password
referer=http://quiz-fe-test.hematitecorp.com/
Request Request line and header section (457 bytes)
POST http://quiz-be-test.hematitecorp.com/api/token/ HTTP/1.1 host: quiz-be-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: application/json, text/plain, */* Accept-Language: en-US,en;q=0.5 Content-Type: application/json Content-Length: 51 Origin: http://quiz-fe-test.hematitecorp.com Connection: keep-alive Referer: http://quiz-fe-test.hematitecorp.com/ Priority: u=0Request body (51 bytes)
{"email":"admin@gmail.com","password":"Admin@1234"}Response Status line and header section (443 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 09:23:15 GMT Server: Apache access-control-allow-origin: http://quiz-fe-test.hematitecorp.com Vary: Accept,origin,Accept-Encoding Referrer-Policy: same-origin X-Frame-Options: DENY X-Content-Type-Options: nosniff Allow: POST, OPTIONS X-Powered-By: Phusion Passenger(R) 6.0.23 Content-Length: 489 Status: 200 OK Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: application/jsonResponse body (489 bytes)
{"refresh":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTczNDYwMDE5NSwiaWF0IjoxNzM0NTEzNzk1LCJqdGkiOiIwNTQ1ZjljMGYwNzg0YTE0YjY4OGUxOTk0NmQwMmYxZSIsInVzZXJfaWQiOjEyN30.eBUD3kvosNZyoR9XvvrHq59rF78hFrJkiQuhJHFs_JA","access":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzM0NTI5Mzk1LCJpYXQiOjE3MzQ1MTM3OTUsImp0aSI6ImE3MjQ2ZjBkYjQzYjQ3MzVhOGEyZWE0OWE2Y2Q1YTVkIiwidXNlcl9pZCI6MTI3fQ.p1wygd1azrYcUEXDR6ypkzPhUfwYVAmqWAkv5o6nSXs"}Parameter emailEvidence passwordSolution This is an informational alert rather than a vulnerability and so there is nothing to fix.
-
-
http://quiz-fe-test.hematitecorp.com (1)
-
Information Disclosure - Suspicious Comments (1)
GET http://quiz-fe-test.hematitecorp.com/static/js/main.dbe7cbc3.js
Alert tags Alert description The response appears to contain suspicious comments which may help an attacker. Note: Matches made within script blocks or files are against the entire content not only comments.
Other info The following pattern was used: \bDB\b and was detected in the element starting with: "!function(){var e={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;", see evidence field for the suspicious comment/snippet.
Request Request line and header section (329 bytes)
GET http://quiz-fe-test.hematitecorp.com/static/js/main.dbe7cbc3.js HTTP/1.1 host: quiz-fe-test.hematitecorp.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 Accept: */* Accept-Language: en-US,en;q=0.5 Connection: keep-alive Referer: http://quiz-fe-test.hematitecorp.com/Request body (0 bytes)
Response Status line and header section (303 bytes)
HTTP/1.1 200 OK Date: Wed, 18 Dec 2024 09:22:47 GMT Server: Apache Last-Modified: Mon, 09 Dec 2024 21:50:50 GMT ETag: "40208df-1429bf-628dd5b9a8280" Accept-Ranges: none Content-Length: 1321407 Vary: Accept-Encoding Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: text/javascriptResponse body (1321407 bytes)
/*! For license information please see main.dbe7cbc3.js.LICENSE.txt */ !function(){var e={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function l(e){return e.trim()}function s(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,v=1,g=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:v,length:a,return:""}}function S(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?u(x,--y):0,v--,10===b&&(v=1,m--),b}function j(){return b=y<g?u(x,y++):0,v++,10===b&&(v=1,m++),b}function E(){return u(x,y)}function O(){return y}function C(e,t){return d(x,e,t)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Z(e){return m=v=1,g=f(x=e),y=0,[]}function _(e){return x="",e}function T(e){return l(C(y-1,R(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=E())&&b<33;)j();return P(e)>2||P(b)>3?"":" "}function A(e,t){for(;--t&&j()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return C(e,O()+(t<6&&32==E()&&32==j()))}function R(e){for(;j();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:j()}return y}function N(e,t){for(;j()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+C(t,y-1)+"*"+i(47===e?e:j())}function I(e){for(;!P(E());)j();return C(e,y)}var D="-ms-",z="-moz-",L="-webkit-",B="comm",F="rule",W="decl",U="@keyframes";function q(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function H(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case U:return e.return=e.value+"{"+q(e.children,r)+"}";case F:e.value=e.props.join(",")}return f(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function V(e){return _(Y("",null,null,null,[""],e=Z(e),0,[0],e))}function Y(e,t,n,r,o,a,l,d,p){for(var m=0,v=0,g=l,y=0,b=0,x=0,w=1,S=1,C=1,P=0,Z="",_=o,R=a,D=r,z=Z;S;)switch(x=P,P=j()){case 40:if(108!=x&&58==u(z,g-1)){-1!=c(z+=s(T(P),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:z+=T(P);break;case 9:case 10:case 13:case 32:z+=M(x);break;case 92:z+=A(O()-1,7);continue;case 47:switch(E()){case 42:case 47:h($(N(j(),O()),t,n),p);break;default:z+="/"}break;case 123*w:d[m++]=f(z)*C;case 125*w:case 59:case 0:switch(P){case 0:case 125:S=0;case 59+v:-1==C&&(z=s(z,/\f/g,"")),b>0&&f(z)-g&&h(b>32?K(z+";",r,n,g-1):K(s(z," ","")+";",r,n,g-2),p);break;case 59:z+=";";default:if(h(D=G(z,t,n,m,v,o,d,Z,_=[],R=[],g),a),123===P)if(0===v)Y(z,t,D,D,_,a,g,d,R);else switch(99===y&&110===u(z,3)?100:y){case 100:case 108:case 109:case 115:Y(e,D,D,r&&h(G(e,D,D,0,0,o,d,Z,o,_=[],g),R),o,R,g,d,r?_:R);break;default:Y(z,D,D,D,[""],R,0,d,R)}}m=v=b=0,w=C=1,Z=z="",g=l;break;case 58:g=1+f(z),b=x;default:if(w<1)if(123==P)--w;else if(125==P&&0==w++&&125==k())continue;switch(z+=i(P),P*w){case 38:C=v>0?1:(z+="\f",-1);break;case 44:d[m++]=(f(z)-1)*C,C=1;break;case 64:45===E()&&(z+=T(j())),y=E(),v=g=f(Z=z+=I(O())),P++;break;case 45:45===x&&2==f(z)&&(w=0)}}return a}function G(e,t,n,r,i,a,c,u,f,h,m){for(var v=i-1,g=0===i?a:[""],y=p(g),b=0,x=0,S=0;b<r;++b)for(var k=0,j=d(e,v+1,v=o(x=c[b])),E=e;k<y;++k)(E=l(x>0?g[k]+" "+j:s(j,/&\f/g,g[k])))&&(f[S++]=E);return w(e,t,n,0===i?F:u,f,h,m)}function $(e,t,n){return w(e,t,n,B,i(b),d(e,2,-2),0)}function K(e,t,n,r){return w(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!P(o);)j();return C(e,y)},Q=function(e,t){return _(function(e,t){var n=-1,r=44;do{switch(P(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=j());return e}(Z(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+z+e+D+e+e;case 6828:case 4268:return L+e+D+e+e;case 6165:return L+e+D+"flex-"+e+e;case 5187:return L+e+s(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return L+e+D+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return L+e+D+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+D+s(e,"shrink","negative")+e;case 5292:return L+e+D+s(e,"basis","preferred-size")+e;case 6060:return L+"box-"+s(e,"-grow","")+L+e+D+s(e,"grow","positive")+e;case 4554:return L+s(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+z+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+L)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(45===u(e,14)?"inline-":"")+"box$3$1"+L+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case U:return q([S(e,{value:s(e.value,"@","@"+L)})],r);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([S(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([S(e,{props:[s(t,/:(plac\w+)/,":"+L+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,l={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)l[t[n]]=!0;s.push(e)}));var c,u,d=[H,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var t=p(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([ee,te].concat(o,d));a=function(e,t,n,r){c=n,q(V(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:a};return h.sheet.hydrate(s),h}},9797:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},2564:function(e,t,n){"use strict";n.d(t,{T:function(){return s},i:function(){return i},w:function(){return l}});var r=n(2791),o=n(3361),i=(n(9140),n(2561),!0),a=r.createContext("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null);a.Provider;var l=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(l=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var s=r.createContext({})},9140:function(e,t,n){"use strict";n.d(t,{O:function(){return h}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(9797),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!==typeof e},c=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":s(a)&&(r+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=d(e,t,a);switch(i){case"animation":case"animationName":r+=c(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var f=0;f<a.length;f++)s(a[f])&&(r+=c(i)+":"+u(i,a[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";f=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=d(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),r&&(o+=i[a]);p.lastIndex=0;for(var l,s="";null!==(l=p.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:f}}},2561:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a},j:function(){return l}});var o=n(2791),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},5438:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},2419:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},6711:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.Z=a},1009:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.Z=a},8996:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.Z=a},2338:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");t.Z=a},7247:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},1286:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=a},5146:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");t.Z=a},1131:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},2715:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");t.Z=a},1133:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=a},5397:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=a},111:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");t.Z=a},403:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}),"LockOutlined");t.Z=a},3553:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42C8.32 20.01 10.55 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z"}),"LockReset");t.Z=a},501:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=a},1406:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"RemoveRedEyeRounded");t.Z=a},1897:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3 1 9l11 6 9-4.91V17h2V9L12 3z"}),"School");t.Z=a},5403:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=a},2270:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M9 1h6v2H9zm10.03 6.39 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM13 14h-2V8h2v6z"}),"Timer");t.Z=a},3746:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=a},165:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.Z=a},1141:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5649)),i=n(184),a=(0,o.default)((0,i.jsx)("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");t.Z=a},5649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(8610)},6532:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},8457:function(e,t,n){"use strict";n(6532)},1979:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(7462),o=n(3366),i=n(6189),a=n(2466),l=n(5080),s=n(7416),c=n(104),u=n(4942);function d(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,u.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,u.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var f=n(2065),p={black:"#000",white:"#fff"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},v={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},x={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=["mode","contrastThreshold","tonalOffset"],S={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:p.white,default:p.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},k={text:{primary:p.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:p.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function j(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,f.$n)(e.main,o):"dark"===t&&(e.dark=(0,f._j)(e.main,i)))}function E(e){var t=e.mode,n=void 0===t?"light":t,l=e.contrastThreshold,s=void 0===l?3:l,c=e.tonalOffset,u=void 0===c?.2:c,d=(0,o.Z)(e,w),E=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),O=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[500],light:m[300],dark:m[700]}}(n),C=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[500],light:v[300],dark:v[700]}:{main:v[700],light:v[400],dark:v[800]}}(n),P=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),Z=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:x[400],light:x[300],dark:x[700]}:{main:x[800],light:x[500],dark:x[900]}}(n),_=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function T(e){return(0,f.mi)(e,k.text.primary)>=s?k.text.primary:S.text.primary}var M=function(e){var t=e.color,n=e.name,o=e.mainShade,a=void 0===o?500:o,l=e.lightShade,s=void 0===l?300:l,c=e.darkShade,d=void 0===c?700:c;if(!(t=(0,r.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,i.Z)(11,n?" (".concat(n,")"):"",a));if("string"!==typeof t.main)throw new Error((0,i.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return j(t,"light",s,u),j(t,"dark",d,u),t.contrastText||(t.contrastText=T(t.main)),t},A={dark:k,light:S};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},p),mode:n,primary:M({color:E,name:"primary"}),secondary:M({color:O,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:C,name:"error"}),warning:M({color:_,name:"warning"}),info:M({color:P,name:"info"}),success:M({color:Z,name:"success"}),grey:h,contrastThreshold:s,getContrastText:T,augmentColor:M,tonalOffset:u},A[n]),d)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var C={textTransform:"uppercase"},P='"Roboto", "Helvetica", "Arial", sans-serif';function Z(e,t){var n="function"===typeof t?t(e):t,i=n.fontFamily,l=void 0===i?P:i,s=n.fontSize,c=void 0===s?14:s,u=n.fontWeightLight,d=void 0===u?300:u,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,x=n.allVariants,w=n.pxToRem,S=(0,o.Z)(n,O);var k=c/14,j=w||function(e){return"".concat(e/b*k,"rem")},E=function(e,t,n,o,i){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:j(t),lineHeight:n},l===P?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},Z={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(p,48,1.167,0),h4:E(p,34,1.235,.25),h5:E(p,24,1.334,0),h6:E(m,20,1.6,.15),subtitle1:E(p,16,1.75,.15),subtitle2:E(m,14,1.57,.1),body1:E(p,16,1.5,.15),body2:E(p,14,1.43,.15),button:E(m,14,1.75,.4,C),caption:E(p,12,1.66,.4),overline:E(p,12,2.66,1,C),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:b,pxToRem:j,fontFamily:l,fontSize:c,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:g},Z),S,{clone:!1})}function _(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var T=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)],M=n(1314),A={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},R=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,u=e.palette,f=void 0===u?{}:u,p=e.transitions,h=void 0===p?{}:p,m=e.typography,v=void 0===m?{}:m,g=(0,o.Z)(e,R);if(e.vars)throw new Error((0,i.Z)(18));var y=E(f),b=(0,l.Z)(e),x=(0,a.Z)(b,{mixins:d(b.breakpoints,n),palette:y,shadows:T.slice(),typography:Z(y,v),transitions:(0,M.ZP)(h),zIndex:(0,r.Z)({},A)});x=(0,a.Z)(x,g);for(var w=arguments.length,S=new Array(w>1?w-1:0),k=1;k<w;k++)S[k-1]=arguments[k];return(x=S.reduce((function(e,t){return(0,a.Z)(e,t)}),x)).unstable_sxConfig=(0,r.Z)({},s.Z,null==g?void 0:g.unstable_sxConfig),x.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},x}var I=N},1314:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u},x9:function(){return l}});var r=n(3366),o=n(7462),i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function c(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function u(e){var t=(0,o.Z)({},a,e.easing),n=(0,o.Z)({},l,e.duration);return(0,o.Z)({getAutoHeightDuration:c,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,l=void 0===a?n.standard:a,c=o.easing,u=void 0===c?t.easeInOut:c,d=o.delay,f=void 0===d?0:d;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof l?l:s(l)," ").concat(u," ").concat("string"===typeof f?f:s(f))})).join(",")}},e,{easing:t,duration:n})}},6482:function(e,t,n){"use strict";var r=(0,n(1979).Z)();t.Z=r},988:function(e,t){"use strict";t.Z="$$material"},6934:function(e,t,n){"use strict";n.d(t,{Dz:function(){return l},FO:function(){return a}});var r=n(4046),o=n(6482),i=n(988),a=function(e){return(0,r.x9)(e)&&"classes"!==e},l=r.x9,s=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a});t.ZP=s},1402:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7078),o=n(6482),i=n(988);function a(e){var t=e.props,n=e.name;return(0,r.Z)({props:t,name:n,defaultTheme:o.Z,themeId:i.Z})}},4036:function(e,t,n){"use strict";var r=n(1122);t.Z=r.Z},1260:function(e,t,n){"use strict";var r=n(8949);t.Z=r.Z},9201:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7462),o=n(2791),i=n(3366),a=n(3733),l=n(4419),s=n(4036),c=n(1402),u=n(6934),d=n(5878),f=n(1217);function p(e){return(0,f.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(184),m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,u.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.Z)(n.color))],t["fontSize".concat((0,s.Z)(n.fontSize))]]}})((function(e){var t,n,r,o,i,a,l,s,c,u,d,f,p,h=e.theme,m=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:m.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=h.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=h.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(o=h.typography)||null==(i=o.pxToRem)?void 0:i.call(o,20))||"1.25rem",medium:(null==(a=h.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(s=h.typography)||null==(c=s.pxToRem)?void 0:c.call(s,35))||"2.1875rem"}[m.fontSize],color:null!=(u=null==(d=(h.vars||h).palette)||null==(d=d[m.color])?void 0:d.main)?u:{action:null==(f=(h.vars||h).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(p=(h.vars||h).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0}[m.color]}})),g=o.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiSvgIcon"}),u=n.children,d=n.className,f=n.color,g=void 0===f?"inherit":f,y=n.component,b=void 0===y?"svg":y,x=n.fontSize,w=void 0===x?"medium":x,S=n.htmlColor,k=n.inheritViewBox,j=void 0!==k&&k,E=n.titleAccess,O=n.viewBox,C=void 0===O?"0 0 24 24":O,P=(0,i.Z)(n,m),Z=o.isValidElement(u)&&"svg"===u.type,_=(0,r.Z)({},n,{color:g,component:b,fontSize:w,instanceFontSize:e.fontSize,inheritViewBox:j,viewBox:C,hasSvgAsChild:Z}),T={};j||(T.viewBox=C);var M=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,s.Z)(t)),"fontSize".concat((0,s.Z)(n))]};return(0,l.Z)(o,p,r)}(_);return(0,h.jsxs)(v,(0,r.Z)({as:b,className:(0,a.Z)(M.root,d),focusable:"false",color:S,"aria-hidden":!E||void 0,role:E?"img":void 0,ref:t},T,P,Z&&u.props,{ownerState:_,children:[Z?u.props.children:u,E?(0,h.jsx)("title",{children:E}):null]}))}));g.muiName="SvgIcon";var y=g;function b(e,t){function n(n,o){return(0,h.jsx)(y,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},3199:function(e,t,n){"use strict";var r=n(2254);t.Z=r.Z},8610:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i.Z},createSvgIcon:function(){return a.Z},debounce:function(){return l.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return f},setRef:function(){return p},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return h.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return v},useControlled:function(){return g.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return x.Z}});var r=n(5902),o=n(4036),i=n(1260),a=n(9201),l=n(3199);var s=function(e,t){return function(){return null}},c=n(3701),u=n(8301),d=n(7602);n(7462);var f=function(e,t){return function(){return null}},p=n(2971).Z,h=n(162),m=n(7384);var v=function(e,t,n,r,o){return null},g=n(5158),y=n(9683),b=n(2071),x=n(3031),w={configure:function(e){r.Z.configure(e)}}},3701:function(e,t,n){"use strict";var r=n(78);t.Z=r.Z},8301:function(e,t,n){"use strict";var r=n(4913);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(5202);t.Z=r.Z},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9439),o=n(2791);var i=function(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),l=(0,r.Z)(a,2),s=l[0],c=l[1];return[i?t:s,o.useCallback((function(e){i||c(e)}),[])]}},162:function(e,t,n){"use strict";var r=n(2876);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(7054);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(6117);t.Z=r.Z},7384:function(e,t,n){"use strict";var r=n(8252);t.Z=r.Z},3031:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,o=n(2791),i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var f=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},2421:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(7462),o=n(2791),i=n(9797),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=n(2564),c=n(5438),u=n(9140),d=n(2561),f=l,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,d.L)((function(){return(0,c.My)(t,n,r)})),null},g=function e(t,n){var i,a,l=t.__emotion_real===t,d=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=m(t,n,l),p=f||h(d),g=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var S=(0,s.w)((function(e,t,n){var r=g&&e.as||d,i="",l=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=o.useContext(s.T)}"string"===typeof e.className?i=(0,c.fp)(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.O)(b.concat(l),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=g&&void 0===f?h(r):p,S={};for(var k in e)g&&"as"===k||w(k)&&(S[k]=e[k]);return S.className=i,S.ref=n,o.createElement(o.Fragment,null,o.createElement(v,{cache:t,serialized:x,isStringTag:"string"===typeof r}),o.createElement(r,S))}));return S.displayName=void 0!==i?i:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=b,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+a}}),S.withComponent=function(t,o){return e(t,(0,r.Z)({},n,o,{shouldForwardProp:m(S,o,!0)})).apply(void 0,b)},S}}.bind();function y(e,t){return g(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}));var b=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return u},VO:function(){return o},W8:function(){return l},dt:function(){return c},k9:function(){return a}});var r=n(2466),o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(o[e],"px)")}};function a(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var a=r.breakpoints||i;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var l=r.breakpoints||i;return Object.keys(t).reduce((function(e,r){if(-1!==Object.keys(l.values||o).indexOf(r)){e[l.up(r)]=n(t[r],r)}else{var i=r;e[i]=t[i]}return e}),{})}return n(t)}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e){for(var t=l(e),n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=[t].concat(o).reduce((function(e,t){return(0,r.Z)(e,t)}),{});return s(Object.keys(t),a)}function u(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),i=Object.keys(o);return 0===i.length?n:i.reduce((function(e,r,o){return Array.isArray(n)?(e[r]=null!=n[o]?n[o]:n[t],t=o):"object"===typeof n?(e[r]=null!=n[r]?n[r]:n[t],t=r):e[r]=n,e}),{})}},2065:function(e,t,n){"use strict";n.d(t,{$n:function(){return d},Fq:function(){return c},_4:function(){return f},_j:function(){return u},mi:function(){return s}});var r=n(6189);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===n){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function l(e){var t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?u(e,t):d(e,t)}},4046:function(e,t,n){"use strict";n.d(t,{ZP:function(){return S},x9:function(){return y}});var r=n(3433),o=n(9439),i=n(3366),a=n(7462),l=n(2421),s=n(5080),c=n(1122),u=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=(0,i.Z)(e,u),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:(0,c.Z)(e[t]):"".concat(d(r)?t:(0,c.Z)(t)).concat((0,c.Z)(e[t].toString()))})),r}var p=n(104),h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];var m=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},v=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r},g=function(e,t,n,r){var o,i=e.ownerState,a=void 0===i?{}:i,l=[],s=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return s&&s.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[f(n.props)])})),l};function y(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var b=(0,s.Z)(),x=function(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e};function w(e){var t,n=e.defaultTheme,r=e.theme,o=e.themeId;return t=r,0===Object.keys(t).length?n:r[o]||r}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,s=void 0===n?b:n,c=e.rootShouldForwardProp,u=void 0===c?y:c,d=e.slotShouldForwardProp,f=void 0===d?y:d,S=function(e){return(0,p.Z)((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))};return S.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var c,d=n.name,p=n.slot,b=n.skipVariantsResolver,k=n.skipSx,j=n.overridesResolver,E=void 0===j?(c=x(p))?function(e,t){return t[c]}:null:j,O=(0,i.Z)(n,h),C=void 0!==b?b:p&&"Root"!==p&&"root"!==p||!1,P=k||!1;var Z=y;"Root"===p||"root"===p?Z=u:p?Z=f:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(Z=void 0);var _=(0,l.ZP)(e,(0,a.Z)({shouldForwardProp:Z,label:undefined},O)),T=function(n){for(var i=arguments.length,l=new Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];var u=l?l.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(n){return e((0,a.Z)({},n,{theme:w((0,a.Z)({},n,{defaultTheme:s,themeId:t}))}))}:e})):[],f=n;d&&E&&u.push((function(e){var n=w((0,a.Z)({},e,{defaultTheme:s,themeId:t})),r=m(d,n);if(r){var i={};return Object.entries(r).forEach((function(t){var r=(0,o.Z)(t,2),l=r[0],s=r[1];i[l]="function"===typeof s?s((0,a.Z)({},e,{theme:n})):s})),E(e,i)}return null})),d&&!C&&u.push((function(e){var n=w((0,a.Z)({},e,{defaultTheme:s,themeId:t}));return g(e,v(d,n),n,d)})),P||u.push(S);var p=u.length-l.length;if(Array.isArray(n)&&p>0){var h=new Array(p).fill("");(f=[].concat((0,r.Z)(n),(0,r.Z)(h))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(h))}else"function"===typeof n&&n.__emotion_real!==n&&(f=function(e){return n((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))});var y=_.apply(void 0,[f].concat((0,r.Z)(u)));return e.muiName&&(y.muiName=e.muiName),y};return _.withConfig&&(T.withConfig=_.withConfig),T}}},5080:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(7462),o=n(3366),i=n(2466),a=n(4942),l=["values","unit","step"],s=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})};var c={borderRadius:4},u=n(5682);var d=n(104),f=n(7416),p=["breakpoints","palette","spacing","shape"];var h=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,h=void 0===a?{}:a,m=e.spacing,v=e.shape,g=void 0===v?{}:v,y=(0,o.Z)(e,p),b=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,a=void 0===i?"px":i,c=e.step,u=void 0===c?5:c,d=(0,o.Z)(e,l),f=s(n),p=Object.keys(f);function h(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-u/100).concat(a,")")}function v(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:t)-u/100).concat(a,")")}return(0,r.Z)({keys:p,values:f,up:h,down:m,between:v,only:function(e){return p.indexOf(e)+1<p.length?v(e,p[p.indexOf(e)+1]):h(e)},not:function(e){var t=p.indexOf(e);return 0===t?h(p[1]):t===p.length-1?m(p[t]):v(e,p[p.indexOf(e)+1]).replace("@media","@media not all and")},unit:a},d)}(n),x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,u.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(m),w=(0,i.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},h),spacing:x,shape:(0,r.Z)({},c,g)},y),S=arguments.length,k=new Array(S>1?S-1:0),j=1;j<S;j++)k[j-1]=arguments[j];return(w=k.reduce((function(e,t){return(0,i.Z)(e,t)}),w)).unstable_sxConfig=(0,r.Z)({},f.Z,null==y?void 0:y.unstable_sxConfig),w.unstable_sx=function(e){return(0,d.Z)({sx:e,theme:this})},w}},8247:function(e,t,n){"use strict";var r=n(2466);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5682:function(e,t,n){"use strict";n.d(t,{hB:function(){return m},eI:function(){return h},NA:function(){return v},e6:function(){return b},o3:function(){return x}});var r=n(9439),o=n(1184),i=n(8529),a=n(8247);var l={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=l[o],u=s[i]||"";return Array.isArray(u)?u.map((function(e){return a+e})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(e,t,n,r){var o,a=null!=(o=(0,i.DW)(e,t,!1))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function m(e){return h(e,"spacing",8)}function v(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=v(t,n),e}),{})}}(u(n),r),a=e[n];return(0,o.k9)(e,a,i)}function y(e,t){var n=m(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,d)}function x(e){return y(e,f)}function w(e){return y(e,p)}b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p},8529:function(e,t,n){"use strict";n.d(t,{DW:function(){return a},Jq:function(){return l}});var r=n(4942),o=n(1122),i=n(1184);function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function l(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r,o,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,c)||{};return(0,i.k9)(e,n,(function(e){var n=l(d,u,e);return e===n&&"string"===typeof e&&(n=l(d,u,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===s?n:(0,r.Z)({},s,n)}))};return d.propTypes={},d.filterProps=[t],d}},7416:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(5682),o=n(8529),i=n(8247);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),o=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?(0,i.Z)(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o},l=n(1184);function s(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,(function(e){return{borderRadius:(0,r.NA)(t,e)}}))}return null};b.propTypes={},b.filterProps=["borderRadius"];a(c,u,d,f,p,h,m,v,g,y,b);var x=function(e){if(void 0!==e.gap&&null!==e.gap){var t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,(function(e){return{gap:(0,r.NA)(t,e)}}))}return null};x.propTypes={},x.filterProps=["gap"];var w=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,(function(e){return{columnGap:(0,r.NA)(t,e)}}))}return null};w.propTypes={},w.filterProps=["columnGap"];var S=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,(function(e){return{rowGap:(0,r.NA)(t,e)}}))}return null};S.propTypes={},S.filterProps=["rowGap"];a(x,w,S,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));function k(e,t){return"grey"===t?t:e}a((0,o.ZP)({prop:"color",themeKey:"palette",transform:k}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:k}));function j(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var E=(0,o.ZP)({prop:"width",transform:j}),O=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return(0,l.k9)(e,e.maxWidth,(function(t){var n;return{maxWidth:(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.VO[t]||j(t)}}))}return null};O.filterProps=["maxWidth"];var C=(0,o.ZP)({prop:"minWidth",transform:j}),P=(0,o.ZP)({prop:"height",transform:j}),Z=(0,o.ZP)({prop:"maxHeight",transform:j}),_=(0,o.ZP)({prop:"minHeight",transform:j}),T=((0,o.ZP)({prop:"size",cssProperty:"width",transform:j}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:j}),a(E,O,C,P,Z,_,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:S},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:O},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},104:function(e,t,n){"use strict";var r=n(4942),o=n(1122),i=n(8247),a=n(8529),l=n(1184),s=n(7416);var c=function(){function e(e,t,n,i){var s,c=(s={},(0,r.Z)(s,e,t),(0,r.Z)(s,"theme",n),s),u=i[e];if(!u)return(0,r.Z)({},e,t);var d=u.cssProperty,f=void 0===d?e:d,p=u.themeKey,h=u.transform,m=u.style;if(null==t)return null;if("typography"===p&&"inherit"===t)return(0,r.Z)({},e,t);var v=(0,a.DW)(n,p)||{};if(m)return m(c);return(0,l.k9)(c,t,(function(t){var n=(0,a.Jq)(v,h,t);return t===n&&"string"===typeof t&&(n=(0,a.Jq)(v,h,"".concat(e).concat("default"===t?"":(0,o.Z)(t)),t)),!1===f?n:(0,r.Z)({},f,n)}))}return function t(n){var o,a=n||{},c=a.sx,u=a.theme,d=void 0===u?{}:u;if(!c)return null;var f=null!=(o=d.unstable_sxConfig)?o:s.Z;function p(n){var o=n;if("function"===typeof n)o=n(d);else if("object"!==typeof n)return n;if(!o)return null;var a=(0,l.W8)(d.breakpoints),s=Object.keys(a),c=a;return Object.keys(o).forEach((function(n){var a,s,u=(a=o[n],s=d,"function"===typeof a?a(s):a);if(null!==u&&void 0!==u)if("object"===typeof u)if(f[n])c=(0,i.Z)(c,e(n,u,d,f));else{var p=(0,l.k9)({theme:d},u,(function(e){return(0,r.Z)({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),o=new Set(r);return t.every((function(e){return o.size===Object.keys(e).length}))}(p,u)?c=(0,i.Z)(c,p):c[n]=t({sx:u,theme:d})}else c=(0,i.Z)(c,e(n,u,d,f))})),(0,l.L7)(s,c)}return Array.isArray(c)?c.map(p):p(c)}}();c.filterProps=["sx"],t.Z=c},418:function(e,t,n){"use strict";var r=n(5080),o=n(9120),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},7078:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5735);var o=n(418);function i(e){var t=e.props,n=e.name,i=e.defaultTheme,a=e.themeId,l=(0,o.Z)(i);a&&(l=l[a]||l);var s=function(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}({theme:l,name:n,props:t});return s}},9120:function(e,t,n){"use strict";var r=n(2791),o=n(2564);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=r.useContext(o.T);return n&&(e=n,0!==Object.keys(e).length)?n:t}},5902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},1122:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(6189);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4419:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},2254:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){e.apply(r,i)}),n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},2466:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return a}});var r=n(7462);function o(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=i(e[n])})),t}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},1217:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5902),o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.Z.generate(e),"-").concat(t)}},5878:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1217);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,r.Z)(e,t,n)})),o}},78:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2791);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},4913:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},5202:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4913);function o(e){return(0,r.Z)(e).defaultView||window}},5735:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},l),Object.keys(a).forEach((function(e){n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},2971:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},2876:function(e,t,n){"use strict";var r=n(2791),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},7054:function(e,t,n){"use strict";var r=n(2791),o=n(2876);t.Z=function(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},6117:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791),o=n(2971);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){(0,o.Z)(t,e)}))}}),t)}},8252:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return s}});var o=n(9439),i=n(2791),a=0;var l=(r||(r=n.t(i,2)))["useId".toString()];function s(e){if(void 0!==l){var t=l();return null!=e?e:t}return function(e){var t=i.useState(e),n=(0,o.Z)(t,2),r=n[0],l=n[1],s=e||r;return i.useEffect((function(){null==r&&l("mui-".concat(a+=1))}),[r]),s}(e)}},4234:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,l={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=7,g=9007199254740991,y=f(g/v),b={};function x(e,t){var n,r,o,i,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?_(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,l=u.length):(r=u,o=a,l=c.length),i>(l=(a=Math.ceil(f/v))>l?a+1:l+1)&&(i=l,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((l=c.length)-(i=u.length)<0&&(i=l,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/m|0,c[i]%=m;for(n&&(c.unshift(n),++o),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=o,s?_(t,f):t}function w(e,t,n){if(e!==~~e||e<t||e>n)throw Error(u+e)}function S(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)r=e[t]+"",(n=v-r.length)&&(i+=C(n)),i+=r;a=e[t],(n=v-(r=a+"").length)&&(i+=C(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}b.absoluteValue=b.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},b.comparedTo=b.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*v;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return k(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return _(k(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return E(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0},b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=k(P(n,a),P(e,a),a),s=!0,_(t,o))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):x(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(s=!1,t=k(n,e,0,1).times(e),s=!0,n.minus(t)):_(new r(n),o)},b.naturalExponential=b.exp=function(){return j(this)},b.naturalLogarithm=b.ln=function(){return P(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?x(t,e):T(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=E(o)+1,n=(r=o.d.length-1)*v+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,o,i,a,l=this,u=l.constructor;if(l.s<1){if(!l.s)return new u(0);throw Error(c+"NaN")}for(e=E(l),s=!1,0==(o=Math.sqrt(+l))||o==1/0?(((t=S(l.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(k(l,i,a+2)).times(.5),S(i.d).slice(0,a)===(t=S(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(_(i,n+1,0),i.times(i).eq(l)){r=i;break}}else if("9999"!=t)break;a+=4}return s=!0,_(r,n)},b.times=b.mul=function(e){var t,n,r,o,i,a,l,c,u,d=this,f=d.constructor,p=d.d,h=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(c=p.length)<(u=h.length)&&(i=p,p=h,h=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=c+r;o>r;)l=i[o]+h[r]*p[o-r-1]+t,i[o--]=l%m|0,t=l/m|0;i[o]=(i[o]+t)%m|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,s?_(e,f.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(w(e,0,a),void 0===t?t=r.rounding:w(t,0,8),_(n,e+E(n)+1,t))},b.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=M(r,!0):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),n=M(r=_(new o(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?M(o):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),n=M((r=_(new i(o),e+E(o)+1,t)).abs(),!1,e+E(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return _(new t(e),E(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,o,a,l,u=this,d=u.constructor,p=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return _(u,r);if(l=(t=e.e)>=(n=e.d.length-1),a=u.s,l){if((n=p<0?-p:p)<=g){for(o=new d(i),t=Math.ceil(r/v+4),s=!1;n%2&&A((o=o.times(u)).d,t),0!==(n=f(n/2));)A((u=u.times(u)).d,t);return s=!0,e.s<0?new d(i).div(o):_(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,s=!1,o=e.times(P(u,r+12)),s=!0,(o=j(o)).s=a,o},b.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=M(o,(n=E(o))<=i.toExpNeg||n>=i.toExpPos):(w(e,1,a),void 0===t?t=i.rounding:w(t,0,8),r=M(o=_(new i(o),e,t),e<=(n=E(o))||n<=i.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(w(e,1,a),void 0===t?t=n.rounding:w(t,0,8)),_(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=E(e),n=e.constructor;return M(e,t<=n.toExpNeg||t>=n.toExpPos)};var k=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%m|0,r=n/m|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*m+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a){var l,s,u,d,f,p,h,g,y,b,x,w,S,k,j,O,C,P,Z=r.constructor,T=r.s==o.s?1:-1,M=r.d,A=o.d;if(!r.s)return new Z(r);if(!o.s)throw Error(c+"Division by zero");for(s=r.e-o.e,C=A.length,j=M.length,g=(h=new Z(T)).d=[],u=0;A[u]==(M[u]||0);)++u;if(A[u]>(M[u]||0)&&--s,(w=null==i?i=Z.precision:a?i+(E(r)-E(o))+1:i)<0)return new Z(0);if(w=w/v+2|0,u=0,1==C)for(d=0,A=A[0],w++;(u<j||d)&&w--;u++)S=d*m+(M[u]||0),g[u]=S/A|0,d=S%A|0;else{for((d=m/(A[0]+1)|0)>1&&(A=e(A,d),M=e(M,d),C=A.length,j=M.length),k=C,b=(y=M.slice(0,C)).length;b<C;)y[b++]=0;(P=A.slice()).unshift(0),O=A[0],A[1]>=m/2&&++O;do{d=0,(l=t(A,y,C,b))<0?(x=y[0],C!=b&&(x=x*m+(y[1]||0)),(d=x/O|0)>1?(d>=m&&(d=m-1),1==(l=t(f=e(A,d),y,p=f.length,b=y.length))&&(d--,n(f,C<p?P:A,p))):(0==d&&(l=d=1),f=A.slice()),(p=f.length)<b&&f.unshift(0),n(y,f,b),-1==l&&(l=t(A,y,C,b=y.length))<1&&(d++,n(y,C<b?P:A,b)),b=y.length):0===l&&(d++,y=[0]),g[u++]=d,l&&y[0]?y[b++]=M[k]||0:(y=[M[k]],b=1)}while((k++<j||void 0!==y[0])&&w--)}return g[0]||g.shift(),h.e=s,_(h,a?i+E(h)+1:i)}}();function j(e,t){var n,r,o,a,l,c=0,u=0,f=e.constructor,h=f.precision;if(E(e)>16)throw Error(d+E(e));if(!e.s)return new f(i);for(null==t?(s=!1,l=h):l=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(l+=Math.log(p(2,u))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=l;;){if(r=_(r.times(e),l),n=n.times(++c),S((a=o.plus(k(r,n,l))).d).slice(0,l)===S(o.d).slice(0,l)){for(;u--;)o=_(o.times(o),l);return f.precision=h,null==t?(s=!0,_(o,h)):o}o=a}}function E(e){for(var t=e.e*v,n=e.d[0];n>=10;n/=10)t++;return t}function O(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function C(e){for(var t="";e--;)t+="0";return t}function P(e,t){var n,r,o,a,l,u,d,f,p,h=1,m=e,v=m.d,g=m.constructor,y=g.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(i))return new g(0);if(null==t?(s=!1,f=y):f=t,m.eq(10))return null==t&&(s=!0),O(g,f);if(f+=10,g.precision=f,r=(n=S(v)).charAt(0),a=E(m),!(Math.abs(a)<15e14))return d=O(g,f+2,y).times(a+""),m=P(new g(r+"."+n.slice(1)),f-10).plus(d),g.precision=y,null==t?(s=!0,_(m,y)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=S((m=m.times(e)).d)).charAt(0),h++;for(a=E(m),r>1?(m=new g("0."+n),a++):m=new g(r+"."+n.slice(1)),u=l=m=k(m.minus(i),m.plus(i),f),p=_(m.times(m),f),o=3;;){if(l=_(l.times(p),f),S((d=u.plus(k(l,new g(o),f))).d).slice(0,f)===S(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(O(g,f+2,y).times(a+""))),u=k(u,new g(h),f),g.precision=y,null==t?(s=!0,_(u,y)):u;u=d,o+=2}}function Z(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/v),e.d=[],r=(n+1)%v,n<0&&(r+=v),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=v;r<o;)e.d.push(+t.slice(r,r+=v));t=t.slice(r),r=v-t.length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),s&&(e.e>y||e.e<-y))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,n){var r,o,i,a,l,c,u,h,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=v,o=t,u=g[h=0];else{if((h=Math.ceil((r+1)/v))>=(i=g.length))return e;for(u=i=g[h],a=1;i>=10;i/=10)a++;o=(r%=v)-v+a}if(void 0!==n&&(l=u/(i=p(10,a-o-1))%10|0,c=t<0||void 0!==g[h+1]||u%i,c=n<4?(l||c)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||c||6==n&&(r>0?o>0?u/p(10,a-o):0:g[h-1])%10&1||n==(e.s<0?8:7))),t<1||!g[0])return c?(i=E(e),g.length=1,t=t-i-1,g[0]=p(10,(v-t%v)%v),e.e=f(-t/v)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==r?(g.length=h,i=1,h--):(g.length=h+1,i=p(10,v-r),g[h]=o>0?(u/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(g[0]+=i)==m&&(g[0]=1,++e.e);break}if(g[h]+=i,g[h]!=m)break;g[h--]=0,i=1}for(r=g.length;0===g[--r];)g.pop();if(s&&(e.e>y||e.e<-y))throw Error(d+E(e));return e}function T(e,t){var n,r,o,i,a,l,c,u,d,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?_(t,h):t;if(c=e.d,f=t.d,r=t.e,u=e.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,l=f.length):(n=f,r=u,l=c.length),a>(o=Math.max(Math.ceil(h/v),l)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(l=f.length))&&(l=o),o=0;o<l;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(n=c,c=f,f=n,t.s=-t.s),l=c.length,o=f.length-l;o>0;--o)c[l++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=m-1;--c[i],c[o]+=m}c[o]-=f[o]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=r,s?_(t,h):t):new p(0)}function M(e,t,n){var r,o=E(e),i=S(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+C(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+C(-o-1)+i,n&&(r=n-a)>0&&(i+=C(r))):o>=a?(i+=C(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+C(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=C(r))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function R(e){if(!e||"object"!==typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(f(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}l=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):Z(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(u+e);Z(t,e)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=R,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}(l),l.default=l.Decimal=l,i=new l(1),void 0===(r=function(){return l}.call(t,n,t,e))||(e.exports=r)}()},7143:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var s,c,u=this._events[l],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(c=1,s=new Array(d-1);c<d;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,o);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];u[c].fn.apply(u[c].context,s)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var s=0,c=[],u=l.length;s<u;s++)(l[s].fn!==t||o&&!l[s].once||r&&l[s].context!==r)&&c.push(l[s]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},2110:function(e,t,n){"use strict";var r=n(8309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!i[g]&&(!r||!r[g])&&(!m||!m[g])&&(!l||!l[g])){var y=f(n,g);try{c(t,g,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},8309:function(e,t,n){"use strict";e.exports=n(746)},908:function(e,t,n){var r=n(8136)(n(7009),"DataView");e.exports=r},9676:function(e,t,n){var r=n(7458),o=n(2747),i=n(6037),a=n(4154),l=n(7728);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},8384:function(e,t,n){var r=n(3894),o=n(8699),i=n(4957),a=n(7184),l=n(7109);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},5797:function(e,t,n){var r=n(8136)(n(7009),"Map");e.exports=r},8059:function(e,t,n){var r=n(4086),o=n(9255),i=n(9186),a=n(3423),l=n(3739);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},8319:function(e,t,n){var r=n(8136)(n(7009),"Promise");e.exports=r},3924:function(e,t,n){var r=n(8136)(n(7009),"Set");e.exports=r},692:function(e,t,n){var r=n(8059),o=n(5774),i=n(1596);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},9424:function(e,t,n){var r=n(8384),o=n(511),i=n(835),a=n(707),l=n(8832),s=n(5077);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=l,c.prototype.set=s,e.exports=c},7197:function(e,t,n){var r=n(7009).Symbol;e.exports=r},6219:function(e,t,n){var r=n(7009).Uint8Array;e.exports=r},7091:function(e,t,n){var r=n(8136)(n(7009),"WeakMap");e.exports=r},3665:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},4277:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},4903:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},9055:function(e,t,n){var r=n(4842);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},2683:function(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},7538:function(e,t,n){var r=n(6478),o=n(4963),i=n(3629),a=n(5174),l=n(6800),s=n(9102),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&s(e),p=n||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},8950:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},1705:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},7897:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},4622:function(e){e.exports=function(e){return e.split("")}},7112:function(e,t,n){var r=n(9231);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2526:function(e,t,n){var r=n(8528);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},7927:function(e,t,n){var r=n(5358),o=n(7056)(r);e.exports=o},9863:function(e,t,n){var r=n(7927);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},3079:function(e,t,n){var r=n(152);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(void 0===s?l===l&&!r(l):n(l,s)))var s=l,c=a}return c}},2045:function(e){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},5182:function(e,t,n){var r=n(1705),o=n(3529);e.exports=function e(t,n,i,a,l){var s=-1,c=t.length;for(i||(i=o),l||(l=[]);++s<c;){var u=t[s];n>0&&i(u)?n>1?e(u,n-1,i,a,l):r(l,u):a||(l[l.length]=u)}return l}},5099:function(e,t,n){var r=n(372)();e.exports=r},5358:function(e,t,n){var r=n(5099),o=n(2742);e.exports=function(e,t){return e&&r(e,t,o)}},8667:function(e,t,n){var r=n(3082),o=n(9793);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},1986:function(e,t,n){var r=n(1705),o=n(3629);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},9066:function(e,t,n){var r=n(7197),o=n(1587),i=n(3581),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},1954:function(e){e.exports=function(e,t){return e>t}},529:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},4842:function(e,t,n){var r=n(2045),o=n(505),i=n(7167);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},4906:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},1848:function(e,t,n){var r=n(3355),o=n(3141);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,l))}},3355:function(e,t,n){var r=n(9424),o=n(5305),i=n(2206),a=n(8078),l=n(8383),s=n(3629),c=n(5174),u=n(9102),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=s(e),b=s(t),x=y?f:l(e),w=b?f:l(t),S=(x=x==d?p:x)==p,k=(w=w==d?p:w)==p,j=x==w;if(j&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(j&&!S)return g||(g=new r),y||u(e)?o(e,t,n,m,v,g):i(e,t,x,n,m,v,g);if(!(1&n)){var E=S&&h.call(e,"__wrapped__"),O=k&&h.call(t,"__wrapped__");if(E||O){var C=E?e.value():e,P=O?t.value():t;return g||(g=new r),v(C,P,n,m,g)}}return!!j&&(g||(g=new r),a(e,t,n,m,v,g))}},8856:function(e,t,n){var r=n(9424),o=n(1848);e.exports=function(e,t,n,i){var a=n.length,l=a,s=!i;if(null==e)return!l;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<l;){var u=(c=n[a])[0],d=e[u],f=c[1];if(s&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(i)var h=i(d,f,u,e,t,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},505:function(e){e.exports=function(e){return e!==e}},6703:function(e,t,n){var r=n(4786),o=n(257),i=n(8092),a=n(7907),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:l).test(a(e))}},8150:function(e,t,n){var r=n(9066),o=n(4635),i=n(3141),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},6025:function(e,t,n){var r=n(7080),o=n(4322),i=n(2100),a=n(3629),l=n(38);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):l(e)}},3654:function(e,t,n){var r=n(2936),o=n(8836),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2580:function(e){e.exports=function(e,t){return e<t}},3849:function(e,t,n){var r=n(7927),o=n(1473);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},7080:function(e,t,n){var r=n(8856),o=n(9091),i=n(284);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4322:function(e,t,n){var r=n(1848),o=n(6181),i=n(5658),a=n(5823),l=n(5072),s=n(284),c=n(9793);e.exports=function(e,t){return a(e)&&l(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},3226:function(e,t,n){var r=n(8950),o=n(8667),i=n(6025),a=n(3849),l=n(9179),s=n(6194),c=n(4480),u=n(2100),d=n(3629);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=r(t,s(i));var p=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return l(p,(function(e,t){return c(e,t,n)}))}},9586:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4084:function(e,t,n){var r=n(8667);e.exports=function(e){return function(t){return r(t,e)}}},7255:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,l=n(t((r-e)/(o||1)),0),s=Array(l);l--;)s[i?l:++a]=e,e+=o;return s}},8794:function(e,t,n){var r=n(2100),o=n(4262),i=n(9156);e.exports=function(e,t){return i(o(e,t,r),e+"")}},7532:function(e,t,n){var r=n(1547),o=n(8528),i=n(2100),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2646:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},9204:function(e,t,n){var r=n(7927);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},9179:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},6478:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},2446:function(e,t,n){var r=n(7197),o=n(8950),i=n(3629),a=n(152),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},821:function(e,t,n){var r=n(6050),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},6194:function(e){e.exports=function(e){return function(t){return e(t)}}},9602:function(e,t,n){var r=n(692),o=n(9055),i=n(2683),a=n(75),l=n(7730),s=n(2230);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var m=t?null:l(e);if(m)return s(m);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var v=e[c],g=t?t(v):v;if(v=n||0!==v?v:0,f&&g===g){for(var y=h.length;y--;)if(h[y]===g)continue e;t&&h.push(g),p.push(v)}else u(h,g,n)||(h!==p&&h.push(g),p.push(v))}return p}},75:function(e){e.exports=function(e,t){return e.has(t)}},3082:function(e,t,n){var r=n(3629),o=n(5823),i=n(170),a=n(3518);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},9813:function(e,t,n){var r=n(2646);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},8558:function(e,t,n){var r=n(152);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),l=void 0!==t,s=null===t,c=t===t,u=r(t);if(!s&&!u&&!a&&e>t||a&&l&&c&&!s&&!u||o&&l&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!c)return-1}return 0}},4480:function(e,t,n){var r=n(8558);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,l=i.length,s=n.length;++o<l;){var c=r(i[o],a[o]);if(c)return o>=s?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},5525:function(e,t,n){var r=n(7009)["__core-js_shared__"];e.exports=r},7056:function(e,t,n){var r=n(1473);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&!1!==o(l[a],a,l););return n}}},372:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}},322:function(e,t,n){var r=n(9813),o=n(7302),i=n(7580),a=n(3518);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,l=n?n[0]:t.charAt(0),s=n?r(n,1).join(""):t.slice(1);return l[e]()+s}}},5481:function(e,t,n){var r=n(6025),o=n(1473),i=n(2742);e.exports=function(e){return function(t,n,a){var l=Object(t);if(!o(t)){var s=r(n,3);t=i(t),n=function(e){return s(l[e],e,l)}}var c=e(t,n,a);return c>-1?l[s?t[c]:c]:void 0}}},6381:function(e,t,n){var r=n(7255),o=n(3195),i=n(1495);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},7730:function(e,t,n){var r=n(3924),o=n(9694),i=n(2230),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},8528:function(e,t,n){var r=n(8136),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},5305:function(e,t,n){var r=n(692),o=n(7897),i=n(75);e.exports=function(e,t,n,a,l,s){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h<u;){var g=e[h],y=t[h];if(a)var b=c?a(y,g,h,t,e,s):a(g,y,h,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(g===e||l(g,e,n,a,s)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!l(g,y,n,a,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},2206:function(e,t,n){var r=n(7197),o=n(6219),i=n(9231),a=n(5305),l=n(234),s=n(2230),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=l;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var v=a(p(e),p(t),r,c,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8078:function(e,t,n){var r=n(8248),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var d=u;d--;){var f=c[d];if(!(s?f in t:o.call(t,f)))return!1}var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var m=!0;l.set(e,t),l.set(t,e);for(var v=s;++d<u;){var g=e[f=c[d]],y=t[f];if(i)var b=s?i(y,g,f,t,e,l):i(g,y,f,e,t,l);if(!(void 0===b?g===y||a(g,y,n,i,l):b)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},1032:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8248:function(e,t,n){var r=n(1986),o=n(5918),i=n(2742);e.exports=function(e){return r(e,i,o)}},2799:function(e,t,n){var r=n(5964);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},9091:function(e,t,n){var r=n(5072),o=n(2742);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},8136:function(e,t,n){var r=n(6703),o=n(40);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},1137:function(e,t,n){var r=n(2709)(Object.getPrototypeOf,Object);e.exports=r},1587:function(e,t,n){var r=n(7197),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(s){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},5918:function(e,t,n){var r=n(4903),o=n(8174),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=l},8383:function(e,t,n){var r=n(908),o=n(5797),i=n(8319),a=n(3924),l=n(7091),s=n(9066),c=n(7907),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),v=c(o),g=c(i),y=c(a),b=c(l),x=s;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=f||l&&x(new l)!=p)&&(x=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case v:return u;case g:return d;case y:return f;case b:return p}return t}),e.exports=x},40:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},6417:function(e,t,n){var r=n(3082),o=n(4963),i=n(3629),a=n(6800),l=n(4635),s=n(9793);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var f=s(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&l(u)&&a(f,u)&&(i(e)||o(e))}},7302:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},7458:function(e,t,n){var r=n(9620);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},2747:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6037:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4154:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7728:function(e,t,n){var r=n(9620);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3529:function(e,t,n){var r=n(7197),o=n(4963),i=n(3629),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},6800:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3195:function(e,t,n){var r=n(9231),o=n(1473),i=n(6800),a=n(8092);e.exports=function(e,t,n){if(!a(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&i(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},5823:function(e,t,n){var r=n(3629),o=n(152),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},5964:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},257:function(e,t,n){var r=n(5525),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},2936:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},5072:function(e,t,n){var r=n(8092);e.exports=function(e){return e===e&&!r(e)}},3894:function(e){e.exports=function(){this.__data__=[],this.size=0}},8699:function(e,t,n){var r=n(7112),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},4957:function(e,t,n){var r=n(7112);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7184:function(e,t,n){var r=n(7112);e.exports=function(e){return r(this.__data__,e)>-1}},7109:function(e,t,n){var r=n(7112);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4086:function(e,t,n){var r=n(9676),o=n(8384),i=n(5797);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},9255:function(e,t,n){var r=n(2799);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},9186:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).get(e)}},3423:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).has(e)}},3739:function(e,t,n){var r=n(2799);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},234:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},284:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},4634:function(e,t,n){var r=n(9151);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},9620:function(e,t,n){var r=n(8136)(Object,"create");e.exports=r},8836:function(e,t,n){var r=n(2709)(Object.keys,Object);e.exports=r},9494:function(e,t,n){e=n.nmd(e);var r=n(1032),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l},3581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},4262:function(e,t,n){var r=n(3665),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),s=Array(l);++a<l;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},7009:function(e,t,n){var r=n(1032),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},5774:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1596:function(e){e.exports=function(e){return this.__data__.has(e)}},2230:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},9156:function(e,t,n){var r=n(7532),o=n(3197)(r);e.exports=o},3197:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),i=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},7167:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},7580:function(e,t,n){var r=n(4622),o=n(7302),i=n(2129);e.exports=function(e){return o(e)?i(e):r(e)}},170:function(e,t,n){var r=n(4634),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},9793:function(e,t,n){var r=n(152);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},7907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},6050:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},2129:function(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+s+("(?:\\u200d(?:"+[i,a,l].join("|")+")"+c+s+")*"),d="(?:"+[i+r+"?",r,a,l,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},1547:function(e){e.exports=function(e){return function(){return e}}},8573:function(e,t,n){var r=n(8092),o=n(72),i=n(2582),a=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,d,f,p,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-h>=u}function x(){var e=o();if(b(e))return w(e);f=setTimeout(x,function(e){var n=t-(e-p);return v?l(n,u-(e-h)):n}(e))}function w(e){return f=void 0,g&&s?y(e):(s=c=void 0,d)}function S(){var e=o(),n=b(e);if(s=arguments,c=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(x,t),m?y(e):d}(p);if(v)return clearTimeout(f),f=setTimeout(x,t),y(p)}return void 0===f&&(f=setTimeout(x,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(v="maxWait"in n)?a(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=c=f=void 0},S.flush=function(){return void 0===f?d:w(o())},S}},9231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},2730:function(e,t,n){var r=n(4277),o=n(9863),i=n(6025),a=n(3629),l=n(3195);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&l(e,t,n)&&(t=void 0),s(e,i(t,3))}},1211:function(e,t,n){var r=n(5481)(n(1475));e.exports=r},1475:function(e,t,n){var r=n(2045),o=n(6025),i=n(9753),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:i(n);return s<0&&(s=a(l+s,0)),r(e,o(t,3),s)}},5008:function(e,t,n){var r=n(5182),o=n(2034);e.exports=function(e,t){return r(o(e,t),1)}},6181:function(e,t,n){var r=n(8667);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},5658:function(e,t,n){var r=n(529),o=n(6417);e.exports=function(e,t){return null!=e&&o(e,t,r)}},2100:function(e){e.exports=function(e){return e}},4963:function(e,t,n){var r=n(4906),o=n(3141),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},3629:function(e){var t=Array.isArray;e.exports=t},1473:function(e,t,n){var r=n(4786),o=n(4635);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},5127:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},5174:function(e,t,n){e=n.nmd(e);var r=n(7009),o=n(9488),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s},8111:function(e,t,n){var r=n(1848);e.exports=function(e,t){return r(e,t)}},4786:function(e,t,n){var r=n(9066),o=n(8092);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},2066:function(e,t,n){var r=n(298);e.exports=function(e){return r(e)&&e!=+e}},2854:function(e){e.exports=function(e){return null==e}},298:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},3977:function(e,t,n){var r=n(9066),o=n(1137),i=n(3141),a=Function.prototype,l=Object.prototype,s=a.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},6769:function(e,t,n){var r=n(9066),o=n(3629),i=n(3141);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},152:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},9102:function(e,t,n){var r=n(8150),o=n(6194),i=n(9494),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},2742:function(e,t,n){var r=n(7538),o=n(3654),i=n(1473);e.exports=function(e){return i(e)?r(e):o(e)}},5727:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},2034:function(e,t,n){var r=n(8950),o=n(6025),i=n(3849),a=n(3629);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},7702:function(e,t,n){var r=n(2526),o=n(5358),i=n(6025);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},9627:function(e,t,n){var r=n(3079),o=n(1954),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},8559:function(e,t,n){var r=n(3079),o=n(1954),i=n(6025);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},9151:function(e,t,n){var r=n(8059);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},6452:function(e,t,n){var r=n(3079),o=n(2580),i=n(2100);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},3638:function(e,t,n){var r=n(3079),o=n(6025),i=n(2580);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},9694:function(e){e.exports=function(){}},72:function(e,t,n){var r=n(7009);e.exports=function(){return r.Date.now()}},38:function(e,t,n){var r=n(9586),o=n(4084),i=n(5823),a=n(9793);e.exports=function(e){return i(e)?r(a(e)):o(e)}},6222:function(e,t,n){var r=n(6381)();e.exports=r},4064:function(e,t,n){var r=n(7897),o=n(6025),i=n(9204),a=n(3629),l=n(3195);e.exports=function(e,t,n){var s=a(e)?r:i;return n&&l(e,t,n)&&(t=void 0),s(e,o(t,3))}},4286:function(e,t,n){var r=n(5182),o=n(3226),i=n(8794),a=n(3195),l=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=l},8174:function(e){e.exports=function(){return[]}},9488:function(e){e.exports=function(){return!1}},3038:function(e,t,n){var r=n(8573),o=n(8092);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},1495:function(e,t,n){var r=n(2582),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},9753:function(e,t,n){var r=n(1495);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},2582:function(e,t,n){var r=n(821),o=n(8092),i=n(152),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},3518:function(e,t,n){var r=n(2446);e.exports=function(e){return null==e?"":r(e)}},6339:function(e,t,n){var r=n(6025),o=n(9602);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},2085:function(e,t,n){var r=n(322)("toUpperCase");e.exports=r},2426:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=m()),e._pf}function g(e){var t=null,r=!1,o=e._d&&!isNaN(e._d.getTime());return o&&(t=v(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?o:(e._isValid=o,e._isValid)}function y(e){var t=h(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],x=!1;function w(e,t){var n,r,o,i=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=v(t)),c(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)c(o=t[r=b[n]])||(e[r]=o);return e}function S(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,r.updateOffset(this),x=!1)}function k(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function j(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,a,s=[],c=arguments.length;for(i=0;i<c;i++){if(o="","object"===typeof arguments[i]){for(a in o+="\n["+i+"] ",arguments[0])l(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];s.push(o)}j(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var O,C={};function P(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),C[e]||(j(t),C[e]=!0)}function Z(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)l(e,n)&&(Z(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=p({},e);for(n in t)l(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Z(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},L={};function B(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(L[e]=o),t&&(L[t[0]]=function(){return N(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)L[r[t]]?r[t]=L[r[t]]:r[t]=F(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=Z(r[o])?r[o].call(t,e):r[o];return i}}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),z[t]=z[t]||W(t),z[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;n>=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Y="Invalid date";function G(){return this._invalidDate}var $="%d",K=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var o=this._relativeTime[n];return Z(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return Z(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)l(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var ae,le=/\d/,se=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,de=/[+-]?\d{6}/,fe=/\d\d?/,pe=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ve=/\d{1,4}/,ge=/[+-]?\d{1,6}/,ye=/\d+/,be=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,ke=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,je=/^[1-9]\d?/,Ee=/^([1-9]\d|\d)/;function Oe(e,t,n){ae[e]=Z(t)?t:function(e,r){return e&&n?n:t}}function Ce(e,t){return l(ae,e)?ae[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Ze(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Ze(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Te(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_e(t)),n}ae={};var Me={};function Ae(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),u(t)&&(o=function(e,n){n[t]=Te(e)}),r=e.length,n=0;n<r;n++)Me[e[n]]=o}function Re(e,t){Ae(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ne(e,t,n){null!=t&&l(Me,e)&&Me[e](t,n._a,n,e)}function Ie(e){return e%4===0&&e%100!==0||e%400===0}var De=0,ze=1,Le=2,Be=3,Fe=4,We=5,Ue=6,qe=7,He=8;function Ve(e){return Ie(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),Oe("Y",be),Oe("YY",fe,se),Oe("YYYY",ve,ue),Oe("YYYYY",ge,de),Oe("YYYYYY",ge,de),Ae(["YYYYY","YYYYYY"],De),Ae("YYYY",(function(e,t){t[De]=2===e.length?r.parseTwoDigitYear(e):Te(e)})),Ae("YY",(function(e,t){t[De]=r.parseTwoDigitYear(e)})),Ae("Y",(function(e,t){t[De]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Te(e)+(Te(e)>68?1900:2e3)};var Ye,Ge=Ke("FullYear",!0);function $e(){return Ie(this.year())}function Ke(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Qe(e,t,n){var r,o,i,a,l;if(e.isValid()&&!isNaN(n)){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=e.month(),l=29!==(l=e.date())||1!==a||Ie(i)?l:28,o?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function Je(e){return Z(this[e=ne(e)])?this[e]():this}function et(e,t){if("object"===typeof e){var n,r=ie(e=re(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(Z(this[e=ne(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=tt(t,12);return e+=(t-n)/12,1===n?Ie(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Oe("M",fe,je),Oe("MM",fe,se),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Ae(["M","MM"],(function(e,t){t[ze]=Te(e)-1})),Ae(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[ze]=o:v(n).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),it=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=ke,lt=ke;function st(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||it).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function ct(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[it.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Ye.call(this._shortMonthsParse,a))?o:null:-1!==(o=Ye.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Ye.call(this._shortMonthsParse,a))||-1!==(o=Ye.call(this._longMonthsParse,a))?o:null:-1!==(o=Ye.call(this._longMonthsParse,a))||-1!==(o=Ye.call(this._shortMonthsParse,a))?o:null}function dt(e,t,n){var r,o,i;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Te(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,nt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function pt(e){return null!=e?(ft(this,e),r.updateOffset(this,!0),this):Xe(this,"Month")}function ht(){return nt(this.year(),this.month())}function mt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||gt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function vt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||gt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gt(){function e(e,t){return t.length-e.length}var t,n,r,o,i=[],a=[],l=[];for(t=0;t<12;t++)n=h([2e3,t]),r=Ze(this.monthsShort(n,"")),o=Ze(this.months(n,"")),i.push(r),a.push(o),l.push(o),l.push(r);i.sort(e),a.sort(e),l.sort(e),this._monthsRegex=new RegExp("^("+l.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function yt(e,t,n,r,o,i,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,o,i,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,o,i,a),l}function bt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}function wt(e,t,n,r,o){var i,a,l=1+7*(t-1)+(7+n-r)%7+xt(e,r,o);return l<=0?a=Ve(i=e-1)+l:l>Ve(e)?(i=e+1,a=l-Ve(e)):(i=e,a=l),{year:i,dayOfYear:a}}function St(e,t,n){var r,o,i=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+kt(o=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function kt(e,t,n){var r=xt(e,t,n),o=xt(e+1,t,n);return(Ve(e)-r+o)/7}function jt(e){return St(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),Oe("w",fe,je),Oe("ww",fe,se),Oe("W",fe,je),Oe("WW",fe,se),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Te(e)}));var Et={dow:0,doy:6};function Ot(){return this._week.dow}function Ct(){return this._week.doy}function Pt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Zt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function _t(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Tt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),Oe("d",fe),Oe("e",fe),Oe("E",fe),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:v(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=Te(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=ke,Dt=ke,zt=ke;function Lt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ft(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ye.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ye.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._shortWeekdaysParse,a))||-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ye.call(this._shortWeekdaysParse,a))||-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Ye.call(this._minWeekdaysParse,a))||-1!==(o=Ye.call(this._weekdaysParse,a))||-1!==(o=Ye.call(this._shortWeekdaysParse,a))?o:null}function Ut(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=Xe(this,"Day");return null!=e?(e=_t(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Tt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Yt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $t(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],l=[],s=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ze(this.weekdaysMin(n,"")),o=Ze(this.weekdaysShort(n,"")),i=Ze(this.weekdays(n,"")),a.push(r),l.push(o),s.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),l.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function Jt(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Xt),B("k",["kk",2],0,Qt),B("hmm",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),Oe("a",en),Oe("A",en),Oe("H",fe,Ee),Oe("h",fe,je),Oe("k",fe,je),Oe("HH",fe,se),Oe("hh",fe,se),Oe("kk",fe,se),Oe("hmm",pe),Oe("hmmss",he),Oe("Hmm",pe),Oe("Hmmss",he),Ae(["H","HH"],Be),Ae(["k","kk"],(function(e,t,n){var r=Te(e);t[Be]=24===r?0:r})),Ae(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ae(["h","hh"],(function(e,t,n){t[Be]=Te(e),v(n).bigHour=!0})),Ae("hmm",(function(e,t,n){var r=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r)),v(n).bigHour=!0})),Ae("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r,2)),t[We]=Te(e.substr(o)),v(n).bigHour=!0})),Ae("Hmm",(function(e,t,n){var r=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r))})),Ae("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Be]=Te(e.substr(0,r)),t[Fe]=Te(e.substr(r,2)),t[We]=Te(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=Ke("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:A,longDateFormat:H,invalidDate:Y,ordinal:$,dayOfMonthOrdinalParse:K,relativeTime:Q,months:rt,monthsShort:ot,week:Et,weekdays:At,weekdaysMin:Nt,weekdaysShort:Rt,meridiemParse:nn},sn={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dn(e[i]).split("-")).length,n=(n=dn(e[i+1]))?n.split("-"):null;t>0;){if(r=hn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function pn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hn(t){var n=null;if(void 0===sn[t]&&e&&e.exports&&pn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){sn[t]=null}return sn[t]}function mn(e,t){var n;return e&&((n=c(t)?yn(e):vn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=sn[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=sn[e]._config;else if(null!=t.parentLocale)if(null!=sn[t.parentLocale])r=sn[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return sn[e]=new M(T(r,t)),cn[e]&&cn[e].forEach((function(e){vn(e.name,e.config)})),mn(e),sn[e]}return delete sn[e],null}function gn(e,t){if(null!=t){var n,r,o=ln;null!=sn[e]&&null!=sn[e].parentLocale?sn[e].set(T(sn[e]._config,t)):(null!=(r=hn(e))&&(o=r._config),t=T(o,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=sn[e],sn[e]=n),mn(e)}else null!=sn[e]&&(null!=sn[e].parentLocale?(sn[e]=sn[e].parentLocale,e===mn()&&mn(e)):null!=sn[e]&&delete sn[e]);return sn[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=hn(e))return t;e=[e]}return fn(e)}function bn(){return O(sn)}function xn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[ze]<0||n[ze]>11?ze:n[Le]<1||n[Le]>nt(n[De],n[ze])?Le:n[Be]<0||n[Be]>24||24===n[Be]&&(0!==n[Fe]||0!==n[We]||0!==n[Ue])?Be:n[Fe]<0||n[Fe]>59?Fe:n[We]<0||n[We]>59?We:n[Ue]<0||n[Ue]>999?Ue:-1,v(e)._overflowDayOfYear&&(t<De||t>Le)&&(t=Le),v(e)._overflowWeeks&&-1===t&&(t=qe),v(e)._overflowWeekday&&-1===t&&(t=He),v(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],En=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,Cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Pn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(e){var t,n,r,o,i,a,l=e._i,s=wn.exec(l)||Sn.exec(l),c=jn.length,u=En.length;if(s){for(v(e).iso=!0,t=0,n=c;t<n;t++)if(jn[t][1].exec(s[1])){o=jn[t][0],r=!1!==jn[t][2];break}if(null==o)return void(e._isValid=!1);if(s[3]){for(t=0,n=u;t<n;t++)if(En[t][1].exec(s[3])){i=(s[2]||" ")+En[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(s[4]){if(!kn.exec(s[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Fn(e)}else e._isValid=!1}function _n(e,t,n,r,o,i){var a=[Tn(e),ot.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return Pn[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Nn(e){var t,n=Cn.exec(Mn(e._i));if(n){if(t=_n(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function In(e){var t=On.exec(e._i);null===t?(Zn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Dn(e,t,n){return null!=e?e:null!=t?t:n}function zn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ln(e){var t,n,r,o,i,a=[];if(!e._d){for(r=zn(e),e._w&&null==e._a[Le]&&null==e._a[ze]&&Bn(e),null!=e._dayOfYear&&(i=Dn(e._a[De],r[De]),(e._dayOfYear>Ve(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=bt(i,0,e._dayOfYear),e._a[ze]=n.getUTCMonth(),e._a[Le]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Be]&&0===e._a[Fe]&&0===e._a[We]&&0===e._a[Ue]&&(e._nextDay=!0,e._a[Be]=0),e._d=(e._useUTC?bt:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Be]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,o,i,a,l,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Dn(t.GG,e._a[De],St($n(),1,4).year),r=Dn(t.W,1),((o=Dn(t.E,1))<1||o>7)&&(s=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=St($n(),i,a),n=Dn(t.gg,e._a[De],c.year),r=Dn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(s=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(s=!0)):o=i),r<1||r>kt(n,i,a)?v(e)._overflowWeeks=!0:null!=s?v(e)._overflowWeekday=!0:(l=wt(n,r,o,i,a),e._a[De]=l.year,e._dayOfYear=l.dayOfYear)}function Fn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],v(e).empty=!0;var t,n,o,i,a,l,s,c=""+e._i,u=c.length,d=0;for(s=(o=q(e._f,e._locale).match(I)||[]).length,t=0;t<s;t++)i=o[t],(n=(c.match(Ce(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&v(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),L[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),Ne(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=u-d,c.length>0&&v(e).unusedInput.push(c),e._a[Be]<=12&&!0===v(e).bigHour&&e._a[Be]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Be]=Wn(e._locale,e._a[Be],e._meridiem),null!==(l=v(e).era)&&(e._a[De]=e._locale.erasConvertYear(l,e._a[De])),Ln(e),xn(e)}else Nn(e);else Zn(e)}function Wn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Un(e){var t,n,r,o,i,a,l=!1,s=e._f.length;if(0===s)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<s;o++)i=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Fn(t),g(t)&&(a=!0),i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,l?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(l=!0));p(e,n||t)}function qn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ln(e)}}function Hn(e){var t=new S(xn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new S(xn(t)):(d(t)?e._d=t:i(n)?Un(e):n?Fn(e):Yn(e),g(e)||(e._d=null),e))}function Yn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?In(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Ln(e)):a(t)?qn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Gn(e,t,n,r,o){var l={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&s(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=n,l._i=e,l._f=t,l._strict=r,Hn(l)}function $n(e,t,n,r){return Gn(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Kn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Xn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Qn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Qn("isBefore",[].slice.call(arguments,0))}function er(){return Qn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,o=nr.length;for(t in e)if(l(e,t)&&(-1===Ye.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==Te(e[nr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return Pr(NaN)}function ar(e){var t=re(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,s=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*s+1e3*l*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function lr(e){return e instanceof ar}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&Te(e[r])!==Te(t[r]))&&a++;return a+i}function ur(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Oe("Z",we),Oe("ZZ",we),Ae(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(we,e)}));var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(dr)||["-",0,0])[1]+Te(n[2]))?0:"+"===n[0]?r:-r}function pr(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||d(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):$n(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(we,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=hr(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Ar(this,Pr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function vr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Vn(t))._a?(e=t._isUTC?h(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function jr(){return!!this.isValid()&&this._isUTC}function Er(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Or=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pr(e,t){var n,r,o,i=e,a=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Or.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:Te(a[Le])*n,h:Te(a[Be])*n,m:Te(a[Fe])*n,s:Te(a[We])*n,ms:Te(sr(1e3*a[Ue]))*n}):(a=Cr.exec(e))?(n="-"===a[1]?-1:1,i={y:Zr(a[2],n),M:Zr(a[3],n),w:Zr(a[4],n),d:Zr(a[5],n),h:Zr(a[6],n),m:Zr(a[7],n),s:Zr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Tr($n(i.from),$n(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Zr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function _r(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Tr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=_r(e,t):((n=_r(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Mr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Ar(this,Pr(n,r),e),this}}function Ar(e,t,n,o){var i=t._milliseconds,a=sr(t._days),l=sr(t._months);e.isValid()&&(o=null==o||o,l&&ft(e,Xe(e,"Month")+l*n),a&&Qe(e,"Date",Xe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||l))}Pr.fn=ar.prototype,Pr.invalid=ir;var Rr=Mr(1,"add"),Nr=Mr(-1,"subtract");function Ir(e){return"string"===typeof e||e instanceof String}function Dr(e){return k(e)||d(e)||Ir(e)||u(e)||Lr(e)||zr(e)||null===e||void 0===e}function zr(e){var t,n,r=a(e)&&!s(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;t<c;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Lr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Ir(e)})).length),t&&n}function Br(e){var t,n,r=a(e)&&!s(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Fr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Wr(e,t){1===arguments.length&&(arguments[0]?Dr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$n(),o=pr(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(Z(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,$n(n)))}function Ur(){return new S(this)}function qr(e,t){var n=k(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Hr(e,t){var n=k(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Vr(e,t,n,r){var o=k(e)?e:$n(e),i=k(t)?t:$n(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Yr(e,t){var n,r=k(e)?e:$n(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Gr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $r(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=ne(t)){case"year":i=Xr(this,r)/12;break;case"month":i=Xr(this,r);break;case"quarter":i=Xr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_e(i)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Z(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())?Pr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from($n(),e)}function oo(e,t){return this.isValid()&&(k(e)&&e.isValid()||$n(e).isValid())?Pr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to($n(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lo=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function so(){return this._locale}var co=1e3,uo=60*co,fo=60*uo,po=3506328*fo;function ho(e,t){return(e%t+t)%t}function mo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-po:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-po:Date.UTC(e,t,n)}function go(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:mo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*uo),fo);break;case"minute":t=this._d.valueOf(),t-=ho(t,uo);break;case"second":t=this._d.valueOf(),t-=ho(t,co)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:mo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fo-ho(t+(this._isUTC?0:this.utcOffset()*uo),fo)-1;break;case"minute":t=this._d.valueOf(),t+=uo-ho(t,uo)-1;break;case"second":t=this._d.valueOf(),t+=co-ho(t,co)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bo(){return this._d.valueOf()-6e4*(this._offset||0)}function xo(){return Math.floor(this.valueOf()/1e3)}function wo(){return new Date(this.valueOf())}function So(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ko(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jo(){return this.isValid()?this.toISOString():null}function Eo(){return g(this)}function Oo(){return p({},v(this))}function Co(){return v(this).overflow}function Po(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Zo(e,t){var n,o,i,a=this._eras||yn("en")._eras;for(n=0,o=a.length;n<o;++n)switch("string"===typeof a[n].since&&(i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function _o(e,t,n){var r,o,i,a,l,s=this.eras();for(e=e.toUpperCase(),r=0,o=s.length;r<o;++r)if(i=s[r].name.toUpperCase(),a=s[r].abbr.toUpperCase(),l=s[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return s[r];break;case"NNNN":if(i===e)return s[r];break;case"NNNNN":if(l===e)return s[r]}else if([i,a,l].indexOf(e)>=0)return s[r]}function To(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Mo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ao(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ro(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function No(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Io(e){return l(this,"_erasNameRegex")||Uo.call(this),e?this._erasNameRegex:this._erasRegex}function Do(e){return l(this,"_erasAbbrRegex")||Uo.call(this),e?this._erasAbbrRegex:this._erasRegex}function zo(e){return l(this,"_erasNarrowRegex")||Uo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Lo(e,t){return t.erasAbbrRegex(e)}function Bo(e,t){return t.erasNameRegex(e)}function Fo(e,t){return t.erasNarrowRegex(e)}function Wo(e,t){return t._eraYearOrdinalRegex||ye}function Uo(){var e,t,n,r,o,i=[],a=[],l=[],s=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ze(c[e].name),r=Ze(c[e].abbr),o=Ze(c[e].narrow),a.push(n),i.push(r),l.push(o),s.push(n),s.push(r),s.push(o);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+l.join("|")+")","i")}function qo(e,t){B(0,[e,e.length],0,t)}function Ho(e){return Xo.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vo(e){return Xo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yo(){return kt(this.year(),1,4)}function Go(){return kt(this.isoWeekYear(),1,4)}function $o(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function Ko(){var e=this.localeData()._week;return kt(this.weekYear(),e.dow,e.doy)}function Xo(e,t,n,r,o){var i;return null==e?St(this,r,o).year:(t>(i=kt(e,r,o))&&(t=i),Qo.call(this,e,t,n,r,o))}function Qo(e,t,n,r,o){var i=wt(e,t,n,r,o),a=bt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Oe("N",Lo),Oe("NN",Lo),Oe("NNN",Lo),Oe("NNNN",Bo),Oe("NNNNN",Fo),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?v(n).era=o:v(n).invalidEra=e})),Oe("y",ye),Oe("yy",ye),Oe("yyy",ye),Oe("yyyy",ye),Oe("yo",Wo),Ae(["y","yy","yyy","yyyy"],De),Ae(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[De]=n._locale.eraYearOrdinalParse(e,o):t[De]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),qo("gggg","weekYear"),qo("ggggg","weekYear"),qo("GGGG","isoWeekYear"),qo("GGGGG","isoWeekYear"),Oe("G",be),Oe("g",be),Oe("GG",fe,se),Oe("gg",fe,se),Oe("GGGG",ve,ue),Oe("gggg",ve,ue),Oe("GGGGG",ge,de),Oe("ggggg",ge,de),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Te(e)})),Re(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),Oe("Q",le),Ae("Q",(function(e,t){t[ze]=3*(Te(e)-1)})),B("D",["DD",2],"Do","date"),Oe("D",fe,je),Oe("DD",fe,se),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],Le),Ae("Do",(function(e,t){t[Le]=Te(e.match(fe)[0])}));var ei=Ke("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),Oe("DDD",me),Oe("DDDD",ce),Ae(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Te(e)})),B("m",["mm",2],0,"minute"),Oe("m",fe,Ee),Oe("mm",fe,se),Ae(["m","mm"],Fe);var ni=Ke("Minutes",!1);B("s",["ss",2],0,"second"),Oe("s",fe,Ee),Oe("ss",fe,se),Ae(["s","ss"],We);var ri,oi,ii=Ke("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Oe("S",me,le),Oe("SS",me,se),Oe("SSS",me,ce),ri="SSSS";ri.length<=9;ri+="S")Oe(ri,ye);function ai(e,t){t[Ue]=Te(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Ae(ri,ai);function li(){return this._isUTC?"UTC":""}function si(){return this._isUTC?"Coordinated Universal Time":""}oi=Ke("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ci=S.prototype;function ui(e){return $n(1e3*e)}function di(){return $n.apply(null,arguments).parseZone()}function fi(e){return e}ci.add=Rr,ci.calendar=Wr,ci.clone=Ur,ci.diff=Kr,ci.endOf=yo,ci.format=to,ci.from=no,ci.fromNow=ro,ci.to=oo,ci.toNow=io,ci.get=Je,ci.invalidAt=Co,ci.isAfter=qr,ci.isBefore=Hr,ci.isBetween=Vr,ci.isSame=Yr,ci.isSameOrAfter=Gr,ci.isSameOrBefore=$r,ci.isValid=Eo,ci.lang=lo,ci.locale=ao,ci.localeData=so,ci.max=Xn,ci.min=Kn,ci.parsingFlags=Oo,ci.set=et,ci.startOf=go,ci.subtract=Nr,ci.toArray=So,ci.toObject=ko,ci.toDate=wo,ci.toISOString=Jr,ci.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=jo,ci.toString=Qr,ci.unix=xo,ci.valueOf=bo,ci.creationData=Po,ci.eraName=Mo,ci.eraNarrow=Ao,ci.eraAbbr=Ro,ci.eraYear=No,ci.year=Ge,ci.isLeapYear=$e,ci.weekYear=Ho,ci.isoWeekYear=Vo,ci.quarter=ci.quarters=Jo,ci.month=pt,ci.daysInMonth=ht,ci.week=ci.weeks=Pt,ci.isoWeek=ci.isoWeeks=Zt,ci.weeksInYear=$o,ci.weeksInWeekYear=Ko,ci.isoWeeksInYear=Yo,ci.isoWeeksInISOWeekYear=Go,ci.date=ei,ci.day=ci.days=qt,ci.weekday=Ht,ci.isoWeekday=Vt,ci.dayOfYear=ti,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=oi,ci.utcOffset=mr,ci.utc=gr,ci.local=yr,ci.parseZone=br,ci.hasAlignedHourOffset=xr,ci.isDST=wr,ci.isLocal=kr,ci.isUtcOffset=jr,ci.isUtc=Er,ci.isUTC=Er,ci.zoneAbbr=li,ci.zoneName=si,ci.dates=E("dates accessor is deprecated. Use date instead.",ei),ci.months=E("months accessor is deprecated. Use month instead",pt),ci.years=E("years accessor is deprecated. Use year instead",Ge),ci.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ci.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var pi=M.prototype;function hi(e,t,n,r){var o=yn(),i=h().set(r,t);return o[n](i,e)}function mi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function vi(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,l=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)l[o]=hi(t,(o+a)%7,r,"day");return l}function gi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function bi(e,t,n){return vi(e,t,n,"weekdays")}function xi(e,t,n){return vi(e,t,n,"weekdaysShort")}function wi(e,t,n){return vi(e,t,n,"weekdaysMin")}pi.calendar=R,pi.longDateFormat=V,pi.invalidDate=G,pi.ordinal=X,pi.preparse=fi,pi.postformat=fi,pi.relativeTime=J,pi.pastFuture=ee,pi.set=_,pi.eras=Zo,pi.erasParse=_o,pi.erasConvertYear=To,pi.erasAbbrRegex=Do,pi.erasNameRegex=Io,pi.erasNarrowRegex=zo,pi.months=st,pi.monthsShort=ct,pi.monthsParse=dt,pi.monthsRegex=vt,pi.monthsShortRegex=mt,pi.week=jt,pi.firstDayOfYear=Ct,pi.firstDayOfWeek=Ot,pi.weekdays=Lt,pi.weekdaysMin=Ft,pi.weekdaysShort=Bt,pi.weekdaysParse=Ut,pi.weekdaysRegex=Yt,pi.weekdaysShortRegex=Gt,pi.weekdaysMinRegex=$t,pi.isPM=tn,pi.meridiem=on,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Te(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",yn);var Si=Math.abs;function ki(){var e=this._data;return this._milliseconds=Si(this._milliseconds),this._days=Si(this._days),this._months=Si(this._months),e.milliseconds=Si(e.milliseconds),e.seconds=Si(e.seconds),e.minutes=Si(e.minutes),e.hours=Si(e.hours),e.months=Si(e.months),e.years=Si(e.years),this}function ji(e,t,n,r){var o=Pr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Ei(e,t){return ji(this,e,t,1)}function Oi(e,t){return ji(this,e,t,-1)}function Ci(e){return e<0?Math.floor(e):Math.ceil(e)}function Pi(){var e,t,n,r,o,i=this._milliseconds,a=this._days,l=this._months,s=this._data;return i>=0&&a>=0&&l>=0||i<=0&&a<=0&&l<=0||(i+=864e5*Ci(_i(l)+a),a=0,l=0),s.milliseconds=i%1e3,e=_e(i/1e3),s.seconds=e%60,t=_e(e/60),s.minutes=t%60,n=_e(t/60),s.hours=n%24,a+=_e(n/24),l+=o=_e(Zi(a)),a-=Ci(_i(o)),r=_e(l/12),l%=12,s.days=a,s.months=l,s.years=r,this}function Zi(e){return 4800*e/146097}function _i(e){return 146097*e/4800}function Ti(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Zi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_i(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Mi(e){return function(){return this.as(e)}}var Ai=Mi("ms"),Ri=Mi("s"),Ni=Mi("m"),Ii=Mi("h"),Di=Mi("d"),zi=Mi("w"),Li=Mi("M"),Bi=Mi("Q"),Fi=Mi("y"),Wi=Ai;function Ui(){return Pr(this)}function qi(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Hi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vi=Hi("milliseconds"),Yi=Hi("seconds"),Gi=Hi("minutes"),$i=Hi("hours"),Ki=Hi("days"),Xi=Hi("months"),Qi=Hi("years");function Ji(){return _e(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=Pr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),l=ea(o.as("h")),s=ea(o.as("d")),c=ea(o.as("M")),u=ea(o.as("w")),d=ea(o.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,na.apply(null,f)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function sa(e){return(e>0)-(e<0)||+e}function ca(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,l,s=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(e=_e(s/60),t=_e(e/60),s%=60,e%=60,n=_e(u/12),u%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=sa(this._months)!==sa(d)?"-":"",a=sa(this._days)!==sa(d)?"-":"",l=sa(this._milliseconds)!==sa(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=or,ua.abs=ki,ua.add=Ei,ua.subtract=Oi,ua.as=Ti,ua.asMilliseconds=Ai,ua.asSeconds=Ri,ua.asMinutes=Ni,ua.asHours=Ii,ua.asDays=Di,ua.asWeeks=zi,ua.asMonths=Li,ua.asQuarters=Bi,ua.asYears=Fi,ua.valueOf=Wi,ua._bubble=Pi,ua.clone=Ui,ua.get=qi,ua.milliseconds=Vi,ua.seconds=Yi,ua.minutes=Gi,ua.hours=$i,ua.days=Ki,ua.weeks=Ji,ua.months=Xi,ua.years=Qi,ua.humanize=aa,ua.toISOString=ca,ua.toString=ca,ua.toJSON=ca,ua.locale=ao,ua.localeData=so,ua.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),ua.lang=lo,B("X",0,0,"unix"),B("x",0,0,"valueOf"),Oe("x",be),Oe("X",Se),Ae("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ae("x",(function(e,t,n){n._d=new Date(Te(e))})),r.version="2.30.1",o($n),r.fn=ci,r.min=Jn,r.max=er,r.now=tr,r.utc=h,r.unix=ui,r.months=gi,r.isDate=d,r.locale=mn,r.invalid=y,r.duration=Pr,r.isMoment=k,r.weekdays=bi,r.parseZone=di,r.localeData=yn,r.isDuration=lr,r.monthsShort=yi,r.weekdaysMin=wi,r.defineLocale=vn,r.updateLocale=gn,r.locales=bn,r.weekdaysShort=xi,r.normalizeUnits=ne,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=Fr,r.prototype=ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},1025:function(e,t){var n,r,o;r=[],n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,o={},i=0,a={parse:function(n,r){var l=(r=r||{}).dynamicTyping||!1;if(w(l)&&(r.dynamicTypingFunction=l,l={}),r.dynamicTyping=l,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var s=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,l=(n=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),s=new t.Worker(l);return s.onmessage=v,s.id=i++,o[s.id]=s}();return s.userStep=r.step,s.userChunk=r.chunk,s.userComplete=r.complete,s.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void s.postMessage({input:n,config:r,workerId:s.id})}var p=null;return a.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),p=r.download?new c(r):new d(r)):!0===n.readable&&w(n.read)&&w(n.on)?p=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(p=new u(r)),p.stream(n)},unparse:function(e,t){var n=!1,r=!0,o=",",i="\r\n",l='"',s=l+l,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(l=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(s=t.escapeChar+l),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var f=new RegExp(h(l),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,c);if("object"==typeof e[0])return p(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),p(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function p(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var l=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(l&&r){for(var c=0;c<e.length;c++)0<c&&(a+=o),a+=m(e[c],c);0<t.length&&(a+=i)}for(var u=0;u<t.length;u++){var d=l?e.length:t[u].length,f=!1,p=l?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!l&&(f="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&l){for(var h=[],v=0;v<d;v++){var g=s?e[v]:v;h.push(t[u][g])}f=""===h.join("").trim()}if(!f){for(var y=0;y<d;y++){0<y&&!p&&(a+=o);var b=l&&s?e[y]:y;a+=m(t[u][b],y)}u<t.length-1&&(!n||0<d&&!p)&&(a+=i)}}return a}function m(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;d&&"string"==typeof e&&d.test(e)&&(e="'"+e,r=!0);var i=e.toString().replace(f,s);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(i,a.BAD_DELIMITERS)||-1<i.indexOf(o)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?l+i+l:i}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=p,a.NetworkStreamer=c,a.FileStreamer=u,a.StringStreamer=d,a.ReadableStreamStreamer=f,t.jQuery){var l=t.jQuery;l.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==l(this).prop("tagName").toUpperCase()||"file"!==l(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)r.push({file:this.files[o],inputElem:this,instanceConfig:l.extend({},n)})})),o(),this;function o(){if(0!==r.length){var t,n,o,s,c=r[0];if(w(e.before)){var u=e.before(c.file,c.inputElem);if("object"==typeof u){if("abort"===u.action)return t="AbortError",n=c.file,o=c.inputElem,s=u.reason,void(w(e.error)&&e.error({name:t},n,o,s));if("skip"===u.action)return void i();"object"==typeof u.config&&(c.instanceConfig=l.extend(c.instanceConfig,u.config))}else if("skip"===u)return void i()}var d=c.instanceConfig.complete;c.instanceConfig.complete=function(e){w(d)&&d(e,c.file,c.inputElem),i()},a.parse(c.file,c.instanceConfig)}else w(e.complete)&&e.complete()}function i(){r.splice(0,1),o()}}}function s(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var o=this._config.beforeFirstChunk(e);void 0!==o&&(e=o)}this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e;this._partialLine="";var l=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=l.meta.cursor;this._finished||(this._partialLine=i.substring(s-this._baseIndex),this._baseIndex=s),l&&l.data&&(this._rowCount+=l.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:l,workerId:a.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!n){if(this._config.chunk(l,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);l=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(l.data),this._completeResults.errors=this._completeResults.errors.concat(l.errors),this._completeResults.meta=l.meta),this._completed||!c||!w(this._config.complete)||l&&l.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||l&&l.meta.paused||this._nextChunk(),l}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),s.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),s.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var o=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,o)}var i=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;s.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function f(e){s.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){s.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){s.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function p(e){var t,n,r,o=Math.pow(2,53),i=-o,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,s=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,f=!1,p=!1,v=[],g={data:[],errors:[],meta:{}};if(w(e.step)){var y=e.step;e.step=function(t){if(g=t,k())S();else{if(S(),0===g.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(g.data=g.data[0],y(g,c))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function S(){return g&&r&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(g.data=g.data.filter((function(e){return!x(e)}))),k()&&function(){if(g)if(Array.isArray(g.data[0])){for(var t=0;k()&&t<g.data.length;t++)g.data[t].forEach(n);g.data.splice(0,1)}else g.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),v.push(t)}}(),function(){if(!g||!e.header&&!e.dynamicTyping&&!e.transform)return g;function t(t,n){var r,o=e.header?{}:[];for(r=0;r<t.length;r++){var i=r,a=t[r];e.header&&(i=r>=v.length?"__parsed_extra":v[r]),e.transform&&(a=e.transform(a,i)),a=j(i,a),"__parsed_extra"===i?(o[i]=o[i]||[],o[i].push(a)):o[i]=a}return e.header&&(r>v.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+r,d+n):r<v.length&&E("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+r,d+n)),o}var n=1;return!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(t),n=g.data.length):g.data=t(g.data,0),e.header&&g.meta&&(g.meta.fields=v),d+=n,g}()}function k(){return e.header&&0===v.length}function j(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(l.test(e)){var t=parseFloat(e);if(i<t&&t<o)return!0}return!1}(n)?parseFloat(n):s.test(n)?new Date(n):""===n?null:n):n;var r}function E(e,t,n,r){var o={type:e,code:t,message:n};void 0!==r&&(o.row=r),g.errors.push(o)}this.parse=function(o,i,l){var s=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(h(t)+"([^]*?)"+h(t),"gm"),r=(e=e.replace(n,"")).split("\r"),o=e.split("\n"),i=1<o.length&&o[0].length<r[0].length;if(1===r.length||i)return"\n";for(var a=0,l=0;l<r.length;l++)"\n"===r[l][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(o,s)),r=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(o),g.meta.delimiter=e.delimiter);else{var c=function(t,n,r,o,i){var l,s,c,u;i=i||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var d=0;d<i.length;d++){var f=i[d],p=0,h=0,v=0;c=void 0;for(var g=new m({comments:o,delimiter:f,newline:n,preview:10}).parse(t),y=0;y<g.data.length;y++)if(r&&x(g.data[y]))v++;else{var b=g.data[y].length;h+=b,void 0!==c?0<b&&(p+=Math.abs(b-c),c=b):c=b}0<g.data.length&&(h/=g.data.length-v),(void 0===s||p<=s)&&(void 0===u||u<h)&&1.99<h&&(s=p,l=f,u=h)}return{successful:!!(e.delimiter=l),bestDelimiter:l}}(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);c.successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter}var u=b(e);return e.preview&&e.header&&u.preview++,t=o,n=new m(u),g=n.parse(t,i,l),S(),f?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return f},this.pause=function(){f=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(f=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return p},this.abort=function(){p=!0,n.abort(),g.meta.aborted=!0,w(e.complete)&&e.complete(g),t=""}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t,n=(e=e||{}).delimiter,r=e.newline,o=e.comments,i=e.step,l=e.preview,s=e.fastMode,c=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(c=e.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),o===n)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<a.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,d=!1;this.parse=function(a,f,p){if("string"!=typeof a)throw new Error("Input must be a string");var m=a.length,v=n.length,g=r.length,y=o.length,b=w(i),x=[],S=[],k=[],j=u=0;if(!a)return V();if(e.header&&!f){var E=a.split(r)[0].split(n),O=[],C={},P=!1;for(var Z in E){var _=E[Z];w(e.transformHeader)&&(_=e.transformHeader(_,Z));var T=_,M=C[_]||0;for(0<M&&(P=!0,T=_+"_"+M),C[_]=M+1;O.includes(T);)T=T+"_"+M;O.push(T)}if(P){var A=a.split(r);A[0]=O.join(n),a=A.join(r)}}if(s||!1!==s&&-1===a.indexOf(t)){for(var R=a.split(r),N=0;N<R.length;N++){if(k=R[N],u+=k.length,N!==R.length-1)u+=r.length;else if(p)return V();if(!o||k.substring(0,y)!==o){if(b){if(x=[],W(k.split(n)),Y(),d)return V()}else W(k.split(n));if(l&&l<=N)return x=x.slice(0,l),V(!0)}}return V()}for(var I=a.indexOf(n,u),D=a.indexOf(r,u),z=new RegExp(h(c)+h(t),"g"),L=a.indexOf(t,u);;)if(a[u]!==t)if(o&&0===k.length&&a.substring(u,u+y)===o){if(-1===D)return V();u=D+g,D=a.indexOf(r,u),I=a.indexOf(n,u)}else if(-1!==I&&(I<D||-1===D))k.push(a.substring(u,I)),u=I+v,I=a.indexOf(n,u);else{if(-1===D)break;if(k.push(a.substring(u,D)),H(D+g),b&&(Y(),d))return V();if(l&&x.length>=l)return V(!0)}else for(L=u,u++;;){if(-1===(L=a.indexOf(t,L+1)))return p||S.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:u}),q();if(L===m-1)return q(a.substring(u,L).replace(z,t));if(t!==c||a[L+1]!==c){if(t===c||0===L||a[L-1]!==c){-1!==I&&I<L+1&&(I=a.indexOf(n,L+1)),-1!==D&&D<L+1&&(D=a.indexOf(r,L+1));var B=U(-1===D?I:Math.min(I,D));if(a.substr(L+1+B,v)===n){k.push(a.substring(u,L).replace(z,t)),a[u=L+1+B+v]!==t&&(L=a.indexOf(t,u)),I=a.indexOf(n,u),D=a.indexOf(r,u);break}var F=U(D);if(a.substring(L+1+F,L+1+F+g)===r){if(k.push(a.substring(u,L).replace(z,t)),H(L+1+F+g),I=a.indexOf(n,u),L=a.indexOf(t,u),b&&(Y(),d))return V();if(l&&x.length>=l)return V(!0);break}S.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:u}),L++}}else L++}return q();function W(e){x.push(e),j=u}function U(e){var t=0;if(-1!==e){var n=a.substring(L+1,e);n&&""===n.trim()&&(t=n.length)}return t}function q(e){return p||(void 0===e&&(e=a.substring(u)),k.push(e),u=m,W(k),b&&Y()),V()}function H(e){u=e,W(k),k=[],D=a.indexOf(r,u)}function V(e){return{data:x,errors:S,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:j+(f||0)}}}function Y(){i(V()),x=[],S=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function v(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,g(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&g(t.workerId,t.results)}function g(e,t){var n=o[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function y(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=b(e[n]);return t}function x(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(c.prototype=Object.create(s.prototype)).constructor=c,(u.prototype=Object.create(s.prototype)).constructor=u,(d.prototype=Object.create(d.prototype)).constructor=d,(f.prototype=Object.create(s.prototype)).constructor=f,a},void 0===(o="function"===typeof n?n.apply(t,r):n)||(e.exports=o)},888:function(e,t,n){"use strict";var r=n(9047);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4463:function(e,t,n){"use strict";var r=n(2791),o=n(5296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function N(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=R&&e[R]||e["@@iterator"])?e:null}var I,D=Object.assign;function z(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var L=!1;function B(e,t){if(!e||L)return"";L=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function F(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case E:return"Profiler";case j:return"StrictMode";case Z:return"Suspense";case _:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===j?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,je=null;function Ee(e){if(e=xo(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Oe(e){ke?je?je.push(e):je=[e]:ke=e}function Ce(){if(ke){var e=ke,t=je;if(je=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Ze(){}var _e=!1;function Te(e,t,n){if(_e)return e(t,n);_e=!0;try{return Pe(e,t,n)}finally{_e=!1,(null!==ke||null!==je)&&(Ze(),Ce())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Ae=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Ae=!1}function Ne(e,t,n,r,o,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ie=!1,De=null,ze=!1,Le=null,Be={onError:function(e){Ie=!0,De=e}};function Fe(e,t,n,r,o,i,a,l,s){Ie=!1,De=null,Ne.apply(Be,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(We(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var Ye=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,$e=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Xe=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,St,kt,jt,Et,Ot=!1,Ct=[],Pt=null,Zt=null,_t=null,Tt=new Map,Mt=new Map,At=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Zt=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function It(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=bo(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=$t(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Lt(e,t,n){zt(e)&&n.delete(t)}function Bt(){Ot=!1,null!==Pt&&zt(Pt)&&(Pt=null),null!==Zt&&zt(Zt)&&(Zt=null),null!==_t&&zt(_t)&&(_t=null),Tt.forEach(Lt),Mt.forEach(Lt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Wt(e){function t(t){return Ft(t,e)}if(0<Ct.length){Ft(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Ft(Pt,e),null!==Zt&&Ft(Zt,e),null!==_t&&Ft(_t,e),Tt.forEach(t),Mt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Dt(n),null===n.blockedOn&&At.shift()}var Ut=x.ReactCurrentBatchConfig,qt=!0;function Ht(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=1,Yt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Vt(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=4,Yt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Yt(e,t,n,r){if(qt){var o=$t(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),Nt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pt=It(Pt,e,t,n,r,o),!0;case"dragenter":return Zt=It(Zt,e,t,n,r,o),!0;case"mouseover":return _t=It(_t,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Tt.set(i,It(Tt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,It(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=$t(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function $t(e,t,n,r){if(Gt=null,null!==(e=bo(e=we(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=D({},cn,{view:0,detail:0}),fn=on(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(D({},pn,{dataTransfer:0})),vn=on(D({},dn,{relatedTarget:0})),gn=on(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(D({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return jn}var On=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=on(On),Pn=on(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=on(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),_n=on(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Tn),An=[9,13,27,32],Rn=u&&"CompositionEvent"in window,Nn=null;u&&"documentMode"in document&&(Nn=document.documentMode);var In=u&&"TextEvent"in window&&!Nn,Dn=u&&(!Rn||Nn&&8<Nn&&11>=Nn),zn=String.fromCharCode(32),Ln=!1;function Bn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Oe(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Yn=null;function Gn(e){zr(e,0)}function $n(e){if(Y(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Xn=!1;if(u){var Qn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Qn=Jn}else Qn=!1;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Yn=Vn=null)}function nr(e){if("value"===e.propertyName&&$n(Yn)){var t=[];Hn(t,Yn,e,we(e)),Te(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $n(Yn)}function ir(e,t){if("click"===e)return $n(t)}function ar(e,t){if("input"===e||"change"===e)return $n(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Vr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},kr={},jr={};function Er(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in jr)return kr[e]=n[t];return e}u&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Er("animationend"),Cr=Er("animationiteration"),Pr=Er("animationstart"),Zr=Er("transitionend"),_r=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){_r.set(e,t),s(t,[e])}for(var Ar=0;Ar<Tr.length;Ar++){var Rr=Tr[Ar];Mr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Mr(Or,"onAnimationEnd"),Mr(Cr,"onAnimationIteration"),Mr(Pr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Zr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,c){if(Fe.apply(this,arguments),Ie){if(!Ie)throw Error(i(198));var u=De;Ie=!1,De=null,ze||(ze=!0,Le=u)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Dr(o,l,c),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,c=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Dr(o,l,c),i=s}}}if(ze)throw e=Le,ze=!1,Le=null,e}function Lr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Fr]){e[Fr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Fr]||(t[Fr]=!0,Br("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Kt(t)){case 1:var o=Ht;break;case 4:o=Vt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Te((function(){var r=i,o=we(n),a=[];e:{var l=_r.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Cn;break;case"focusin":c="focus",s=vn;break;case"focusout":c="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Zn;break;case Or:case Cr:case Pr:s=gn;break;case Zr:s=_n;break;case"scroll":s=fn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pn}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==l?l+"Capture":null:l;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Me(h,f))&&u.push(Hr(h,m,p)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),a.push({event:l,listeners:u}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=We(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==c?l:wo(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,bo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(f=c,h=0,p=u=s;p;p=Yr(p))h++;for(p=0,m=f;m;m=Yr(m))p++;for(;0<h-p;)u=Yr(u),h--;for(;0<p-h;)f=Yr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Yr(u),f=Yr(f)}u=null}else u=null;null!==s&&Gr(a,l,s,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Kn;else if(qn(l))if(Xn)v=ar;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?Hn(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(qn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Dn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(y=en()):(Qt="value"in(Xt=o)?Xt.value:Xt.textContent,Wn=!0)),0<(g=Vr(r,b)).length&&(b=new xn(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Fn(n))&&(b.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return Fn(t);case"keypress":return 32!==t.which?null:(Ln=!0,zn);case"textInput":return(e=t.data)===zn&&Ln?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Qt=Xt=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}zr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Me(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Me(n,i))&&a.unshift(Hr(n,s,l)):o||null!=(s=Me(n,i))&&a.push(Hr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var $r=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace($r,"\n").replace(Kr,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Wt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function So(e){return e[ho]||null}var ko=[],jo=-1;function Eo(e){return{current:e}}function Oo(e){0>jo||(e.current=ko[jo],ko[jo]=null,jo--)}function Co(e,t){jo++,ko[jo]=e.current,e.current=t}var Po={},Zo=Eo(Po),_o=Eo(!1),To=Po;function Mo(e,t){var n=e.type.contextTypes;if(!n)return Po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ro(){Oo(_o),Oo(Zo)}function No(e,t,n){if(Zo.current!==Po)throw Error(i(168));Co(Zo,t),Co(_o,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return D({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,To=Zo.current,Co(Zo,e),Co(_o,_o.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Io(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Oo(_o),Oo(Zo),Co(Zo,e)):Oo(_o),Co(_o,n)}var Lo=null,Bo=!1,Fo=!1;function Wo(e){null===Lo?Lo=[e]:Lo.push(e)}function Uo(){if(!Fo&&null!==Lo){Fo=!0;var e=0,t=bt;try{var n=Lo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Lo=null,Bo=!1}catch(o){throw null!==Lo&&(Lo=Lo.slice(e+1)),Ye(Je,Uo),o}finally{bt=t,Fo=!1}}return null}var qo=[],Ho=0,Vo=null,Yo=0,Go=[],$o=0,Ko=null,Xo=1,Qo="";function Jo(e,t){qo[Ho++]=Yo,qo[Ho++]=Vo,Vo=e,Yo=t}function ei(e,t,n){Go[$o++]=Xo,Go[$o++]=Qo,Go[$o++]=Ko,Ko=e;var r=Xo;e=Qo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Qo=i+e}else Xo=1<<i|n<<o|r,Qo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Vo;)Vo=qo[--Ho],qo[Ho]=null,Yo=qo[--Ho],qo[Ho]=null;for(;e===Ko;)Ko=Go[--$o],Go[$o]=null,Qo=Go[--$o],Go[$o]=null,Xo=Go[--$o],Go[$o]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Mc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Xo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Mc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=x.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Eo(null),bi=null,xi=null,wi=null;function Si(){wi=xi=bi=null}function ki(e){var t=yi.current;Oo(yi),e._currentValue=t}function ji(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){bi=e,wi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Oi(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===bi)throw Error(i(308));xi=e,bi.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Ci=null;function Pi(e){null===Ci?Ci=[e]:Ci.push(e)}function Zi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Pi(t)):(n.next=o.next,o.next=n),t.interleaved=n,_i(e,r)}function _i(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ti=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ri(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ni(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Zs)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,_i(e,n)}return null===(o=r.interleaved)?(t.next=t,Pi(r)):(t.next=o.next,o.next=t),r.interleaved=t,_i(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=D({},d,f);break e;case 2:Ti=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ds|=a,e.lanes=a,e.memoizedState=d}}function Li(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Bi=(new r.Component).refs;function Fi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wi={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ri(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ni(e,i,o))&&(rc(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ri(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ni(e,i,o))&&(rc(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Ri(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ni(e,o,r))&&(rc(t,e,r,n),Ii(t,e,r))}};function Ui(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function qi(e,t,n){var r=!1,o=Po,i=t.contextType;return"object"===typeof i&&null!==i?i=Oi(i):(o=Ao(t)?To:Zo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Mo(e,o):Po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wi.enqueueReplaceState(t,t.state,null)}function Vi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Bi,Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Oi(i):(i=Ao(t)?To:Zo.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Fi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Wi.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Yi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Bi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $i(e){return(0,e._init)(e._payload)}function Ki(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=zc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===M&&$i(i)===t.type)?((r=o(t,n.props)).ref=Yi(e,t,n),r.return=e,r):((r=Nc(n.type,n.key,n.props,null,e.mode,r)).ref=Yi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Nc(t.type,t.key,t.props,null,e.mode,n)).ref=Yi(e,null,t),n.return=e,n;case S:return(t=Lc(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Ic(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case S:return n.key===o?u(e,t,n,r):null;case M:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||N(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function m(o,i,l,s){for(var c=null,u=null,d=i,m=i=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===l.length)return n(o,d),ii&&Jo(o,m),c;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,m),c}for(d=r(o,d);m<l.length;m++)null!==(v=h(d,o,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}function v(o,l,s,c){var u=N(s);if("function"!==typeof u)throw Error(i(150));if(null==(s=u.call(s)))throw Error(i(151));for(var d=u=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),ii&&Jo(o,v),u;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,c))&&(l=a(y,l,v),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,v),u}for(m=r(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=a(y,l,v),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),u}return function e(r,i,a,s){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===k){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===M&&$i(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Yi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===k?((i=Ic(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Nc(a.type,a.key,a.props,null,r.mode,s)).ref=Yi(r,i,a),s.return=r,r=s)}return l(r);case S:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Lc(a,r.mode,s)).return=r,r=i}return l(r);case M:return e(r,i,(u=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(N(a))return v(r,i,a,s);Gi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zc(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Xi=Ki(!0),Qi=Ki(!1),Ji={},ea=Eo(Ji),ta=Eo(Ji),na=Eo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Co(na,t),Co(ta,e),Co(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ea),Co(ea,t)}function ia(){Oo(ea),Oo(ta),Oo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Co(ta,e),Co(ea,n))}function la(e){ta.current===e&&(Oo(ea),Oo(ta))}var sa=Eo(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var fa=x.ReactCurrentDispatcher,pa=x.ReactCurrentBatchConfig,ha=0,ma=null,va=null,ga=null,ya=!1,ba=!1,xa=0,wa=0;function Sa(){throw Error(i(321))}function ka(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ja(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),ba){a=0;do{if(ba=!1,xa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,fa.current=cl,e=n(r,o)}while(ba)}if(fa.current=al,t=null!==va&&null!==va.next,ha=0,ga=va=ma=null,ya=!1,t)throw Error(i(300));return e}function Ea(){var e=0!==xa;return xa=0,e}function Oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=e:ga=ga.next=e,ga}function Ca(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ma.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=e:ga=ga.next=e}return ga}function Pa(e,t){return"function"===typeof t?t(e):t}function Za(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,c=null,u=a;do{var d=u.lane;if((ha&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=f,l=r):c=c.next=f,ma.lanes|=d,Ds|=d}u=u.next}while(null!==u&&u!==a);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Ds|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _a(e){var t=Ca(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(xl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function Ma(e,t){var n=ma,r=Ca(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,xl=!0),r=r.queue,qa(Na.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,La(9,Ra.bind(null,n,r,o,t),void 0,null),null===_s)throw Error(i(349));0!==(30&ha)||Aa(n,t,o)}return o}function Aa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&Da(e)}function Na(e,t,n){return n((function(){Ia(t)&&Da(e)}))}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Da(e){var t=_i(e,1);null!==t&&rc(t,e,1,-1)}function za(e){var t=Oa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ma,e),[t.memoizedState,e]}function La(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ba(){return Ca().memoizedState}function Fa(e,t,n,r){var o=Oa();ma.flags|=e,o.memoizedState=La(1|t,n,void 0,void 0===r?null:r)}function Wa(e,t,n,r){var o=Ca();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&ka(r,a.deps))return void(o.memoizedState=La(t,n,i,r))}ma.flags|=e,o.memoizedState=La(1|t,n,i,r)}function Ua(e,t){return Fa(8390656,8,e,t)}function qa(e,t){return Wa(2048,8,e,t)}function Ha(e,t){return Wa(4,2,e,t)}function Va(e,t){return Wa(4,4,e,t)}function Ya(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ga(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Wa(4,4,Ya.bind(null,t,e),n)}function $a(){}function Ka(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xa(e,t){var n=Ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),ma.lanes|=n,Ds|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function el(){return Ca().memoizedState}function tl(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Zi(e,t,n,r))){rc(n,e,r,tc()),il(n,t,r)}}function nl(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Pi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Zi(e,t,o,r))&&(rc(n,e,r,o=tc()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function ol(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Oi,useCallback:Sa,useContext:Sa,useEffect:Sa,useImperativeHandle:Sa,useInsertionEffect:Sa,useLayoutEffect:Sa,useMemo:Sa,useReducer:Sa,useRef:Sa,useState:Sa,useDebugValue:Sa,useDeferredValue:Sa,useTransition:Sa,useMutableSource:Sa,useSyncExternalStore:Sa,useId:Sa,unstable_isNewReconciler:!1},ll={readContext:Oi,useCallback:function(e,t){return Oa().memoizedState=[e,void 0===t?null:t],e},useContext:Oi,useEffect:Ua,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Fa(4194308,4,Ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=Oa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oa().memoizedState=e},useState:za,useDebugValue:$a,useDeferredValue:function(e){return Oa().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=Ja.bind(null,e[1]),Oa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=Oa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===_s)throw Error(i(349));0!==(30&ha)||Aa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ua(Na.bind(null,r,a,e),[e]),r.flags|=2048,La(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Oa(),t=_s.identifierPrefix;if(ii){var n=Qo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=xa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Oi,useCallback:Ka,useContext:Oi,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Va,useMemo:Xa,useReducer:Za,useRef:Ba,useState:function(){return Za(Pa)},useDebugValue:$a,useDeferredValue:function(e){return Qa(Ca(),va.memoizedState,e)},useTransition:function(){return[Za(Pa)[0],Ca().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1},cl={readContext:Oi,useCallback:Ka,useContext:Oi,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Va,useMemo:Xa,useReducer:_a,useRef:Ba,useState:function(){return _a(Pa)},useDebugValue:$a,useDeferredValue:function(e){var t=Ca();return null===va?t.memoizedState=e:Qa(t,va.memoizedState,e)},useTransition:function(){return[_a(Pa)[0],Ca().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Ri(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Vs=r),fl(0,t)},n}function ml(e,t,n){(n=Ri(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===Ys?Ys=new Set([this]):Ys.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Oc.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ri(-1,1)).tag=2,Ni(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=x.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Qi(t,null,n,r):Xi(t,e.child,n,r)}function Sl(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=ja(e,t,n,r,i,o),n=Ea(),null===e||xl?(ii&&n&&ti(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function kl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ac(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,jl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Rc(i,r)).ref=t.ref,e.return=t,t.child=e}function jl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!==(131072&e.flags)&&(xl=!0)}}return Cl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(Rs,As),As|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(Rs,As),As|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Co(Rs,As),As|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Co(Rs,As),As|=r;return wl(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cl(e,t,n,r,o){var i=Ao(n)?To:Zo.current;return i=Mo(t,i),Ei(t,o),n=ja(e,t,n,r,i,o),r=Ea(),null===e||xl?(ii&&r&&ti(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Pl(e,t,n,r,o){if(Ao(n)){var i=!0;Do(t)}else i=!1;if(Ei(t,o),null===t.stateNode)ql(e,t),qi(t,n,r),Vi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Oi(c):c=Mo(t,c=Ao(n)?To:Zo.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==c)&&Hi(t,a,r,c),Ti=!1;var f=t.memoizedState;a.state=f,zi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||_o.current||Ti?("function"===typeof u&&(Fi(t,n,u,r),s=t.memoizedState),(l=Ti||Ui(t,n,l,r,f,s,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ai(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:gi(t.type,l),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Oi(s):s=Mo(t,s=Ao(n)?To:Zo.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Hi(t,a,r,s),Ti=!1,f=t.memoizedState,a.state=f,zi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||_o.current||Ti?("function"===typeof p&&(Fi(t,n,p,r),h=t.memoizedState),(c=Ti||Ui(t,n,c,r,f,h,s)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=c):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zl(e,t,n,r,i,o)}function Zl(e,t,n,r,o,i){Ol(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Hl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function _l(e){var t=e.stateNode;t.pendingContext?No(0,t.pendingContext,t.pendingContext!==t.context):t.context&&No(0,t.context,!1),oa(e,t.containerInfo)}function Tl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,wl(e,t,n,r),t.child}var Ml,Al,Rl,Nl,Il={dehydrated:null,treeContext:null,retryLane:0};function Dl(e){return{baseLanes:e,cachePool:null,transitions:null}}function zl(e,t,n){var r,o=t.pendingProps,a=sa.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Co(sa,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Dc(s,o,0,null),e=Ic(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Dl(n),t.memoizedState=Il,e):Ll(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Dc({mode:"visible",children:r.children},o,0,null),(a=Ic(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Xi(t,e.child,null,l),t.child.memoizedState=Dl(l),t.memoizedState=Il,a);if(0===(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),xl||s){if(null!==(r=_s)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,_i(e,o),rc(r,e,o,-1))}return vc(),Bl(e,t,l,r=dl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Pc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[$o++]=Xo,Go[$o++]=Qo,Go[$o++]=Ko,Xo=e.id,Qo=e.overflow,Ko=t),t=Ll(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Rc(r,l):(l=Ic(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Dl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Rc(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ll(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&mi(r),Xi(t,e.child,null,n),(e=Ll(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ji(e.return,t,n)}function Wl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),0!==(2&(r=sa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fl(e,n,t);else if(19===e.tag)Fl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Co(sa,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wl(t,!0,n,null,i);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ql(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ds|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yl(t),null;case 1:case 17:return Ao(t.type)&&Ro(),Yl(t),null;case 3:return r=t.stateNode,ia(),Oo(_o),Oo(Zo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(lc(ai),ai=null))),Al(e,t),Yl(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Yl(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(o=0;o<Nr.length;o++)Lr(Nr[o],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":K(r,a),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Lr("invalid",r);break;case"textarea":oe(r,a),Lr("invalid",r)}for(var s in ye(n,a),o=null,a)if(a.hasOwnProperty(s)){var c=a[s];"children"===s?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&Lr("scroll",r)}switch(n){case"input":V(r),J(r,a,!0);break;case"textarea":V(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ml(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),o=r;break;case"iframe":case"object":case"embed":Lr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Nr.length;o++)Lr(Nr[o],e);o=r;break;case"source":Lr("error",e),o=r;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),o=r;break;case"details":Lr("toggle",e),o=r;break;case"input":K(e,r),o=$(e,r),Lr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),Lr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Lr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ve(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Lr("scroll",e):null!=u&&b(e,a,u,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Yl(t),null;case 6:if(e&&null!=t.stateNode)Nl(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Qr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Yl(t),null;case 13:if(Oo(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),a=!1}else null!==ai&&(lc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&sa.current)?0===Ns&&(Ns=3):vc())),null!==t.updateQueue&&(t.flags|=4),Yl(t),null);case 4:return ia(),Al(e,t),null===e&&Wr(t.stateNode.containerInfo),Yl(t),null;case 10:return ki(t.type._context),Yl(t),null;case 19:if(Oo(sa),null===(a=t.memoizedState))return Yl(t),null;if(r=0!==(128&t.flags),null===(s=a.rendering))if(r)Vl(a,!1);else{if(0!==Ns||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ca(e))){for(t.flags|=128,Vl(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Co(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Us&&(t.flags|=128,r=!0,Vl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Yl(t),null}else 2*Xe()-a.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Vl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=sa.current,Co(sa,r?1&n|2:1&n),t):(Yl(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&As)&&(Yl(t),6&t.subtreeFlags&&(t.flags|=8192)):Yl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function $l(e,t){switch(ni(t),t.tag){case 1:return Ao(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Oo(_o),Oo(Zo),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Oo(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(sa),null;case 4:return ia(),null;case 10:return ki(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Al=function(){},Rl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=$(e,o),r=$(e,r),a=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var s=o[u];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Lr("scroll",e),a||s===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Nl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Xl=!1,Ql="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ec(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Ec(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ts(t,n,i)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Wt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&ts(n,t,a),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ec(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,ps(e,t,n),Xl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ql),t.forEach((function(t){var r=Zc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(i(160));hs(a,l,o),ds=null,fs=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Ec(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(v){Ec(e,e.return,v)}try{rs(5,e,e.return)}catch(v){Ec(e,e.return,v)}}break;case 1:vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){Ec(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===a.type&&null!=a.name&&X(o,a),be(s,l);var u=be(s,a);for(l=0;l<c.length;l+=2){var d=c[l],f=c[l+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(s){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(v){Ec(e,e.return,v)}}break;case 6:if(vs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(v){Ec(e,e.return,v)}}break;case 3:if(vs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(v){Ec(e,e.return,v)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Ws=Xe())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(u=Xl)||d,vs(t,e),Xl=u):vs(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Ec(r,n,v)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){Ss(f);continue}}null!==h?(h.return=p,Jl=h):Ss(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,s.style.display=me("display",l))}catch(v){Ec(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Ec(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cs(e,ss(e),a);break;default:throw Error(i(161))}}catch(l){Ec(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,xs(e,t,n)}function xs(e,t,n){for(var r=0!==(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Kl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Kl;var c=Xl;if(Kl=a,(Xl=s)&&!c)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?ks(o):null!==s?(s.return=a,Jl=s):ks(o);for(;null!==i;)Jl=i,xs(i,t,n),i=i.sibling;Jl=o,Kl=l,Xl=c}ws(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Jl=i):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Li(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Li(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(i(163))}Xl||512&t.flags&&is(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Ec(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Ec(t,o,s)}}var i=t.return;try{is(t)}catch(s){Ec(t,i,s)}break;case 5:var a=t.return;try{is(t)}catch(s){Ec(t,a,s)}}}catch(s){Ec(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var js,Es=Math.ceil,Os=x.ReactCurrentDispatcher,Cs=x.ReactCurrentOwner,Ps=x.ReactCurrentBatchConfig,Zs=0,_s=null,Ts=null,Ms=0,As=0,Rs=Eo(0),Ns=0,Is=null,Ds=0,zs=0,Ls=0,Bs=null,Fs=null,Ws=0,Us=1/0,qs=null,Hs=!1,Vs=null,Ys=null,Gs=!1,$s=null,Ks=0,Xs=0,Qs=null,Js=-1,ec=0;function tc(){return 0!==(6&Zs)?Xe():-1!==Js?Js:Js=Xe()}function nc(e){return 0===(1&e.mode)?1:0!==(2&Zs)&&0!==Ms?Ms&-Ms:null!==vi.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function rc(e,t,n,r){if(50<Xs)throw Xs=0,Qs=null,Error(i(185));gt(e,n,r),0!==(2&Zs)&&e===_s||(e===_s&&(0===(2&Zs)&&(zs|=n),4===Ns&&sc(e,Ms)),oc(e,r),1===n&&0===Zs&&0===(1&t.mode)&&(Us=Xe()+500,Bo&&Uo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===_s?Ms:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Bo=!0,Wo(e)}(cc.bind(null,e)):Wo(cc.bind(null,e)),ao((function(){0===(6&Zs)&&Uo()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=_c(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Js=-1,ec=0,0!==(6&Zs))throw Error(i(327));var n=e.callbackNode;if(kc()&&e.callbackNode!==n)return null;var r=ft(e,e===_s?Ms:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Zs;Zs|=2;var a=mc();for(_s===e&&Ms===t||(qs=null,Us=Xe()+500,pc(e,t));;)try{bc();break}catch(s){hc(e,s)}Si(),Os.current=a,Zs=o,null!==Ts?t=0:(_s=null,Ms=0,t=Ns)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ac(e,o))),1===t)throw n=Is,pc(e,0),sc(e,r),oc(e,Xe()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ac(e,a))),1===t))throw n=Is,pc(e,0),sc(e,r),oc(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Sc(e,Fs,qs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Ws+500-Xe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Sc.bind(null,e,Fs,qs),t);break}Sc(e,Fs,qs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ro(Sc.bind(null,e,Fs,qs),r);break}Sc(e,Fs,qs);break;default:throw Error(i(329))}}}return oc(e,Xe()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fs,Fs=n,null!==t&&lc(t)),e}function lc(e){null===Fs?Fs=e:Fs.push.apply(Fs,e)}function sc(e,t){for(t&=~Ls,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&Zs))throw Error(i(327));kc();var t=ft(e,0);if(0===(1&t))return oc(e,Xe()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Is,pc(e,0),sc(e,t),oc(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sc(e,Fs,qs),oc(e,Xe()),null}function uc(e,t){var n=Zs;Zs|=1;try{return e(t)}finally{0===(Zs=n)&&(Us=Xe()+500,Bo&&Uo())}}function dc(e){null!==$s&&0===$s.tag&&0===(6&Zs)&&kc();var t=Zs;Zs|=1;var n=Ps.transition,r=bt;try{if(Ps.transition=null,bt=1,e)return e()}finally{bt=r,Ps.transition=n,0===(6&(Zs=t))&&Uo()}}function fc(){As=Rs.current,Oo(Rs)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ts)for(n=Ts.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ro();break;case 3:ia(),Oo(_o),Oo(Zo),da();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:Oo(sa);break;case 10:ki(r.type._context);break;case 22:case 23:fc()}n=n.return}if(_s=e,Ts=e=Rc(e.current,null),Ms=As=t,Ns=0,Is=null,Ls=zs=Ds=0,Fs=Bs=null,null!==Ci){for(t=0;t<Ci.length;t++)if(null!==(r=(n=Ci[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ci=null}return e}function hc(e,t){for(;;){var n=Ts;try{if(Si(),fa.current=al,ya){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(ha=0,ga=va=ma=null,ba=!1,xa=0,Cs.current=null,null===n||null===n.return){Ns=1,Is=t,Ts=null;break}e:{var a=e,l=n.return,s=n,c=t;if(t=Ms,s.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(a,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(c),t.updateQueue=v}else m.add(c);break e}if(0===(1&t)){vl(a,u,t),vc();break e}c=Error(i(426))}else if(ii&&1&s.mode){var g=gl(l);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),mi(ul(c,s));break e}}a=c=ul(c,s),4!==Ns&&(Ns=2),null===Bs?Bs=[a]:Bs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Di(a,hl(0,c,t));break e;case 1:s=c;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ys||!Ys.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Di(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}wc(n)}catch(x){t=x,Ts===n&&null!==n&&(Ts=n=n.return);continue}break}}function mc(){var e=Os.current;return Os.current=al,null===e?al:e}function vc(){0!==Ns&&3!==Ns&&2!==Ns||(Ns=4),null===_s||0===(268435455&Ds)&&0===(268435455&zs)||sc(_s,Ms)}function gc(e,t){var n=Zs;Zs|=2;var r=mc();for(_s===e&&Ms===t||(qs=null,pc(e,t));;)try{yc();break}catch(o){hc(e,o)}if(Si(),Zs=n,Os.current=r,null!==Ts)throw Error(i(261));return _s=null,Ms=0,Ns}function yc(){for(;null!==Ts;)xc(Ts)}function bc(){for(;null!==Ts&&!$e();)xc(Ts)}function xc(e){var t=js(e.alternate,e,As);e.memoizedProps=e.pendingProps,null===t?wc(e):Ts=t,Cs.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Gl(n,t,As)))return void(Ts=n)}else{if(null!==(n=$l(n,t)))return n.flags&=32767,void(Ts=n);if(null===e)return Ns=6,void(Ts=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ts=t);Ts=t=e}while(null!==t);0===Ns&&(Ns=5)}function Sc(e,t,n){var r=bt,o=Ps.transition;try{Ps.transition=null,bt=1,function(e,t,n,r){do{kc()}while(null!==$s);if(0!==(6&Zs))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===_s&&(Ts=_s=null,Ms=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gs||(Gs=!0,_c(tt,(function(){return kc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Ps.transition,Ps.transition=null;var l=bt;bt=1;var s=Zs;Zs|=4,Cs.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(c=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=l),p===a&&++d===r&&(c=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(w){Ec(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),gs(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,bs(n,e,o),Ke(),Zs=s,bt=l,Ps.transition=a}else e.current=n;if(Gs&&(Gs=!1,$s=e,Ks=o),a=e.pendingLanes,0===a&&(Ys=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Hs)throw Hs=!1,e=Vs,Vs=null,e;0!==(1&Ks)&&0!==e.tag&&kc(),a=e.pendingLanes,0!==(1&a)?e===Qs?Xs++:(Xs=0,Qs=e):Xs=0,Uo()}(e,t,n,r)}finally{Ps.transition=o,bt=r}return null}function kc(){if(null!==$s){var e=xt(Ks),t=Ps.transition,n=bt;try{if(Ps.transition=null,bt=16>e?16:e,null===$s)var r=!1;else{if(e=$s,$s=null,Ks=0,0!==(6&Zs))throw Error(i(331));var o=Zs;for(Zs|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!==(16&Jl.flags)){var s=a.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(as(d),d===u){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=a}}if(0!==(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!==(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var x=(l=Jl).child;if(0!==(2064&l.subtreeFlags)&&null!==x)x.return=l,Jl=x;else e:for(l=b;null!==Jl;){if(0!==(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(S){Ec(s,s.return,S)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Zs=o,Uo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(S){}r=!0}return r}finally{bt=n,Ps.transition=t}}return!1}function jc(e,t,n){e=Ni(e,t=hl(0,t=ul(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Ec(e,t,n){if(3===e.tag)jc(e,e,n);else for(;null!==t;){if(3===t.tag){jc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ys||!Ys.has(r))){t=Ni(t,e=ml(t,e=ul(n,e),1),1),e=tc(),null!==t&&(gt(t,1,e),oc(t,e));break}}t=t.return}}function Oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,_s===e&&(Ms&n)===n&&(4===Ns||3===Ns&&(130023424&Ms)===Ms&&500>Xe()-Ws?pc(e,0):Ls|=n),oc(e,t)}function Cc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=_i(e,t))&&(gt(e,t,n),oc(e,n))}function Pc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Zc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cc(e,n)}function _c(e,t){return Ye(e,t)}function Tc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mc(e,t,n,r){return new Tc(e,t,n,r)}function Ac(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Mc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nc(e,t,n,r,o,a){var l=2;if(r=e,"function"===typeof e)Ac(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case k:return Ic(n.children,o,a,t);case j:l=8,o|=8;break;case E:return(e=Mc(12,n,t,2|o)).elementType=E,e.lanes=a,e;case Z:return(e=Mc(13,n,t,o)).elementType=Z,e.lanes=a,e;case _:return(e=Mc(19,n,t,o)).elementType=_,e.lanes=a,e;case A:return Dc(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case O:l=10;break e;case C:l=9;break e;case P:l=11;break e;case T:l=14;break e;case M:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Mc(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ic(e,t,n,r){return(e=Mc(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Mc(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function zc(e,t,n){return(e=Mc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return(t=Mc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,o,i,a,l,s){return e=new Bc(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Mc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function Wc(e){if(!e)return Po;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ao(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ao(n))return Io(e,n,t)}return t}function Uc(e,t,n,r,o,i,a,l,s){return(e=Fc(n,r,!0,e,0,i,0,l,s)).context=Wc(null),n=e.current,(i=Ri(r=tc(),o=nc(n))).callback=void 0!==t&&null!==t?t:null,Ni(n,i,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function qc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Wc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ri(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ni(o,t,a))&&(rc(e,o,a,i),Ii(e,o,a)),a}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}js=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||_o.current)xl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:_l(t),hi();break;case 5:aa(t);break;case 1:Ao(t.type)&&Do(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Co(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Co(sa,1&sa.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zl(e,t,n):(Co(sa,1&sa.current),null!==(e=Hl(e,t,n))?e.sibling:null);Co(sa,1&sa.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Hl(e,t,n)}(e,t,n);xl=0!==(131072&e.flags)}else xl=!1,ii&&0!==(1048576&t.flags)&&ei(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ql(e,t),e=t.pendingProps;var o=Mo(t,Zo.current);Ei(t,n),o=ja(null,t,r,e,o,n);var a=Ea();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ao(r)?(a=!0,Do(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=Wi,t.stateNode=o,o._reactInternals=t,Vi(t,r,e,n),t=Zl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ql(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ac(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===T)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Cl(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Cl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Pl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(_l(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ai(e,t),zi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tl(e,t,r,n,o=ul(Error(i(423)),t));break e}if(r!==o){t=Tl(e,t,r,n,o=ul(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Qi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Ol(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ui(t),null;case 13:return zl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Co(yi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!_o.current){t=Hl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ri(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),ji(a.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ji(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ei(t,n),r=r(o=Oi(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),kl(e,t,r,o=gi(r.type,o),n);case 15:return jl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),ql(e,t),t.tag=1,Ao(r)?(e=!0,Do(t)):e=!1,Ei(t,n),qi(t,r,o),Vi(t,r,o,n),Zl(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return El(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"===typeof reportError?reportError:function(e){console.error(e)};function $c(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var l=o;o=function(){var e=Hc(a);l.call(e)}}qc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Hc(a);i.call(e)}}var a=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[mo]=a.current,Wr(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=Hc(s);l.call(e)}}var s=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[mo]=s.current,Wr(8===e.nodeType?e.parentNode:e),dc((function(){qc(t,s,n,r)})),s}(n,t,e,o,r);return Hc(a)}Kc.prototype.render=$c.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));qc(e,t,null,null)},Kc.prototype.unmount=$c.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){qc(null,e,null,null)})),t[mo]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Xe()),0===(6&Zs)&&(Us=Xe()+500,Uo()))}break;case 13:dc((function(){var t=_i(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Yc(e,1)}},St=function(e){if(13===e.tag){var t=_i(e,134217728);if(null!==t)rc(t,e,134217728,tc());Yc(e,134217728)}},kt=function(e){if(13===e.tag){var t=nc(e),n=_i(e,t);if(null!==n)rc(n,e,t,tc());Yc(e,t)}},jt=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(i(90));Y(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uc,Ze=dc;var tu={usingClientEntryPoint:!1,Events:[xo,wo,So,Oe,Ce,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Wr(8===e.nodeType?e.parentNode:e),new $c(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Gc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,a,l),e[mo]=t.current,Wr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},8459:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},6900:function(e,t,n){"use strict";n(8459)},6374:function(e,t,n){"use strict";var r=n(2791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:l.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!j.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:k.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function P(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function Z(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+P(s,0):i,w(a)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),Z(a,t,o,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",w(e))for(var c=0;c<e.length;c++){var u=i+P(l=e[c],c);s+=Z(l,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=Z(l=l.value,t,o,u=i+P(l,c++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function _(e,t,n){if(null==e)return e;var r=[],o=0;return Z(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},A={transition:null},R={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:A,ReactCurrentOwner:k};t.Children={map:_,forEach:function(e,t,n){_(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!j.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},9609:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.isFragment=function(e){return w(e)===i}},8493:function(e,t,n){"use strict";e.exports=n(9609)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>i(s,n))c<o&&0>i(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(v=!1,x(e),!m)if(null!==r(c))m=!0,A(S);else{var t=r(u);null!==t&&R(w,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,y(O),O=-1),h=!0;var i=p;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!Z());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(c)&&o(c),x(n)}else o(c);f=r(c)}if(null!==f)var s=!0;else{var d=r(u);null!==d&&R(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,j=!1,E=null,O=-1,C=5,P=-1;function Z(){return!(t.unstable_now()-P<C)}function _(){if(null!==E){var e=t.unstable_now();P=e;var n=!0;try{n=E(!0,e)}finally{n?k():(j=!1,E=null)}}else j=!1}if("function"===typeof b)k=function(){b(_)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,M=T.port2;T.port1.onmessage=_,k=function(){M.postMessage(null)}}else k=function(){g(_,0)};function A(e){E=e,j||(j=!0,k())}function R(e,n){O=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,A(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(v?(y(O),O=-1):v=!0,R(w,i-a))):(e.sortIndex=l,n(c,e),m||h||(m=!0,A(S))),e},t.unstable_shouldYield=Z,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},1561:function(e,t,n){"use strict";var r=n(2791);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},7595:function(e,t,n){"use strict";var r=n(2791),o=n(7248);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!s){if(s=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return l=t}return l=e}if(t=l,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,l=n)}var a,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},7248:function(e,t,n){"use strict";e.exports=n(1561)},327:function(e,t,n){"use strict";e.exports=n(7595)},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878);var o=n(181),i=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(u){c=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907);var o=n(9199),i=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},3733:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".b325c508.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="quizzapp:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var l,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+i),l.src=r),e[r]=[o];var f=function(t,n){l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),l=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],l=r[1],s=r[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(s)s(n)}for(t&&t(r);c<a.length;c++)i=a[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkquizzapp=self.webpackChunkquizzapp||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{scaleBand:function(){return kZ},scaleDiverging:function(){return aN},scaleDivergingLog:function(){return lN},scaleDivergingPow:function(){return cN},scaleDivergingSqrt:function(){return uN},scaleDivergingSymlog:function(){return sN},scaleIdentity:function(){return KT},scaleImplicit:function(){return wZ},scaleLinear:function(){return $T},scaleLog:function(){return iM},scaleOrdinal:function(){return SZ},scalePoint:function(){return EZ},scalePow:function(){return hM},scaleQuantile:function(){return OM},scaleQuantize:function(){return CM},scaleRadial:function(){return gM},scaleSequential:function(){return JR},scaleSequentialLog:function(){return eN},scaleSequentialPow:function(){return nN},scaleSequentialQuantile:function(){return oN},scaleSequentialSqrt:function(){return rN},scaleSequentialSymlog:function(){return tN},scaleSqrt:function(){return mM},scaleSymlog:function(){return cM},scaleThreshold:function(){return PM},scaleTime:function(){return $R},scaleUtc:function(){return KR},tickFormat:function(){return YT}});var t=n(2791),r=n.t(t,2),o=n(1250),i=n(7248),a=n(327),l=n(4164);var s=function(e){e()},c=function(){return s},u=n(4942),d=Symbol.for("react-redux-context"),f="undefined"!==typeof globalThis?globalThis:{};function p(){var e;if(!t.createContext)return{};var n=null!=(e=f[d])?e:f[d]=new Map,r=n.get(t.createContext);return r||(r=t.createContext(null),n.set(t.createContext,r)),r}var h=p();function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h;return function(){return(0,t.useContext)(e)}}var v=m(),g=function(){throw new Error("uSES not initialized!")},y=function(e,t){return e===t};function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,n=e===h?v:m(e);return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="function"===typeof r?{equalityFn:r}:r,i=o.equalityFn,a=void 0===i?y:i,l=o.stabilityCheck,s=void 0===l?void 0:l;o.noopCheck;var c=n(),d=c.store,f=c.subscription,p=c.getServerState,h=c.stabilityCheck,m=(c.noopCheck,(0,t.useRef)(!0),(0,t.useCallback)((0,u.Z)({},e.name,(function(t){return e(t)}))[e.name],[e,h,s])),v=g(f.addNestedSub,d.getState,p||d.getState,m,a);return(0,t.useDebugValue)(v),v}}var x=b();n(2110),n(6900);var w={notify:function(){},get:function(){return[]}};function S(e,t){var n,r=w,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function l(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){var e=c(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=w)}var u={addNestedSub:function(e){l();var t=r.subscribe(e),n=!1;return function(){n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,l())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:function(){return r}};return u}var k=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?t.useLayoutEffect:t.useEffect;var j=function(e){var n=e.store,r=e.context,o=e.children,i=e.serverState,a=e.stabilityCheck,l=void 0===a?"once":a,s=e.noopCheck,c=void 0===s?"once":s,u=t.useMemo((function(){var e=S(n);return{store:n,subscription:e,getServerState:i?function(){return i}:void 0,stabilityCheck:l,noopCheck:c}}),[n,i,l,c]),d=t.useMemo((function(){return n.getState()}),[n]);k((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),d!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[u,d]);var f=r||h;return t.createElement(f.Provider,{value:u},o)};function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=e===h?v:m(e);return function(){return t().store}}var O=E();function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=e===h?O:E(e);return function(){return t().dispatch}}var P,Z,_=C();P=a.useSyncExternalStoreWithSelector,g=P,function(e){e}(i.useSyncExternalStore),Z=l.unstable_batchedUpdates,s=Z;var T=n(3366);function M(e,t){if(null==e)return{};var n,r,o=(0,T.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var A=n(1002);function R(){R=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(P){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new E(o||[]);return r(a,"_invoke",{value:w(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=c;var d={};function f(){}function p(){}function h(){}var m={};s(m,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(O([])));g&&g!==t&&n.call(g,i)&&(m=g);var y=h.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,i,a,l){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==(0,A.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,l)}))}l(s.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=h,r(y,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(x.prototype),s(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function N(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function I(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){N(i,r,o,a,l,"next",e)}function l(e){N(i,r,o,a,l,"throw",e)}a(void 0)}))}}var D=n(9439);function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function B(e,t,n){return B=L()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&z(o,n.prototype),o},B.apply(null,arguments)}var F=n(3433);function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var U=n(9142);function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,U.Z)(r.key),r)}}function H(e,t,n){return t&&q(e.prototype,t),n&&q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}function G(){return G="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Y(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},G.apply(this,arguments)}function $(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}function K(e){var t=L();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,A.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V(e)}(this,n)}}function X(e){var t="function"===typeof Map?new Map:void 0;return X=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return B(e,arguments,Y(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),z(n,e)},X(e)}var Q=n(181);function J(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,Q.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=Symbol.for("immer-nothing"),re=Symbol.for("immer-draftable"),oe=Symbol.for("immer-state");function ie(e){throw new Error("[Immer] minified error nr: ".concat(e,". Full error at: https://bit.ly/3cXEKWf"))}var ae=Object.getPrototypeOf;function le(e){return!!e&&!!e[oe]}function se(e){var t;return!!e&&(ue(e)||Array.isArray(e)||!!e[re]||!(null===(t=e.constructor)||void 0===t||!t[re])||me(e)||ve(e))}var ce=Object.prototype.constructor.toString();function ue(e){if(!e||"object"!==typeof e)return!1;var t=ae(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===ce}function de(e,t){0===fe(e)?Object.entries(e).forEach((function(n){var r=(0,D.Z)(n,2),o=r[0],i=r[1];t(o,i,e)})):e.forEach((function(n,r){return t(r,n,e)}))}function fe(e){var t=e[oe];return t?t.type_:Array.isArray(e)?1:me(e)?2:ve(e)?3:0}function pe(e,t){return 2===fe(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function he(e,t,n){var r=fe(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function me(e){return e instanceof Map}function ve(e){return e instanceof Set}function ge(e){return e.copy_||e.base_}function ye(e,t){if(me(e))return new Map(e);if(ve(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ue(e)){if(!ae(e)){var n=Object.create(null);return Object.assign(n,e)}return te({},e)}var r=Object.getOwnPropertyDescriptors(e);delete r[oe];for(var o=Reflect.ownKeys(r),i=0;i<o.length;i++){var a=o[i],l=r[a];!1===l.writable&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(r[a]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[a]})}return Object.create(ae(e),r)}function be(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return we(e)||le(e)||!se(e)||(fe(e)>1&&(e.set=e.add=e.clear=e.delete=xe),Object.freeze(e),t&&de(e,(function(e,t){return be(t,!0)}))),e}function xe(){ie(2)}function we(e){return Object.isFrozen(e)}var Se,ke={};function je(e){var t=ke[e];return t||ie(0),t}function Ee(){return Se}function Oe(e,t){t&&(je("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ce(e){Pe(e),e.drafts_.forEach(_e),e.drafts_=null}function Pe(e){e===Se&&(Se=e.parent_)}function Ze(e){return Se={drafts_:[],parent_:Se,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _e(e){var t=e[oe];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Te(e,t){t.unfinalizedDrafts_=t.drafts_.length;var n=t.drafts_[0];return void 0!==e&&e!==n?(n[oe].modified_&&(Ce(t),ie(4)),se(e)&&(e=Me(t,e),t.parent_||Re(t,e)),t.patches_&&je("Patches").generateReplacementPatches_(n[oe].base_,e,t.patches_,t.inversePatches_)):e=Me(t,n,[]),Ce(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ne?e:void 0}function Me(e,t,n){if(we(t))return t;var r=t[oe];if(!r)return de(t,(function(o,i){return Ae(e,r,t,o,i,n)})),t;if(r.scope_!==e)return t;if(!r.modified_)return Re(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;var o=r.copy_,i=o,a=!1;3===r.type_&&(i=new Set(o),o.clear(),a=!0),de(i,(function(t,i){return Ae(e,r,o,t,i,n,a)})),Re(e,o,!1),n&&e.patches_&&je("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Ae(e,t,n,r,o,i,a){if(le(o)){var l=Me(e,o,i&&t&&3!==t.type_&&!pe(t.assigned_,r)?i.concat(r):void 0);if(he(n,r,l),!le(l))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(se(o)&&!we(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Me(e,o),t&&t.scope_.parent_||Re(e,o)}}function Re(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&be(t,n)}var Ne={get:function(e,t){if(t===oe)return e;var n=ge(e);if(!pe(n,t))return function(e,t,n){var r,o=ze(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.draft_):void 0}(e,n,t);var r=n[t];return e.finalized_||!se(r)?r:r===De(e.base_,t)?(Be(e),e.copy_[t]=We(r,e)):r},has:function(e,t){return t in ge(e)},ownKeys:function(e){return Reflect.ownKeys(ge(e))},set:function(e,t,n){var r,o,i=ze(ge(e),t);if(null!==i&&void 0!==i&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){var a=De(ge(e),t),l=null===a||void 0===a?void 0:a[oe];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((r=n)===(o=a)?0!==r||1/r===1/o:r!==r&&o!==o)&&(void 0!==n||pe(e.base_,t)))return!0;Be(e),Le(e)}return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:function(e,t){return void 0!==De(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,Be(e),Le(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ge(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){ie(11)},getPrototypeOf:function(e){return ae(e.base_)},setPrototypeOf:function(){ie(12)}},Ie={};function De(e,t){var n=e[oe];return(n?ge(n):e)[t]}function ze(e,t){if(t in e)for(var n=ae(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=ae(n)}}function Le(e){e.modified_||(e.modified_=!0,e.parent_&&Le(e.parent_))}function Be(e){e.copy_||(e.copy_=ye(e.base_,e.scope_.immer_.useStrictShallowCopy_))}de(Ne,(function(e,t){Ie[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ie.deleteProperty=function(e,t){return Ie.set.call(this,e,t,void 0)},Ie.set=function(e,t,n){return Ne.set.call(this,e[0],t,n,e[0])};var Fe=function(){function e(t){var n=this;W(this,e),this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=function(e,t,r){if("function"===typeof e&&"function"!==typeof t){var o=t;t=e;var i=n;return function(){for(var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,r=arguments.length,a=new Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(n,(function(n){var r;return(r=t).call.apply(r,[e,n].concat(a))}))}}var a;if("function"!==typeof t&&ie(6),void 0!==r&&"function"!==typeof r&&ie(7),se(e)){var l=Ze(n),s=We(e,void 0),c=!0;try{a=t(s),c=!1}finally{c?Ce(l):Pe(l)}return Oe(l,r),Te(a,l)}if(!e||"object"!==typeof e){if(void 0===(a=t(e))&&(a=e),a===ne&&(a=void 0),n.autoFreeze_&&be(a,!0),r){var u=[],d=[];je("Patches").generateReplacementPatches_(e,a,u,d),r(u,d)}return a}ie(1)},this.produceWithPatches=function(e,t){return"function"===typeof e?function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(o))}))}:[n.produce(e,t,(function(e,t){r=e,o=t})),r,o];var r,o},"boolean"===typeof(null===t||void 0===t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),"boolean"===typeof(null===t||void 0===t?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}return H(e,[{key:"createDraft",value:function(e){se(e)||ie(8),le(e)&&(e=Ue(e));var t=Ze(this),n=We(e,void 0);return n[oe].isManual_=!0,Pe(t),n}},{key:"finishDraft",value:function(e,t){var n=e&&e[oe];n&&n.isManual_||ie(9);var r=n.scope_;return Oe(r,t),Te(void 0,r)}},{key:"setAutoFreeze",value:function(e){this.autoFreeze_=e}},{key:"setUseStrictShallowCopy",value:function(e){this.useStrictShallowCopy_=e}},{key:"applyPatches",value:function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=je("Patches").applyPatches_;return le(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))}}]),e}();function We(e,t){var n=me(e)?je("MapSet").proxyMap_(e,t):ve(e)?je("MapSet").proxySet_(e,t):function(e,t){var n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Ee(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=r,i=Ne;n&&(o=[r],i=Ie);var a=Proxy.revocable(o,i),l=a.revoke,s=a.proxy;return r.draft_=s,r.revoke_=l,s}(e,t);return(t?t.scope_:Ee()).drafts_.push(n),n}function Ue(e){return le(e)||ie(10),qe(e)}function qe(e){if(!se(e)||we(e))return e;var t,n=e[oe];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,t=ye(e,n.scope_.immer_.useStrictShallowCopy_)}else t=ye(e,!0);return de(t,(function(e,n){he(t,e,qe(n))})),n&&(n.finalized_=!1),t}var He=new Fe,Ve=He.produce;He.produceWithPatches.bind(He),He.setAutoFreeze.bind(He),He.setUseStrictShallowCopy.bind(He),He.applyPatches.bind(He),He.createDraft.bind(He),He.finishDraft.bind(He);function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected a function, instead received ".concat(typeof e);if("function"!==typeof e)throw new TypeError(t)}var Ge=function(e){return Array.isArray(e)?e:[e]};function $e(e){var t=Array.isArray(e[0])?e[0]:e;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected all items to be functions, instead received the following types: ";if(!e.every((function(e){return"function"===typeof e}))){var n=e.map((function(e){return"function"===typeof e?"function ".concat(e.name||"unnamed","()"):typeof e})).join(", ");throw new TypeError("".concat(t,"[").concat(n,"]"))}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}Symbol(),Object.getPrototypeOf({});var Ke=function(){function e(t){W(this,e),this.value=t}return H(e,[{key:"deref",value:function(){return this.value}}]),e}(),Xe="undefined"!==typeof WeakRef?WeakRef:Ke,Qe=0,Je=1;function et(){return{s:Qe,v:void 0,o:null,p:null}}function tt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=et(),o=n.resultEqualityCheck,i=0;function a(){for(var n=r,a=0,l=arguments.length;a<l;a++){var s=arguments[a];if("function"===typeof s||"object"===typeof s&&null!==s){var c=n.o;null===c&&(n.o=c=new WeakMap);var u=c.get(s);void 0===u?(n=et(),c.set(s,n)):n=u}else{var d=n.p;null===d&&(n.p=d=new Map);var f=d.get(s);void 0===f?(n=et(),d.set(s,n)):n=f}}var p,h=n;if(n.s===Je?p=n.v:(p=e.apply(null,arguments),i++),h.s=Je,o){var m,v,g,y=null!==(m=null===(v=t)||void 0===v||null===(g=v.deref)||void 0===g?void 0:g.call(v))&&void 0!==m?m:t;null!=y&&o(y,p)&&(p=y,0!==i&&i--),t="object"===typeof p&&null!==p||"function"===typeof p?new Xe(p):p}return h.v=p,p}return a.clearCache=function(){r=et(),a.resetResultsCount()},a.resultsCount=function(){return i},a.resetResultsCount=function(){i=0},a}function nt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o="function"===typeof e?{memoize:e,memoizeOptions:n}:e,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=0,a=0,l={},s=t.pop();"object"===typeof s&&(l=s,s=t.pop()),Ye(s,"createSelector expects an output function after the inputs, but received: [".concat(typeof s,"]"));var c=te(te({},o),l),u=c.memoize,d=c.memoizeOptions,f=void 0===d?[]:d,p=c.argsMemoize,h=void 0===p?tt:p,m=c.argsMemoizeOptions,v=void 0===m?[]:m,g=(c.devModeChecks,Ge(f)),y=Ge(v),b=$e(t),x=u.apply(void 0,[function(){return i++,s.apply(null,arguments)}].concat((0,F.Z)(g))),w=h.apply(void 0,[function(){a++;var e=function(e,t){for(var n=[],r=e.length,o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(b,arguments);return r=x.apply(null,e)}].concat((0,F.Z)(y)));return Object.assign(w,{resultFunc:s,memoizedResultFunc:x,dependencies:b,dependencyRecomputations:function(){return a},resetDependencyRecomputations:function(){a=0},lastResult:function(){return r},recomputations:function(){return i},resetRecomputations:function(){i=0},memoize:u,argsMemoize:h})};return Object.assign(i,{withTypes:function(){return i}}),i}var rt=nt(tt),ot=Object.assign((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rt;!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected an object, instead received ".concat(typeof e);if("object"!==typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ".concat(typeof e));var n=Object.keys(e),r=t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}));return r}),{withTypes:function(){return ot}});function it(e){return"Minified Redux error #".concat(e,"; visit https://redux.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var at=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}(),lt=function(){return Math.random().toString(36).substring(7).split("").join(".")},st={INIT:"@@redux/INIT".concat(lt()),REPLACE:"@@redux/REPLACE".concat(lt()),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION".concat(lt())}};function ct(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function ut(e,t,n){if("function"!==typeof e)throw new Error(it(2));if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(it(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(it(1));return n(ut)(e,t)}var r=e,o=t,i=new Map,a=i,l=0,s=!1;function c(){a===i&&(a=new Map,i.forEach((function(e,t){a.set(t,e)})))}function d(){if(s)throw new Error(it(3));return o}function f(e){if("function"!==typeof e)throw new Error(it(4));if(s)throw new Error(it(5));var t=!0;c();var n=l++;return a.set(n,e),function(){if(t){if(s)throw new Error(it(6));t=!1,c(),a.delete(n),i=null}}}function p(e){if(!ct(e))throw new Error(it(7));if("undefined"===typeof e.type)throw new Error(it(8));if("string"!==typeof e.type)throw new Error(it(17));if(s)throw new Error(it(9));try{s=!0,o=r(o,e)}finally{s=!1}return(i=a).forEach((function(e){e()})),e}return p({type:st.INIT}),(0,u.Z)({dispatch:p,subscribe:f,getState:d,replaceReducer:function(e){if("function"!==typeof e)throw new Error(it(10));r=e,p({type:st.REPLACE})}},at,(function(){var e=f;return(0,u.Z)({subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(it(11));function n(){var e=t;e.next&&e.next(d())}return n(),{unsubscribe:e(n)}}},at,(function(){return this}))}))}function dt(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:st.INIT}))throw new Error(it(12));if("undefined"===typeof n(void 0,{type:st.PROBE_UNKNOWN_ACTION()}))throw new Error(it(13))}))}(n)}catch(l){i=l}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(i)throw i;for(var r=!1,o={},l=0;l<a.length;l++){var s=a[l],c=n[s],u=e[s],d=c(u,t);if("undefined"===typeof d){t&&t.type;throw new Error(it(14))}o[s]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?o:e}}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r){var o=e(n,r),i=function(){throw new Error(it(15))},a={getState:o.getState,dispatch:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i.apply(void 0,[e].concat(n))}},l=t.map((function(e){return e(a)}));return i=ft.apply(void 0,(0,F.Z)(l))(o.dispatch),te(te({},o),{},{dispatch:i})}}}function ht(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var mt=ht(),vt=ht,gt=["reducerPath"],yt=(function(){var e=nt.apply(void 0,arguments),t=Object.assign((function(){var t=e.apply(void 0,arguments),n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[le(e)?Ue(e):e].concat(r))};return Object.assign(n,t),n}),{withTypes:function(){return t}})}(tt),"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ft:ft.apply(null,arguments)}),bt=("undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,function(e){return e&&"function"===typeof e.match});function xt(e,t){function n(){if(t){var n=t.apply(void 0,arguments);if(!n)throw new Error(nn(0));return te(te({type:e,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=function(){return"".concat(e)},n.type=e,n.match=function(t){return function(e){return ct(e)&&"type"in e&&"string"===typeof e.type}(t)&&t.type===e},n}var wt=function(e,t){$(r,e);var n=K(r);function r(){var e;W(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=n.call.apply(n,[this].concat(o)),Object.setPrototypeOf(V(e),r.prototype),e}return H(r,[{key:"concat",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return G(Y(r.prototype),"concat",this).apply(this,t)}},{key:"prepend",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?B(r,(0,F.Z)(t[0].concat(this))):B(r,(0,F.Z)(t.concat(this)))}}],[{key:t,get:function(){return r}}]),r}(X(Array),Symbol.species);function St(e){return se(e)?Ve(e,(function(){})):e}function kt(e,t,n){if(e.has(t)){var r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(nn(10));var o=n.insert(t,e);return e.set(t,o),o}var jt=function(){return function(e){var t=null!==e&&void 0!==e?e:{},n=t.thunk,r=void 0===n||n,o=(t.immutableCheck,t.serializableCheck,t.actionCreatorCheck,new wt);return r&&("boolean"===typeof r?o.push(mt):o.push(vt(r.extraArgument))),o}},Et="RTK_autoBatch",Ot=function(e){return function(t){setTimeout(t,e)}},Ct="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Ot(10),Pt=function(e){return function(t){var n=(null!==t&&void 0!==t?t:{}).autoBatch,r=void 0===n||n,o=new wt(e);return r&&o.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return function(t){return function(){var n=t.apply(void 0,arguments),r=!0,o=!1,i=!1,a=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?Ct:"callback"===e.type?e.queueNotification:Ot(e.timeout),s=function(){i=!1,o&&(o=!1,a.forEach((function(e){return e()})))};return Object.assign({},n,{subscribe:function(e){var t=n.subscribe((function(){return r&&e()}));return a.add(e),function(){t(),a.delete(e)}},dispatch:function(e){try{var t;return r=!(null!==e&&void 0!==e&&null!==(t=e.meta)&&void 0!==t&&t[Et]),(o=!r)&&(i||(i=!0,l(s))),n.dispatch(e)}finally{r=!0}}})}}}("object"===typeof r?r:void 0)),o}},Zt=!0;function _t(e){var t,n,r=jt(),o=e||{},i=o.reducer,a=void 0===i?void 0:i,l=o.middleware,s=o.devTools,c=void 0===s||s,u=o.preloadedState,d=void 0===u?void 0:u,f=o.enhancers,p=void 0===f?void 0:f;if("function"===typeof a)t=a;else{if(!ct(a))throw new Error(nn(1));t=dt(a)}if(!Zt&&l&&"function"!==typeof l)throw new Error(nn(2));if("function"===typeof l){if(n=l(r),!Zt&&!Array.isArray(n))throw new Error(nn(3))}else n=r();if(!Zt&&n.some((function(e){return"function"!==typeof e})))throw new Error(nn(4));var h=ft;c&&(h=yt(te({trace:!Zt},"object"===typeof c&&c)));var m=pt.apply(void 0,(0,F.Z)(n)),v=Pt(m);if(!Zt&&p&&"function"!==typeof p)throw new Error(nn(5));var g="function"===typeof p?p(v):v();if(!Zt&&!Array.isArray(g))throw new Error(nn(6));if(!Zt&&g.some((function(e){return"function"!==typeof e})))throw new Error(nn(7));return Zt||!n.length||g.includes(m)||console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`"),ut(t,d,h.apply(void 0,(0,F.Z)(g)))}function Tt(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error(nn(28));if(r in n)throw new Error(nn(29));return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}var Mt=function(){for(var e="",t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;t--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e},At=function(e,t){return bt(e)?e.match(t):e(t)};function Rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.some((function(t){return At(t,e)}))}}var Nt=["name","message","stack","code"],It=H((function e(t,n){W(this,e),(0,u.Z)(this,"_type",void 0),this.payload=t,this.meta=n})),Dt=H((function e(t,n){W(this,e),(0,u.Z)(this,"_type",void 0),this.payload=t,this.meta=n})),zt=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=Nt;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}},Lt=function(){function e(e,t,n){var r=xt(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:te(te({},r||{}),{},{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=xt(e+"/pending",(function(e,t,n){return{payload:void 0,meta:te(te({},n||{}),{},{arg:t,requestId:e,requestStatus:"pending"})}})),i=xt(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||zt)(e||"Rejected"),meta:te(te({},i||{}),{},{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null===e||void 0===e?void 0:e.name),condition:"ConditionError"===(null===e||void 0===e?void 0:e.name)})}}));return Object.assign((function(e){return function(a,l,s){var c,u,d=null!==n&&void 0!==n&&n.idGenerator?n.idGenerator(e):Mt(),f=new AbortController;function p(e){u=e,f.abort()}var h=I(R().mark((function h(){var m,v,g,y,b;return R().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:if(h.prev=0,!Ft(y=null===n||void 0===n||null===(v=n.condition)||void 0===v?void 0:v.call(n,e,{getState:l,extra:s}))){h.next=6;break}return h.next=5,y;case 5:y=h.sent;case 6:if(!1!==y&&!f.signal.aborted){h.next=8;break}throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};case 8:return b=new Promise((function(e,t){c=function(){t({name:"AbortError",message:u||"Aborted"})},f.signal.addEventListener("abort",c)})),a(o(d,e,null===n||void 0===n||null===(g=n.getPendingMeta)||void 0===g?void 0:g.call(n,{requestId:d,arg:e},{getState:l,extra:s}))),h.next=12,Promise.race([b,Promise.resolve(t(e,{dispatch:a,getState:l,extra:s,requestId:d,signal:f.signal,abort:p,rejectWithValue:function(e,t){return new It(e,t)},fulfillWithValue:function(e,t){return new Dt(e,t)}})).then((function(t){if(t instanceof It)throw t;return t instanceof Dt?r(t.payload,d,e,t.meta):r(t,d,e)}))]);case 12:m=h.sent,h.next=18;break;case 15:h.prev=15,h.t0=h.catch(0),m=h.t0 instanceof It?i(null,d,e,h.t0.payload,h.t0.meta):i(h.t0,d,e);case 18:return h.prev=18,c&&f.signal.removeEventListener("abort",c),h.finish(18);case 21:return n&&!n.dispatchConditionRejection&&i.match(m)&&m.meta.condition||a(m),h.abrupt("return",m);case 24:case"end":return h.stop()}}),h,null,[[0,15,18,21]])})))();return Object.assign(h,{abort:p,requestId:d,arg:e,unwrap:function(){return h.then(Bt)}})}}),{pending:o,rejected:i,fulfilled:r,settled:Rt(i,r),typePrefix:e})}return e.withTypes=function(){return e},e}();function Bt(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ft(e){return null!==e&&"object"===typeof e&&"function"===typeof e.then}var Wt=Symbol.for("rtk-slice-createasyncthunk");(0,u.Z)({},Wt,Lt);function Ut(e,t){return"".concat(e,"/").concat(t)}function qt(e,t,n,r){function o(o){var i=t(o);"undefined"===typeof i&&r&&(i=n());for(var a=arguments.length,l=new Array(a>1?a-1:0),s=1;s<a;s++)l[s-1]=arguments[s];return e.apply(void 0,[i].concat(l))}return o.unwrapped=e,o}var Ht=function(){var e,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).creators,n=null===t||void 0===t||null===(e=t.asyncThunk)||void 0===e?void 0:e[Wt];return function(e){var t=e.name,r=e.reducerPath,o=void 0===r?t:r;if(!t)throw new Error(nn(11));var i=("function"===typeof e.reducers?e.reducers(function(){function e(e,t){return te({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=function(){return e},{reducer:function(e){return Object.assign((0,u.Z)({},e.name,(function(){return e.apply(void 0,arguments)}))[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer:function(e,t){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}},asyncThunk:e}}()):e.reducers)||{},a=Object.keys(i),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase:function(e,t){var n="string"===typeof e?e:e.type;if(!n)throw new Error(nn(12));if(n in l.sliceCaseReducersByType)throw new Error(nn(13));return l.sliceCaseReducersByType[n]=t,s},addMatcher:function(e,t){return l.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction:function(e,t){return l.actionCreators[e]=t,s},exposeCaseReducer:function(e,t){return l.sliceCaseReducersByName[e]=t,s}};function c(){var t="function"===typeof e.extraReducers?Tt(e.extraReducers):[e.extraReducers],n=(0,D.Z)(t,3),r=n[0],o=void 0===r?{}:r,i=n[1],a=void 0===i?[]:i,s=n[2],c=void 0===s?void 0:s,u=te(te({},o),l.sliceCaseReducersByType);return function(e,t){var n,r=Tt(t),o=(0,D.Z)(r,3),i=o[0],a=o[1],l=o[2];if("function"===typeof e)n=function(){return St(e())};else{var s=St(e);n=function(){return s}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n(),t=arguments.length>1?arguments[1]:void 0,r=[i[t.type]].concat((0,F.Z)(a.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer}))));return 0===r.filter((function(e){return!!e})).length&&(r=[l]),r.reduce((function(e,n){if(n){if(le(e)){var r=n(e,t);return void 0===r?e:r}if(se(e))return Ve(e,(function(e){return n(e,t)}));var o=n(e,t);if(void 0===o){if(null===e)return e;throw new Error(nn(9))}return o}return e}),e)}return c.getInitialState=n,c}(e.initialState,(function(e){for(var t in u)e.addCase(t,u[t]);var n,r=J(l.sliceMatchers);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.addMatcher(o.matcher,o.reducer)}}catch(f){r.e(f)}finally{r.f()}var i,s=J(a);try{for(s.s();!(i=s.n()).done;){var d=i.value;e.addMatcher(d.matcher,d.reducer)}}catch(f){s.e(f)}finally{s.f()}c&&e.addDefaultCase(c)}))}a.forEach((function(r){var o=i[r],a={reducerName:r,type:Ut(t,r),createNotation:"function"===typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function(e,t,n){var r,o,i=e.type,a=e.reducerName,l=e.createNotation;if("reducer"in t){if(l&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(t))throw new Error(nn(17));r=t.reducer,o=t.prepare}else r=t;n.addCase(i,r).exposeCaseReducer(a,r).exposeAction(a,o?xt(i,o):xt(i))}(a,o,s):function(e,t,n,r){var o=e.type,i=e.reducerName;if(!r)throw new Error(nn(18));var a=t.payloadCreator,l=t.fulfilled,s=t.pending,c=t.rejected,u=t.settled,d=t.options,f=r(o,a,d);n.exposeAction(i,f),l&&n.addCase(f.fulfilled,l);s&&n.addCase(f.pending,s);c&&n.addCase(f.rejected,c);u&&n.addMatcher(f.settled,u);n.exposeCaseReducer(i,{fulfilled:l||Vt,pending:s||Vt,rejected:c||Vt,settled:u||Vt})}(a,o,s,n)}));var d,f=function(e){return e},p=new Map;function h(e,t){return d||(d=c()),d(e,t)}function m(){return d||(d=c()),d.getInitialState()}function v(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function r(e){var r=e[t];return"undefined"===typeof r&&n&&(r=m()),r}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=kt(p,n,{insert:function(){return new WeakMap}});return kt(r,t,{insert:function(){for(var r={},o=0,i=Object.entries(null!==(a=e.selectors)&&void 0!==a?a:{});o<i.length;o++){var a,l=(0,D.Z)(i[o],2),s=l[0],c=l[1];r[s]=qt(c,t,m,n)}return r}})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}var g=te(te({name:t,reducer:h,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:m},v(o)),{},{injectInto:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.reducerPath,r=M(t,gt),i=null!==n&&void 0!==n?n:o;return e.inject({reducerPath:i,reducer:h},r),te(te({},g),v(i,!0))}});return g}}();function Vt(){}var Yt="listener",Gt="completed",$t="cancelled",Kt=("task-".concat($t),"task-".concat(Gt),"".concat(Yt,"-").concat($t),"".concat(Yt,"-").concat(Gt),function(e,t){if("function"!==typeof e)throw new Error(nn(32))});Object.assign;var Xt="listenerMiddleware",Qt=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,o=e.predicate,i=e.effect;if(t)o=xt(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(nn(21));return Kt(i),{predicate:o,type:t,effect:i}},Jt=Object.assign((function(e){var t=Qt(e),n=t.type,r=t.predicate,o=t.effect;return{id:Mt(),effect:o,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error(nn(22))}}}),{withTypes:function(){return Jt}}),en=Object.assign(xt("".concat(Xt,"/add")),{withTypes:function(){return en}}),tn=(xt("".concat(Xt,"/removeAll")),Object.assign(xt("".concat(Xt,"/remove")),{withTypes:function(){return tn}}));Symbol.for("rtk-state-proxy-original");function nn(e){return"Minified Redux Toolkit error #".concat(e,"; visit https://redux-toolkit.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var rn=Ht({name:"voucher",initialState:{allvouchers:[],voucher:{}},reducers:{GET_VOUCHER:function(e,t){e.allvouchers=t.payload},ADD_VOUCHER:function(e,t){e.allvouchers.push(t.payload)},UPDATE_VOUCHER:function(e,t){var n=t.payload,r=e.allvouchers.findIndex((function(e){return e.id===n.id}));-1!==r&&e.allvouchers.splice(r,1,n)},DELETE_VOUCHER:function(e,t){e.allvouchers.length>0&&(e.allvouchers=e.allvouchers.filter((function(e){return e.id!==t.payload.id})))}}}),on=rn.actions,an=rn.reducer,ln=Ht({name:"exam",initialState:{allExam:[],SingleExam:{},error:null,allSubmitExam:[]},reducers:{GET_EXAM:function(e,t){e.exam={},e.allExam=t.payload,e.error=null},GET_SUBMIT_EXAM:function(e,t){console.log("inside exam reducer:"),e.allSubmitExam=t.payload,e.error=null},GET_EXAM_ERROR:function(e,t){e.exam={},e.error=t.payload},ADD_EXAM:function(e,t){e.allExam.push(t.payload),e.exam={}},UPDATE_EXAM:function(e,t){var n=e.allExam.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allExam[n]=t.payload)},DELETE_EXAM:function(e,t){e.allExam=e.allExam.filter((function(e){return e.id!==t.payload}))},GET_SINGLE_EXAM:function(e,t){var n=e.allExam.findIndex((function(e){return e.id===t.payload}));-1!==n&&(e.SingleExam=e.allExam[n])}}}),sn=ln.actions,cn=ln.reducer,un=Ht({name:"login",initialState:{token:null},reducers:{LOGIN_SUCCESS:function(e,t){e.token=t.payload}}}),dn=un.actions,fn=un.reducer,pn=Ht({name:"user",initialState:{allUser:[],SingleUser:{},error:null,allBranch:[],loginUser:[]},reducers:{getBranch:function(e,t){e.allBranch=t.payload},getUser:function(e,t){e.SingleUser={},e.allUser=t.payload},getUserError:function(e,t){e.SingleUser={},e.error=t.payload},addUser:function(e,t){e.allUser.push(t.payload),e.SingleUser={}},updateUser:function(e,t){var n=e.allUser.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allUser[n]=t.payload)},deleteUser:function(e,t){e.allUser=e.allUser.filter((function(e){return e.id!==t.payload}))},GetSingleUser:function(e,t){var n=e.allUser.findIndex((function(e){return e.id===t.payload})),r=e.allUser[n];e.SingleUser=r},GetLogginUser:function(e,t){e.loginUser=t.payload}}}),hn=pn.actions,mn=pn.reducer,vn=Ht({name:"employee",initialState:{name:"employee",allEmployee:[],emp:{},error:[]},reducers:{getEmployee:function(e,t){e.allEmployee=t.payload},getEmployeeError:function(e,t){e.error=t.payload},addEmployee:function(e,t){e.allEmployee.push(t.payload)},updateEmployee:function(e,t){var n=e.allEmployee.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allEmployee[n]=t.payload)},deleteEmployee:function(e,t){e.allEmployee=e.allEmployee.filter((function(e){return e.id!==t.payload}))},singleEmployee:function(e,t){var n=e.allEmployee.findIndex((function(e){return e.id===t.payload}));e.emp=e.allEmployee[n]}}}),gn=vn.actions,yn=vn.reducer,bn=Ht({name:"feedback",initialState:{allFeedback:[],allBranch:[]},reducers:{getFeedback:function(e,t){e.allFeedback=t.payload},getBranch:function(e,t){e.allBranch=t.payload},postFeedback:function(e,t){e.allFeedback.push(t.payload)}}}),xn=bn.actions,wn=bn.reducer,Sn=Ht({name:"question",initialState:{allquestions:[],questions:{},error:null,examquestion:[]},reducers:{getQuestion:function(e,t){e.allquestions=t.payload},getStartExamQuestion:function(e,t){e.examquestion=t.payload},getQuestionError:function(e,t){e.error=t.payload},addQuestion:function(e,t){e.allquestions.push(t.payload)},addImage:function(e,t){e.allquestions.push(t.payload)},addCsvFile:function(e,t){var n,r=Array.isArray(t.payload)?t.payload:[];(n=e.allquestions).push.apply(n,(0,F.Z)(r))},updateQuestion:function(e,t){var n=t.payload;e.allquestions=e.allquestions.map((function(e){return e.id===n.id?n:e}))},deleteQuestion:function(e,t){e.allquestions=e.allquestions.filter((function(e){return e.id!==t.payload}))}}}),kn=Sn.actions,jn=Sn.reducer,En=Ht({name:"result",initialState:{allresult:[],result:{},error:null,allBatch:[],allBatchWiseStudent:[]},reducers:{getResult:function(e,t){e.allresult=t.payload},getResultError:function(e,t){e.error=t.payload},addResult:function(e,t){e.allresult.push(t.payload),console.log(e.allresult)},getBatchWiseStudent:function(e,t){e.allBatchWiseStudent=t.payload},getBatch:function(e,t){e.allBatch=t.payload}}}),On=En.actions,Cn=En.reducer,Pn=Ht({name:"feedbackAns",initialState:{allFeedbackAns:[],allEmployee:[],allBatch:[],allBatchWiseStudent:[],allCourses:[],allScheduledFeedback:[],allEmailSendDetails:[]},reducers:{getFeedbackAns:function(e,t){e.allFeedbackAns=t.payload},getEmployee:function(e,t){e.allEmployee=t.payload},getBatch:function(e,t){e.allBatch=t.payload},getCourses:function(e,t){e.allCourses=t.payload},getScheduledFeedback:function(e,t){e.allScheduledFeedback=t.payload},getBatchWiseStudent:function(e,t){e.allBatchWiseStudent=t.payload},deleteBatchWiseStudent:function(e,t){e.allBatchWiseStudent=e.allBatchWiseStudent.filter((function(e){return e.id!==t.payload}))},getFormControlLabelUtilityClasses:function(e,t){e.allCourses=t.payload},addScheduledFeedback:function(e,t){e.allScheduledFeedback.push(t.payload)},addBatchwiseStudent:function(e,t){e.allBatchWiseStudent.push(t.payload)},updateScheduledFeedback:function(e,t){var n=e.allScheduledFeedback.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allScheduledFeedback[n]=t.payload)},addEmailDetails:function(e,t){e.allEmailSendDetails.push(t.payload)}}}),Zn=Pn.actions,_n=Pn.reducer,Tn=Ht({name:"batch",initialState:{allBatches:[],SingleBatch:{},error:null,allCourse:[]},reducers:{GET_BATCH:function(e,t){console.log("inside batch reducer:"),e.allBatches=t.payload,e.error=null},Get_Course:function(e,t){console.log("inside course reducer:"),e.allCourse=t.payload,e.error=null},GET_BATCH_ERROR:function(e,t){e.batch={},e.error=t.payload},ADD_BATCH:function(e,t){e.allBatches.push(t.payload),e.batch={}},UPDATE_BATCH:function(e,t){var n=e.allBatches.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allBatches[n]=t.payload)},DELETE_BATCH:function(e,t){e.allBatches=e.allBatches.filter((function(e){return e.id!==t.payload}))},GET_SINGLE_BATCH:function(e,t){var n=e.allBatches.findIndex((function(e){return e.id===t.payload}));-1!==n&&(e.SingleBatch=e.allBatches[n])}}}),Mn=Tn.actions,An=Tn.reducer,Rn=Ht({name:"enquiry",initialState:{allEnquiry:[],singleEnquiry:{}},reducers:{getEnquiry:function(e,t){e.allEnquiry=t.payload},getEnquiryError:function(e,t){e.error=t.payload},addEnquiry:function(e,t){e.allEnquiry.push(t.payload)},updateEnquiry:function(e,t){var n=e.allEnquiry.findIndex((function(e){return e.id===t.payload.id}));-1!==n&&(e.allEnquiry[n]=t.payload)},deleteEnquiry:function(e,t){e.allEnquiry=e.allEnquiry.filter((function(e){return e.id!==t.payload}))},singleEnquiry:function(e,t){var n=e.allEnquiry.findIndex((function(e){return e.id===t.payload}));e.singleEnquiry=e.allEnquiry[n]}}}),Nn=Rn.actions,In=Rn.reducer,Dn=Ht({name:"enroll",initialState:{allEnrollDetails:[]},reducers:{getEnrollmentDetails:function(e,t){e.allEnrollDetails=t.payload}}}),zn=Dn.actions,Ln=Dn.reducer;var Bn,Fn=n(3878),Wn=n(9199),Un=n(5267);function qn(e){return(0,Fn.Z)(e)||(0,Wn.Z)(e)||(0,Q.Z)(e)||(0,Un.Z)()}function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hn.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Bn||(Bn={}));var Vn,Yn="popstate";function Gn(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function $n(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Kn(e,t){return{usr:e.state,key:e.key,idx:t}}function Xn(e,t,n,r){return void 0===n&&(n=null),Hn({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?Jn(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Qn(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function Jn(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function er(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,l=o.v5Compat,s=void 0!==l&&l,c=a.history,u=Bn.Pop,d=null,f=p();function p(){return(c.state||{idx:null}).idx}function h(){u=Bn.Pop;var e=p(),t=null==e?null:e-f;f=e,d&&d({action:u,location:v.location,delta:t})}function m(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:Qn(e);return Gn(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==f&&(f=0,c.replaceState(Hn({},c.state,{idx:f}),""));var v={get action(){return u},get location(){return e(a,c)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(Yn,h),d=e,function(){a.removeEventListener(Yn,h),d=null}},createHref:function(e){return t(a,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=Bn.Push;var r=Xn(v.location,e,t);n&&n(r,e);var o=Kn(r,f=p()+1),i=v.createHref(r);try{c.pushState(o,"",i)}catch(l){if(l instanceof DOMException&&"DataCloneError"===l.name)throw l;a.location.assign(i)}s&&d&&d({action:u,location:v.location,delta:1})},replace:function(e,t){u=Bn.Replace;var r=Xn(v.location,e,t);n&&n(r,e);var o=Kn(r,f=p()),i=v.createHref(r);c.replaceState(o,"",i),s&&d&&d({action:u,location:v.location,delta:0})},go:function(e){return c.go(e)}};return v}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Vn||(Vn={}));var tr=new Set(["lazy","caseSensitive","path","id","index","children"]);function nr(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((function(e,o){var i=[].concat((0,F.Z)(n),[o]),a="string"===typeof e.id?e.id:i.join("-");if(Gn(!0!==e.index||!e.children,"Cannot specify children on an index route"),Gn(!r[a],'Found a route id collision on id "'+a+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var l=Hn({},e,t(e),{id:a});return r[a]=l,l}var s=Hn({},e,t(e),{id:a,children:void 0});return r[a]=s,e.children&&(s.children=nr(e.children,t,i,r)),s}))}function rr(e,t,n){void 0===n&&(n="/");var r=gr(("string"===typeof t?Jn(t):t).pathname||"/",n);if(null==r)return null;var o=or(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=hr(o[a],vr(r));return i}function or(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(Gn(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var l=wr([r,a.relativePath]),s=n.concat(a);e.children&&e.children.length>0&&(Gn(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),or(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:pr(l,e.index),routesMeta:s})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=J(ir(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(l){i.e(l)}finally{i.f()}}else o(e,t)})),t}function ir(e){var t=e.split("/");if(0===t.length)return[];var n=qn(t),r=n[0],o=n.slice(1),i=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===o.length)return i?[a,""]:[a];var l=ir(o.join("/")),s=[];return s.push.apply(s,(0,F.Z)(l.map((function(e){return""===e?a:[a,e].join("/")})))),i&&s.push.apply(s,(0,F.Z)(l)),s.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var ar=/^:\w+$/,lr=3,sr=2,cr=1,ur=10,dr=-2,fr=function(e){return"*"===e};function pr(e,t){var n=e.split("/"),r=n.length;return n.some(fr)&&(r+=dr),t&&(r+=sr),n.filter((function(e){return!fr(e)})).reduce((function(e,t){return e+(ar.test(t)?lr:""===t?cr:ur)}),r)}function hr(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var l=n[a],s=a===n.length-1,c="/"===o?t:t.slice(o.length)||"/",u=mr({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},c);if(!u)return null;Object.assign(r,u.params);var d=l.route;i.push({params:r,pathname:wr([o,u.pathname]),pathnameBase:Sr(wr([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=wr([o,u.pathnameBase]))}return i}function mr(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);$n("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var l=a[0],s=l.replace(/(.)\/+$/,"$1"),c=a.slice(1),u=i.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";s=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return $n(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{});return{params:u,pathname:l,pathnameBase:s,pattern:e}}function vr(e){try{return decodeURI(e)}catch(t){return $n(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function gr(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function yr(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function br(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function xr(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=Jn(e):(Gn(!(o=Hn({},e)).pathname||!o.pathname.includes("?"),yr("?","pathname","search",o)),Gn(!o.pathname||!o.pathname.includes("#"),yr("#","pathname","hash",o)),Gn(!o.search||!o.search.includes("#"),yr("#","search","hash",o)));var i,a=""===e||""===o.pathname,l=a?"/":o.pathname;if(r||null==l)i=n;else{var s=t.length-1;if(l.startsWith("..")){for(var c=l.split("/");".."===c[0];)c.shift(),s-=1;o.pathname=c.join("/")}i=s>=0?t[s]:"/"}var u=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Jn(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,l=void 0===a?"":a,s=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:s,search:kr(i),hash:jr(l)}}(o,i),d=l&&"/"!==l&&l.endsWith("/"),f=(a||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}var wr=function(e){return e.join("/").replace(/\/\/+/g,"/")},Sr=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},kr=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},jr=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Er=function(e){$(n,e);var t=K(n);function n(){return W(this,n),t.apply(this,arguments)}return H(n)}(X(Error));var Or=H((function e(t,n,r,o){W(this,e),void 0===o&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}));function Cr(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Pr=["post","put","patch","delete"],Zr=new Set(Pr),_r=["get"].concat(Pr),Tr=new Set(_r),Mr=new Set([301,302,303,307,308]),Ar=new Set([307,308]),Rr={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Nr={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ir={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Dr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zr=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}};function Lr(e){var t,n=e.window?e.window:"undefined"!==typeof window?window:void 0,r="undefined"!==typeof n&&"undefined"!==typeof n.document&&"undefined"!==typeof n.document.createElement,o=!r;if(Gn(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var i=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:i(e)}}}else t=zr;var a,l={},s=nr(e.routes,t,void 0,l),c=e.basename||"/",d=Hn({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),f=null,p=new Set,h=null,m=null,v=null,g=null!=e.hydrationData,y=rr(s,e.history.location,c),b=null;if(null==y){var x=oo(404,{pathname:e.history.location.pathname}),w=ro(s),S=w.matches,k=w.route;y=S,b=(0,u.Z)({},k.id,x)}var j,E,O=!y.some((function(e){return e.route.lazy}))&&(!y.some((function(e){return e.route.loader}))||null!=e.hydrationData),C={historyAction:e.history.action,location:e.history.location,matches:y,initialized:O,navigation:Rr,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},P=Bn.Pop,Z=!1,_=!1,T=!1,M=[],A=[],N=new Map,z=0,L=-1,B=new Map,W=new Set,U=new Map,q=new Map,H=new Map,V=!1;function Y(e){C=Hn({},C,e),p.forEach((function(e){return e(C)}))}function G(t,n){var r,o,i,l=null!=C.actionData&&null!=C.navigation.formMethod&&mo(C.navigation.formMethod)&&"loading"===C.navigation.state&&!0!==(null==(r=t.state)?void 0:r._isRedirect);i=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:l?C.actionData:null;var c=n.loaderData?to(C.loaderData,n.loaderData,n.matches||[],n.errors):C.loaderData,u=C.blockers;u.size>0&&(u=new Map(u)).forEach((function(e,t){return u.set(t,Ir)}));var d=!0===Z||null!=C.navigation.formMethod&&mo(C.navigation.formMethod)&&!0!==(null==(o=t.state)?void 0:o._isRedirect);a&&(s=a,a=void 0),_||P===Bn.Pop||(P===Bn.Push?e.history.push(t,t.state):P===Bn.Replace&&e.history.replace(t,t.state)),Y(Hn({},n,{actionData:i,loaderData:c,historyAction:P,location:t,initialized:!0,navigation:Rr,revalidation:"idle",restoreScrollPosition:je(t,n.matches||C.matches),preventScrollReset:d,blockers:u})),P=Bn.Pop,Z=!1,_=!1,T=!1,M=[],A=[]}function $(e,t){return K.apply(this,arguments)}function K(){return K=I(R().mark((function t(n,r){var o,i,a,l,s,u,f,p,h,m,v;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("number"!==typeof n){t.next=3;break}return e.history.go(n),t.abrupt("return");case 3:if(o=Br(C.location,C.matches,c,d.v7_prependBasename,n,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),i=Fr(d.v7_normalizeFormMethod,!1,o,r),a=i.path,l=i.submission,s=i.error,u=C.location,f=Hn({},f=Xn(C.location,a,r&&r.state),e.history.encodeLocation(f)),p=r&&null!=r.replace?r.replace:void 0,h=Bn.Push,!0===p?h=Bn.Replace:!1===p||null!=l&&mo(l.formMethod)&&l.formAction===C.location.pathname+C.location.search&&(h=Bn.Replace),m=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,!(v=xe({currentLocation:u,nextLocation:f,historyAction:h}))){t.next=16;break}return be(v,{state:"blocked",location:f,proceed:function(){be(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),$(n,r)},reset:function(){var e=new Map(C.blockers);e.set(v,Ir),Y({blockers:e})}}),t.abrupt("return");case 16:return t.next=18,X(h,f,{submission:l,pendingError:s,preventScrollReset:m,replace:r&&r.replace});case 18:return t.abrupt("return",t.sent);case 19:case"end":return t.stop()}}),t)}))),K.apply(this,arguments)}function X(e,t,n){return Q.apply(this,arguments)}function Q(){return Q=I(R().mark((function t(n,r,o){var i,l,d,f,p,h,m,v,g,y,b,x,w,S,k;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(E&&E.abort(),E=null,P=n,_=!0===(o&&o.startUninterruptedRevalidation),ke(C.location,C.matches),Z=!0===(o&&o.preventScrollReset),i=a||s,l=o&&o.overrideNavigation,d=rr(i,r,c)){t.next=15;break}return f=oo(404,{pathname:r.pathname}),p=ro(i),h=p.matches,m=p.route,we(),G(r,{matches:h,loaderData:{},errors:(0,u.Z)({},m.id,f)}),t.abrupt("return");case 15:if(!C.initialized||T||!lo(C.location,r)||o&&o.submission&&mo(o.submission.formMethod)){t.next=18;break}return G(r,{matches:d}),t.abrupt("return");case 18:if(E=new AbortController,v=Kr(e.history,r,E.signal,o&&o.submission),!o||!o.pendingError){t.next=24;break}y=(0,u.Z)({},no(d).route.id,o.pendingError),t.next=34;break;case 24:if(!(o&&o.submission&&mo(o.submission.formMethod))){t.next=34;break}return t.next=27,ee(v,r,o.submission,d,{replace:o.replace});case 27:if(!(b=t.sent).shortCircuited){t.next=30;break}return t.abrupt("return");case 30:g=b.pendingActionData,y=b.pendingActionError,l=ko(r,o.submission),v=new Request(v.url,{signal:v.signal});case 34:return t.next=36,ne(v,r,d,l,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,g,y);case 36:if(x=t.sent,w=x.shortCircuited,S=x.loaderData,k=x.errors,!w){t.next=42;break}return t.abrupt("return");case 42:E=null,G(r,Hn({matches:d},g?{actionData:g}:{},{loaderData:S,errors:k}));case 44:case"end":return t.stop()}}),t)}))),Q.apply(this,arguments)}function ee(e,t,n,r,o){return te.apply(this,arguments)}function te(){return te=I(R().mark((function e(n,r,o,i,a){var s,d,f,p;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===a&&(a={}),de(),Y({navigation:jo(r,o)}),(d=wo(i,r)).route.action||d.route.lazy){e.next=9;break}s={type:Vn.error,error:oo(405,{method:n.method,pathname:r.pathname,routeId:d.route.id})},e.next=14;break;case 9:return e.next=11,Gr("action",n,d,i,l,t,c);case 11:if(s=e.sent,!n.signal.aborted){e.next=14;break}return e.abrupt("return",{shortCircuited:!0});case 14:if(!uo(s)){e.next=19;break}return f=a&&null!=a.replace?a.replace:s.location===C.location.pathname+C.location.search,e.next=18,le(C,s,{submission:o,replace:f});case 18:return e.abrupt("return",{shortCircuited:!0});case 19:if(!co(s)){e.next=23;break}return p=no(i,d.route.id),!0!==(a&&a.replace)&&(P=Bn.Push),e.abrupt("return",{pendingActionData:{},pendingActionError:(0,u.Z)({},p.route.id,s.error)});case 23:if(!so(s)){e.next=25;break}throw oo(400,{type:"defer-action"});case 25:return e.abrupt("return",{pendingActionData:(0,u.Z)({},d.route.id,s.data)});case 26:case"end":return e.stop()}}),e)}))),te.apply(this,arguments)}function ne(e,t,n,r,o,i,a,l,s){return re.apply(this,arguments)}function re(){return re=I(R().mark((function t(n,r,o,i,l,u,d,f,p){var h,m,v,g,y,b,x,w,S,k,j,O,P,Z,I,B,F,H,V,$,K,X;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(h=i||ko(r,l),m=l||u||So(h),v=a||s,g=Ur(e.history,C,o,m,r,T,M,A,U,W,v,c,f,p),y=(0,D.Z)(g,2),b=y[0],x=y[1],we((function(e){return!(o&&o.some((function(t){return t.route.id===e})))||b&&b.some((function(t){return t.route.id===e}))})),L=++z,0!==b.length||0!==x.length){t.next=10;break}return w=ve(),G(r,Hn({matches:o,loaderData:{},errors:p||null},f?{actionData:f}:{},w?{fetchers:new Map(C.fetchers)}:{})),t.abrupt("return",{shortCircuited:!0});case 10:return _||(x.forEach((function(e){var t=C.fetchers.get(e.key),n=Eo(void 0,t?t.data:void 0);C.fetchers.set(e.key,n)})),S=f||C.actionData,Y(Hn({navigation:h},S?0===Object.keys(S).length?{actionData:null}:{actionData:S}:{},x.length>0?{fetchers:new Map(C.fetchers)}:{}))),x.forEach((function(e){N.has(e.key)&&he(e.key),e.controller&&N.set(e.key,e.controller)})),k=function(){return x.forEach((function(e){return he(e.key)}))},E&&E.signal.addEventListener("abort",k),t.next=16,ce(C.matches,o,b,x,n);case 16:if(j=t.sent,O=j.results,P=j.loaderResults,Z=j.fetcherResults,!n.signal.aborted){t.next=22;break}return t.abrupt("return",{shortCircuited:!0});case 22:if(E&&E.signal.removeEventListener("abort",k),x.forEach((function(e){return N.delete(e.key)})),!(I=io(O))){t.next=30;break}return I.idx>=b.length&&(B=x[I.idx-b.length].key,W.add(B)),t.next=29,le(C,I.result,{replace:d});case 29:return t.abrupt("return",{shortCircuited:!0});case 30:return F=eo(C,o,b,P,p,x,Z,q),H=F.loaderData,V=F.errors,q.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&q.delete(t)}))})),$=ve(),K=ge(L),X=$||K||x.length>0,t.abrupt("return",Hn({loaderData:H,errors:V},X?{fetchers:new Map(C.fetchers)}:{}));case 36:case"end":return t.stop()}}),t)}))),re.apply(this,arguments)}function oe(e){return C.fetchers.get(e)||Nr}function ie(){return ie=I(R().mark((function n(r,o,i,d,f,p){var h,m,v,g,y,b,x,w,S,k,j,O,Z,_,I,F,H,V,$,K,X,Q,J,ee,te,ne,re,oe,ie,ae,se;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(de(),U.delete(r),d.route.action||d.route.lazy){n.next=6;break}return h=oo(405,{method:p.formMethod,pathname:i,routeId:o}),fe(r,o,h),n.abrupt("return");case 6:return m=C.fetchers.get(r),v=Oo(p,m),C.fetchers.set(r,v),Y({fetchers:new Map(C.fetchers)}),g=new AbortController,y=Kr(e.history,i,g.signal,p),N.set(r,g),b=z,n.next=16,Gr("action",y,d,f,l,t,c);case 16:if(x=n.sent,!y.signal.aborted){n.next=20;break}return N.get(r)===g&&N.delete(r),n.abrupt("return");case 20:if(!uo(x)){n.next=34;break}if(N.delete(r),!(L>b)){n.next=29;break}return w=Co(void 0),C.fetchers.set(r,w),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return");case 29:return W.add(r),S=Eo(p),C.fetchers.set(r,S),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return",le(C,x,{submission:p,isFetchActionRedirect:!0}));case 34:if(!co(x)){n.next=37;break}return fe(r,o,x.error),n.abrupt("return");case 37:if(!so(x)){n.next=39;break}throw oo(400,{type:"defer-action"});case 39:return k=C.navigation.location||C.location,j=Kr(e.history,k,g.signal),O=a||s,Gn(Z="idle"!==C.navigation.state?rr(O,C.navigation.location,c):C.matches,"Didn't find any matches after fetcher action"),_=++z,B.set(r,_),I=Eo(p,x.data),C.fetchers.set(r,I),F=Ur(e.history,C,Z,p,k,T,M,A,U,W,O,c,(0,u.Z)({},d.route.id,x.data),void 0),H=(0,D.Z)(F,2),V=H[0],($=H[1]).filter((function(e){return e.key!==r})).forEach((function(e){var t=e.key,n=C.fetchers.get(t),r=Eo(void 0,n?n.data:void 0);C.fetchers.set(t,r),N.has(t)&&he(t),e.controller&&N.set(t,e.controller)})),Y({fetchers:new Map(C.fetchers)}),K=function(){return $.forEach((function(e){return he(e.key)}))},g.signal.addEventListener("abort",K),n.next=55,ce(C.matches,Z,V,$,j);case 55:if(X=n.sent,Q=X.results,J=X.loaderResults,ee=X.fetcherResults,!g.signal.aborted){n.next=61;break}return n.abrupt("return");case 61:if(g.signal.removeEventListener("abort",K),B.delete(r),N.delete(r),$.forEach((function(e){return N.delete(e.key)})),!(te=io(Q))){n.next=69;break}return te.idx>=V.length&&(ne=$[te.idx-V.length].key,W.add(ne)),n.abrupt("return",le(C,te.result));case 69:re=eo(C,C.matches,V,J,void 0,$,ee,q),oe=re.loaderData,ie=re.errors,C.fetchers.has(r)&&(ae=Co(x.data),C.fetchers.set(r,ae)),se=ge(_),"loading"===C.navigation.state&&_>L?(Gn(P,"Expected pending action"),E&&E.abort(),G(C.navigation.location,{matches:Z,loaderData:oe,errors:ie,fetchers:new Map(C.fetchers)})):(Y(Hn({errors:ie,loaderData:to(C.loaderData,oe,Z,ie)},se||$.length>0?{fetchers:new Map(C.fetchers)}:{})),T=!1);case 73:case"end":return n.stop()}}),n)}))),ie.apply(this,arguments)}function ae(){return ae=I(R().mark((function n(r,o,i,a,s,d){var f,p,h,m,v,g,y,b,x;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return f=C.fetchers.get(r),p=Eo(d,f?f.data:void 0),C.fetchers.set(r,p),Y({fetchers:new Map(C.fetchers)}),h=new AbortController,m=Kr(e.history,i,h.signal),N.set(r,h),v=z,n.next=10,Gr("loader",m,a,s,l,t,c);case 10:if(!so(g=n.sent)){n.next=18;break}return n.next=14,yo(g,m.signal,!0);case 14:if(n.t0=n.sent,n.t0){n.next=17;break}n.t0=g;case 17:g=n.t0;case 18:if(N.get(r)===h&&N.delete(r),!m.signal.aborted){n.next=21;break}return n.abrupt("return");case 21:if(!uo(g)){n.next=33;break}if(!(L>v)){n.next=29;break}return y=Co(void 0),C.fetchers.set(r,y),Y({fetchers:new Map(C.fetchers)}),n.abrupt("return");case 29:return W.add(r),n.next=32,le(C,g);case 32:return n.abrupt("return");case 33:if(!co(g)){n.next=38;break}return b=no(C.matches,o),C.fetchers.delete(r),Y({fetchers:new Map(C.fetchers),errors:(0,u.Z)({},b.route.id,g.error)}),n.abrupt("return");case 38:Gn(!so(g),"Unhandled fetcher deferred data"),x=Co(g.data),C.fetchers.set(r,x),Y({fetchers:new Map(C.fetchers)});case 42:case"end":return n.stop()}}),n)}))),ae.apply(this,arguments)}function le(e,t,n){return se.apply(this,arguments)}function se(){return se=I(R().mark((function t(o,i,a){var l,s,u,d,f,p,h,m,v,g;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=(l=void 0===a?{}:a).submission,u=l.replace,d=l.isFetchActionRedirect,i.revalidate&&(T=!0),Gn(f=Xn(o.location,i.location,Hn({_isRedirect:!0},d?{_isFetchActionRedirect:!0}:{})),"Expected a location on the redirect navigation"),!r){t.next=10;break}if(p=!1,i.reloadDocument?p=!0:Dr.test(i.location)&&(h=e.history.createURL(i.location),p=h.origin!==n.location.origin||null==gr(h.pathname,c)),!p){t.next=10;break}return u?n.location.replace(i.location):n.location.assign(i.location),t.abrupt("return");case 10:if(E=null,m=!0===u?Bn.Replace:Bn.Push,v=s||So(o.navigation),!(Ar.has(i.status)&&v&&mo(v.formMethod))){t.next=18;break}return t.next=16,X(m,f,{submission:Hn({},v,{formAction:i.location}),preventScrollReset:Z});case 16:case 21:t.next=26;break;case 18:if(!d){t.next=23;break}return t.next=21,X(m,f,{overrideNavigation:ko(f),fetcherSubmission:v,preventScrollReset:Z});case 23:return g=ko(f,v),t.next=26,X(m,f,{overrideNavigation:g,preventScrollReset:Z});case 26:case"end":return t.stop()}}),t)}))),se.apply(this,arguments)}function ce(e,t,n,r,o){return ue.apply(this,arguments)}function ue(){return ue=I(R().mark((function n(r,o,i,a,s){var u,d,f;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([].concat((0,F.Z)(i.map((function(e){return Gr("loader",s,e,o,l,t,c)}))),(0,F.Z)(a.map((function(n){return n.matches&&n.match&&n.controller?Gr("loader",Kr(e.history,n.path,n.controller.signal),n.match,n.matches,l,t,c):{type:Vn.error,error:oo(404,{pathname:n.path})}})))));case 2:return u=n.sent,d=u.slice(0,i.length),f=u.slice(i.length),n.next=7,Promise.all([vo(r,i,d,d.map((function(){return s.signal})),!1,C.loaderData),vo(r,a.map((function(e){return e.match})),f,a.map((function(e){return e.controller?e.controller.signal:null})),!0)]);case 7:return n.abrupt("return",{results:u,loaderResults:d,fetcherResults:f});case 8:case"end":return n.stop()}}),n)}))),ue.apply(this,arguments)}function de(){var e;T=!0,(e=M).push.apply(e,(0,F.Z)(we())),U.forEach((function(e,t){N.has(t)&&(A.push(t),he(t))}))}function fe(e,t,n){var r=no(C.matches,t);pe(e),Y({errors:(0,u.Z)({},r.route.id,n),fetchers:new Map(C.fetchers)})}function pe(e){var t=C.fetchers.get(e);!N.has(e)||t&&"loading"===t.state&&B.has(e)||he(e),U.delete(e),B.delete(e),W.delete(e),C.fetchers.delete(e)}function he(e){var t=N.get(e);Gn(t,"Expected fetch controller: "+e),t.abort(),N.delete(e)}function me(e){var t,n=J(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=Co(oe(r).data);C.fetchers.set(r,o)}}catch(i){n.e(i)}finally{n.f()}}function ve(){var e,t=[],n=!1,r=J(W);try{for(r.s();!(e=r.n()).done;){var o=e.value,i=C.fetchers.get(o);Gn(i,"Expected fetcher: "+o),"loading"===i.state&&(W.delete(o),t.push(o),n=!0)}}catch(a){r.e(a)}finally{r.f()}return me(t),n}function ge(e){var t,n=[],r=J(B);try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0];if(o[1]<e){var a=C.fetchers.get(i);Gn(a,"Expected fetcher: "+i),"loading"===a.state&&(he(i),B.delete(i),n.push(i))}}}catch(l){r.e(l)}finally{r.f()}return me(n),n.length>0}function ye(e){C.blockers.delete(e),H.delete(e)}function be(e,t){var n=C.blockers.get(e)||Ir;Gn("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);var r=new Map(C.blockers);r.set(e,t),Y({blockers:r})}function xe(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==H.size){H.size>1&&$n(!1,"A router only supports one blocker at a time");var o=Array.from(H.entries()),i=(0,D.Z)(o[o.length-1],2),a=i[0],l=i[1],s=C.blockers.get(a);if(!s||"proceeding"!==s.state)return l({currentLocation:t,nextLocation:n,historyAction:r})?a:void 0}}function we(e){var t=[];return q.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),q.delete(r))})),t}function Se(e,t){if(m){var n=m(e,t.map((function(e){return function(e,t){var n=e.route,r=e.pathname,o=e.params;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}(e,C.loaderData)})));return n||e.key}return e.key}function ke(e,t){if(h&&v){var n=Se(e,t);h[n]=v()}}function je(e,t){if(h){var n=Se(e,t),r=h[n];if("number"===typeof r)return r}return null}return j={get basename(){return c},get state(){return C},get routes(){return s},initialize:function(){return f=e.history.listen((function(t){var n=t.action,r=t.location,o=t.delta;if(!V){$n(0===H.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");var i=xe({currentLocation:C.location,nextLocation:r,historyAction:n});return i&&null!=o?(V=!0,e.history.go(-1*o),void be(i,{state:"blocked",location:r,proceed:function(){be(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(o)},reset:function(){var e=new Map(C.blockers);e.set(i,Ir),Y({blockers:e})}})):X(n,r)}V=!1})),C.initialized||X(Bn.Pop,C.location),j},subscribe:function(e){return p.add(e),function(){return p.delete(e)}},enableScrollRestoration:function(e,t,n){if(h=e,v=t,m=n||null,!g&&C.navigation===Rr){g=!0;var r=je(C.location,C.matches);null!=r&&Y({restoreScrollPosition:r})}return function(){h=null,v=null,m=null}},navigate:$,fetch:function(e,t,n,r){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");N.has(e)&&he(e);var i=a||s,l=Br(C.location,C.matches,c,d.v7_prependBasename,n,t,null==r?void 0:r.relative),u=rr(i,l,c);if(u){var f=Fr(d.v7_normalizeFormMethod,!0,l,r),p=f.path,h=f.submission,m=f.error;if(m)fe(e,t,m);else{var v=wo(u,p);Z=!0===(r&&r.preventScrollReset),h&&mo(h.formMethod)?function(e,t,n,r,o,i){ie.apply(this,arguments)}(e,t,p,v,u,h):(U.set(e,{routeId:t,path:p}),function(e,t,n,r,o,i){ae.apply(this,arguments)}(e,t,p,v,u,h))}}else fe(e,t,oo(404,{pathname:l}))},revalidate:function(){de(),Y({revalidation:"loading"}),"submitting"!==C.navigation.state&&("idle"!==C.navigation.state?X(P||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation}):X(C.historyAction,C.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:oe,deleteFetcher:pe,dispose:function(){f&&f(),p.clear(),E&&E.abort(),C.fetchers.forEach((function(e,t){return pe(t)})),C.blockers.forEach((function(e,t){return ye(t)}))},getBlocker:function(e,t){var n=C.blockers.get(e)||Ir;return H.get(e)!==t&&H.set(e,t),n},deleteBlocker:ye,_internalFetchControllers:N,_internalActiveDeferreds:q,_internalSetRoutes:function(e){a=nr(e,t,void 0,l={})}},j}Symbol("deferred");function Br(e,t,n,r,o,i,a){var l,s;if(null!=i&&"path"!==a){l=[];var c,u=J(t);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l.push(d),d.route.id===i){s=d;break}}}catch(p){u.e(p)}finally{u.f()}}else l=t,s=t[t.length-1];var f=xr(o||".",br(l).map((function(e){return e.pathnameBase})),gr(e.pathname,n)||e.pathname,"path"===a);return null==o&&(f.search=e.search,f.hash=e.hash),null!=o&&""!==o&&"."!==o||!s||!s.route.index||xo(f.search)||(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(f.pathname="/"===f.pathname?n:wr([n,f.pathname])),Qn(f)}function Fr(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!ho(r.formMethod))return{path:n,error:oo(405,{method:r.formMethod})};var o,i,a=function(){return{path:n,error:oo(400,{type:"invalid-body"})}},l=r.formMethod||"get",s=e?l.toUpperCase():l.toLowerCase(),c=ao(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!mo(s))return a();var u="string"===typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((function(e,t){var n=(0,D.Z)(t,2);return""+e+n[0]+"="+n[1]+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:void 0,text:u}}}if("application/json"===r.formEncType){if(!mo(s))return a();try{var d="string"===typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:c,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch(h){return a()}}}if(Gn("function"===typeof FormData,"FormData is not available in this environment"),r.formData)o=Xr(r.formData),i=r.formData;else if(r.body instanceof FormData)o=Xr(r.body),i=r.body;else if(r.body instanceof URLSearchParams)i=Qr(o=r.body);else if(null==r.body)o=new URLSearchParams,i=new FormData;else try{i=Qr(o=new URLSearchParams(r.body))}catch(h){return a()}var f={formMethod:s,formAction:c,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(mo(f.formMethod))return{path:n,submission:f};var p=Jn(n);return t&&p.search&&xo(p.search)&&o.append("index",""),p.search="?"+o,{path:Qn(p),submission:f}}function Wr(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function Ur(e,t,n,r,o,i,a,l,s,c,u,d,f,p){var h=p?Object.values(p)[0]:f?Object.values(f)[0]:void 0,m=e.createURL(t.location),v=e.createURL(o),g=p?Object.keys(p)[0]:void 0,y=Wr(n,g).filter((function(e,n){if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||a.some((function(t){return t===e.route.id})))return!0;var o=t.matches[n],l=e;return Hr(e,Hn({currentUrl:m,currentParams:o.params,nextUrl:v,nextParams:l.params},r,{actionResult:h,defaultShouldRevalidate:i||m.pathname+m.search===v.pathname+v.search||m.search!==v.search||qr(o,l)}))})),b=[];return s.forEach((function(e,o){if(n.some((function(t){return t.route.id===e.routeId}))){var a=rr(u,e.path,d);if(a){var s=t.fetchers.get(o),f=wo(a,e.path);!c.has(o)&&(!!l.includes(o)||(s&&"idle"!==s.state&&void 0===s.data?i:Hr(f,Hn({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:i}))))&&b.push({key:o,routeId:e.routeId,path:e.path,matches:a,match:f,controller:new AbortController})}else b.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}})),[y,b]}function qr(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Hr(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"===typeof n)return n}return t.defaultShouldRevalidate}function Vr(e,t,n){return Yr.apply(this,arguments)}function Yr(){return Yr=I(R().mark((function e(t,n,r){var o,i,a,l,s,c;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.lazy){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.lazy();case 4:if(o=e.sent,t.lazy){e.next=7;break}return e.abrupt("return");case 7:for(l in Gn(i=r[t.id],"No route found in manifest"),a={},o)s=i[l],$n(!(c=void 0!==s&&"hasErrorBoundary"!==l),'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+l+'" will be ignored.'),c||tr.has(l)||(a[l]=o[l]);Object.assign(i,a),Object.assign(i,Hn({},n(i),{lazy:void 0}));case 13:case"end":return e.stop()}}),e)}))),Yr.apply(this,arguments)}function Gr(e,t,n,r,o,i,a,l){return $r.apply(this,arguments)}function $r(){return $r=I(R().mark((function e(t,n,r,o,i,a,l,s){var c,u,d,f,p,h,m,v,g,y,b,x,w,S,k,j,E,O;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s&&(s={}),f=function(e){var t,o=new Promise((function(e,n){return t=n}));return d=function(){return t()},n.signal.addEventListener("abort",d),Promise.race([e({request:n,params:r.params,context:s.requestContext}),o])},e.prev=2,p=r.route[t],!r.route.lazy){e.next=30;break}if(!p){e.next=12;break}return e.next=8,Promise.all([f(p),Vr(r.route,a,i)]);case 8:h=e.sent,u=h[0],e.next=28;break;case 12:return e.next=14,Vr(r.route,a,i);case 14:if(!(p=r.route[t])){e.next=21;break}return e.next=18,f(p);case 18:u=e.sent,e.next=28;break;case 21:if("action"!==t){e.next=27;break}throw m=new URL(n.url),v=m.pathname+m.search,oo(405,{method:n.method,pathname:v,routeId:r.route.id});case 27:return e.abrupt("return",{type:Vn.data,data:void 0});case 28:e.next=39;break;case 30:if(p){e.next=36;break}throw g=new URL(n.url),oo(404,{pathname:g.pathname+g.search});case 36:return e.next=38,f(p);case 38:u=e.sent;case 39:Gn(void 0!==u,"You defined "+("action"===t?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`."),e.next=46;break;case 42:e.prev=42,e.t0=e.catch(2),c=Vn.error,u=e.t0;case 46:return e.prev=46,d&&n.signal.removeEventListener("abort",d),e.finish(46);case 49:if(!po(u)){e.next=75;break}if(y=u.status,!Mr.has(y)){e.next=59;break}if(Gn(b=u.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),Dr.test(b)?s.isStaticRequest||(x=new URL(n.url),w=b.startsWith("//")?new URL(x.protocol+b):new URL(b),S=null!=gr(w.pathname,l),w.origin===x.origin&&S&&(b=w.pathname+w.search+w.hash)):b=Br(new URL(n.url),o.slice(0,o.indexOf(r)+1),l,!0,b),!s.isStaticRequest){e.next=58;break}throw u.headers.set("Location",b),u;case 58:return e.abrupt("return",{type:Vn.redirect,status:y,location:b,revalidate:null!==u.headers.get("X-Remix-Revalidate"),reloadDocument:null!==u.headers.get("X-Remix-Reload-Document")});case 59:if(!s.isRouteRequest){e.next=62;break}throw{type:c===Vn.error?Vn.error:Vn.data,response:u};case 62:if(!(j=u.headers.get("Content-Type"))||!/\bapplication\/json\b/.test(j)){e.next=69;break}return e.next=66,u.json();case 66:k=e.sent,e.next=72;break;case 69:return e.next=71,u.text();case 71:k=e.sent;case 72:if(c!==Vn.error){e.next=74;break}return e.abrupt("return",{type:c,error:new Or(y,u.statusText,k),headers:u.headers});case 74:return e.abrupt("return",{type:Vn.data,data:k,statusCode:u.status,headers:u.headers});case 75:if(c!==Vn.error){e.next=77;break}return e.abrupt("return",{type:c,error:u});case 77:if(!fo(u)){e.next=79;break}return e.abrupt("return",{type:Vn.deferred,deferredData:u,statusCode:null==(E=u.init)?void 0:E.status,headers:(null==(O=u.init)?void 0:O.headers)&&new Headers(u.init.headers)});case 79:return e.abrupt("return",{type:Vn.data,data:u});case 80:case"end":return e.stop()}}),e,null,[[2,42,46,49]])}))),$r.apply(this,arguments)}function Kr(e,t,n,r){var o=e.createURL(ao(t)).toString(),i={signal:n};if(r&&mo(r.formMethod)){var a=r.formMethod,l=r.formEncType;i.method=a.toUpperCase(),"application/json"===l?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(r.json)):"text/plain"===l?i.body=r.text:"application/x-www-form-urlencoded"===l&&r.formData?i.body=Xr(r.formData):i.body=r.formData}return new Request(o,i)}function Xr(e){var t,n=new URLSearchParams,r=J(e.entries());try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0],a=o[1];n.append(i,"string"===typeof a?a:a.name)}}catch(l){r.e(l)}finally{r.f()}return n}function Qr(e){var t,n=new FormData,r=J(e.entries());try{for(r.s();!(t=r.n()).done;){var o=(0,D.Z)(t.value,2),i=o[0],a=o[1];n.append(i,a)}}catch(l){r.e(l)}finally{r.f()}return n}function Jr(e,t,n,r,o){var i,a={},l=null,s=!1,c={};return n.forEach((function(n,u){var d=t[u].route.id;if(Gn(!uo(n),"Cannot handle redirect results in processLoaderData"),co(n)){var f=no(e,d),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(l=l||{})[f.route.id]&&(l[f.route.id]=p),a[d]=void 0,s||(s=!0,i=Cr(n.error)?n.error.status:500),n.headers&&(c[d]=n.headers)}else so(n)?(o.set(d,n.deferredData),a[d]=n.deferredData.data):a[d]=n.data,null==n.statusCode||200===n.statusCode||s||(i=n.statusCode),n.headers&&(c[d]=n.headers)})),r&&(l=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:l,statusCode:i||200,loaderHeaders:c}}function eo(e,t,n,r,o,i,a,l){for(var s=Jr(t,n,r,o,l),c=s.loaderData,d=s.errors,f=0;f<i.length;f++){var p=i[f],h=p.key,m=p.match,v=p.controller;Gn(void 0!==a&&void 0!==a[f],"Did not find corresponding fetcher result");var g=a[f];if(!v||!v.signal.aborted)if(co(g)){var y=no(e.matches,null==m?void 0:m.route.id);d&&d[y.route.id]||(d=Hn({},d,(0,u.Z)({},y.route.id,g.error))),e.fetchers.delete(h)}else if(uo(g))Gn(!1,"Unhandled fetcher revalidation redirect");else if(so(g))Gn(!1,"Unhandled fetcher deferred data");else{var b=Co(g.data);e.fetchers.set(h,b)}}return{loaderData:c,errors:d}}function to(e,t,n,r){var o,i=Hn({},t),a=J(n);try{for(a.s();!(o=a.n()).done;){var l=o.value,s=l.route.id;if(t.hasOwnProperty(s)?void 0!==t[s]&&(i[s]=t[s]):void 0!==e[s]&&l.route.loader&&(i[s]=e[s]),r&&r.hasOwnProperty(s))break}}catch(c){a.e(c)}finally{a.f()}return i}function no(e,t){return(t?e.slice(0,e.findIndex((function(e){return e.route.id===t}))+1):(0,F.Z)(e)).reverse().find((function(e){return!0===e.route.hasErrorBoundary}))||e[0]}function ro(e){var t=e.find((function(e){return e.index||!e.path||"/"===e.path}))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function oo(e,t){var n=void 0===t?{}:t,r=n.pathname,o=n.routeId,i=n.method,a=n.type,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",i&&r&&o?s="You made a "+i+' request to "'+r+'" but did not provide a `loader` for route "'+o+'", so there is no way to handle the request.':"defer-action"===a?s="defer() is not supported in actions":"invalid-body"===a&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+o+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",i&&r&&o?s="You made a "+i.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+o+'", so there is no way to handle the request.':i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new Or(e||500,l,new Error(s),!0)}function io(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if(uo(n))return{result:n,idx:t}}}function ao(e){return Qn(Hn({},"string"===typeof e?Jn(e):e,{hash:""}))}function lo(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}function so(e){return e.type===Vn.deferred}function co(e){return e.type===Vn.error}function uo(e){return(e&&e.type)===Vn.redirect}function fo(e){var t=e;return t&&"object"===typeof t&&"object"===typeof t.data&&"function"===typeof t.subscribe&&"function"===typeof t.cancel&&"function"===typeof t.resolveData}function po(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function ho(e){return Tr.has(e.toLowerCase())}function mo(e){return Zr.has(e.toLowerCase())}function vo(e,t,n,r,o,i){return go.apply(this,arguments)}function go(){return(go=I(R().mark((function e(t,n,r,o,i,a){var l,s;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=R().mark((function e(l){var s,c,u,d,f;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=r[l],c=n[l]){e.next=4;break}return e.abrupt("return","continue");case 4:if(u=t.find((function(e){return e.route.id===c.route.id})),d=null!=u&&!qr(u,c)&&void 0!==(a&&a[c.route.id]),!so(s)||!i&&!d){e.next=11;break}return Gn(f=o[l],"Expected an AbortSignal for revalidating fetcher deferred result"),e.next=11,yo(s,f,i).then((function(e){e&&(r[l]=e||r[l])}));case 11:case"end":return e.stop()}}),e)})),s=0;case 2:if(!(s<r.length)){e.next=10;break}return e.delegateYield(l(s),"t0",4);case 4:if("continue"!==e.t0){e.next=7;break}return e.abrupt("continue",7);case 7:s++,e.next=2;break;case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function yo(e,t,n){return bo.apply(this,arguments)}function bo(){return(bo=I(R().mark((function e(t,n,r){return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=!1),e.next=3,t.deferredData.resolveData(n);case 3:if(!e.sent){e.next=6;break}return e.abrupt("return");case 6:if(!r){e.next=14;break}return e.prev=7,e.abrupt("return",{type:Vn.data,data:t.deferredData.unwrappedData});case 11:return e.prev=11,e.t0=e.catch(7),e.abrupt("return",{type:Vn.error,error:e.t0});case 14:return e.abrupt("return",{type:Vn.data,data:t.deferredData.data});case 15:case"end":return e.stop()}}),e,null,[[7,11]])})))).apply(this,arguments)}function xo(e){return new URLSearchParams(e).getAll("index").some((function(e){return""===e}))}function wo(e,t){var n="string"===typeof t?Jn(t).search:t.search;if(e[e.length-1].route.index&&xo(n||""))return e[e.length-1];var r=br(e);return r[r.length-1]}function So(e){var t=e.formMethod,n=e.formAction,r=e.formEncType,o=e.text,i=e.formData,a=e.json;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function ko(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function jo(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Eo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t," _hasFetcherDoneAnything ":!0}}function Oo(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0," _hasFetcherDoneAnything ":!0}}function Co(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}function Po(){return Po=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Po.apply(this,arguments)}var Zo=t.createContext(null);var _o=t.createContext(null);var To=t.createContext(null);var Mo=t.createContext(null);var Ao=t.createContext(null);var Ro=t.createContext({outlet:null,matches:[],isDataRoute:!1});var No=t.createContext(null);function Io(){return null!=t.useContext(Ao)}function Do(){return Io()||Gn(!1),t.useContext(Ao).location}function zo(e){t.useContext(Mo).static||t.useLayoutEffect(e)}function Lo(){return t.useContext(Ro).isDataRoute?function(){var e=$o(Yo.UseNavigateStable).router,n=Xo(Go.UseNavigateStable),r=t.useRef(!1);return zo((function(){r.current=!0})),t.useCallback((function(t,o){void 0===o&&(o={}),r.current&&("number"===typeof t?e.navigate(t):e.navigate(t,Po({fromRouteId:n},o)))}),[e,n])}():function(){Io()||Gn(!1);var e=t.useContext(Zo),n=t.useContext(Mo),r=n.basename,o=n.navigator,i=t.useContext(Ro).matches,a=Do().pathname,l=JSON.stringify(br(i).map((function(e){return e.pathnameBase}))),s=t.useRef(!1);zo((function(){s.current=!0}));var c=t.useCallback((function(t,n){if(void 0===n&&(n={}),s.current)if("number"!==typeof t){var i=xr(t,JSON.parse(l),a,"path"===n.relative);null==e&&"/"!==r&&(i.pathname="/"===i.pathname?r:wr([r,i.pathname])),(n.replace?o.replace:o.push)(i,n.state,n)}else o.go(t)}),[r,o,l,a,e]);return c}()}var Bo=t.createContext(null);function Fo(e,n,r){Io()||Gn(!1);var o,i=t.useContext(Mo).navigator,a=t.useContext(Ro).matches,l=a[a.length-1],s=l?l.params:{},c=(l&&l.pathname,l?l.pathnameBase:"/"),u=(l&&l.route,Do());if(n){var d,f="string"===typeof n?Jn(n):n;"/"===c||(null==(d=f.pathname)?void 0:d.startsWith(c))||Gn(!1),o=f}else o=u;var p=o.pathname||"/",h=rr(e,{pathname:"/"===c?p:p.slice(c.length)||"/"});var m=Vo(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},s,e.params),pathname:wr([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:wr([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,r);return n&&m?t.createElement(Ao.Provider,{value:{location:Po({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:Bn.Pop}},m):m}function Wo(){var e=function(){var e,n=t.useContext(No),r=Ko(Go.UseRouteError),o=Xo(Go.UseRouteError);if(n)return n;return null==(e=r.errors)?void 0:e[o]}(),n=Cr(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:i},r):null,null)}var Uo=t.createElement(Wo,null),qo=function(e){$(r,e);var n=K(r);function r(e){var t;return W(this,r),(t=n.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return H(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(Ro.Provider,{value:this.props.routeContext},t.createElement(No.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),r}(t.Component);function Ho(e){var n=e.routeContext,r=e.match,o=e.children,i=t.useContext(Zo);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(Ro.Provider,{value:n},o)}function Vo(e,n,r){var o;if(void 0===n&&(n=[]),void 0===r&&(r=null),null==e){var i;if(null==(i=r)||!i.errors)return null;e=r.matches}var a=e,l=null==(o=r)?void 0:o.errors;if(null!=l){var s=a.findIndex((function(e){return e.route.id&&(null==l?void 0:l[e.route.id])}));s>=0||Gn(!1),a=a.slice(0,Math.min(a.length,s+1))}return a.reduceRight((function(e,o,i){var s=o.route.id?null==l?void 0:l[o.route.id]:null,c=null;r&&(c=o.route.errorElement||Uo);var u=n.concat(a.slice(0,i+1)),d=function(){var n;return n=s?c:o.route.Component?t.createElement(o.route.Component,null):o.route.element?o.route.element:e,t.createElement(Ho,{match:o,routeContext:{outlet:e,matches:u,isDataRoute:null!=r},children:n})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?t.createElement(qo,{location:r.location,revalidation:r.revalidation,component:c,error:s,children:d(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):d()}),null)}var Yo=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Yo||{}),Go=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Go||{});function $o(e){var n=t.useContext(Zo);return n||Gn(!1),n}function Ko(e){var n=t.useContext(_o);return n||Gn(!1),n}function Xo(e){var n=function(e){var n=t.useContext(Ro);return n||Gn(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||Gn(!1),r.route.id}var Qo=r.startTransition;function Jo(e){var n=e.fallbackElement,r=e.router,o=e.future,i=t.useState(r.state),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(o||{}).v7_startTransition,u=t.useCallback((function(e){c&&Qo?Qo((function(){return s(e)})):s(e)}),[s,c]);t.useLayoutEffect((function(){return r.subscribe(u)}),[r,u]);var d=t.useMemo((function(){return{createHref:r.createHref,encodeLocation:r.encodeLocation,go:function(e){return r.navigate(e)},push:function(e,t,n){return r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})},replace:function(e,t,n){return r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}}}),[r]),f=r.basename||"/",p=t.useMemo((function(){return{router:r,navigator:d,static:!1,basename:f}}),[r,d,f]);return t.createElement(t.Fragment,null,t.createElement(Zo.Provider,{value:p},t.createElement(_o.Provider,{value:l},t.createElement(ni,{basename:f,location:l.location,navigationType:l.historyAction,navigator:d},l.initialized?t.createElement(ei,{routes:r.routes,state:l}):n))),null)}function ei(e){return Fo(e.routes,void 0,e.state)}function ti(e){return function(e){var n=t.useContext(Ro).outlet;return n?t.createElement(Bo.Provider,{value:e},n):n}(e.context)}function ni(e){var n=e.basename,r=void 0===n?"/":n,o=e.children,i=void 0===o?null:o,a=e.location,l=e.navigationType,s=void 0===l?Bn.Pop:l,c=e.navigator,u=e.static,d=void 0!==u&&u;Io()&&Gn(!1);var f=r.replace(/^\/*/,"/"),p=t.useMemo((function(){return{basename:f,navigator:c,static:d}}),[f,c,d]);"string"===typeof a&&(a=Jn(a));var h=a,m=h.pathname,v=void 0===m?"/":m,g=h.search,y=void 0===g?"":g,b=h.hash,x=void 0===b?"":b,w=h.state,S=void 0===w?null:w,k=h.key,j=void 0===k?"default":k,E=t.useMemo((function(){var e=gr(v,f);return null==e?null:{location:{pathname:e,search:y,hash:x,state:S,key:j},navigationType:s}}),[f,v,y,x,S,j,s]);return null==E?null:t.createElement(Mo.Provider,{value:p},t.createElement(Ao.Provider,{children:i,value:E}))}var ri=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(ri||{}),oi=new Promise((function(){}));t.Component;function ii(e){var n={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(n,{element:t.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(n,{errorElement:t.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),n}function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ai.apply(this,arguments)}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function li(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ai({},t,{errors:si(t.errors)})),t}function si(e){if(!e)return null;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=(0,D.Z)(r[n],2),i=o[0],a=o[1];if(a&&"RouteErrorResponse"===a.__type)t[i]=new Or(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){if(a.__subType){var l=window[a.__subType];if("function"===typeof l)try{var s=new l(a.message);s.stack="",t[i]=s}catch(u){}}if(null==t[i]){var c=new Error(a.message);c.stack="",t[i]=c}}else t[i]=a}return t}r.startTransition;"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var ci,ui;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(ci||(ci={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ui||(ui={}));var di={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fi=t.createContext&&t.createContext(di),pi=function(){return pi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pi.apply(this,arguments)},hi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function mi(e){return e&&e.map((function(e,n){return t.createElement(e.tag,pi({key:n},e.attr),mi(e.child))}))}function vi(e){return function(n){return t.createElement(gi,pi({attr:pi({},e.attr)},n),mi(e.child))}}function gi(e){var n=function(n){var r,o=e.attr,i=e.size,a=e.title,l=hi(e,["attr","size","title"]),s=i||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",pi({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,l,{className:r,style:pi(pi({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==fi?t.createElement(fi.Consumer,null,(function(e){return n(e)})):n(di)}function yi(e){return vi({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"}}]})(e)}function bi(e){return vi({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"}}]})(e)}function xi(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(e)}function wi(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M18.906 18.06v369.23C112.4 252.618 269.43 157.82 430.37 133.76L228.42 18.06H18.906zM325.72 179.327C200.38 223.948 86.405 311.052 18.157 422.568v33.602c113.074-111.488 277-176.38 434.373-175.25L325.72 179.326zm25.56 128.682c-125.218 21.642-246.974 83.6-333.124 174.812v10.297h58.916c113.9-65.58 251.166-95.325 379.492-80.814L351.28 308.008zm-2.253 120.96c-80.122 5.884-160.432 27.957-232.61 64.15h266.42l-33.81-64.15z"}}]})(e)}function Si(e){return vi({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M96,113.89,107.06,136H84.94ZM232,56V216a8,8,0,0,1-11.58,7.16L192,208.94l-28.42,14.22a8,8,0,0,1-7.16,0L128,208.94,99.58,223.16a8,8,0,0,1-7.16,0L64,208.94,35.58,223.16A8,8,0,0,1,24,216V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM135.16,156.42l-32-64a8,8,0,0,0-14.32,0l-32,64a8,8,0,0,0,14.32,7.16L76.94,152h38.12l5.78,11.58a8,8,0,1,0,14.32-7.16ZM208,128a8,8,0,0,0-8-8H184V104a8,8,0,0,0-16,0v16H152a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V136h16A8,8,0,0,0,208,128Z"}}]})(e)}function ki(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"}}]})(e)}function ji(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3 6.5h-2v5H8v-5H6V9h6v1.5zm8.25-6.75L23 5l-2.75 1.25L19 9l-1.25-2.75L15 5l2.75-1.25L19 1l1.25 2.75zm0 14L23 19l-2.75 1.25L19 23l-1.25-2.75L15 19l2.75-1.25L19 15l1.25 2.75z"}}]})(e)}function Ei(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 22H5C3.34315 22 2 20.6569 2 19V3C2 2.44772 2.44772 2 3 2H17C17.5523 2 18 2.44772 18 3V10H22V19C22 20.6569 20.6569 22 19 22ZM18 12V19C18 19.5523 18.4477 20 19 20C19.5523 20 20 19.5523 20 19V12H18ZM5 6V12H11V6H5ZM5 13V15H15V13H5ZM5 16V18H15V16H5ZM7 8H9V10H7V8Z"}}]})(e)}var Oi=n(6934),Ci=n(418),Pi=n(6482),Zi=n(988);function _i(){var e=(0,Ci.Z)(Pi.Z);return e[Zi.Z]||e}var Ti=n(7462),Mi=n(3733),Ai=n(2421),Ri=n(104),Ni=n(2466),Ii=n(7416),Di=["sx"],zi=function(e){var t,n,r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Ii.Z;return Object.keys(e).forEach((function(t){o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Li(e){var t,n=e.sx,r=(0,T.Z)(e,Di),o=zi(r),i=o.systemProps,a=o.otherProps;return t=Array.isArray(n)?[i].concat((0,F.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,Ni.P)(e)?(0,Ti.Z)({},i,e):i}:(0,Ti.Z)({},i,n),(0,Ti.Z)({},a,{sx:t})}var Bi=n(184),Fi=["className","component"];var Wi=n(5902),Ui=n(1979),qi=(0,Ui.Z)(),Hi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.themeId,r=e.defaultTheme,o=e.defaultClassName,i=void 0===o?"MuiBox-root":o,a=e.generateClassName,l=(0,Ai.ZP)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(Ri.Z);return t.forwardRef((function(e,t){var o=(0,Ci.Z)(r),s=Li(e),c=s.className,u=s.component,d=void 0===u?"div":u,f=(0,T.Z)(s,Fi);return(0,Bi.jsx)(l,(0,Ti.Z)({as:d,ref:t,className:(0,Mi.Z)(c,a?a(i):i),theme:n&&o[n]||o},f))}))}({themeId:Zi.Z,defaultTheme:qi,defaultClassName:"MuiBox-root",generateClassName:Wi.Z.generate}),Vi=Hi,Yi=n(4419),Gi=n(6117);function $i(e){return"string"===typeof e}function Ki(e,t,n){return void 0===e||$i(e)?t:(0,Ti.Z)({},t,{ownerState:(0,Ti.Z)({},t.ownerState,n)})}function Xi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}function Qi(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function Ji(e,t,n){return"function"===typeof e?e(t,n):e}var ea=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ta(e){var t,n=e.elementType,r=e.externalSlotProps,o=e.ownerState,i=e.skipResolvingSlotProps,a=void 0!==i&&i,l=(0,T.Z)(e,ea),s=a?{}:Ji(r,o),c=function(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,i=e.className;if(!t){var a=(0,Mi.Z)(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),l=(0,Ti.Z)({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),s=(0,Ti.Z)({},n,o,r);return a.length>0&&(s.className=a),Object.keys(l).length>0&&(s.style=l),{props:s,internalRef:void 0}}var c=Xi((0,Ti.Z)({},o,r)),u=Qi(r),d=Qi(o),f=t(c),p=(0,Mi.Z)(null==f?void 0:f.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),h=(0,Ti.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),m=(0,Ti.Z)({},f,n,d,u);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:f.ref}}((0,Ti.Z)({},l,{externalSlotProps:s})),u=c.props,d=c.internalRef,f=(0,Gi.Z)(d,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return Ki(n,(0,Ti.Z)({},u,{ref:f}),o)}var na={disableDefaultClasses:!1},ra=t.createContext(na);function oa(e){var n=t.useContext(ra).disableDefaultClasses;return function(t){return n?"":e(t)}}var ia=n(2876),aa=n(2971);var la=t.forwardRef((function(e,n){var r=e.children,o=e.container,i=e.disablePortal,a=void 0!==i&&i,s=t.useState(null),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=(0,Gi.Z)(t.isValidElement(r)?r.ref:null,n);if((0,ia.Z)((function(){a||d(function(e){return"function"===typeof e?e():e}(o)||document.body)}),[o,a]),(0,ia.Z)((function(){if(u&&!a)return(0,aa.Z)(n,u),function(){(0,aa.Z)(n,null)}}),[n,u,a]),a){if(t.isValidElement(r)){var p={ref:f};return t.cloneElement(r,p)}return(0,Bi.jsx)(t.Fragment,{children:r})}return(0,Bi.jsx)(t.Fragment,{children:u?l.createPortal(r,u):u})}));var sa=n(4913),ca=n(7054),ua=n(8949),da=n(5202);function fa(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function pa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ha(e){return parseInt((0,da.Z)(e).getComputedStyle(e).paddingRight,10)||0}function ma(e,t,n,r,o){var i=[t,n].concat((0,F.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===i.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&pa(e,o)}))}function va(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function ga(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,sa.Z)(e);return t.body===e?(0,da.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var o=fa((0,sa.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(ha(r)+o,"px");var i=(0,sa.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(ha(e)+o,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=(0,sa.Z)(r).body;else{var l=r.parentElement,s=(0,da.Z)(r);a="HTML"===(null==l?void 0:l.nodeName)&&"scroll"===s.getComputedStyle(l).overflowY?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var ya=function(){function e(){W(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return H(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&pa(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);ma(t,e.mount,e.modalRef,r,!0);var o=va(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=va(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=ga(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=va(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&pa(e.modalRef,t),ma(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=o.modals[o.modals.length-1];i.modalRef&&pa(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var ba=new ya;function xa(e){var n=e.container,r=e.disableEscapeKeyDown,o=void 0!==r&&r,i=e.disableScrollLock,a=void 0!==i&&i,l=e.manager,s=void 0===l?ba:l,c=e.closeAfterTransition,u=void 0!==c&&c,d=e.onTransitionEnter,f=e.onTransitionExited,p=e.children,h=e.onClose,m=e.open,v=e.rootRef,g=t.useRef({}),y=t.useRef(null),b=t.useRef(null),x=(0,Gi.Z)(b,v),w=t.useState(!m),S=(0,D.Z)(w,2),k=S[0],j=S[1],E=function(e){return!!e&&e.props.hasOwnProperty("in")}(p),O=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(O=!1);var C=function(){return g.current.modalRef=b.current,g.current.mount=y.current,g.current},P=function(){s.mount(C(),{disableScrollLock:a}),b.current&&(b.current.scrollTop=0)},Z=(0,ca.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(n)||(0,sa.Z)(y.current).body;s.add(C(),e),b.current&&P()})),_=t.useCallback((function(){return s.isTopModal(C())}),[s]),T=(0,ca.Z)((function(e){y.current=e,e&&(m&&_()?P():b.current&&pa(b.current,O))})),M=t.useCallback((function(){s.remove(C(),O)}),[O,s]);t.useEffect((function(){return function(){M()}}),[M]),t.useEffect((function(){m?Z():E&&u||M()}),[m,M,E,u,Z]);var A=function(e){return function(t){var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&_()&&(o||(t.stopPropagation(),h&&h(t,"escapeKeyDown")))}},R=function(e){return function(t){var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&h&&h(t,"backdropClick")}};return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Xi(e);delete n.onTransitionEnter,delete n.onTransitionExited;var r=(0,Ti.Z)({},n,t);return(0,Ti.Z)({role:"presentation"},r,{onKeyDown:A(r),ref:x})},getBackdropProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,Ti.Z)({"aria-hidden":!0},e,{onClick:R(e),open:m})},getTransitionProps:function(){return{onEnter:(0,ua.Z)((function(){j(!1),d&&d()}),p.props.onEnter),onExited:(0,ua.Z)((function(){j(!0),f&&f(),u&&M()}),p.props.onExited)}},rootRef:x,portalRef:T,isTopModal:_,exited:k,hasTransition:E}}var wa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Sa(e){var t=[],n=[];return Array.from(e.querySelectorAll(wa)).forEach((function(e,r){var o=function(e){var t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function ka(){return!0}function ja(e){var n=e.children,r=e.disableAutoFocus,o=void 0!==r&&r,i=e.disableEnforceFocus,a=void 0!==i&&i,l=e.disableRestoreFocus,s=void 0!==l&&l,c=e.getTabbable,u=void 0===c?Sa:c,d=e.isEnabled,f=void 0===d?ka:d,p=e.open,h=t.useRef(!1),m=t.useRef(null),v=t.useRef(null),g=t.useRef(null),y=t.useRef(null),b=t.useRef(!1),x=t.useRef(null),w=(0,Gi.Z)(n.ref,x),S=t.useRef(null);t.useEffect((function(){p&&x.current&&(b.current=!o)}),[o,p]),t.useEffect((function(){if(p&&x.current){var e=(0,sa.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),b.current&&x.current.focus()),function(){s||(g.current&&g.current.focus&&(h.current=!0,g.current.focus()),g.current=null)}}}),[p]),t.useEffect((function(){if(p&&x.current){var e=(0,sa.Z)(x.current),t=function(t){var n=x.current;if(null!==n)if(e.hasFocus()&&!a&&f()&&!h.current){if(!n.contains(e.activeElement)){if(t&&y.current!==t.target||e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;var r=[];if(e.activeElement!==m.current&&e.activeElement!==v.current||(r=u(x.current)),r.length>0){var o,i,l=Boolean((null==(o=S.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=S.current)?void 0:i.key)),s=r[0],c=r[r.length-1];"string"!==typeof s&&"string"!==typeof c&&(l?c.focus():s.focus())}else n.focus()}}else h.current=!1},n=function(t){S.current=t,!a&&f()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(h.current=!0,v.current&&v.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[o,a,s,f,p,u]);var k=function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0};return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:m,"data-testid":"sentinelStart"}),t.cloneElement(n,{ref:w,onFocus:function(e){null===g.current&&(g.current=e.relatedTarget),b.current=!0,y.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,Bi.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:v,"data-testid":"sentinelEnd"})]})}var Ea=n(5878),Oa=n(1217);function Ca(e){return(0,Oa.Z)("MuiModal",e)}(0,Ea.Z)("MuiModal",["root","hidden","backdrop"]);var Pa=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Za=t.forwardRef((function(e,n){var r,o=e.children,i=e.closeAfterTransition,a=void 0!==i&&i,l=e.container,s=e.disableAutoFocus,c=void 0!==s&&s,u=e.disableEnforceFocus,d=void 0!==u&&u,f=e.disableEscapeKeyDown,p=void 0!==f&&f,h=e.disablePortal,m=void 0!==h&&h,v=e.disableRestoreFocus,g=void 0!==v&&v,y=e.disableScrollLock,b=void 0!==y&&y,x=e.hideBackdrop,w=void 0!==x&&x,S=e.keepMounted,k=void 0!==S&&S,j=e.onBackdropClick,E=e.open,O=e.slotProps,C=void 0===O?{}:O,P=e.slots,Z=void 0===P?{}:P,_=(0,T.Z)(e,Pa),M=(0,Ti.Z)({},e,{closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:m,disableRestoreFocus:g,disableScrollLock:b,hideBackdrop:w,keepMounted:k}),A=xa((0,Ti.Z)({},M,{rootRef:n})),R=A.getRootProps,N=A.getBackdropProps,I=A.getTransitionProps,D=A.portalRef,z=A.isTopModal,L=A.exited,B=A.hasTransition,F=(0,Ti.Z)({},M,{exited:L,hasTransition:B}),W=function(e){var t=e.open,n=e.exited,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,Yi.Z)(r,oa(Ca))}(F),U={};if(void 0===o.props.tabIndex&&(U.tabIndex="-1"),B){var q=I(),H=q.onEnter,V=q.onExited;U.onEnter=H,U.onExited=V}var Y=null!=(r=Z.root)?r:"div",G=ta({elementType:Y,externalSlotProps:C.root,externalForwardedProps:_,getSlotProps:R,className:W.root,ownerState:F}),$=Z.backdrop,K=ta({elementType:$,externalSlotProps:C.backdrop,getSlotProps:function(e){return N((0,Ti.Z)({},e,{onClick:function(t){j&&j(t),null!=e&&e.onClick&&e.onClick(t)}}))},className:W.backdrop,ownerState:F});return k||E||B&&!L?(0,Bi.jsx)(la,{ref:D,container:l,disablePortal:m,children:(0,Bi.jsxs)(Y,(0,Ti.Z)({},G,{children:[!w&&$?(0,Bi.jsx)($,(0,Ti.Z)({},K)):null,(0,Bi.jsx)(ja,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:g,isEnabled:z,open:E,children:t.cloneElement(o,U)})]}))}):null})),_a=n(1402);function Ta(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,z(e,t)}var Ma=!1,Aa=t.createContext(null),Ra="unmounted",Na="exited",Ia="entering",Da="entered",za="exiting",La=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Na,r.appearStatus=Ia):o=Da:o=t.unmountOnExit||t.mountOnEnter?Ra:Na,r.state={status:o},r.nextCallback=null,r}Ta(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ra?{status:Na}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ia&&n!==Da&&(t=Ia):n!==Ia&&n!==Da||(t=za)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ia){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Na&&this.setState({status:Ra})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||Ma?this.safeSetState({status:Da},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ia},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:Da},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!Ma?(this.props.onExit(r),this.safeSetState({status:za},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Na},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Na},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Ra)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,T.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Aa.Provider,{value:null},"function"===typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function Ba(){}La.contextType=Aa,La.propTypes={},La.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ba,onEntering:Ba,onEntered:Ba,onExit:Ba,onExiting:Ba,onExited:Ba},La.UNMOUNTED=Ra,La.EXITED=Na,La.ENTERING=Ia,La.ENTERED=Da,La.EXITING=za;var Fa=La,Wa=function(e){return e.scrollTop};function Ua(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,l=void 0===a?{}:a;return{duration:null!=(n=l.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=l.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:l.transitionDelay}}var qa=n(2071),Ha=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Va={entering:{opacity:1},entered:{opacity:1}},Ya=t.forwardRef((function(e,n){var r=_i(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},i=e.addEndListener,a=e.appear,l=void 0===a||a,s=e.children,c=e.easing,u=e.in,d=e.onEnter,f=e.onEntered,p=e.onEntering,h=e.onExit,m=e.onExited,v=e.onExiting,g=e.style,y=e.timeout,b=void 0===y?o:y,x=e.TransitionComponent,w=void 0===x?Fa:x,S=(0,T.Z)(e,Ha),k=t.useRef(null),j=(0,qa.Z)(k,s.ref,n),E=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},O=E(p),C=E((function(e,t){Wa(e);var n=Ua({style:g,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),d&&d(e,t)})),P=E(f),Z=E(v),_=E((function(e){var t=Ua({style:g,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),h&&h(e)})),M=E(m);return(0,Bi.jsx)(w,(0,Ti.Z)({appear:l,in:u,nodeRef:k,onEnter:C,onEntered:P,onEntering:O,onExit:_,onExited:M,onExiting:Z,addEndListener:function(e){i&&i(k.current,e)},timeout:b},S,{children:function(e,n){return t.cloneElement(s,(0,Ti.Z)({style:(0,Ti.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Va[e],g,s.props.style),ref:j},n))}}))})),Ga=Ya;function $a(e){return(0,Oa.Z)("MuiBackdrop",e)}(0,Ea.Z)("MuiBackdrop",["root","invisible"]);var Ka=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Xa=(0,Oi.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),Qa=t.forwardRef((function(e,t){var n,r,o,i=(0,_a.Z)({props:e,name:"MuiBackdrop"}),a=i.children,l=i.className,s=i.component,c=void 0===s?"div":s,u=i.components,d=void 0===u?{}:u,f=i.componentsProps,p=void 0===f?{}:f,h=i.invisible,m=void 0!==h&&h,v=i.open,g=i.slotProps,y=void 0===g?{}:g,b=i.slots,x=void 0===b?{}:b,w=i.TransitionComponent,S=void 0===w?Ga:w,k=i.transitionDuration,j=(0,T.Z)(i,Ka),E=(0,Ti.Z)({},i,{component:c,invisible:m}),O=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,Yi.Z)(n,$a,t)}(E),C=null!=(n=y.root)?n:p.root;return(0,Bi.jsx)(S,(0,Ti.Z)({in:v,timeout:k},j,{children:(0,Bi.jsx)(Xa,(0,Ti.Z)({"aria-hidden":!0},C,{as:null!=(r=null!=(o=x.root)?o:d.Root)?r:c,className:(0,Mi.Z)(O.root,l,null==C?void 0:C.className),ownerState:(0,Ti.Z)({},E,null==C?void 0:C.ownerState),classes:O,ref:t,children:a}))}))})),Ja=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],el=(0,Oi.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),tl=(0,Oi.ZP)(Qa,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),nl=t.forwardRef((function(e,n){var r,o,i,a,l,s,c=(0,_a.Z)({name:"MuiModal",props:e}),u=c.BackdropComponent,d=void 0===u?tl:u,f=c.BackdropProps,p=c.classes,h=c.className,m=c.closeAfterTransition,v=void 0!==m&&m,g=c.children,y=c.container,b=c.component,x=c.components,w=void 0===x?{}:x,S=c.componentsProps,k=void 0===S?{}:S,j=c.disableAutoFocus,E=void 0!==j&&j,O=c.disableEnforceFocus,C=void 0!==O&&O,P=c.disableEscapeKeyDown,Z=void 0!==P&&P,_=c.disablePortal,M=void 0!==_&&_,A=c.disableRestoreFocus,R=void 0!==A&&A,N=c.disableScrollLock,I=void 0!==N&&N,z=c.hideBackdrop,L=void 0!==z&&z,B=c.keepMounted,F=void 0!==B&&B,W=c.onBackdropClick,U=c.onClose,q=c.open,H=c.slotProps,V=c.slots,Y=c.theme,G=(0,T.Z)(c,Ja),$=t.useState(!0),K=(0,D.Z)($,2),X=K[0],Q=K[1],J={container:y,closeAfterTransition:v,disableAutoFocus:E,disableEnforceFocus:C,disableEscapeKeyDown:Z,disablePortal:M,disableRestoreFocus:R,disableScrollLock:I,hideBackdrop:L,keepMounted:F,onBackdropClick:W,onClose:U,open:q},ee=(0,Ti.Z)({},c,J,{exited:X}),te=null!=(r=null!=(o=null==V?void 0:V.root)?o:w.Root)?r:el,ne=null!=(i=null!=(a=null==V?void 0:V.backdrop)?a:w.Backdrop)?i:d,re=null!=(l=null==H?void 0:H.root)?l:k.root,oe=null!=(s=null==H?void 0:H.backdrop)?s:k.backdrop;return(0,Bi.jsx)(Za,(0,Ti.Z)({slots:{root:te,backdrop:ne},slotProps:{root:function(){return(0,Ti.Z)({},Ji(re,ee),!$i(te)&&{as:b,theme:Y},{className:(0,Mi.Z)(h,null==re?void 0:re.className,null==p?void 0:p.root,!ee.open&&ee.exited&&(null==p?void 0:p.hidden))})},backdrop:function(){return(0,Ti.Z)({},f,Ji(oe,ee),{className:(0,Mi.Z)(null==oe?void 0:oe.className,null==f?void 0:f.className,null==p?void 0:p.backdrop)})}},onTransitionEnter:function(){return Q(!1)},onTransitionExited:function(){return Q(!0)},ref:n},G,J,{children:g}))})),rl=n(3199),ol=n(7602),il=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function al(e,t,n){var r,o=function(e,t,n){var r,o=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=(0,ol.Z)(t);if(t.fakeTransform)r=t.fakeTransform;else{var l=a.getComputedStyle(t);r=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}var s=0,c=0;if(r&&"none"!==r&&"string"===typeof r){var u=r.split("(")[1].split(")")[0].split(",");s=parseInt(u[4],10),c=parseInt(u[5],10)}return"left"===e?"translateX(".concat(i?i.right+s-o.left:a.innerWidth+s-o.left,"px)"):"right"===e?"translateX(-".concat(i?o.right-i.left-s:o.left+o.width-s,"px)"):"up"===e?"translateY(".concat(i?i.bottom+c-o.top:a.innerHeight+c-o.top,"px)"):"translateY(-".concat(i?o.top-i.top+o.height-c:o.top+o.height-c,"px)")}(e,t,"function"===typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}var ll=t.forwardRef((function(e,n){var r=_i(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},a=e.addEndListener,l=e.appear,s=void 0===l||l,c=e.children,u=e.container,d=e.direction,f=void 0===d?"down":d,p=e.easing,h=void 0===p?o:p,m=e.in,v=e.onEnter,g=e.onEntered,y=e.onEntering,b=e.onExit,x=e.onExited,w=e.onExiting,S=e.style,k=e.timeout,j=void 0===k?i:k,E=e.TransitionComponent,O=void 0===E?Fa:E,C=(0,T.Z)(e,il),P=t.useRef(null),Z=(0,qa.Z)(c.ref,P,n),_=function(e){return function(t){e&&(void 0===t?e(P.current):e(P.current,t))}},M=_((function(e,t){al(f,e,u),Wa(e),v&&v(e,t)})),A=_((function(e,t){var n=Ua({timeout:j,style:S,easing:h},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",(0,Ti.Z)({},n)),e.style.transition=r.transitions.create("transform",(0,Ti.Z)({},n)),e.style.webkitTransform="none",e.style.transform="none",y&&y(e,t)})),R=_(g),N=_(w),I=_((function(e){var t=Ua({timeout:j,style:S,easing:h},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),al(f,e,u),b&&b(e)})),D=_((function(e){e.style.webkitTransition="",e.style.transition="",x&&x(e)})),z=t.useCallback((function(){P.current&&al(f,P.current,u)}),[f,u]);return t.useEffect((function(){if(!m&&"down"!==f&&"right"!==f){var e=(0,rl.Z)((function(){P.current&&al(f,P.current,u)})),t=(0,ol.Z)(P.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[f,m,u]),t.useEffect((function(){m||z()}),[m,z]),(0,Bi.jsx)(O,(0,Ti.Z)({nodeRef:P,onEnter:M,onEntered:R,onEntering:A,onExit:I,onExited:D,onExiting:N,addEndListener:function(e){a&&a(P.current,e)},appear:s,in:m,timeout:j},C,{children:function(e,n){return t.cloneElement(c,(0,Ti.Z)({ref:Z,style:(0,Ti.Z)({visibility:"exited"!==e||m?void 0:"hidden"},S,c.props.style)},n))}}))})),sl=ll,cl=n(2065),ul=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)};function dl(e){return(0,Oa.Z)("MuiPaper",e)}(0,Ea.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var fl=["className","component","elevation","square","variant"],pl=(0,Oi.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,Ti.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,cl.Fq)("#fff",ul(r.elevation)),", ").concat((0,cl.Fq)("#fff",ul(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),hl=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiPaper"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.elevation,l=void 0===a?1:a,s=n.square,c=void 0!==s&&s,u=n.variant,d=void 0===u?"elevation":u,f=(0,T.Z)(n,fl),p=(0,Ti.Z)({},n,{component:i,elevation:l,square:c,variant:d}),h=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,Yi.Z)(i,dl,o)}(p);return(0,Bi.jsx)(pl,(0,Ti.Z)({as:i,ownerState:p,className:(0,Mi.Z)(h.root,r),ref:t},f))})),ml=hl,vl=n(4036);function gl(e){return(0,Oa.Z)("MuiDrawer",e)}(0,Ea.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var yl=["BackdropProps"],bl=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],xl=function(e,t){var n=e.ownerState;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},wl=(0,Oi.ZP)(nl,{name:"MuiDrawer",slot:"Root",overridesResolver:xl})((function(e){var t=e.theme;return{zIndex:(t.vars||t).zIndex.drawer}})),Sl=(0,Oi.ZP)("div",{shouldForwardProp:Oi.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:xl})({flex:"0 0 auto"}),kl=(0,Oi.ZP)(ml,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["paperAnchor".concat((0,vl.Z)(n.anchor))],"temporary"!==n.variant&&t["paperAnchorDocked".concat((0,vl.Z)(n.anchor))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:"1px solid ".concat((t.vars||t).palette.divider)},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider)},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:"1px solid ".concat((t.vars||t).palette.divider)})})),jl={left:"right",right:"left",top:"down",bottom:"up"};var El=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDrawer"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r.anchor,l=void 0===a?"left":a,s=r.BackdropProps,c=r.children,u=r.className,d=r.elevation,f=void 0===d?16:d,p=r.hideBackdrop,h=void 0!==p&&p,m=r.ModalProps,v=(void 0===m?{}:m).BackdropProps,g=r.onClose,y=r.open,b=void 0!==y&&y,x=r.PaperProps,w=void 0===x?{}:x,S=r.SlideProps,k=r.TransitionComponent,j=void 0===k?sl:k,E=r.transitionDuration,O=void 0===E?i:E,C=r.variant,P=void 0===C?"temporary":C,Z=(0,T.Z)(r.ModalProps,yl),_=(0,T.Z)(r,bl),M=t.useRef(!1);t.useEffect((function(){M.current=!0}),[]);var A=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?jl[t]:t}(o,l),R=l,N=(0,Ti.Z)({},r,{anchor:R,elevation:f,open:b,variant:P},_),I=function(e){var t=e.classes,n=e.anchor,r=e.variant,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,vl.Z)(n)),"temporary"!==r&&"paperAnchorDocked".concat((0,vl.Z)(n))]};return(0,Yi.Z)(o,gl,t)}(N),D=(0,Bi.jsx)(kl,(0,Ti.Z)({elevation:"temporary"===P?f:0,square:!0},w,{className:(0,Mi.Z)(I.paper,w.className),ownerState:N,children:c}));if("permanent"===P)return(0,Bi.jsx)(Sl,(0,Ti.Z)({className:(0,Mi.Z)(I.root,I.docked,u),ownerState:N,ref:n},_,{children:D}));var z=(0,Bi.jsx)(j,(0,Ti.Z)({in:b,direction:jl[A],timeout:O,appear:M.current},S,{children:D}));return"persistent"===P?(0,Bi.jsx)(Sl,(0,Ti.Z)({className:(0,Mi.Z)(I.root,I.docked,u),ownerState:N,ref:n},_,{children:z})):(0,Bi.jsx)(wl,(0,Ti.Z)({BackdropProps:(0,Ti.Z)({},s,v,{transitionDuration:O}),className:(0,Mi.Z)(I.root,I.modal,u),open:b,ownerState:N,onClose:g,hideBackdrop:h,ref:n},_,Z,{children:z}))}));function Ol(e){return(0,Oa.Z)("MuiAppBar",e)}(0,Ea.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var Cl=["className","color","enableColorOnDark","position"],Pl=function(e,t){return e?"".concat(null==e?void 0:e.replace(")",""),", ").concat(t,")"):t},Zl=(0,Oi.ZP)(ml,{name:"MuiAppBar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,vl.Z)(n.position))],t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,Ti.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,Ti.Z)({},"default"===n.color&&{backgroundColor:r,color:t.palette.getContrastText(r)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,Ti.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,Ti.Z)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:Pl(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:Pl(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:Pl(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:Pl(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),_l=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiAppBar"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.enableColorOnDark,l=void 0!==a&&a,s=n.position,c=void 0===s?"fixed":s,u=(0,T.Z)(n,Cl),d=(0,Ti.Z)({},n,{color:i,position:c,enableColorOnDark:l}),f=function(e){var t=e.color,n=e.position,r=e.classes,o={root:["root","color".concat((0,vl.Z)(t)),"position".concat((0,vl.Z)(n))]};return(0,Yi.Z)(o,Ol,r)}(d);return(0,Bi.jsx)(Zl,(0,Ti.Z)({square:!0,component:"header",ownerState:d,elevation:4,className:(0,Mi.Z)(f.root,r,"fixed"===c&&"mui-fixed"),ref:t},u))})),Tl=_l;function Ml(e){return(0,Oa.Z)("MuiToolbar",e)}(0,Ea.Z)("MuiToolbar",["root","gutters","regular","dense"]);var Al=["className","component","disableGutters","variant"],Rl=(0,Oi.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),"dense"===n.variant&&{minHeight:48})}),(function(e){var t=e.theme;return"regular"===e.ownerState.variant&&t.mixins.toolbar})),Nl=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiToolbar"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.disableGutters,l=void 0!==a&&a,s=n.variant,c=void 0===s?"regular":s,u=(0,T.Z)(n,Al),d=(0,Ti.Z)({},n,{component:i,disableGutters:l,variant:c}),f=function(e){var t=e.classes,n={root:["root",!e.disableGutters&&"gutters",e.variant]};return(0,Yi.Z)(n,Ml,t)}(d);return(0,Bi.jsx)(Rl,(0,Ti.Z)({as:i,className:(0,Mi.Z)(f.root,r),ref:t,ownerState:d},u))}));var Il=t.createContext({});function Dl(e){return(0,Oa.Z)("MuiList",e)}(0,Ea.Z)("MuiList",["root","padding","dense","subheader"]);var zl=["children","className","component","dense","disablePadding","subheader"],Ll=(0,Oi.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Bl=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiList"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"ul":a,s=r.dense,c=void 0!==s&&s,u=r.disablePadding,d=void 0!==u&&u,f=r.subheader,p=(0,T.Z)(r,zl),h=t.useMemo((function(){return{dense:c}}),[c]),m=(0,Ti.Z)({},r,{component:l,dense:c,disablePadding:d}),v=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,Yi.Z)(n,Dl,t)}(m);return(0,Bi.jsx)(Il.Provider,{value:h,children:(0,Bi.jsxs)(Ll,(0,Ti.Z)({as:l,className:(0,Mi.Z)(v.root,i),ref:n,ownerState:m},p,{children:[f,o]}))})})),Fl=n(2564),Wl=n(5438),Ul=n(2561),ql=n(9140),Hl=(n(3361),(0,Fl.w)((function(e,n){var r=e.styles,o=(0,ql.O)([r],void 0,t.useContext(Fl.T));if(!Fl.i){for(var i,a=o.name,l=o.styles,s=o.next;void 0!==s;)a+=" "+s.name,l+=s.styles,s=s.next;var c=!0===n.compat,u=n.insert("",{name:a,styles:l},n.sheet,c);return c?null:t.createElement("style",((i={})["data-emotion"]=n.key+"-global "+a,i.dangerouslySetInnerHTML={__html:u},i.nonce=n.sheet.nonce,i))}var d=t.useRef();return(0,Ul.j)((function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),t.hydrate([i])),d.current=[t,r],function(){t.flush()}}),[n]),(0,Ul.j)((function(){var e=d.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&(0,Wl.My)(n,o.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",o,t,!1)}}),[n,o.name]),null})));function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,ql.O)(t)}var Yl=function(){var e=Vl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function Gl(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,o="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Bi.jsx)(Hl,{styles:o})}var $l=function(e){var t=e.styles,n=e.themeId,r=e.defaultTheme,o=void 0===r?{}:r,i=(0,Ci.Z)(o),a="function"===typeof t?t(n&&i[n]||i):t;return(0,Bi.jsx)(Gl,{styles:a})};var Kl=function(e){return(0,Bi.jsx)($l,(0,Ti.Z)({},e,{defaultTheme:Pi.Z,themeId:Zi.Z}))},Xl=function(e,t){return(0,Ti.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode})},Ql=function(e){return(0,Ti.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}})};var Jl=function(e){var n=(0,_a.Z)({props:e,name:"MuiCssBaseline"}),r=n.children,o=n.enableColorScheme,i=void 0!==o&&o;return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(Kl,{styles:function(e){return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={};n&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((function(t){var n,o=(0,D.Z)(t,2),i=o[0],a=o[1];r[e.getColorSchemeSelector(i).replace(/\s*&/,"")]={colorScheme:null==(n=a.palette)?void 0:n.mode}}));var o=(0,Ti.Z)({html:Xl(e,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,Ti.Z)({margin:0},Ql(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r),i=null==(t=e.components)||null==(t=t.MuiCssBaseline)?void 0:t.styleOverrides;return i&&(o=[o,i]),o}(e,i)}}),r]})};function es(e){return(0,Oa.Z)("MuiTypography",e)}(0,Ea.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var ts=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ns=(0,Oi.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,vl.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),rs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},os={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},is=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTypography"}),r=function(e){return os[e]||e}(n.color),o=Li((0,Ti.Z)({},n,{color:r})),i=o.align,a=void 0===i?"inherit":i,l=o.className,s=o.component,c=o.gutterBottom,u=void 0!==c&&c,d=o.noWrap,f=void 0!==d&&d,p=o.paragraph,h=void 0!==p&&p,m=o.variant,v=void 0===m?"body1":m,g=o.variantMapping,y=void 0===g?rs:g,b=(0,T.Z)(o,ts),x=(0,Ti.Z)({},o,{align:a,color:r,className:l,component:s,gutterBottom:u,noWrap:f,paragraph:h,variant:v,variantMapping:y}),w=s||(h?"p":y[v]||rs[v])||"span",S=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,o=e.paragraph,i=e.variant,a=e.classes,l={root:["root",i,"inherit"!==e.align&&"align".concat((0,vl.Z)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,Yi.Z)(l,es,a)}(x);return(0,Bi.jsx)(ns,(0,Ti.Z)({as:w,ref:t,ownerState:x,className:(0,Mi.Z)(S.root,l)},b))})),as=is;function ls(e){return(0,Oa.Z)("MuiDivider",e)}var ss=(0,Ea.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),cs=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],us=(0,Oi.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,cl.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.ownerState;return(0,Ti.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.ownerState;return(0,Ti.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),ds=(0,Oi.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),fs=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDivider"}),r=n.absolute,o=void 0!==r&&r,i=n.children,a=n.className,l=n.component,s=void 0===l?i?"div":"hr":l,c=n.flexItem,u=void 0!==c&&c,d=n.light,f=void 0!==d&&d,p=n.orientation,h=void 0===p?"horizontal":p,m=n.role,v=void 0===m?"hr"!==s?"separator":void 0:m,g=n.textAlign,y=void 0===g?"center":g,b=n.variant,x=void 0===b?"fullWidth":b,w=(0,T.Z)(n,cs),S=(0,Ti.Z)({},n,{absolute:o,component:s,flexItem:u,light:f,orientation:h,role:v,textAlign:y,variant:x}),k=function(e){var t=e.absolute,n=e.children,r=e.classes,o=e.flexItem,i=e.light,a=e.orientation,l=e.textAlign,s={root:["root",t&&"absolute",e.variant,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,Yi.Z)(s,ls,r)}(S);return(0,Bi.jsx)(us,(0,Ti.Z)({as:s,className:(0,Mi.Z)(k.root,a),role:v,ref:t,ownerState:S},w,{children:i?(0,Bi.jsx)(ds,{className:k.wrapper,ownerState:S,children:i}):null}))}));fs.muiSkipListHighlight=!0;var ps=fs,hs=n(9683),ms=n(3031);function vs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function gs(e,n){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return n&&(0,t.isValidElement)(e)?n(e):e}(e)})),r}function ys(e,t,n){return null!=n[t]?n[t]:e.props[t]}function bs(e,n,r){var o=gs(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(n,o);return Object.keys(i).forEach((function(a){var l=i[a];if((0,t.isValidElement)(l)){var s=a in n,c=a in o,u=n[a],d=(0,t.isValidElement)(u)&&!u.props.in;!c||s&&!d?c||!s||d?c&&s&&(0,t.isValidElement)(u)&&(i[a]=(0,t.cloneElement)(l,{onExited:r.bind(null,l),in:u.props.in,exit:ys(l,"exit",e),enter:ys(l,"enter",e)})):i[a]=(0,t.cloneElement)(l,{in:!1}):i[a]=(0,t.cloneElement)(l,{onExited:r.bind(null,l),in:!0,exit:ys(l,"exit",e),enter:ys(l,"enter",e)})}})),i}var xs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ws=function(e){function n(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(V(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ta(n,e);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=e,o=a,gs(r.children,(function(e){return(0,t.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:ys(e,"appear",r),enter:ys(e,"enter",r),exit:ys(e,"exit",r)})}))):bs(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=gs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Ti.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var e=this.props,n=e.component,r=e.childFactory,o=(0,T.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=xs(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Aa.Provider,{value:i},a):t.createElement(Aa.Provider,{value:i},t.createElement(n,o,a))},n}(t.Component);ws.propTypes={},ws.defaultProps={component:"div",childFactory:function(e){return e}};var Ss=ws;var ks=function(e){var n=e.className,r=e.classes,o=e.pulsate,i=void 0!==o&&o,a=e.rippleX,l=e.rippleY,s=e.rippleSize,c=e.in,u=e.onExited,d=e.timeout,f=t.useState(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,Mi.Z)(n,r.ripple,r.rippleVisible,i&&r.ripplePulsate),g={width:s,height:s,top:-s/2+l,left:-s/2+a},y=(0,Mi.Z)(r.child,h&&r.childLeaving,i&&r.childPulsate);return c||h||m(!0),t.useEffect((function(){if(!c&&null!=u){var e=setTimeout(u,d);return function(){clearTimeout(e)}}}),[u,c,d]),(0,Bi.jsx)("span",{className:v,style:g,children:(0,Bi.jsx)("span",{className:y})})};var js,Es,Os,Cs,Ps,Zs,_s,Ts,Ms=(0,Ea.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),As=["center","classes","className"],Rs=Yl(Ps||(Ps=js||(js=vs(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),Ns=Yl(Zs||(Zs=Es||(Es=vs(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),Is=Yl(_s||(_s=Os||(Os=vs(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),Ds=(0,Oi.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),zs=(0,Oi.ZP)(ks,{name:"MuiTouchRipple",slot:"Ripple"})(Ts||(Ts=Cs||(Cs=vs(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),Ms.rippleVisible,Rs,550,(function(e){return e.theme.transitions.easing.easeInOut}),Ms.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),Ms.child,Ms.childLeaving,Ns,550,(function(e){return e.theme.transitions.easing.easeInOut}),Ms.childPulsate,Is,(function(e){return e.theme.transitions.easing.easeInOut})),Ls=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTouchRipple"}),o=r.center,i=void 0!==o&&o,a=r.classes,l=void 0===a?{}:a,s=r.className,c=(0,T.Z)(r,As),u=t.useState([]),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=t.useRef(0),m=t.useRef(null);t.useEffect((function(){m.current&&(m.current(),m.current=null)}),[f]);var v=t.useRef(!1),g=t.useRef(0),y=t.useRef(null),b=t.useRef(null);t.useEffect((function(){return function(){g.current&&clearTimeout(g.current)}}),[]);var x=t.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;p((function(e){return[].concat((0,F.Z)(e),[(0,Bi.jsx)(zs,{classes:{ripple:(0,Mi.Z)(l.ripple,Ms.ripple),rippleVisible:(0,Mi.Z)(l.rippleVisible,Ms.rippleVisible),ripplePulsate:(0,Mi.Z)(l.ripplePulsate,Ms.ripplePulsate),child:(0,Mi.Z)(l.child,Ms.child),childLeaving:(0,Mi.Z)(l.childLeaving,Ms.childLeaving),childPulsate:(0,Mi.Z)(l.childPulsate,Ms.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])})),h.current+=1,m.current=i}),[l]),w=t.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,a=t.center,l=void 0===a?i||t.pulsate:a,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===(null==e?void 0:e.type)&&v.current)v.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(v.current=!0);var u,d,f,p=c?null:b.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(h.width/2),d=Math.round(h.height/2);else{var m=e.touches&&e.touches.length>0?e.touches[0]:e,w=m.clientX,S=m.clientY;u=Math.round(w-h.left),d=Math.round(S-h.top)}if(l)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(f+=1);else{var k=2*Math.max(Math.abs((p?p.clientWidth:0)-u),u)+2,j=2*Math.max(Math.abs((p?p.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(k,2)+Math.pow(j,2))}null!=e&&e.touches?null===y.current&&(y.current=function(){x({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})},g.current=setTimeout((function(){y.current&&(y.current(),y.current=null)}),80)):x({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})}}),[i,x]),S=t.useCallback((function(){w({},{pulsate:!0})}),[w]),k=t.useCallback((function(e,t){if(clearTimeout(g.current),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void(g.current=setTimeout((function(){k(e,t)})));y.current=null,p((function(e){return e.length>0?e.slice(1):e})),m.current=t}),[]);return t.useImperativeHandle(n,(function(){return{pulsate:S,start:w,stop:k}}),[S,w,k]),(0,Bi.jsx)(Ds,(0,Ti.Z)({className:(0,Mi.Z)(Ms.root,l.root,s),ref:b},c,{children:(0,Bi.jsx)(Ss,{component:null,exit:!0,children:f})}))})),Bs=Ls;function Fs(e){return(0,Oa.Z)("MuiButtonBase",e)}var Ws,Us=(0,Ea.Z)("MuiButtonBase",["root","disabled","focusVisible"]),qs=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Hs=(0,Oi.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Ws={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,u.Z)(Ws,"&.".concat(Us.disabled),{pointerEvents:"none",cursor:"default"}),(0,u.Z)(Ws,"@media print",{colorAdjust:"exact"}),Ws)),Vs=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiButtonBase"}),o=r.action,i=r.centerRipple,a=void 0!==i&&i,l=r.children,s=r.className,c=r.component,u=void 0===c?"button":c,d=r.disabled,f=void 0!==d&&d,p=r.disableRipple,h=void 0!==p&&p,m=r.disableTouchRipple,v=void 0!==m&&m,g=r.focusRipple,y=void 0!==g&&g,b=r.LinkComponent,x=void 0===b?"a":b,w=r.onBlur,S=r.onClick,k=r.onContextMenu,j=r.onDragLeave,E=r.onFocus,O=r.onFocusVisible,C=r.onKeyDown,P=r.onKeyUp,Z=r.onMouseDown,_=r.onMouseLeave,M=r.onMouseUp,A=r.onTouchEnd,R=r.onTouchMove,N=r.onTouchStart,I=r.tabIndex,z=void 0===I?0:I,L=r.TouchRippleProps,B=r.touchRippleRef,F=r.type,W=(0,T.Z)(r,qs),U=t.useRef(null),q=t.useRef(null),H=(0,qa.Z)(q,B),V=(0,ms.Z)(),Y=V.isFocusVisibleRef,G=V.onFocus,$=V.onBlur,K=V.ref,X=t.useState(!1),Q=(0,D.Z)(X,2),J=Q[0],ee=Q[1];f&&J&&ee(!1),t.useImperativeHandle(o,(function(){return{focusVisible:function(){ee(!0),U.current.focus()}}}),[]);var te=t.useState(!1),ne=(0,D.Z)(te,2),re=ne[0],oe=ne[1];t.useEffect((function(){oe(!0)}),[]);var ie=re&&!h&&!f;function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return(0,hs.Z)((function(r){return t&&t(r),!n&&q.current&&q.current[e](r),!0}))}t.useEffect((function(){J&&y&&!h&&re&&q.current.pulsate()}),[h,y,J,re]);var le=ae("start",Z),se=ae("stop",k),ce=ae("stop",j),ue=ae("stop",M),de=ae("stop",(function(e){J&&e.preventDefault(),_&&_(e)})),fe=ae("start",N),pe=ae("stop",A),he=ae("stop",R),me=ae("stop",(function(e){$(e),!1===Y.current&&ee(!1),w&&w(e)}),!1),ve=(0,hs.Z)((function(e){U.current||(U.current=e.currentTarget),G(e),!0===Y.current&&(ee(!0),O&&O(e)),E&&E(e)})),ge=function(){var e=U.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ye=t.useRef(!1),be=(0,hs.Z)((function(e){y&&!ye.current&&J&&q.current&&" "===e.key&&(ye.current=!0,q.current.stop(e,(function(){q.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!f&&(e.preventDefault(),S&&S(e))})),xe=(0,hs.Z)((function(e){y&&" "===e.key&&q.current&&J&&!e.defaultPrevented&&(ye.current=!1,q.current.stop(e,(function(){q.current.pulsate(e)}))),P&&P(e),S&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&S(e)})),we=u;"button"===we&&(W.href||W.to)&&(we=x);var Se={};"button"===we?(Se.type=void 0===F?"button":F,Se.disabled=f):(W.href||W.to||(Se.role="button"),f&&(Se["aria-disabled"]=f));var ke=(0,qa.Z)(n,K,U);var je=(0,Ti.Z)({},r,{centerRipple:a,component:u,disabled:f,disableRipple:h,disableTouchRipple:v,focusRipple:y,tabIndex:z,focusVisible:J}),Ee=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Yi.Z)(i,Fs,o);return n&&r&&(a.root+=" ".concat(r)),a}(je);return(0,Bi.jsxs)(Hs,(0,Ti.Z)({as:we,className:(0,Mi.Z)(Ee.root,s),ownerState:je,onBlur:me,onClick:S,onContextMenu:se,onFocus:ve,onKeyDown:be,onKeyUp:xe,onMouseDown:le,onMouseLeave:de,onMouseUp:ue,onDragLeave:ce,onTouchEnd:pe,onTouchMove:he,onTouchStart:fe,ref:ke,tabIndex:f?-1:z,type:F},Se,W,{children:[l,ie?(0,Bi.jsx)(Bs,(0,Ti.Z)({ref:H,center:a},L)):null]}))})),Ys=Vs;function Gs(e){return(0,Oa.Z)("MuiIconButton",e)}var $s=(0,Ea.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ks=["edge","children","className","color","disabled","disableFocusRipple","size"],Xs=(0,Oi.ZP)(Ys,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))],n.edge&&t["edge".concat((0,vl.Z)(n.edge))],t["size".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,r=e.ownerState,o=null==(t=(n.vars||n).palette)?void 0:t[r.color];return(0,Ti.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,Ti.Z)({color:null==o?void 0:o.main},!r.disableRipple&&{"&:hover":(0,Ti.Z)({},o&&{backgroundColor:n.vars?"rgba(".concat(o.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,u.Z)({},"&.".concat($s.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),Qs=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiIconButton"}),r=n.edge,o=void 0!==r&&r,i=n.children,a=n.className,l=n.color,s=void 0===l?"default":l,c=n.disabled,u=void 0!==c&&c,d=n.disableFocusRipple,f=void 0!==d&&d,p=n.size,h=void 0===p?"medium":p,m=(0,T.Z)(n,Ks),v=(0,Ti.Z)({},n,{edge:o,color:s,disabled:u,disableFocusRipple:f,size:h}),g=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,vl.Z)(r)),o&&"edge".concat((0,vl.Z)(o)),"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(a,Gs,t)}(v);return(0,Bi.jsx)(Xs,(0,Ti.Z)({className:(0,Mi.Z)(g.root,a),centerRipple:!0,focusRipple:!f,disabled:u,ref:t,ownerState:v},m,{children:i}))})),Js=Qs;function ec(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"}}]})(e)}function tc(e){return vi({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 256c52.805 0 96-43.201 96-96s-43.195-96-96-96-96 43.201-96 96 43.195 96 96 96zm0 48c-63.598 0-192 32.402-192 96v48h384v-48c0-63.598-128.402-96-192-96zM112 224v-64H80v64H16v32h64v64h32v-64h64v-32h-64z"}}]})(e)}var nc=n(1009),rc=n(8996),oc=n(3701),ic=n(162);function ac(e){return(0,Oa.Z)("MuiListItem",e)}var lc=(0,Ea.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function sc(e){return(0,Oa.Z)("MuiListItemButton",e)}var cc=(0,Ea.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function uc(e){return(0,Oa.Z)("MuiListItemSecondaryAction",e)}(0,Ea.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var dc=["className"],fc=(0,Oi.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.disableGutters&&t.disableGutters]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})})),pc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemSecondaryAction"}),o=r.className,i=(0,T.Z)(r,dc),a=t.useContext(Il),l=(0,Ti.Z)({},r,{disableGutters:a.disableGutters}),s=function(e){var t=e.disableGutters,n=e.classes,r={root:["root",t&&"disableGutters"]};return(0,Yi.Z)(r,uc,n)}(l);return(0,Bi.jsx)(fc,(0,Ti.Z)({className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n},i))}));pc.muiName="ListItemSecondaryAction";var hc=pc,mc=["className"],vc=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],gc=(0,Oi.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!r.disablePadding&&(0,Ti.Z)({paddingTop:8,paddingBottom:8},r.dense&&{paddingTop:4,paddingBottom:4},!r.disableGutters&&{paddingLeft:16,paddingRight:16},!!r.secondaryAction&&{paddingRight:48}),!!r.secondaryAction&&(0,u.Z)({},"& > .".concat(cc.root),{paddingRight:48}),(t={},(0,u.Z)(t,"&.".concat(lc.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(lc.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(lc.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(lc.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},r.button&&(0,u.Z)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(lc.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),r.hasSecondaryAction&&{paddingRight:48})})),yc=(0,Oi.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,t){return t.container}})({position:"relative"}),bc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItem"}),o=r.alignItems,i=void 0===o?"center":o,a=r.autoFocus,l=void 0!==a&&a,s=r.button,c=void 0!==s&&s,u=r.children,d=r.className,f=r.component,p=r.components,h=void 0===p?{}:p,m=r.componentsProps,v=void 0===m?{}:m,g=r.ContainerComponent,y=void 0===g?"li":g,b=r.ContainerProps,x=(void 0===b?{}:b).className,w=r.dense,S=void 0!==w&&w,k=r.disabled,j=void 0!==k&&k,E=r.disableGutters,O=void 0!==E&&E,C=r.disablePadding,P=void 0!==C&&C,Z=r.divider,_=void 0!==Z&&Z,M=r.focusVisibleClassName,A=r.secondaryAction,R=r.selected,N=void 0!==R&&R,I=r.slotProps,D=void 0===I?{}:I,z=r.slots,L=void 0===z?{}:z,B=(0,T.Z)(r.ContainerProps,mc),F=(0,T.Z)(r,vc),W=t.useContext(Il),U=t.useMemo((function(){return{dense:S||W.dense||!1,alignItems:i,disableGutters:O}}),[i,W.dense,S,O]),q=t.useRef(null);(0,ic.Z)((function(){l&&q.current&&q.current.focus()}),[l]);var H=t.Children.toArray(u),V=H.length&&(0,oc.Z)(H[H.length-1],["ListItemSecondaryAction"]),Y=(0,Ti.Z)({},r,{alignItems:i,autoFocus:l,button:c,dense:U.dense,disabled:j,disableGutters:O,disablePadding:P,divider:_,hasSecondaryAction:V,selected:N}),G=function(e){var t=e.alignItems,n=e.button,r=e.classes,o=e.dense,i=e.disabled,a={root:["root",o&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,Yi.Z)(a,ac,r)}(Y),$=(0,qa.Z)(q,n),K=L.root||h.Root||gc,X=D.root||v.root||{},Q=(0,Ti.Z)({className:(0,Mi.Z)(G.root,X.className,d),disabled:j},F),J=f||"li";return c&&(Q.component=f||"div",Q.focusVisibleClassName=(0,Mi.Z)(lc.focusVisible,M),J=Ys),V?(J=Q.component||f?J:"div","li"===y&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),(0,Bi.jsx)(Il.Provider,{value:U,children:(0,Bi.jsxs)(yc,(0,Ti.Z)({as:y,className:(0,Mi.Z)(G.container,x),ref:$,ownerState:Y},B,{children:[(0,Bi.jsx)(K,(0,Ti.Z)({},X,!$i(K)&&{as:J,ownerState:(0,Ti.Z)({},Y,X.ownerState)},Q,{children:H})),H.pop()]}))})):(0,Bi.jsx)(Il.Provider,{value:U,children:(0,Bi.jsxs)(K,(0,Ti.Z)({},X,{as:J,ref:$},!$i(K)&&{ownerState:(0,Ti.Z)({},Y,X.ownerState)},Q,{children:[H,A&&(0,Bi.jsx)(hc,{children:A})]}))})})),xc=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],wc=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiListItemButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)((t={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,u.Z)(t,"&.".concat(cc.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(cc.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(cc.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,u.Z)(t,"&.".concat(cc.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(cc.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),t),r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===r.alignItems&&{alignItems:"flex-start"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.dense&&{paddingTop:4,paddingBottom:4})})),Sc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemButton"}),o=r.alignItems,i=void 0===o?"center":o,a=r.autoFocus,l=void 0!==a&&a,s=r.component,c=void 0===s?"div":s,u=r.children,d=r.dense,f=void 0!==d&&d,p=r.disableGutters,h=void 0!==p&&p,m=r.divider,v=void 0!==m&&m,g=r.focusVisibleClassName,y=r.selected,b=void 0!==y&&y,x=r.className,w=(0,T.Z)(r,xc),S=t.useContext(Il),k=t.useMemo((function(){return{dense:f||S.dense||!1,alignItems:i,disableGutters:h}}),[i,S.dense,f,h]),j=t.useRef(null);(0,ic.Z)((function(){l&&j.current&&j.current.focus()}),[l]);var E=(0,Ti.Z)({},r,{alignItems:i,dense:k.dense,disableGutters:h,divider:v,selected:b}),O=function(e){var t=e.alignItems,n=e.classes,r=e.dense,o=e.disabled,i={root:["root",r&&"dense",!e.disableGutters&&"gutters",e.divider&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",e.selected&&"selected"]},a=(0,Yi.Z)(i,sc,n);return(0,Ti.Z)({},n,a)}(E),C=(0,qa.Z)(j,n);return(0,Bi.jsx)(Il.Provider,{value:k,children:(0,Bi.jsx)(wc,(0,Ti.Z)({ref:C,href:w.href||w.to,component:(w.href||w.to)&&"div"===c?"button":c,focusVisibleClassName:(0,Mi.Z)(O.focusVisible,g),ownerState:E,className:(0,Mi.Z)(O.root,x)},w,{classes:O,children:u}))})}));function kc(e){return(0,Oa.Z)("MuiListItemIcon",e)}var jc=(0,Ea.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Ec=["className"],Oc=(0,Oi.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),Cc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemIcon"}),o=r.className,i=(0,T.Z)(r,Ec),a=t.useContext(Il),l=(0,Ti.Z)({},r,{alignItems:a.alignItems}),s=function(e){var t=e.alignItems,n=e.classes,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,Yi.Z)(r,kc,n)}(l);return(0,Bi.jsx)(Oc,(0,Ti.Z)({className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n},i))}));function Pc(e){return(0,Oa.Z)("MuiListItemText",e)}var Zc=(0,Ea.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),_c=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Tc=(0,Oi.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(Zc.primary),t.primary),(0,u.Z)({},"& .".concat(Zc.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),Mc=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiListItemText"}),o=r.children,i=r.className,a=r.disableTypography,l=void 0!==a&&a,s=r.inset,c=void 0!==s&&s,u=r.primary,d=r.primaryTypographyProps,f=r.secondary,p=r.secondaryTypographyProps,h=(0,T.Z)(r,_c),m=t.useContext(Il).dense,v=null!=u?u:o,g=f,y=(0,Ti.Z)({},r,{disableTypography:l,inset:c,primary:!!v,secondary:!!g,dense:m}),b=function(e){var t=e.classes,n=e.inset,r=e.primary,o=e.secondary,i={root:["root",n&&"inset",e.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,Yi.Z)(i,Pc,t)}(y);return null==v||v.type===as||l||(v=(0,Bi.jsx)(as,(0,Ti.Z)({variant:m?"body2":"body1",className:b.primary,component:null!=d&&d.variant?void 0:"span",display:"block"},d,{children:v}))),null==g||g.type===as||l||(g=(0,Bi.jsx)(as,(0,Ti.Z)({variant:"body2",className:b.secondary,color:"text.secondary",display:"block"},p,{children:g}))),(0,Bi.jsxs)(Tc,(0,Ti.Z)({className:(0,Mi.Z)(b.root,i),ownerState:y,ref:n},h,{children:[v,g]}))})),Ac=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Rc(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Nc={entering:{opacity:1,transform:Rc(1)},entered:{opacity:1,transform:"none"}},Ic="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Dc=t.forwardRef((function(e,n){var r=e.addEndListener,o=e.appear,i=void 0===o||o,a=e.children,l=e.easing,s=e.in,c=e.onEnter,u=e.onEntered,d=e.onEntering,f=e.onExit,p=e.onExited,h=e.onExiting,m=e.style,v=e.timeout,g=void 0===v?"auto":v,y=e.TransitionComponent,b=void 0===y?Fa:y,x=(0,T.Z)(e,Ac),w=t.useRef(),S=t.useRef(),k=_i(),j=t.useRef(null),E=(0,qa.Z)(j,a.ref,n),O=function(e){return function(t){if(e){var n=j.current;void 0===t?e(n):e(n,t)}}},C=O(d),P=O((function(e,t){Wa(e);var n,r=Ua({style:m,timeout:g,easing:l},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===g?(n=k.transitions.getAutoHeightDuration(e.clientHeight),S.current=n):n=o,e.style.transition=[k.transitions.create("opacity",{duration:n,delay:i}),k.transitions.create("transform",{duration:Ic?n:.666*n,delay:i,easing:a})].join(","),c&&c(e,t)})),Z=O(u),_=O(h),M=O((function(e){var t,n=Ua({style:m,timeout:g,easing:l},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===g?(t=k.transitions.getAutoHeightDuration(e.clientHeight),S.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:o}),k.transitions.create("transform",{duration:Ic?t:.666*t,delay:Ic?o:o||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=Rc(.75),f&&f(e)})),A=O(p);return t.useEffect((function(){return function(){clearTimeout(w.current)}}),[]),(0,Bi.jsx)(b,(0,Ti.Z)({appear:i,in:s,nodeRef:j,onEnter:P,onEntered:Z,onEntering:C,onExit:M,onExited:A,onExiting:_,addEndListener:function(e){"auto"===g&&(w.current=setTimeout(e,S.current||0)),r&&r(j.current,e)},timeout:"auto"===g?null:g},x,{children:function(e,n){return t.cloneElement(a,(0,Ti.Z)({style:(0,Ti.Z)({opacity:0,transform:Rc(.75),visibility:"exited"!==e||s?void 0:"hidden"},Nc[e],m,a.props.style),ref:E},n))}}))}));Dc.muiSupportAuto=!0;var zc=Dc;function Lc(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Bc(e){return e instanceof Lc(e).Element||e instanceof Element}function Fc(e){return e instanceof Lc(e).HTMLElement||e instanceof HTMLElement}function Wc(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Lc(e).ShadowRoot||e instanceof ShadowRoot)}var Uc=Math.max,qc=Math.min,Hc=Math.round;function Vc(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(Vc())}function Gc(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Fc(e)&&(o=e.offsetWidth>0&&Hc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Hc(r.height)/e.offsetHeight||1);var a=(Bc(e)?Lc(e):window).visualViewport,l=!Yc()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function $c(e){var t=Lc(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Kc(e){return e?(e.nodeName||"").toLowerCase():null}function Xc(e){return((Bc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qc(e){return Gc(Xc(e)).left+$c(e).scrollLeft}function Jc(e){return Lc(e).getComputedStyle(e)}function eu(e){var t=Jc(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function tu(e,t,n){void 0===n&&(n=!1);var r=Fc(t),o=Fc(t)&&function(e){var t=e.getBoundingClientRect(),n=Hc(t.width)/e.offsetWidth||1,r=Hc(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Xc(t),a=Gc(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Kc(t)||eu(i))&&(l=function(e){return e!==Lc(e)&&Fc(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:$c(e);var t}(t)),Fc(t)?((s=Gc(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Qc(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function nu(e){var t=Gc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ru(e){return"html"===Kc(e)?e:e.assignedSlot||e.parentNode||(Wc(e)?e.host:null)||Xc(e)}function ou(e){return["html","body","#document"].indexOf(Kc(e))>=0?e.ownerDocument.body:Fc(e)&&eu(e)?e:ou(ru(e))}function iu(e,t){var n;void 0===t&&(t=[]);var r=ou(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Lc(r),a=o?[i].concat(i.visualViewport||[],eu(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(iu(ru(a)))}function au(e){return["table","td","th"].indexOf(Kc(e))>=0}function lu(e){return Fc(e)&&"fixed"!==Jc(e).position?e.offsetParent:null}function su(e){for(var t=Lc(e),n=lu(e);n&&au(n)&&"static"===Jc(n).position;)n=lu(n);return n&&("html"===Kc(n)||"body"===Kc(n)&&"static"===Jc(n).position)?t:n||function(e){var t=/firefox/i.test(Vc());if(/Trident/i.test(Vc())&&Fc(e)&&"fixed"===Jc(e).position)return null;var n=ru(e);for(Wc(n)&&(n=n.host);Fc(n)&&["html","body"].indexOf(Kc(n))<0;){var r=Jc(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var cu="top",uu="bottom",du="right",fu="left",pu="auto",hu=[cu,uu,du,fu],mu="start",vu="end",gu="clippingParents",yu="viewport",bu="popper",xu="reference",wu=hu.reduce((function(e,t){return e.concat([t+"-"+mu,t+"-"+vu])}),[]),Su=[].concat(hu,[pu]).reduce((function(e,t){return e.concat([t,t+"-"+mu,t+"-"+vu])}),[]),ku=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ju(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Eu(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ou={placement:"bottom",modifiers:[],strategy:"absolute"};function Cu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Pu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ou:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ou,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Bc(e)?iu(e):e.contextElement?iu(e.contextElement):[],popper:iu(t)};var u=function(e){var t=ju(e);return ku.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var l=i({state:o,name:t,instance:s,options:r}),c=function(){};a.push(l||c)}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Cu(t,n)){o.rects={reference:tu(t,su(n),"fixed"===o.options.strategy),popper:nu(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Eu((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){c(),l=!0}};if(!Cu(e,t))return s;function c(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Zu={passive:!0};function _u(e){return e.split("-")[0]}function Tu(e){return e.split("-")[1]}function Mu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Au(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?_u(o):null,a=o?Tu(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case cu:t={x:l,y:n.y-r.height};break;case uu:t={x:l,y:n.y+n.height};break;case du:t={x:n.x+n.width,y:s};break;case fu:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Mu(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case mu:t[c]=t[c]-(n[u]/2-r[u]/2);break;case vu:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Ru={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"===typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=fu,x=cu,w=window;if(c){var S=su(n),k="clientHeight",j="clientWidth";if(S===Lc(n)&&"static"!==Jc(S=Xc(n)).position&&"absolute"===l&&(k="scrollHeight",j="scrollWidth"),o===cu||(o===fu||o===du)&&i===vu)x=uu,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-r.height,m*=s?1:-1;if(o===fu||(o===cu||o===uu)&&i===vu)b=du,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[j])-r.width,p*=s?1:-1}var E,O=Object.assign({position:l},c&&Ru),C=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Hc(n*o)/o||0,y:Hc(r*o)/o||0}}({x:p,y:m},Lc(n)):{x:p,y:m};return p=C.x,m=C.y,s?Object.assign({},O,((E={})[x]=y?"0":"",E[b]=g?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var Iu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Fc(o)&&Kc(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Fc(r)&&Kc(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Du={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Su.reduce((function(e,n){return e[n]=function(e,t,n){var r=_u(e),o=[fu,cu].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[fu,du].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},zu={left:"right",right:"left",bottom:"top",top:"bottom"};function Lu(e){return e.replace(/left|right|bottom|top/g,(function(e){return zu[e]}))}var Bu={start:"end",end:"start"};function Fu(e){return e.replace(/start|end/g,(function(e){return Bu[e]}))}function Wu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Wc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Uu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qu(e,t,n){return t===yu?Uu(function(e,t){var n=Lc(e),r=Xc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=Yc();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Qc(e),y:s}}(e,n)):Bc(t)?function(e,t){var n=Gc(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Uu(function(e){var t,n=Xc(e),r=$c(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Uc(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Uc(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Qc(e),s=-r.scrollTop;return"rtl"===Jc(o||n).direction&&(l+=Uc(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Xc(e)))}function Hu(e,t,n,r){var o="clippingParents"===t?function(e){var t=iu(ru(e)),n=["absolute","fixed"].indexOf(Jc(e).position)>=0&&Fc(e)?su(e):e;return Bc(n)?t.filter((function(e){return Bc(e)&&Wu(e,n)&&"body"!==Kc(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=qu(e,n,r);return t.top=Uc(o.top,t.top),t.right=qc(o.right,t.right),t.bottom=qc(o.bottom,t.bottom),t.left=Uc(o.left,t.left),t}),qu(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Vu(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Yu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Gu(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?gu:l,c=n.rootBoundary,u=void 0===c?yu:c,d=n.elementContext,f=void 0===d?bu:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Vu("number"!==typeof v?v:Yu(v,hu)),y=f===bu?xu:bu,b=e.rects.popper,x=e.elements[h?y:f],w=Hu(Bc(x)?x:x.contextElement||Xc(e.elements.popper),s,u,a),S=Gc(e.elements.reference),k=Au({reference:S,element:b,strategy:"absolute",placement:o}),j=Uu(Object.assign({},b,k)),E=f===bu?j:S,O={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},C=e.modifiersData.offset;if(f===bu&&C){var P=C[o];Object.keys(O).forEach((function(e){var t=[du,uu].indexOf(e)>=0?1:-1,n=[cu,uu].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}var $u={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=_u(v),y=s||(g===v||!h?[Lu(v)]:function(e){if(_u(e)===pu)return[];var t=Lu(e);return[Fu(e),t,Fu(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(_u(n)===pu?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Su:s,u=Tu(r),d=u?l?wu:wu.filter((function(e){return Tu(e)===u})):hu,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Gu(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[_u(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,j=b[0],E=0;E<b.length;E++){var O=b[E],C=_u(O),P=Tu(O)===mu,Z=[cu,uu].indexOf(C)>=0,_=Z?"width":"height",T=Gu(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),M=Z?P?du:fu:P?uu:cu;x[_]>w[_]&&(M=Lu(M));var A=Lu(M),R=[];if(i&&R.push(T[C]<=0),l&&R.push(T[M]<=0,T[A]<=0),R.every((function(e){return e}))){j=O,k=!1;break}S.set(O,R)}if(k)for(var N=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},I=h?3:1;I>0;I--){if("break"===N(I))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ku(e,t,n){return Uc(e,qc(t,n))}var Xu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Gu(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=_u(t.placement),y=Tu(t.placement),b=!y,x=Mu(g),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,E="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"===typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var Z,_="y"===x?cu:fu,T="y"===x?uu:du,M="y"===x?"height":"width",A=S[x],R=A+v[_],N=A-v[T],I=p?-j[M]/2:0,D=y===mu?k[M]:j[M],z=y===mu?-j[M]:-k[M],L=t.elements.arrow,B=p&&L?nu(L):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=F[_],U=F[T],q=Ku(0,k[M],B[M]),H=b?k[M]/2-I-q-W-O.mainAxis:D-q-W-O.mainAxis,V=b?-k[M]/2+I+q+U+O.mainAxis:z+q+U+O.mainAxis,Y=t.elements.arrow&&su(t.elements.arrow),G=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,$=null!=(Z=null==C?void 0:C[x])?Z:0,K=A+V-$,X=Ku(p?qc(R,A+H-$-G):R,A,p?Uc(N,K):N);S[x]=X,P[x]=X-A}if(l){var Q,J="x"===x?cu:fu,ee="x"===x?uu:du,te=S[w],ne="y"===w?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[cu,fu].indexOf(g),ae=null!=(Q=null==C?void 0:C[w])?Q:0,le=ie?re:te-k[ne]-j[ne]-ae+O.altAxis,se=ie?te+k[ne]+j[ne]-ae-O.altAxis:oe,ce=p&&ie?function(e,t,n){var r=Ku(e,t,n);return r>n?n:r}(le,te,se):Ku(p?le:re,te,p?se:oe);S[w]=ce,P[w]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};var Qu={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=_u(n.placement),s=Mu(l),c=[fu,du].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return Vu("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Yu(e,hu))}(o.padding,n),d=nu(i),f="y"===s?cu:fu,p="y"===s?uu:du,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],v=su(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[f],x=g-d[c]-u[p],w=g/2-d[c]/2+y,S=Ku(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&Wu(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ju(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ed(e){return[cu,du,uu,fu].some((function(t){return e[t]>=0}))}var td=Pu({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Lc(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Zu)})),l&&s.addEventListener("resize",n.update,Zu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Zu)})),l&&s.removeEventListener("resize",n.update,Zu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Au({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:_u(t.placement),variation:Tu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Nu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Iu,Du,$u,Xu,Qu,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Gu(t,{elementContext:"reference"}),l=Gu(t,{altBoundary:!0}),s=Ju(a,r),c=Ju(l,o,i),u=ed(s),d=ed(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function nd(e){return(0,Oa.Z)("MuiPopper",e)}(0,Ea.Z)("MuiPopper",["root"]);var rd=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],od=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function id(e){return"function"===typeof e?e():e}function ad(e){return void 0!==e.nodeType}var ld={},sd=t.forwardRef((function(e,n){var r,o=e.anchorEl,i=e.children,a=e.direction,l=e.disablePortal,s=e.modifiers,c=e.open,u=e.placement,d=e.popperOptions,f=e.popperRef,p=e.slotProps,h=void 0===p?{}:p,m=e.slots,v=void 0===m?{}:m,g=e.TransitionProps,y=(0,T.Z)(e,rd),b=t.useRef(null),x=(0,Gi.Z)(b,n),w=t.useRef(null),S=(0,Gi.Z)(w,f),k=t.useRef(S);(0,ia.Z)((function(){k.current=S}),[S]),t.useImperativeHandle(f,(function(){return w.current}),[]);var j=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),E=t.useState(j),O=(0,D.Z)(E,2),C=O[0],P=O[1],Z=t.useState(id(o)),_=(0,D.Z)(Z,2),M=_[0],A=_[1];t.useEffect((function(){w.current&&w.current.forceUpdate()})),t.useEffect((function(){o&&A(id(o))}),[o]),(0,ia.Z)((function(){if(M&&c){var e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;P(t.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));var t=td(M,b.current,(0,Ti.Z)({placement:j},d,{modifiers:e}));return k.current(t),function(){t.destroy(),k.current(null)}}}),[M,l,s,c,d,j]);var R={placement:C};null!==g&&(R.TransitionProps=g);var N=(0,Yi.Z)({root:["root"]},oa(nd)),I=null!=(r=v.root)?r:"div",z=ta({elementType:I,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:N.root});return(0,Bi.jsx)(I,(0,Ti.Z)({},z,{children:"function"===typeof i?i(R):i}))})),cd=t.forwardRef((function(e,n){var r,o=e.anchorEl,i=e.children,a=e.container,l=e.direction,s=void 0===l?"ltr":l,c=e.disablePortal,u=void 0!==c&&c,d=e.keepMounted,f=void 0!==d&&d,p=e.modifiers,h=e.open,m=e.placement,v=void 0===m?"bottom":m,g=e.popperOptions,y=void 0===g?ld:g,b=e.popperRef,x=e.style,w=e.transition,S=void 0!==w&&w,k=e.slotProps,j=void 0===k?{}:k,E=e.slots,O=void 0===E?{}:E,C=(0,T.Z)(e,od),P=t.useState(!0),Z=(0,D.Z)(P,2),_=Z[0],M=Z[1];if(!f&&!h&&(!S||_))return null;if(a)r=a;else if(o){var A=id(o);r=A&&ad(A)?(0,sa.Z)(A).body:(0,sa.Z)(null).body}var R=h||!f||S&&!_?void 0:"none",N=S?{in:h,onEnter:function(){M(!1)},onExited:function(){M(!0)}}:void 0;return(0,Bi.jsx)(la,{disablePortal:u,container:r,children:(0,Bi.jsx)(sd,(0,Ti.Z)({anchorEl:o,direction:s,disablePortal:u,modifiers:p,ref:n,open:S?!_:h,placement:v,popperOptions:y,popperRef:b,slotProps:j,slots:O},C,{style:(0,Ti.Z)({position:"fixed",top:0,left:0,display:R},x),TransitionProps:N,children:i}))})})),ud=n(9120),dd=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],fd=(0,Oi.ZP)(cd,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),pd=t.forwardRef((function(e,t){var n,r=(0,ud.Z)(),o=(0,_a.Z)({props:e,name:"MuiPopper"}),i=o.anchorEl,a=o.component,l=o.components,s=o.componentsProps,c=o.container,u=o.disablePortal,d=o.keepMounted,f=o.modifiers,p=o.open,h=o.placement,m=o.popperOptions,v=o.popperRef,g=o.transition,y=o.slots,b=o.slotProps,x=(0,T.Z)(o,dd),w=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,S=(0,Ti.Z)({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:v,transition:g},x);return(0,Bi.jsx)(fd,(0,Ti.Z)({as:a,direction:null==r?void 0:r.direction,slots:{root:w},slotProps:null!=b?b:s},S,{ref:t}))})),hd=n(7384),md=n(5158);function vd(e){return(0,Oa.Z)("MuiTooltip",e)}var gd=(0,Ea.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),yd=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function bd(e){return Math.round(1e5*e)/1e5}var xd=(0,Oi.ZP)(pd,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((function(e){var t,n=e.theme,r=e.ownerState,o=e.open;return(0,Ti.Z)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!o&&{pointerEvents:"none"},r.arrow&&(t={},(0,u.Z)(t,'&[data-popper-placement*="bottom"] .'.concat(gd.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),(0,u.Z)(t,'&[data-popper-placement*="top"] .'.concat(gd.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),(0,u.Z)(t,'&[data-popper-placement*="right"] .'.concat(gd.arrow),(0,Ti.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),(0,u.Z)(t,'&[data-popper-placement*="left"] .'.concat(gd.arrow),(0,Ti.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),t))})),wd=(0,Oi.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,vl.Z)(n.placement.split("-")[0]))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({backgroundColor:n.vars?n.vars.palette.Tooltip.bg:(0,cl.Fq)(n.palette.grey[700],.92),borderRadius:(n.vars||n).shape.borderRadius,color:(n.vars||n).palette.common.white,fontFamily:n.typography.fontFamily,padding:"4px 8px",fontSize:n.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:n.typography.fontWeightMedium},r.arrow&&{position:"relative",margin:0},r.touch&&{padding:"8px 16px",fontSize:n.typography.pxToRem(14),lineHeight:"".concat(bd(16/14),"em"),fontWeight:n.typography.fontWeightRegular},(t={},(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="left"] &'),(0,Ti.Z)({transformOrigin:"right center"},r.isRtl?(0,Ti.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}):(0,Ti.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}))),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="right"] &'),(0,Ti.Z)({transformOrigin:"left center"},r.isRtl?(0,Ti.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}):(0,Ti.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}))),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="top"] &'),(0,Ti.Z)({transformOrigin:"center bottom",marginBottom:"14px"},r.touch&&{marginBottom:"24px"})),(0,u.Z)(t,".".concat(gd.popper,'[data-popper-placement*="bottom"] &'),(0,Ti.Z)({transformOrigin:"center top",marginTop:"14px"},r.touch&&{marginTop:"24px"})),t))})),Sd=(0,Oi.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(e,t){return t.arrow}})((function(e){var t=e.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,cl.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),kd=!1,jd=null,Ed={x:0,y:0};function Od(e,t){return function(n){t&&t(n),e(n)}}var Cd=t.forwardRef((function(e,n){var r,o,i,a,l,s,c,u,d,f,p,h,m,v,g,y,b,x,w,S=(0,_a.Z)({props:e,name:"MuiTooltip"}),k=S.arrow,j=void 0!==k&&k,E=S.children,O=S.components,C=void 0===O?{}:O,P=S.componentsProps,Z=void 0===P?{}:P,_=S.describeChild,M=void 0!==_&&_,A=S.disableFocusListener,R=void 0!==A&&A,N=S.disableHoverListener,I=void 0!==N&&N,z=S.disableInteractive,L=void 0!==z&&z,B=S.disableTouchListener,F=void 0!==B&&B,W=S.enterDelay,U=void 0===W?100:W,q=S.enterNextDelay,H=void 0===q?0:q,V=S.enterTouchDelay,Y=void 0===V?700:V,G=S.followCursor,$=void 0!==G&&G,K=S.id,X=S.leaveDelay,Q=void 0===X?0:X,J=S.leaveTouchDelay,ee=void 0===J?1500:J,te=S.onClose,ne=S.onOpen,re=S.open,oe=S.placement,ie=void 0===oe?"bottom":oe,ae=S.PopperComponent,le=S.PopperProps,se=void 0===le?{}:le,ce=S.slotProps,ue=void 0===ce?{}:ce,de=S.slots,fe=void 0===de?{}:de,pe=S.title,he=S.TransitionComponent,me=void 0===he?zc:he,ve=S.TransitionProps,ge=(0,T.Z)(S,yd),ye=t.isValidElement(E)?E:(0,Bi.jsx)("span",{children:E}),be=_i(),xe="rtl"===be.direction,we=t.useState(),Se=(0,D.Z)(we,2),ke=Se[0],je=Se[1],Ee=t.useState(null),Oe=(0,D.Z)(Ee,2),Ce=Oe[0],Pe=Oe[1],Ze=t.useRef(!1),_e=L||$,Te=t.useRef(),Me=t.useRef(),Ae=t.useRef(),Re=t.useRef(),Ne=(0,md.Z)({controlled:re,default:!1,name:"Tooltip",state:"open"}),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=Ie[1],Le=De,Be=(0,hd.Z)(K),Fe=t.useRef(),We=t.useCallback((function(){void 0!==Fe.current&&(document.body.style.WebkitUserSelect=Fe.current,Fe.current=void 0),clearTimeout(Re.current)}),[]);t.useEffect((function(){return function(){clearTimeout(Te.current),clearTimeout(Me.current),clearTimeout(Ae.current),We()}}),[We]);var Ue=function(e){clearTimeout(jd),kd=!0,ze(!0),ne&&!Le&&ne(e)},qe=(0,hs.Z)((function(e){clearTimeout(jd),jd=setTimeout((function(){kd=!1}),800+Q),ze(!1),te&&Le&&te(e),clearTimeout(Te.current),Te.current=setTimeout((function(){Ze.current=!1}),be.transitions.duration.shortest)})),He=function(e){Ze.current&&"touchstart"!==e.type||(ke&&ke.removeAttribute("title"),clearTimeout(Me.current),clearTimeout(Ae.current),U||kd&&H?Me.current=setTimeout((function(){Ue(e)}),kd?H:U):Ue(e))},Ve=function(e){clearTimeout(Me.current),clearTimeout(Ae.current),Ae.current=setTimeout((function(){qe(e)}),Q)},Ye=(0,ms.Z)(),Ge=Ye.isFocusVisibleRef,$e=Ye.onBlur,Ke=Ye.onFocus,Xe=Ye.ref,Qe=t.useState(!1),Je=(0,D.Z)(Qe,2)[1],et=function(e){$e(e),!1===Ge.current&&(Je(!1),Ve(e))},tt=function(e){ke||je(e.currentTarget),Ke(e),!0===Ge.current&&(Je(!0),He(e))},nt=function(e){Ze.current=!0;var t=ye.props;t.onTouchStart&&t.onTouchStart(e)},rt=He,ot=Ve;t.useEffect((function(){if(Le)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||qe(e)}}),[qe,Le]);var it=(0,qa.Z)(ye.ref,Xe,je,n);pe||0===pe||(Le=!1);var at=t.useRef(),lt={},st="string"===typeof pe;M?(lt.title=Le||!st||I?null:pe,lt["aria-describedby"]=Le?Be:null):(lt["aria-label"]=st?pe:null,lt["aria-labelledby"]=Le&&!st?Be:null);var ct=(0,Ti.Z)({},lt,ge,ye.props,{className:(0,Mi.Z)(ge.className,ye.props.className),onTouchStart:nt,ref:it},$?{onMouseMove:function(e){var t=ye.props;t.onMouseMove&&t.onMouseMove(e),Ed={x:e.clientX,y:e.clientY},at.current&&at.current.update()}}:{});var ut={};F||(ct.onTouchStart=function(e){nt(e),clearTimeout(Ae.current),clearTimeout(Te.current),We(),Fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Re.current=setTimeout((function(){document.body.style.WebkitUserSelect=Fe.current,He(e)}),Y)},ct.onTouchEnd=function(e){ye.props.onTouchEnd&&ye.props.onTouchEnd(e),We(),clearTimeout(Ae.current),Ae.current=setTimeout((function(){qe(e)}),ee)}),I||(ct.onMouseOver=Od(rt,ct.onMouseOver),ct.onMouseLeave=Od(ot,ct.onMouseLeave),_e||(ut.onMouseOver=rt,ut.onMouseLeave=ot)),R||(ct.onFocus=Od(tt,ct.onFocus),ct.onBlur=Od(et,ct.onBlur),_e||(ut.onFocus=tt,ut.onBlur=et));var dt=t.useMemo((function(){var e,t=[{name:"arrow",enabled:Boolean(Ce),options:{element:Ce,padding:4}}];return null!=(e=se.popperOptions)&&e.modifiers&&(t=t.concat(se.popperOptions.modifiers)),(0,Ti.Z)({},se.popperOptions,{modifiers:t})}),[Ce,se]),ft=(0,Ti.Z)({},S,{isRtl:xe,arrow:j,disableInteractive:_e,placement:ie,PopperComponentProp:ae,touch:Ze.current}),pt=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,o=e.touch,i=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat((0,vl.Z)(i.split("-")[0]))],arrow:["arrow"]};return(0,Yi.Z)(a,vd,t)}(ft),ht=null!=(r=null!=(o=fe.popper)?o:C.Popper)?r:xd,mt=null!=(i=null!=(a=null!=(l=fe.transition)?l:C.Transition)?a:me)?i:zc,vt=null!=(s=null!=(c=fe.tooltip)?c:C.Tooltip)?s:wd,gt=null!=(u=null!=(d=fe.arrow)?d:C.Arrow)?u:Sd,yt=Ki(ht,(0,Ti.Z)({},se,null!=(f=ue.popper)?f:Z.popper,{className:(0,Mi.Z)(pt.popper,null==se?void 0:se.className,null==(p=null!=(h=ue.popper)?h:Z.popper)?void 0:p.className)}),ft),bt=Ki(mt,(0,Ti.Z)({},ve,null!=(m=ue.transition)?m:Z.transition),ft),xt=Ki(vt,(0,Ti.Z)({},null!=(v=ue.tooltip)?v:Z.tooltip,{className:(0,Mi.Z)(pt.tooltip,null==(g=null!=(y=ue.tooltip)?y:Z.tooltip)?void 0:g.className)}),ft),wt=Ki(gt,(0,Ti.Z)({},null!=(b=ue.arrow)?b:Z.arrow,{className:(0,Mi.Z)(pt.arrow,null==(x=null!=(w=ue.arrow)?w:Z.arrow)?void 0:x.className)}),ft);return(0,Bi.jsxs)(t.Fragment,{children:[t.cloneElement(ye,ct),(0,Bi.jsx)(ht,(0,Ti.Z)({as:null!=ae?ae:pd,placement:ie,anchorEl:$?{getBoundingClientRect:function(){return{top:Ed.y,left:Ed.x,right:Ed.x,bottom:Ed.y,width:0,height:0}}}:ke,popperRef:at,open:!!ke&&Le,id:Be,transition:!0},ut,yt,{popperOptions:dt,children:function(e){var t=e.TransitionProps;return(0,Bi.jsx)(mt,(0,Ti.Z)({timeout:be.transitions.duration.shorter},t,bt,{children:(0,Bi.jsxs)(vt,(0,Ti.Z)({},xt,{children:[pe,j?(0,Bi.jsx)(gt,(0,Ti.Z)({},wt,{ref:Pe})):null]}))}))}}))]})})),Pd=Cd,Zd=n(501),_d=n(2338),Td=n(8252);function Md(e){return(0,Oa.Z)("MuiDialog",e)}var Ad=(0,Ea.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var Rd=t.createContext({}),Nd=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Id=(0,Oi.ZP)(Qa,{name:"MuiDialog",slot:"Backdrop",overrides:function(e,t){return t.backdrop}})({zIndex:-1}),Dd=(0,Oi.ZP)(nl,{name:"MuiDialog",slot:"Root",overridesResolver:function(e,t){return t.root}})({"@media print":{position:"absolute !important"}}),zd=(0,Oi.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(e,t){var n=e.ownerState;return[t.container,t["scroll".concat((0,vl.Z)(n.scroll))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),Ld=(0,Oi.ZP)(ml,{name:"MuiDialog",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["scrollPaper".concat((0,vl.Z)(n.scroll))],t["paperWidth".concat((0,vl.Z)(String(n.maxWidth)))],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&(0,u.Z)({maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)")},"&.".concat(Ad.paperScrollBody),(0,u.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),n.maxWidth&&"xs"!==n.maxWidth&&(0,u.Z)({maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)},"&.".concat(Ad.paperScrollBody),(0,u.Z)({},t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&(0,u.Z)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(Ad.paperScrollBody),{margin:0,maxWidth:"100%"}))})),Bd=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDialog"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r["aria-describedby"],l=r["aria-labelledby"],s=r.BackdropComponent,c=r.BackdropProps,u=r.children,d=r.className,f=r.disableEscapeKeyDown,p=void 0!==f&&f,h=r.fullScreen,m=void 0!==h&&h,v=r.fullWidth,g=void 0!==v&&v,y=r.maxWidth,b=void 0===y?"sm":y,x=r.onBackdropClick,w=r.onClose,S=r.open,k=r.PaperComponent,j=void 0===k?ml:k,E=r.PaperProps,O=void 0===E?{}:E,C=r.scroll,P=void 0===C?"paper":C,Z=r.TransitionComponent,_=void 0===Z?Ga:Z,M=r.transitionDuration,A=void 0===M?i:M,R=r.TransitionProps,N=(0,T.Z)(r,Nd),I=(0,Ti.Z)({},r,{disableEscapeKeyDown:p,fullScreen:m,fullWidth:g,maxWidth:b,scroll:P}),D=function(e){var t=e.classes,n=e.scroll,r=e.maxWidth,o=e.fullWidth,i=e.fullScreen,a={root:["root"],container:["container","scroll".concat((0,vl.Z)(n))],paper:["paper","paperScroll".concat((0,vl.Z)(n)),"paperWidth".concat((0,vl.Z)(String(r))),o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,Yi.Z)(a,Md,t)}(I),z=t.useRef(),L=(0,Td.Z)(l),B=t.useMemo((function(){return{titleId:L}}),[L]);return(0,Bi.jsx)(Dd,(0,Ti.Z)({className:(0,Mi.Z)(D.root,d),closeAfterTransition:!0,components:{Backdrop:Id},componentsProps:{backdrop:(0,Ti.Z)({transitionDuration:A,as:s},c)},disableEscapeKeyDown:p,onClose:w,open:S,ref:n,onClick:function(e){z.current&&(z.current=null,x&&x(e),w&&w(e,"backdropClick"))},ownerState:I},N,{children:(0,Bi.jsx)(_,(0,Ti.Z)({appear:!0,in:S,timeout:A,role:"presentation"},R,{children:(0,Bi.jsx)(zd,{className:(0,Mi.Z)(D.container),onMouseDown:function(e){z.current=e.target===e.currentTarget},ownerState:I,children:(0,Bi.jsx)(Ld,(0,Ti.Z)({as:j,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":L},O,{className:(0,Mi.Z)(D.paper,O.className),ownerState:I,children:(0,Bi.jsx)(Rd.Provider,{value:B,children:u})}))})}))}))}));function Fd(e){return(0,Oa.Z)("MuiDialogTitle",e)}var Wd=(0,Ea.Z)("MuiDialogTitle",["root"]),Ud=["className","id"],qd=(0,Oi.ZP)(as,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:"16px 24px",flex:"0 0 auto"}),Hd=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiDialogTitle"}),o=r.className,i=r.id,a=(0,T.Z)(r,Ud),l=r,s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Fd,t)}(l),c=t.useContext(Rd).titleId,u=void 0===c?i:c;return(0,Bi.jsx)(qd,(0,Ti.Z)({component:"h2",className:(0,Mi.Z)(s.root,o),ownerState:l,ref:n,variant:"h6",id:null!=i?i:u},a))}));function Vd(e){return(0,Oa.Z)("MuiDialogContent",e)}(0,Ea.Z)("MuiDialogContent",["root","dividers"]);var Yd=["className","dividers"],Gd=(0,Oi.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:(0,u.Z)({},".".concat(Wd.root," + &"),{paddingTop:0}))})),$d=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogContent"}),r=n.className,o=n.dividers,i=void 0!==o&&o,a=(0,T.Z)(n,Yd),l=(0,Ti.Z)({},n,{dividers:i}),s=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,Yi.Z)(n,Vd,t)}(l);return(0,Bi.jsx)(Gd,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))}));function Kd(e){return(0,Oa.Z)("MuiDialogContentText",e)}(0,Ea.Z)("MuiDialogContentText",["root"]);var Xd=["children","className"],Qd=(0,Oi.ZP)(as,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Jd=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogContentText"}),r=n.className,o=(0,T.Z)(n,Xd),i=function(e){var t=e.classes,n=(0,Yi.Z)({root:["root"]},Kd,t);return(0,Ti.Z)({},t,n)}(o);return(0,Bi.jsx)(Qd,(0,Ti.Z)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:(0,Mi.Z)(i.root,r)},n,{classes:i}))}));function ef(e){return(0,Oa.Z)("MuiDialogActions",e)}(0,Ea.Z)("MuiDialogActions",["root","spacing"]);var tf=["className","disableSpacing"],nf=(0,Oi.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),rf=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiDialogActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=(0,T.Z)(n,tf),l=(0,Ti.Z)({},n,{disableSpacing:i}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Yi.Z)(n,ef,t)}(l);return(0,Bi.jsx)(nf,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))})),of=n(5735);function af(e){return(0,Oa.Z)("MuiButton",e)}var lf=(0,Ea.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var sf=t.createContext({}),cf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],uf=function(e){return(0,Ti.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},df=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,vl.Z)(n.color))],t["size".concat((0,vl.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,vl.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,o=e.theme,i=e.ownerState,a="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,Ti.Z)({},o.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,Ti.Z)({textDecoration:"none",backgroundColor:o.vars?"rgba(".concat(o.vars.palette.text.primaryChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat((o.vars||o).palette[i.color].main),backgroundColor:o.vars?"rgba(".concat(o.vars.palette[i.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(o.palette[i.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:(o.vars||o).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[i.color].main}}),"&:active":(0,Ti.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[8]})},(0,u.Z)(t,"&.".concat(lf.focusVisible),(0,Ti.Z)({},"contained"===i.variant&&{boxShadow:(o.vars||o).shadows[6]})),(0,u.Z)(t,"&.".concat(lf.disabled),(0,Ti.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat((o.vars||o).palette.action.disabledBackground)},"contained"===i.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})),t),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].main,border:o.vars?"1px solid rgba(".concat(o.vars.palette[i.color].mainChannel," / 0.5)"):"1px solid ".concat((0,cl.Fq)(o.palette[i.color].main,.5))},"contained"===i.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(r=o.palette).getContrastText)?void 0:n.call(r,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:a,boxShadow:(o.vars||o).shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:(o.vars||o).palette[i.color].contrastText,backgroundColor:(o.vars||o).palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,u.Z)(t,"&.".concat(lf.focusVisible),{boxShadow:"none"}),(0,u.Z)(t,"&:active",{boxShadow:"none"}),(0,u.Z)(t,"&.".concat(lf.disabled),{boxShadow:"none"}),t)})),ff=(0,Oi.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},uf(t))})),pf=(0,Oi.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,vl.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},uf(t))})),hf=t.forwardRef((function(e,n){var r=t.useContext(sf),o=(0,of.Z)(r,e),i=(0,_a.Z)({props:o,name:"MuiButton"}),a=i.children,l=i.color,s=void 0===l?"primary":l,c=i.component,u=void 0===c?"button":c,d=i.className,f=i.disabled,p=void 0!==f&&f,h=i.disableElevation,m=void 0!==h&&h,v=i.disableFocusRipple,g=void 0!==v&&v,y=i.endIcon,b=i.focusVisibleClassName,x=i.fullWidth,w=void 0!==x&&x,S=i.size,k=void 0===S?"medium":S,j=i.startIcon,E=i.type,O=i.variant,C=void 0===O?"text":O,P=(0,T.Z)(i,cf),Z=(0,Ti.Z)({},i,{color:s,component:u,disabled:p,disableElevation:m,disableFocusRipple:g,fullWidth:w,size:k,type:E,variant:C}),_=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,o=e.size,i=e.variant,a=e.classes,l={root:["root",i,"".concat(i).concat((0,vl.Z)(t)),"size".concat((0,vl.Z)(o)),"".concat(i,"Size").concat((0,vl.Z)(o)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,vl.Z)(o))],endIcon:["endIcon","iconSize".concat((0,vl.Z)(o))]},s=(0,Yi.Z)(l,af,a);return(0,Ti.Z)({},a,s)}(Z),M=j&&(0,Bi.jsx)(ff,{className:_.startIcon,ownerState:Z,children:j}),A=y&&(0,Bi.jsx)(pf,{className:_.endIcon,ownerState:Z,children:y});return(0,Bi.jsxs)(df,(0,Ti.Z)({ownerState:Z,className:(0,Mi.Z)(r.className,_.root,d),component:u,disabled:p,focusRipple:!g,focusVisibleClassName:(0,Mi.Z)(_.focusVisible,b),ref:n,type:E},P,{classes:_,children:[M,a,A]}))})),mf=hf,vf=n(6711),gf=function(e){var t=e.open,n=e.onClose,r=e.onConfirm,o=e.message,i=e.title,a=e.content,l=e.submitLabel,s=e.show,c=e.disable,u=e.showCancel,d=void 0===u||u;return(0,Bi.jsxs)(Bd,{open:t,onClose:n,children:[(0,Bi.jsxs)(Hd,{sx:{backgroundColor:"primary.main",color:"white",fontSize:"18px",display:"flex",justifyContent:"space-between"},children:[i,(0,Bi.jsx)(vf.Z,{onClick:n,style:{fontSize:"25px"}})]}),(0,Bi.jsxs)($d,{children:[a,(0,Bi.jsx)(Jd,{sx:{marginTop:3},children:o})]}),(0,Bi.jsxs)(rf,{children:[d?(0,Bi.jsx)(mf,{variant:"outlined",size:"small",onClick:n,sx:{marginRight:2},children:"Cancel"}):null,s&&(0,Bi.jsx)(mf,{onClick:r,size:"small",variant:"contained",color:"primary",disabled:c,children:l})]})]})},yf=function(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)};function bf(e,t){return function(){return e.apply(t,arguments)}}var xf,wf=Object.prototype.toString,Sf=Object.getPrototypeOf,kf=(xf=Object.create(null),function(e){var t=wf.call(e);return xf[t]||(xf[t]=t.slice(8,-1).toLowerCase())}),jf=function(e){return e=e.toLowerCase(),function(t){return kf(t)===e}},Ef=function(e){return function(t){return typeof t===e}},Of=Array.isArray,Cf=Ef("undefined");var Pf=jf("ArrayBuffer");var Zf=Ef("string"),_f=Ef("function"),Tf=Ef("number"),Mf=function(e){return null!==e&&"object"===typeof e},Af=function(e){if("object"!==kf(e))return!1;var t=Sf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Rf=jf("Date"),Nf=jf("File"),If=jf("Blob"),Df=jf("FileList"),zf=jf("URLSearchParams");function Lf(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Of(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,l=i?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;for(n=0;n<s;n++)a=l[n],t.call(null,e[a],a,e)}}function Bf(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var Ff="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Wf=function(e){return!Cf(e)&&e!==Ff};var Uf,qf=(Uf="undefined"!==typeof Uint8Array&&Sf(Uint8Array),function(e){return Uf&&e instanceof Uf}),Hf=jf("HTMLFormElement"),Vf=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),Yf=jf("RegExp"),Gf=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Lf(n,(function(n,o){!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},$f="abcdefghijklmnopqrstuvwxyz",Kf="0123456789",Xf={DIGIT:Kf,ALPHA:$f,ALPHA_DIGIT:$f+$f.toUpperCase()+Kf};var Qf=jf("AsyncFunction"),Jf={isArray:Of,isArrayBuffer:Pf,isBuffer:function(e){return null!==e&&!Cf(e)&&null!==e.constructor&&!Cf(e.constructor)&&_f(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||_f(e.append)&&("formdata"===(t=kf(e))||"object"===t&&_f(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pf(e.buffer)},isString:Zf,isNumber:Tf,isBoolean:function(e){return!0===e||!1===e},isObject:Mf,isPlainObject:Af,isUndefined:Cf,isDate:Rf,isFile:Nf,isBlob:If,isRegExp:Yf,isFunction:_f,isStream:function(e){return Mf(e)&&_f(e.pipe)},isURLSearchParams:zf,isTypedArray:qf,isFileList:Df,forEach:Lf,merge:function e(){for(var t=(Wf(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&Bf(n,o)||o;Af(n[i])&&Af(r)?n[i]=e(n[i],r):Af(r)?n[i]=e({},r):Of(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o<i;o++)arguments[o]&&Lf(arguments[o],r);return n},extend:function(e,t,n){return Lf(t,(function(t,r){n&&_f(t)?e[r]=bf(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,l={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:kf,kindOfTest:jf,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(Of(e))return e;var t=e.length;if(!Tf(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Hf,hasOwnProperty:Vf,hasOwnProp:Vf,reduceDescriptors:Gf,freezeMethods:function(e){Gf(e,(function(t,n){if(_f(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];_f(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return Of(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Bf,global:Ff,isContextDefined:Wf,ALPHABET:Xf,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xf.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&_f(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(Mf(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=Of(n)?[]:{};return Lf(n,(function(t,n){var i=e(t,r+1);!Cf(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:Qf,isThenable:function(e){return e&&(Mf(e)||_f(e))&&_f(e.then)&&_f(e.catch)}};function ep(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Jf.inherits(ep,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Jf.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var tp=ep.prototype,np={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){np[e]={value:e}})),Object.defineProperties(ep,np),Object.defineProperty(tp,"isAxiosError",{value:!0}),ep.from=function(e,t,n,r,o,i){var a=Object.create(tp);return Jf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),ep.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var rp=ep;function op(e){return Jf.isPlainObject(e)||Jf.isArray(e)}function ip(e){return Jf.endsWith(e,"[]")?e.slice(0,-2):e}function ap(e,t,n){return e?e.concat(t).map((function(e,t){return e=ip(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var lp=Jf.toFlatObject(Jf,{},null,(function(e){return/^is[A-Z]/.test(e)}));var sp=function(e,t,n){if(!Jf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=Jf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Jf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Jf.isSpecCompliantForm(t);if(!Jf.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Jf.isDate(e))return e.toISOString();if(!l&&Jf.isBlob(e))throw new rp("Blob is not supported. Use a Buffer instead.");return Jf.isArrayBuffer(e)||Jf.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){var l=e;if(e&&!o&&"object"===typeof e)if(Jf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Jf.isArray(e)&&function(e){return Jf.isArray(e)&&!e.some(op)}(e)||(Jf.isFileList(e)||Jf.endsWith(n,"[]"))&&(l=Jf.toArray(e)))return n=ip(n),l.forEach((function(e,r){!Jf.isUndefined(e)&&null!==e&&t.append(!0===a?ap([n],r,i):null===a?n:n+"[]",s(e))})),!1;return!!op(e)||(t.append(ap(o,n,i),s(e)),!1)}var u=[],d=Object.assign(lp,{defaultVisitor:c,convertValue:s,isVisitable:op});if(!Jf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Jf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Jf.forEach(n,(function(n,i){!0===(!(Jf.isUndefined(n)||null===n)&&o.call(t,n,Jf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function cp(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function up(e,t){this._pairs=[],e&&sp(e,this,t)}var dp=up.prototype;dp.append=function(e,t){this._pairs.push([e,t])},dp.toString=function(e){var t=e?function(t){return e.call(this,t,cp)}:cp;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var fp=up;function pp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function hp(e,t,n){if(!t)return e;var r,o=n&&n.encode||pp,i=n&&n.serialize;if(r=i?i(t,n):Jf.isURLSearchParams(t)?t.toString():new fp(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var mp=function(){function e(){W(this,e),this.handlers=[]}return H(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Jf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),vp=mp,gp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yp={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:fp,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var bp=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),l=o>=e.length;return i=!i&&Jf.isArray(r)?r.length:i,l?(Jf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Jf.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Jf.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(Jf.isFormData(e)&&Jf.isFunction(e.entries)){var n={};return Jf.forEachEntry(e,(function(e,r){t(function(e){return Jf.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},xp={"Content-Type":void 0};var wp={transitional:gp,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=Jf.isObject(e);if(i&&Jf.isHTMLForm(e)&&(e=new FormData(e)),Jf.isFormData(e))return o&&o?JSON.stringify(bp(e)):e;if(Jf.isArrayBuffer(e)||Jf.isBuffer(e)||Jf.isStream(e)||Jf.isFile(e)||Jf.isBlob(e))return e;if(Jf.isArrayBufferView(e))return e.buffer;if(Jf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return sp(e,new yp.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return yp.isNode&&Jf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=Jf.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return sp(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(Jf.isString(e))try{return(t||JSON.parse)(e),Jf.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||wp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Jf.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw rp.from(i,rp.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yp.classes.FormData,Blob:yp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Jf.forEach(["delete","get","head"],(function(e){wp.headers[e]={}})),Jf.forEach(["post","put","patch"],(function(e){wp.headers[e]=Jf.merge(xp)}));var Sp=wp,kp=Jf.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jp=Symbol("internals");function Ep(e){return e&&String(e).trim().toLowerCase()}function Op(e){return!1===e||null==e?e:Jf.isArray(e)?e.map(Op):String(e)}function Cp(e,t,n,r,o){return Jf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Jf.isString(t)?Jf.isString(r)?-1!==t.indexOf(r):Jf.isRegExp(r)?r.test(t):void 0:void 0)}var Pp=function(e,t){function n(e){W(this,n),e&&this.set(e)}return H(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Ep(t);if(!o)throw new Error("header name must be a non-empty string");var i=Jf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Op(e))}var i=function(e,t){return Jf.forEach(e,(function(e,n){return o(e,n,t)}))};return Jf.isPlainObject(e)||e instanceof this.constructor?i(e,t):Jf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&kp[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=Ep(e)){var n=Jf.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(Jf.isFunction(t))return t.call(this,r,n);if(Jf.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ep(e)){var n=Jf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Cp(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Ep(e)){var o=Jf.findKey(n,e);!o||t&&!Cp(0,n[o],o,t)||(delete n[o],r=!0)}}return Jf.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!Cp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return Jf.forEach(this,(function(r,o){var i=Jf.findKey(n,o);if(i)return t[i]=Op(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Op(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Jf.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&Jf.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=(0,D.Z)(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[jp]=this[jp]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Ep(e);t[r]||(!function(e,t){var n=Jf.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Jf.isArray(e)?e.forEach(r):r(e),this}}]),n}();Pp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Jf.freezeMethods(Pp.prototype),Jf.freezeMethods(Pp);var Zp=Pp;function _p(e,t){var n=this||Sp,r=t||n,o=Zp.from(r.headers),i=r.data;return Jf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Tp(e){return!(!e||!e.__CANCEL__)}function Mp(e,t,n){rp.call(this,null==e?"canceled":e,rp.ERR_CANCELED,t,n),this.name="CanceledError"}Jf.inherits(Mp,rp,{__CANCEL__:!0});var Ap=Mp;var Rp=yp.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),Jf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Jf.isString(r)&&a.push("path="+r),Jf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Np(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ip=yp.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=Jf.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var Dp=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(l){var s=Date.now(),c=o[a];n||(n=s),r[i]=l,o[i]=s;for(var u=a,d=0;u!==i;)d+=r[u++],u%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(s-n<t)){var f=c&&s-c;return f?Math.round(1e3*d/f):void 0}}};function zp(e,t){var n=0,r=Dp(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-n,s=r(l);n=i;var c={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}var Lp="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,o=e.data,i=Zp.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}Jf.isFormData(o)&&(yp.isStandardBrowserEnv||yp.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));var s=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(c+":"+u))}var d=Np(e.baseURL,e.url);function f(){if(s){var r=Zp.from("getAllResponseHeaders"in s&&s.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new rp("Request failed with status code "+n.status,[rp.ERR_BAD_REQUEST,rp.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:a&&"text"!==a&&"json"!==a?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:r,config:e,request:s}),s=null}}if(s.open(e.method.toUpperCase(),hp(d,e.params,e.paramsSerializer),!0),s.timeout=e.timeout,"onloadend"in s?s.onloadend=f:s.onreadystatechange=function(){s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&setTimeout(f)},s.onabort=function(){s&&(n(new rp("Request aborted",rp.ECONNABORTED,e,s)),s=null)},s.onerror=function(){n(new rp("Network Error",rp.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||gp;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new rp(t,r.clarifyTimeoutError?rp.ETIMEDOUT:rp.ECONNABORTED,e,s)),s=null},yp.isStandardBrowserEnv){var p=(e.withCredentials||Ip(d))&&e.xsrfCookieName&&Rp.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}void 0===o&&i.setContentType(null),"setRequestHeader"in s&&Jf.forEach(i.toJSON(),(function(e,t){s.setRequestHeader(t,e)})),Jf.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),a&&"json"!==a&&(s.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&s.addEventListener("progress",zp(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",zp(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){s&&(n(!t||t.type?new Ap(null,e,s):t),s.abort(),s=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var h=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);h&&-1===yp.protocols.indexOf(h)?n(new rp("Unsupported protocol "+h+":",rp.ERR_BAD_REQUEST,e)):s.send(o||null)}))},Bp={http:null,xhr:Lp};Jf.forEach(Bp,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var Fp=function(e){for(var t,n,r=(e=Jf.isArray(e)?e:[e]).length,o=0;o<r&&(t=e[o],!(n=Jf.isString(t)?Bp[t.toLowerCase()]:t));o++);if(!n){if(!1===n)throw new rp("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(Jf.hasOwnProp(Bp,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!Jf.isFunction(n))throw new TypeError("adapter is not a function");return n};function Wp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ap(null,e)}function Up(e){return Wp(e),e.headers=Zp.from(e.headers),e.data=_p.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fp(e.adapter||Sp.adapter)(e).then((function(t){return Wp(e),t.data=_p.call(e,e.transformResponse,t),t.headers=Zp.from(t.headers),t}),(function(t){return Tp(t)||(Wp(e),t&&t.response&&(t.response.data=_p.call(e,e.transformResponse,t.response),t.response.headers=Zp.from(t.response.headers))),Promise.reject(t)}))}var qp=function(e){return e instanceof Zp?e.toJSON():e};function Hp(e,t){t=t||{};var n={};function r(e,t,n){return Jf.isPlainObject(e)&&Jf.isPlainObject(t)?Jf.merge.call({caseless:n},e,t):Jf.isPlainObject(t)?Jf.merge({},t):Jf.isArray(t)?t.slice():t}function o(e,t,n){return Jf.isUndefined(t)?Jf.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Jf.isUndefined(t))return r(void 0,t)}function a(e,t){return Jf.isUndefined(t)?Jf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:function(e,t){return o(qp(e),qp(t),!0)}};return Jf.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=s[r]||o,a=i(e[r],t[r],r);Jf.isUndefined(a)&&i!==l||(n[r]=a)})),n}var Vp="1.4.0",Yp={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Yp[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Gp={};Yp.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new rp(r(o," has been removed"+(t?" in "+t:"")),rp.ERR_DEPRECATED);return t&&!Gp[o]&&(Gp[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var $p={assertOptions:function(e,t,n){if("object"!==typeof e)throw new rp("options must be an object",rp.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var l=e[i],s=void 0===l||a(l,i,e);if(!0!==s)throw new rp("option "+i+" must be "+s,rp.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new rp("Unknown option "+i,rp.ERR_BAD_OPTION)}},validators:Yp},Kp=$p.validators,Xp=function(){function e(t){W(this,e),this.defaults=t,this.interceptors={request:new vp,response:new vp}}return H(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=Hp(this.defaults,t),o=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==o&&$p.assertOptions(o,{silentJSONParsing:Kp.transitional(Kp.boolean),forcedJSONParsing:Kp.transitional(Kp.boolean),clarifyTimeoutError:Kp.transitional(Kp.boolean)},!1),null!=i&&(Jf.isFunction(i)?t.paramsSerializer={serialize:i}:$p.assertOptions(i,{encode:Kp.function,serialize:Kp.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=a&&Jf.merge(a.common,a[t.method]))&&Jf.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=Zp.concat(n,a);var l=[],s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));var c,u=[];this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));var d,f=0;if(!s){var p=[Up.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),d=p.length,c=Promise.resolve(t);f<d;)c=c.then(p[f++],p[f++]);return c}d=l.length;var h=t;for(f=0;f<d;){var m=l[f++],v=l[f++];try{h=m(h)}catch(g){v.call(this,g);break}}try{c=Up.call(this,h)}catch(g){return Promise.reject(g)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}},{key:"getUri",value:function(e){return hp(Np((e=Hp(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();Jf.forEach(["delete","get","head","options"],(function(e){Xp.prototype[e]=function(t,n){return this.request(Hp(n||{},{method:e,url:t,data:(n||{}).data}))}})),Jf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Hp(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Xp.prototype[e]=t(),Xp.prototype[e+"Form"]=t(!0)}));var Qp=Xp,Jp=function(){function e(t){if(W(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new Ap(e,t,o),n(r.reason))}))}return H(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t,n=new e((function(e){t=e}));return{token:n,cancel:t}}}]),e}(),eh=Jp;var th={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(th).forEach((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];th[r]=n}));var nh=th;var rh=function e(t){var n=new Qp(t),r=bf(Qp.prototype.request,n);return Jf.extend(r,Qp.prototype,n,{allOwnKeys:!0}),Jf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Hp(t,n))},r}(Sp);rh.Axios=Qp,rh.CanceledError=Ap,rh.CancelToken=eh,rh.isCancel=Tp,rh.VERSION=Vp,rh.toFormData=sp,rh.AxiosError=rp,rh.Cancel=rh.CanceledError,rh.all=function(e){return Promise.all(e)},rh.spread=function(e){return function(t){return e.apply(null,t)}},rh.isAxiosError=function(e){return Jf.isObject(e)&&!0===e.isAxiosError},rh.mergeConfig=Hp,rh.AxiosHeaders=Zp,rh.formToJSON=function(e){return bp(Jf.isHTMLForm(e)?new FormData(e):e)},rh.HttpStatusCode=nh,rh.default=rh;var oh=rh.create({baseURL:window.location.hostname.includes("localhost")?"http://127.0.0.1:8000":"http://quiz-be-test.hematitecorp.com"});oh.interceptors.request.use((function(e){var t=!!sessionStorage.getItem("accessToken");return te(te({},e),{},{headers:te(te({},t&&{Authorization:"Bearer ".concat(sessionStorage.getItem("accessToken"))}),e.headers)})}),(function(e){return Promise.reject(e)})),oh.interceptors.response.use((function(e){return e.data}),(function(e){return Promise.reject(e)}));var ih=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oh.get(e,{headers:t})},ah=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oh.post(e,t,{headers:n})},lh=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oh.put(e,t,{headers:n})},sh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oh.delete(e,{headers:t})},ch=n(5146),uh={token:"/api/token/",exams:"/api/exam/",question:"/api/question/",voucher:"/api/voucher/",feedback:"/api/feedback/",student:"/api/user/student-register/",branch:"/api/branch/",staff:"/api/user/employee-register/",user:"/api/user/",employee:"/api/employee/",password:"/api/user/forget-passwords/",result:"/api/result/results/",submit_exam:"/api/result/submitexam/",start_exam:"/api/question/examquestions",upload_csv:"/api/upload-csv/",feedbackAns:"/api/feedback-answer/",batch:"/api/batch/",batchWiseStudent:"/api/batch-wise-students/",scheduled:"/api/schedule/",sendEmail:"/api/send-email/",course:"/api/course/",enquiry:"/api/enquiry/",enroll:"/api/enroll/",loginUser:"/api/user/me/"},dh=function(e){return/^[a-zA-Z]{2,20}$/.test(e)},fh=function(e){return/^[6789]\d{9}$/.test(e)},ph=function(e){return/^[a-zA-Z0-9._%+-]+@[a-zA-Z]{3,}\.[a-zA-Z]{2,}$/g.test(e)},hh=function(e){return/^[0-9]{16,20}$/.test(e)},mh=function(e){return/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])[A-Za-z\d!@#$%^&*]{8,14}$/.test(e)},vh=function(e){return/^[1-5]{1}$/.test(e)},gh=function(e){return/^[A-Za-z]{2,30}$/.test(e)},yh=function(e){return/^[a-zA-Z]{2,500}$/.test(e)},bh=function(e){return/^[0-9]{3}$/.test(e)},xh=function(e){return(0,Bi.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(ch.Z,{})," ",(0,Bi.jsx)("span",{style:{paddingLeft:"5px"},children:e})]})},wh=240,Sh=function(e){return{width:wh,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden"}},kh=function(e){return(0,u.Z)({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"calc(".concat(e.spacing(7)," + 1px)")},e.breakpoints.up("sm"),{width:"calc(".concat(e.spacing(8)," + 1px)")})},jh=(0,Oi.ZP)("div")((function(e){var t=e.theme;return te({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:t.spacing(0,1)},t.mixins.toolbar)})),Eh=(0,Oi.ZP)(Tl,{shouldForwardProp:function(e){return"open"!==e}})((function(e){var t=e.theme,n=e.open;return te({zIndex:t.zIndex.drawer+1,transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.leavingScreen})},n&&{marginLeft:wh,width:"calc(100% - ".concat(wh,"px)"),transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.enteringScreen})})})),Oh=(0,Oi.ZP)(El,{shouldForwardProp:function(e){return"open"!==e}})((function(e){var t=e.theme,n=e.open;return te(te({width:wh,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box"},n&&te(te({},Sh(t)),{},{"& .MuiDrawer-paper":Sh(t)})),!n&&te(te({},kh(t)),{},{"& .MuiDrawer-paper":kh(t)}))})),Ch=function(){var e=_i(),n=t.useState(!0),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=t.useState(!1),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=t.useState(!1),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=x((function(e){return e.user})),m=h.loginUser,v=_(),g=t.useState(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=t.useState("info"),k=(0,D.Z)(S,2),j=(k[0],k[1]),E=Lo(),O=Do();(0,t.useEffect)((function(){ih("".concat(uh.loginUser)).then((function(e){v(hn.GetLogginUser(e.data))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var C="admin"===(null===m||void 0===m?void 0:m.role),P="counsellor"===(null===m||void 0===m?void 0:m.role),Z=null===m||void 0===m?void 0:m.role,T="".concat(null===m||void 0===m?void 0:m.fname," ").concat(null===m||void 0===m?void 0:m.lname),M=function(e){E(e)};return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(Vi,{sx:{display:"flex"},children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsx)(Eh,{position:"fixed",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(Js,{color:"inherit","aria-label":"open drawer",onClick:function(){return i(!o)},edge:"start",children:(0,Bi.jsx)(xi,{})}),(0,Bi.jsxs)(as,{variant:"h6",sx:{fontSize:"18px"},noWrap:!0,component:"div",children:["Hematite Infotech Pvt Ltd ",(0,Bi.jsx)("span",{style:{marginLeft:"15px",marginRight:"15px"},children:"|"})," ",yf(Z)," Dashboard"]}),(0,Bi.jsx)(Vi,{sx:{flexGrow:1}}),T?(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,sx:{fontSize:"18px"},component:"div",children:["Welcome ",T]}):(0,Bi.jsx)(as,{variant:"h6",sx:{fontSize:"18px"},noWrap:!0,component:"div",children:"Dashboard"}),(0,Bi.jsx)(as,{sx:{marginLeft:"15px"},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){j("warning"),w("Are you sure you want to logout as ".concat(Z,"?")),c(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),(0,Bi.jsxs)(Oh,{variant:"permanent",open:o,children:[(0,Bi.jsx)(jh,{children:(0,Bi.jsx)(Js,{onClick:function(){i(!1)},children:"rtl"===e.direction?(0,Bi.jsx)(rc.Z,{}):(0,Bi.jsx)(nc.Z,{})})}),(0,Bi.jsx)(ps,{}),(0,Bi.jsxs)(Bl,{children:[(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/student"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/student")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Student",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(bi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Student",sx:{opacity:o?1:0}})]})}),(C||P)&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/register-student"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/register-student")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Registered Student",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(tc,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Registered Student",sx:{opacity:o?1:0}})]})}),(C||P)&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/enquiry"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/enquiry")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"enquiry",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(yi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Enquiry",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/batch"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/batch")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Batch",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(_d.Z,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Batch",sx:{opacity:o?1:0}})]})}),C&&(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/staff"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/staff")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Employee",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Zd.Z,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Employee",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/exam"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/exam")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Exam",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Ei,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Exam",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/question"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/question")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Question",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(wi,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Question",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/voucher"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/voucher")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Voucher",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(ji,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Voucher",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/feedback"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/feedback")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Feedback",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(ki,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Feedback",sx:{opacity:o?1:0}})]})}),(0,Bi.jsx)(bc,{disablePadding:!0,sx:{display:"block"},className:"/dashboard/result"===O.pathname?"selected":"",children:(0,Bi.jsxs)(Sc,{onClick:function(){return M("/dashboard/result")},sx:{minHeight:48,justifyContent:o?"initial":"center",px:2.5},children:[(0,Bi.jsx)(Cc,{sx:{minWidth:0,mr:o?2:"auto",justifyContent:"center"},children:(0,Bi.jsx)(Pd,{title:"Result",children:(0,Bi.jsx)(Js,{children:(0,Bi.jsx)(Si,{style:{color:"#2c387e",fontSize:"20px"}})})})}),(0,Bi.jsx)(Mc,{className:"menu-color",primary:"Result",sx:{opacity:o?1:0}})]})})]}),(0,Bi.jsx)(ps,{})]}),(0,Bi.jsx)("div",{className:"child-components",children:(0,Bi.jsx)(ti,{})})]}),(0,Bi.jsx)(gf,{open:s,onClose:function(){return c(!1)},show:!0,onConfirm:function(){c(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),sessionStorage.removeItem("studentId"),E("/")},title:"Confirmation",message:b,submitLabel:"Logout"}),(0,Bi.jsx)(gf,{show:!0,showCancel:!1,open:f,onClose:function(){return p(!1)},onConfirm:function(){p(!1),E("/dashboard/schedule")},title:"Confirmation",message:b,submitLabel:"OK"})]})};var Ph=t.createContext();function Zh(e){return(0,Oa.Z)("MuiTable",e)}(0,Ea.Z)("MuiTable",["root","stickyHeader"]);var _h=["className","component","padding","size","stickyHeader"],Th=(0,Oi.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,Ti.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),Mh="table",Ah=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTable"}),o=r.className,i=r.component,a=void 0===i?Mh:i,l=r.padding,s=void 0===l?"normal":l,c=r.size,u=void 0===c?"medium":c,d=r.stickyHeader,f=void 0!==d&&d,p=(0,T.Z)(r,_h),h=(0,Ti.Z)({},r,{component:a,padding:s,size:u,stickyHeader:f}),m=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,Yi.Z)(n,Zh,t)}(h),v=t.useMemo((function(){return{padding:s,size:u,stickyHeader:f}}),[s,u,f]);return(0,Bi.jsx)(Ph.Provider,{value:v,children:(0,Bi.jsx)(Th,(0,Ti.Z)({as:a,role:a===Mh?null:"table",ref:n,className:(0,Mi.Z)(m.root,o),ownerState:h},p))})}));var Rh=t.createContext();function Nh(e){return(0,Oa.Z)("MuiTableBody",e)}(0,Ea.Z)("MuiTableBody",["root"]);var Ih=["className","component"],Dh=(0,Oi.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-row-group"}),zh={variant:"body"},Lh="tbody",Bh=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableBody"}),r=n.className,o=n.component,i=void 0===o?Lh:o,a=(0,T.Z)(n,Ih),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Nh,t)}(l);return(0,Bi.jsx)(Rh.Provider,{value:zh,children:(0,Bi.jsx)(Dh,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),as:i,ref:t,role:i===Lh?null:"rowgroup",ownerState:l},a))})}));function Fh(e){return(0,Oa.Z)("MuiTableCell",e)}var Wh=(0,Ea.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Uh=["align","className","component","padding","scope","size","sortDirection","variant"],qh=(0,Oi.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,vl.Z)(n.size))],"normal"!==n.padding&&t["padding".concat((0,vl.Z)(n.padding))],"inherit"!==n.align&&t["align".concat((0,vl.Z)(n.align))],n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n ".concat("light"===t.palette.mode?(0,cl.$n)((0,cl.Fq)(t.palette.divider,1),.88):(0,cl._j)((0,cl.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:(t.vars||t).palette.text.primary},"footer"===n.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&(0,u.Z)({padding:"6px 16px"},"&.".concat(Wh.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),Hh=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiTableCell"}),i=o.align,a=void 0===i?"inherit":i,l=o.className,s=o.component,c=o.padding,u=o.scope,d=o.size,f=o.sortDirection,p=o.variant,h=(0,T.Z)(o,Uh),m=t.useContext(Ph),v=t.useContext(Rh),g=v&&"head"===v.variant,y=u;"td"===(r=s||(g?"th":"td"))?y=void 0:!y&&g&&(y="col");var b=p||v&&v.variant,x=(0,Ti.Z)({},o,{align:a,component:r,padding:c||(m&&m.padding?m.padding:"normal"),size:d||(m&&m.size?m.size:"medium"),sortDirection:f,stickyHeader:"head"===b&&m&&m.stickyHeader,variant:b}),w=function(e){var t=e.classes,n=e.variant,r=e.align,o=e.padding,i=e.size,a={root:["root",n,e.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat((0,vl.Z)(r)),"normal"!==o&&"padding".concat((0,vl.Z)(o)),"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(a,Fh,t)}(x),S=null;return f&&(S="asc"===f?"ascending":"descending"),(0,Bi.jsx)(qh,(0,Ti.Z)({as:r,ref:n,className:(0,Mi.Z)(w.root,l),"aria-sort":S,scope:y,ownerState:x},h))})),Vh=Hh;function Yh(e){return(0,Oa.Z)("MuiTableContainer",e)}(0,Ea.Z)("MuiTableContainer",["root"]);var Gh=["className","component"],$h=(0,Oi.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:"100%",overflowX:"auto"}),Kh=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,T.Z)(n,Gh),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Yh,t)}(l);return(0,Bi.jsx)($h,(0,Ti.Z)({ref:t,as:i,className:(0,Mi.Z)(s.root,r),ownerState:l},a))}));function Xh(e){return(0,Oa.Z)("MuiTableHead",e)}(0,Ea.Z)("MuiTableHead",["root"]);var Qh=["className","component"],Jh=(0,Oi.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),em={variant:"head"},tm="thead",nm=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTableHead"}),r=n.className,o=n.component,i=void 0===o?tm:o,a=(0,T.Z)(n,Qh),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Xh,t)}(l);return(0,Bi.jsx)(Rh.Provider,{value:em,children:(0,Bi.jsx)(Jh,(0,Ti.Z)({as:i,className:(0,Mi.Z)(s.root,r),ref:t,role:i===tm?null:"rowgroup",ownerState:l},a))})})),rm=n(6189),om=n(2254),im=["onChange","maxRows","minRows","style","value"];function am(e){return parseInt(e,10)||0}var lm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function sm(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var cm=t.forwardRef((function(e,n){var r=e.onChange,o=e.maxRows,i=e.minRows,a=void 0===i?1:i,s=e.style,c=e.value,u=(0,T.Z)(e,im),d=t.useRef(null!=c).current,f=t.useRef(null),p=(0,Gi.Z)(n,f),h=t.useRef(null),m=t.useRef(0),v=t.useState({outerHeightStyle:0}),g=(0,D.Z)(v,2),y=g[0],b=g[1],x=t.useCallback((function(){var t=f.current,n=(0,da.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var r=h.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n.boxSizing,l=am(n.paddingBottom)+am(n.paddingTop),s=am(n.borderBottomWidth)+am(n.borderTopWidth),c=r.scrollHeight;r.value="x";var u=r.scrollHeight,d=c;return a&&(d=Math.max(Number(a)*u,d)),o&&(d=Math.min(Number(o)*u,d)),{outerHeightStyle:(d=Math.max(d,u))+("border-box"===i?l+s:0),overflow:Math.abs(d-c)<=1}}),[o,a,e.placeholder]),w=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return m.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(m.current+=1,{overflow:r,outerHeightStyle:n}):e},S=t.useCallback((function(){var e=x();sm(e)||b((function(t){return w(t,e)}))}),[x]);t.useEffect((function(){var e,t=(0,om.Z)((function(){m.current=0,f.current&&function(){var e=x();sm(e)||l.flushSync((function(){b((function(t){return w(t,e)}))}))}()})),n=f.current,r=(0,da.Z)(n);return r.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(n),function(){t.clear(),r.removeEventListener("resize",t),e&&e.disconnect()}})),(0,ia.Z)((function(){S()})),t.useEffect((function(){m.current=0}),[c]);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)("textarea",(0,Ti.Z)({value:c,onChange:function(e){m.current=0,d||S(),r&&r(e)},ref:p,rows:a,style:(0,Ti.Z)({height:y.outerHeightStyle,overflow:y.overflow?"hidden":void 0},s)},u)),(0,Bi.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:(0,Ti.Z)({},lm,s,{paddingTop:0,paddingBottom:0})})]})}));function um(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}var dm=t.createContext(void 0);function fm(){return t.useContext(dm)}function pm(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function hm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(pm(e.value)&&""!==e.value||t&&pm(e.defaultValue)&&""!==e.defaultValue)}function mm(e){return(0,Oa.Z)("MuiInputBase",e)}var vm=(0,Ea.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),gm=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],ym=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,vl.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},bm=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xm=(0,Oi.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ym})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},t.typography.body1,(0,u.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(vm.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,Ti.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),wm=(0,Oi.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:bm})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode,i=(0,Ti.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),a={opacity:"0 !important"},l=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return(0,Ti.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,u.Z)(t,"label[data-shrink=false] + .".concat(vm.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus:-ms-input-placeholder":l,"&:focus::-ms-input-placeholder":l}),(0,u.Z)(t,"&.".concat(vm.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Sm=(0,Bi.jsx)(Kl,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),km=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiInputBase"}),i=o["aria-describedby"],a=o.autoComplete,l=o.autoFocus,s=o.className,c=o.components,u=void 0===c?{}:c,d=o.componentsProps,f=void 0===d?{}:d,p=o.defaultValue,h=o.disabled,m=o.disableInjectingGlobalStyles,v=o.endAdornment,g=o.fullWidth,y=void 0!==g&&g,b=o.id,x=o.inputComponent,w=void 0===x?"input":x,S=o.inputProps,k=void 0===S?{}:S,j=o.inputRef,E=o.maxRows,O=o.minRows,C=o.multiline,P=void 0!==C&&C,Z=o.name,_=o.onBlur,M=o.onChange,A=o.onClick,R=o.onFocus,N=o.onKeyDown,I=o.onKeyUp,z=o.placeholder,L=o.readOnly,B=o.renderSuffix,F=o.rows,W=o.slotProps,U=void 0===W?{}:W,q=o.slots,H=void 0===q?{}:q,V=o.startAdornment,Y=o.type,G=void 0===Y?"text":Y,$=o.value,K=(0,T.Z)(o,gm),X=null!=k.value?k.value:$,Q=t.useRef(null!=X).current,J=t.useRef(),ee=t.useCallback((function(e){0}),[]),te=(0,qa.Z)(J,j,k.ref,ee),ne=t.useState(!1),re=(0,D.Z)(ne,2),oe=re[0],ie=re[1],ae=fm();var le=um({props:o,muiFormControl:ae,states:["color","disabled","error","hiddenLabel","size","required","filled"]});le.focused=ae?ae.focused:oe,t.useEffect((function(){!ae&&h&&oe&&(ie(!1),_&&_())}),[ae,h,oe,_]);var se=ae&&ae.onFilled,ce=ae&&ae.onEmpty,ue=t.useCallback((function(e){hm(e)?se&&se():ce&&ce()}),[se,ce]);(0,ic.Z)((function(){Q&&ue({value:X})}),[X,ue,Q]);t.useEffect((function(){ue(J.current)}),[]);var de=w,fe=k;P&&"input"===de&&(fe=F?(0,Ti.Z)({type:void 0,minRows:F,maxRows:F},fe):(0,Ti.Z)({type:void 0,maxRows:E,minRows:O},fe),de=cm);t.useEffect((function(){ae&&ae.setAdornedStart(Boolean(V))}),[ae,V]);var pe=(0,Ti.Z)({},o,{color:le.color||"primary",disabled:le.disabled,endAdornment:v,error:le.error,focused:le.focused,formControl:ae,fullWidth:y,hiddenLabel:le.hiddenLabel,multiline:P,size:le.size,startAdornment:V,type:G}),he=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,l=e.formControl,s=e.fullWidth,c=e.hiddenLabel,u=e.multiline,d=e.readOnly,f=e.size,p=e.startAdornment,h=e.type,m={root:["root","color".concat((0,vl.Z)(n)),r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===f&&"sizeSmall",u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return(0,Yi.Z)(m,mm,t)}(pe),me=H.root||u.Root||xm,ve=U.root||f.root||{},ge=H.input||u.Input||wm;return fe=(0,Ti.Z)({},fe,null!=(r=U.input)?r:f.input),(0,Bi.jsxs)(t.Fragment,{children:[!m&&Sm,(0,Bi.jsxs)(me,(0,Ti.Z)({},ve,!$i(me)&&{ownerState:(0,Ti.Z)({},pe,ve.ownerState)},{ref:n,onClick:function(e){J.current&&e.currentTarget===e.target&&J.current.focus(),A&&!le.disabled&&A(e)}},K,{className:(0,Mi.Z)(he.root,ve.className,s,L&&"MuiInputBase-readOnly"),children:[V,(0,Bi.jsx)(dm.Provider,{value:null,children:(0,Bi.jsx)(ge,(0,Ti.Z)({ownerState:pe,"aria-invalid":le.error,"aria-describedby":i,autoComplete:a,autoFocus:l,defaultValue:p,disabled:le.disabled,id:b,onAnimationStart:function(e){ue("mui-auto-fill-cancel"===e.animationName?J.current:{value:"x"})},name:Z,placeholder:z,readOnly:L,required:le.required,rows:F,value:X,onKeyDown:N,onKeyUp:I,type:G},fe,!$i(ge)&&{as:de,ownerState:(0,Ti.Z)({},pe,fe.ownerState)},{ref:te,className:(0,Mi.Z)(he.input,fe.className,L&&"MuiInputBase-readOnly"),onBlur:function(e){_&&_(e),k.onBlur&&k.onBlur(e),ae&&ae.onBlur?ae.onBlur(e):ie(!1)},onChange:function(e){if(!Q){var t=e.target||J.current;if(null==t)throw new Error((0,rm.Z)(1));ue({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];k.onChange&&k.onChange.apply(k,[e].concat(r)),M&&M.apply(void 0,[e].concat(r))},onFocus:function(e){le.disabled?e.stopPropagation():(R&&R(e),k.onFocus&&k.onFocus(e),ae&&ae.onFocus?ae.onFocus(e):ie(!0))}}))}),v,B?B((0,Ti.Z)({},le,{startAdornment:V})):null]}))]})})),jm=km;function Em(e){return(0,Oa.Z)("MuiMenuItem",e)}var Om=(0,Ea.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Cm=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Pm=(0,Oi.ZP)(Ys,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,u.Z)(t,"&.".concat(Om.selected),(0,u.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Om.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,u.Z)(t,"&.".concat(Om.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,u.Z)(t,"&.".concat(Om.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(Om.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,u.Z)(t,"& + .".concat(ss.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,u.Z)(t,"& + .".concat(ss.inset),{marginLeft:52}),(0,u.Z)(t,"& .".concat(Zc.root),{marginTop:0,marginBottom:0}),(0,u.Z)(t,"& .".concat(Zc.inset),{paddingLeft:36}),(0,u.Z)(t,"& .".concat(jc.root),{minWidth:36}),t),!r.dense&&(0,u.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),r.dense&&(0,Ti.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,u.Z)({},"& .".concat(jc.root," svg"),{fontSize:"1.25rem"})))})),Zm=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiMenuItem"}),o=r.autoFocus,i=void 0!==o&&o,a=r.component,l=void 0===a?"li":a,s=r.dense,c=void 0!==s&&s,u=r.divider,d=void 0!==u&&u,f=r.disableGutters,p=void 0!==f&&f,h=r.focusVisibleClassName,m=r.role,v=void 0===m?"menuitem":m,g=r.tabIndex,y=r.className,b=(0,T.Z)(r,Cm),x=t.useContext(Il),w=t.useMemo((function(){return{dense:c||x.dense||!1,disableGutters:p}}),[x.dense,c,p]),S=t.useRef(null);(0,ic.Z)((function(){i&&S.current&&S.current.focus()}),[i]);var k,j=(0,Ti.Z)({},r,{dense:w.dense,divider:d,disableGutters:p}),E=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,i=e.selected,a=e.classes,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},s=(0,Yi.Z)(l,Em,a);return(0,Ti.Z)({},a,s)}(r),O=(0,qa.Z)(S,n);return r.disabled||(k=void 0!==g?g:-1),(0,Bi.jsx)(Il.Provider,{value:w,children:(0,Bi.jsx)(Pm,(0,Ti.Z)({ref:O,role:v,tabIndex:k,component:l,focusVisibleClassName:(0,Mi.Z)(E.focusVisible,h),className:(0,Mi.Z)(E.root,y)},b,{ownerState:j,classes:E}))})})),_m=(n(8457),n(8301)),Tm=fa,Mm=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Am(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Rm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Nm(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Im(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return!1;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Nm(l,i)&&!s)return l.focus(),!0;l=o(e,l,n)}return!1}var Dm=t.forwardRef((function(e,n){var r=e.actions,o=e.autoFocus,i=void 0!==o&&o,a=e.autoFocusItem,l=void 0!==a&&a,s=e.children,c=e.className,u=e.disabledItemsFocusable,d=void 0!==u&&u,f=e.disableListWrap,p=void 0!==f&&f,h=e.onKeyDown,m=e.variant,v=void 0===m?"selectedMenu":m,g=(0,T.Z)(e,Mm),y=t.useRef(null),b=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,ic.Z)((function(){i&&y.current.focus()}),[i]),t.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!y.current.style.width;if(e.clientHeight<y.current.clientHeight&&n){var r="".concat(Tm((0,_m.Z)(e)),"px");y.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,y.current.style.width="calc(100% + ".concat(r,")")}return y.current}}}),[]);var x=(0,qa.Z)(y,n),w=-1;t.Children.forEach(s,(function(e,n){t.isValidElement(e)?(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===w)&&(w=n),w===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(w+=1)>=s.length&&(w=-1)):w===n&&(w+=1)>=s.length&&(w=-1)}));var S=t.Children.map(s,(function(e,n){if(n===w){var r={};return l&&(r.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===v&&(r.tabIndex=0),t.cloneElement(e,r)}return e}));return(0,Bi.jsx)(Bl,(0,Ti.Z)({role:"menu",ref:x,className:c,onKeyDown:function(e){var t=y.current,n=e.key,r=(0,_m.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Im(t,r,p,d,Am);else if("ArrowUp"===n)e.preventDefault(),Im(t,r,p,d,Rm);else if("Home"===n)e.preventDefault(),Im(t,null,p,d,Am);else if("End"===n)e.preventDefault(),Im(t,null,p,d,Rm);else if(1===n.length){var o=b.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&Nm(r,o);o.previousKeyMatched&&(l||Im(t,r,!1,d,Am,o))?e.preventDefault():o.previousKeyMatched=!1}h&&h(e)},tabIndex:i?0:-1},g,{children:S}))}));function zm(e){return(0,Oa.Z)("MuiPopover",e)}(0,Ea.Z)("MuiPopover",["root","paper"]);var Lm=["onEntering"],Bm=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],Fm=["slotProps"];function Wm(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Um(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function qm(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function Hm(e){return"function"===typeof e?e():e}var Vm=(0,Oi.ZP)(nl,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ym=(0,Oi.ZP)(ml,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Gm=t.forwardRef((function(e,n){var r,o,i,a=(0,_a.Z)({props:e,name:"MuiPopover"}),l=a.action,s=a.anchorEl,c=a.anchorOrigin,u=void 0===c?{vertical:"top",horizontal:"left"}:c,d=a.anchorPosition,f=a.anchorReference,p=void 0===f?"anchorEl":f,h=a.children,m=a.className,v=a.container,g=a.elevation,y=void 0===g?8:g,b=a.marginThreshold,x=void 0===b?16:b,w=a.open,S=a.PaperProps,k=void 0===S?{}:S,j=a.slots,E=a.slotProps,O=a.transformOrigin,C=void 0===O?{vertical:"top",horizontal:"left"}:O,P=a.TransitionComponent,Z=void 0===P?zc:P,_=a.transitionDuration,M=void 0===_?"auto":_,A=a.TransitionProps,R=(void 0===A?{}:A).onEntering,N=(0,T.Z)(a.TransitionProps,Lm),I=(0,T.Z)(a,Bm),z=null!=(r=null==E?void 0:E.paper)?r:k,L=t.useRef(),B=(0,qa.Z)(L,z.ref),F=(0,Ti.Z)({},a,{anchorOrigin:u,anchorReference:p,elevation:y,marginThreshold:x,externalPaperSlotProps:z,transformOrigin:C,TransitionComponent:Z,transitionDuration:M,TransitionProps:N}),W=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],paper:["paper"]},zm,t)}(F),U=t.useCallback((function(){if("anchorPosition"===p)return d;var e=Hm(s),t=(e&&1===e.nodeType?e:(0,_m.Z)(L.current).body).getBoundingClientRect();return{top:t.top+Wm(t,u.vertical),left:t.left+Um(t,u.horizontal)}}),[s,u.horizontal,u.vertical,d,p]),q=t.useCallback((function(e){return{vertical:Wm(e,C.vertical),horizontal:Um(e,C.horizontal)}}),[C.horizontal,C.vertical]),H=t.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=q(t);if("none"===p)return{top:null,left:null,transformOrigin:qm(n)};var r=U(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+t.height,l=i+t.width,c=(0,ol.Z)(Hm(s)),u=c.innerHeight-x,d=c.innerWidth-x;if(o<x){var f=o-x;o-=f,n.vertical+=f}else if(a>u){var h=a-u;o-=h,n.vertical+=h}if(i<x){var m=i-x;i-=m,n.horizontal+=m}else if(l>d){var v=l-d;i-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:qm(n)}}),[s,p,U,q,x]),V=t.useState(w),Y=(0,D.Z)(V,2),G=Y[0],$=Y[1],K=t.useCallback((function(){var e=L.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)}}),[H]);t.useEffect((function(){w&&K()})),t.useImperativeHandle(l,(function(){return w?{updatePosition:function(){K()}}:null}),[w,K]),t.useEffect((function(){if(w){var e=(0,rl.Z)((function(){K()})),t=(0,ol.Z)(s);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[s,w,K]);var X=M;"auto"!==M||Z.muiSupportAuto||(X=void 0);var Q=v||(s?(0,_m.Z)(Hm(s)).body:void 0),J=null!=(o=null==j?void 0:j.root)?o:Vm,ee=null!=(i=null==j?void 0:j.paper)?i:Ym,te=ta({elementType:ee,externalSlotProps:(0,Ti.Z)({},z,{style:G?z.style:(0,Ti.Z)({},z.style,{opacity:0})}),additionalProps:{elevation:y,ref:B},ownerState:F,className:(0,Mi.Z)(W.paper,null==z?void 0:z.className)}),ne=ta({elementType:J,externalSlotProps:(null==E?void 0:E.root)||{},externalForwardedProps:I,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Q,open:w},ownerState:F,className:(0,Mi.Z)(W.root,m)}),re=ne.slotProps,oe=(0,T.Z)(ne,Fm);return(0,Bi.jsx)(J,(0,Ti.Z)({},oe,!$i(J)&&{slotProps:re},{children:(0,Bi.jsx)(Z,(0,Ti.Z)({appear:!0,in:w,onEntering:function(e,t){R&&R(e,t),K()},onExited:function(){$(!1)},timeout:X},N,{children:(0,Bi.jsx)(ee,(0,Ti.Z)({},te,{children:h}))}))}))})),$m=Gm;function Km(e){return(0,Oa.Z)("MuiMenu",e)}(0,Ea.Z)("MuiMenu",["root","paper","list"]);var Xm=["onEntering"],Qm=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Jm={vertical:"top",horizontal:"right"},ev={vertical:"top",horizontal:"left"},tv=(0,Oi.ZP)($m,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),nv=(0,Oi.ZP)(Ym,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),rv=(0,Oi.ZP)(Dm,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),ov=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiMenu"}),a=i.autoFocus,l=void 0===a||a,s=i.children,c=i.className,u=i.disableAutoFocusItem,d=void 0!==u&&u,f=i.MenuListProps,p=void 0===f?{}:f,h=i.onClose,m=i.open,v=i.PaperProps,g=void 0===v?{}:v,y=i.PopoverClasses,b=i.transitionDuration,x=void 0===b?"auto":b,w=i.TransitionProps,S=(void 0===w?{}:w).onEntering,k=i.variant,j=void 0===k?"selectedMenu":k,E=i.slots,O=void 0===E?{}:E,C=i.slotProps,P=void 0===C?{}:C,Z=(0,T.Z)(i.TransitionProps,Xm),_=(0,T.Z)(i,Qm),M=_i(),A="rtl"===M.direction,R=(0,Ti.Z)({},i,{autoFocus:l,disableAutoFocusItem:d,MenuListProps:p,onEntering:S,PaperProps:g,transitionDuration:x,TransitionProps:Z,variant:j}),N=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],paper:["paper"],list:["list"]},Km,t)}(R),I=l&&!d&&m,D=t.useRef(null),z=-1;t.Children.map(s,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===j&&e.props.selected||-1===z)&&(z=n))}));var L=null!=(r=O.paper)?r:nv,B=null!=(o=P.paper)?o:g,F=ta({elementType:O.root,externalSlotProps:P.root,ownerState:R,className:[N.root,c]}),W=ta({elementType:L,externalSlotProps:B,ownerState:R,className:N.paper});return(0,Bi.jsx)(tv,(0,Ti.Z)({onClose:h,anchorOrigin:{vertical:"bottom",horizontal:A?"right":"left"},transformOrigin:A?Jm:ev,slots:{paper:L,root:O.root},slotProps:{root:F,paper:W},open:m,ref:n,transitionDuration:x,TransitionProps:(0,Ti.Z)({onEntering:function(e,t){D.current&&D.current.adjustStyleForScrollbar(e,M),S&&S(e,t)}},Z),ownerState:R},_,{classes:y,children:(0,Bi.jsx)(rv,(0,Ti.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),h&&h(e,"tabKeyDown"))},actions:D,autoFocus:l&&(-1===z||d),autoFocusItem:I,variant:j},p,{className:(0,Mi.Z)(N.list,p.className),children:s}))}))}));function iv(e){return(0,Oa.Z)("MuiNativeSelect",e)}var av=(0,Ea.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),lv=["className","disabled","error","IconComponent","inputRef","variant"],sv=function(e){var t,n=e.ownerState,r=e.theme;return(0,Ti.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,Ti.Z)({},r.vars?{backgroundColor:"rgba(".concat(r.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,u.Z)(t,"&.".concat(av.disabled),{cursor:"default"}),(0,u.Z)(t,"&[multiple]",{height:"auto"}),(0,u.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(r.vars||r).palette.background.paper}),(0,u.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},cv=(0,Oi.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Oi.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,u.Z)({},"&.".concat(av.multiple),t.multiple)]}})(sv),uv=function(e){var t=e.ownerState,n=e.theme;return(0,Ti.Z)((0,u.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(av.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},dv=(0,Oi.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,vl.Z)(n.variant))],n.open&&t.iconOpen]}})(uv),fv=t.forwardRef((function(e,n){var r=e.className,o=e.disabled,i=e.error,a=e.IconComponent,l=e.inputRef,s=e.variant,c=void 0===s?"standard":s,u=(0,T.Z)(e,lv),d=(0,Ti.Z)({},e,{disabled:o,variant:c,error:i}),f=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,vl.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,Yi.Z)(a,iv,t)}(d);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(cv,(0,Ti.Z)({ownerState:d,className:(0,Mi.Z)(f.select,r),disabled:o,ref:l||n},u)),e.multiple?null:(0,Bi.jsx)(dv,{as:a,ownerState:d,className:f.icon})]})}));function pv(e){return(0,Oa.Z)("MuiSelect",e)}var hv,mv=(0,Ea.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),vv=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],gv=(0,Oi.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"&.".concat(mv.select),t.select),(0,u.Z)({},"&.".concat(mv.select),t[n.variant]),(0,u.Z)({},"&.".concat(mv.error),t.error),(0,u.Z)({},"&.".concat(mv.multiple),t.multiple)]}})(sv,(0,u.Z)({},"&.".concat(mv.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),yv=(0,Oi.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,vl.Z)(n.variant))],n.open&&t.iconOpen]}})(uv),bv=(0,Oi.ZP)("input",{shouldForwardProp:function(e){return(0,Oi.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function xv(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function wv(e){return null==e||"string"===typeof e&&!e.trim()}var Sv=t.forwardRef((function(e,n){var r=e["aria-describedby"],o=e["aria-label"],i=e.autoFocus,a=e.autoWidth,l=e.children,s=e.className,c=e.defaultOpen,u=e.defaultValue,d=e.disabled,f=e.displayEmpty,p=e.error,h=void 0!==p&&p,m=e.IconComponent,v=e.inputRef,g=e.labelId,y=e.MenuProps,b=void 0===y?{}:y,x=e.multiple,w=e.name,S=e.onBlur,k=e.onChange,j=e.onClose,E=e.onFocus,O=e.onOpen,C=e.open,P=e.readOnly,Z=e.renderValue,_=e.SelectDisplayProps,M=void 0===_?{}:_,A=e.tabIndex,R=e.value,N=e.variant,I=void 0===N?"standard":N,z=(0,T.Z)(e,vv),L=(0,md.Z)({controlled:R,default:u,name:"Select"}),B=(0,D.Z)(L,2),F=B[0],W=B[1],U=(0,md.Z)({controlled:C,default:c,name:"Select"}),q=(0,D.Z)(U,2),H=q[0],V=q[1],Y=t.useRef(null),G=t.useRef(null),$=t.useState(null),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=t.useRef(null!=C).current,ee=t.useState(),te=(0,D.Z)(ee,2),ne=te[0],re=te[1],oe=(0,qa.Z)(n,v),ie=t.useCallback((function(e){G.current=e,e&&Q(e)}),[]),ae=null==X?void 0:X.parentNode;t.useImperativeHandle(oe,(function(){return{focus:function(){G.current.focus()},node:Y.current,value:F}}),[F]),t.useEffect((function(){c&&H&&X&&!J&&(re(a?null:ae.clientWidth),G.current.focus())}),[X,a]),t.useEffect((function(){i&&G.current.focus()}),[i]),t.useEffect((function(){if(g){var e=(0,_m.Z)(G.current).getElementById(g);if(e){var t=function(){getSelection().isCollapsed&&G.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[g]);var le,se,ce=function(e,t){e?O&&O(t):j&&j(t),J||(re(a?null:ae.clientWidth),V(e))},ue=t.Children.toArray(l),de=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(x){n=Array.isArray(F)?F.slice():[];var r=F.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(W(n),k)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:w}}),k(i,e)}x||ce(!1,t)}}},fe=null!==X&&H;delete z["aria-invalid"];var pe=[],he=!1;(hm({value:F})||f)&&(Z?le=Z(F):he=!0);var me=ue.map((function(e){if(!t.isValidElement(e))return null;var n;if(x){if(!Array.isArray(F))throw new Error((0,rm.Z)(2));(n=F.some((function(t){return xv(t,e.props.value)})))&&he&&pe.push(e.props.children)}else(n=xv(F,e.props.value))&&he&&(se=e.props.children);return n&&!0,t.cloneElement(e,{"aria-selected":n?"true":"false",onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));he&&(le=x?0===pe.length?null:pe.reduce((function(e,t,n){return e.push(t),n<pe.length-1&&e.push(", "),e}),[]):se);var ve,ge=ne;!a&&J&&X&&(ge=ae.clientWidth),ve="undefined"!==typeof A?A:d?null:0;var ye=M.id||(w?"mui-component-select-".concat(w):void 0),be=(0,Ti.Z)({},e,{variant:I,value:F,open:fe,error:h}),xe=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,vl.Z)(n)),i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,Yi.Z)(a,pv,t)}(be);return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(gv,(0,Ti.Z)({ref:ie,tabIndex:ve,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":fe?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(e){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ce(!0,e))}},onMouseDown:d||P?null:function(e){0===e.button&&(e.preventDefault(),G.current.focus(),ce(!0,e))},onBlur:function(e){!fe&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:w}}),S(e))},onFocus:E},M,{ownerState:be,className:(0,Mi.Z)(M.className,xe.select,s),id:ye,children:wv(le)?hv||(hv=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):le})),(0,Bi.jsx)(bv,(0,Ti.Z)({"aria-invalid":h,value:Array.isArray(F)?F.join(","):F,name:w,ref:Y,"aria-hidden":!0,onChange:function(e){var t=ue.find((function(t){return t.props.value===e.target.value}));void 0!==t&&(W(t.props.value),k&&k(e,t))},tabIndex:-1,disabled:d,className:xe.nativeInput,autoFocus:i,ownerState:be},z)),(0,Bi.jsx)(yv,{as:m,className:xe.icon,ownerState:be}),(0,Bi.jsx)(ov,(0,Ti.Z)({id:"menu-".concat(w||""),anchorEl:ae,open:fe,onClose:function(e){ce(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:(0,Ti.Z)({"aria-labelledby":g,role:"listbox",disableListWrap:!0},b.MenuListProps),PaperProps:(0,Ti.Z)({},b.PaperProps,{style:(0,Ti.Z)({minWidth:ge},null!=b.PaperProps?b.PaperProps.style:null)}),children:me}))]})})),kv=Sv,jv=n(9201),Ev=(0,jv.Z)((0,Bi.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Ov(e){return(0,Oa.Z)("MuiInput",e)}var Cv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiInput",["root","underline","input"])),Pv=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Zv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,F.Z)(ym(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(o="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),(0,Ti.Z)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[r.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,u.Z)(t,"&.".concat(Cv.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,u.Z)(t,"&.".concat(Cv.error),{"&:before, &:after":{borderBottomColor:(n.vars||n).palette.error.main}}),(0,u.Z)(t,"&:before",{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,u.Z)(t,"&:hover:not(.".concat(Cv.disabled,", .").concat(Cv.error,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}}),(0,u.Z)(t,"&.".concat(Cv.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),_v=(0,Oi.ZP)(wm,{name:"MuiInput",slot:"Input",overridesResolver:bm})({}),Tv=t.forwardRef((function(e,t){var n,r,o,i,a=(0,_a.Z)({props:e,name:"MuiInput"}),l=a.disableUnderline,s=a.components,c=void 0===s?{}:s,u=a.componentsProps,d=a.fullWidth,f=void 0!==d&&d,p=a.inputComponent,h=void 0===p?"input":p,m=a.multiline,v=void 0!==m&&m,g=a.slotProps,y=a.slots,b=void 0===y?{}:y,x=a.type,w=void 0===x?"text":x,S=(0,T.Z)(a,Pv),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Yi.Z)(n,Ov,t);return(0,Ti.Z)({},t,r)}(a),j={root:{ownerState:{disableUnderline:l}}},E=(null!=g?g:u)?(0,Ni.Z)(null!=g?g:u,j):j,O=null!=(n=null!=(r=b.root)?r:c.Root)?n:Zv,C=null!=(o=null!=(i=b.input)?i:c.Input)?o:_v;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:O,input:C},slotProps:E,fullWidth:f,inputComponent:h,multiline:v,ref:t,type:w},S,{classes:k}))}));Tv.muiName="Input";var Mv=Tv;function Av(e){return(0,Oa.Z)("MuiFilledInput",e)}var Rv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiFilledInput",["root","underline","input"])),Nv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Iv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiFilledInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,F.Z)(ym(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n,r,o=e.theme,i=e.ownerState,a="light"===o.palette.mode,l=a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",d=a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,Ti.Z)((t={position:"relative",backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(o.vars||o).shape.borderRadius,borderTopRightRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create("background-color",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),"&:hover":{backgroundColor:o.vars?o.vars.palette.FilledInput.hoverBg:c,"@media (hover: none)":{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s}}},(0,u.Z)(t,"&.".concat(Rv.focused),{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:s}),(0,u.Z)(t,"&.".concat(Rv.disabled),{backgroundColor:o.vars?o.vars.palette.FilledInput.disabledBg:d}),t),!i.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(null==(r=(o.vars||o).palette[i.color||"primary"])?void 0:r.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:o.transitions.create("transform",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),pointerEvents:"none"}},(0,u.Z)(n,"&.".concat(Rv.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,u.Z)(n,"&.".concat(Rv.error),{"&:before, &:after":{borderBottomColor:(o.vars||o).palette.error.main}}),(0,u.Z)(n,"&:before",{borderBottom:"1px solid ".concat(o.vars?"rgba(".concat(o.vars.palette.common.onBackgroundChannel," / ").concat(o.vars.opacity.inputUnderline,")"):l),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:o.transitions.create("border-bottom-color",{duration:o.transitions.duration.shorter}),pointerEvents:"none"}),(0,u.Z)(n,"&:hover:not(.".concat(Rv.disabled,", .").concat(Rv.error,"):before"),{borderBottom:"1px solid ".concat((o.vars||o).palette.text.primary)}),(0,u.Z)(n,"&.".concat(Rv.disabled,":before"),{borderBottomStyle:"dotted"}),n),i.startAdornment&&{paddingLeft:12},i.endAdornment&&{paddingRight:12},i.multiline&&(0,Ti.Z)({padding:"25px 12px 8px"},"small"===i.size&&{paddingTop:21,paddingBottom:4},i.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),Dv=(0,Oi.ZP)(wm,{name:"MuiFilledInput",slot:"Input",overridesResolver:bm})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&(0,u.Z)({"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),zv=t.forwardRef((function(e,t){var n,r,o,i,a=(0,_a.Z)({props:e,name:"MuiFilledInput"}),l=a.components,s=void 0===l?{}:l,c=a.componentsProps,u=a.fullWidth,d=void 0!==u&&u,f=a.inputComponent,p=void 0===f?"input":f,h=a.multiline,m=void 0!==h&&h,v=a.slotProps,g=a.slots,y=void 0===g?{}:g,b=a.type,x=void 0===b?"text":b,w=(0,T.Z)(a,Nv),S=(0,Ti.Z)({},a,{fullWidth:d,inputComponent:p,multiline:m,type:x}),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Yi.Z)(n,Av,t);return(0,Ti.Z)({},t,r)}(a),j={root:{ownerState:S},input:{ownerState:S}},E=(null!=v?v:c)?(0,Ni.Z)(null!=v?v:c,j):j,O=null!=(n=null!=(r=y.root)?r:s.Root)?n:Iv,C=null!=(o=null!=(i=y.input)?i:s.Input)?o:Dv;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:O,input:C},componentsProps:E,fullWidth:d,inputComponent:p,multiline:m,ref:t,type:x},w,{classes:k}))}));zv.muiName="Input";var Lv,Bv=zv,Fv=["children","classes","className","label","notched"],Wv=(0,Oi.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Uv=(0,Oi.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,Ti.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,Ti.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function qv(e){return(0,Oa.Z)("MuiOutlinedInput",e)}var Hv=(0,Ti.Z)({},vm,(0,Ea.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),Vv=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Yv=(0,Oi.ZP)(xm,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:ym})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Ti.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,u.Z)(t,"&:hover .".concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,u.Z)(t,"@media (hover: none)",(0,u.Z)({},"&:hover .".concat(Hv.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):o})),(0,u.Z)(t,"&.".concat(Hv.focused," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,u.Z)(t,"&.".concat(Hv.error," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,u.Z)(t,"&.".concat(Hv.disabled," .").concat(Hv.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,Ti.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),Gv=(0,Oi.ZP)((function(e){var t=e.className,n=e.label,r=e.notched,o=(0,T.Z)(e,Fv),i=null!=n&&""!==n,a=(0,Ti.Z)({},e,{notched:r,withLabel:i});return(0,Bi.jsx)(Wv,(0,Ti.Z)({"aria-hidden":!0,className:t,ownerState:a},o,{children:(0,Bi.jsx)(Uv,{ownerState:a,children:i?(0,Bi.jsx)("span",{children:n}):Lv||(Lv=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),$v=(0,Oi.ZP)(wm,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:bm})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,u.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),Kv=t.forwardRef((function(e,n){var r,o,i,a,l,s=(0,_a.Z)({props:e,name:"MuiOutlinedInput"}),c=s.components,u=void 0===c?{}:c,d=s.fullWidth,f=void 0!==d&&d,p=s.inputComponent,h=void 0===p?"input":p,m=s.label,v=s.multiline,g=void 0!==v&&v,y=s.notched,b=s.slots,x=void 0===b?{}:b,w=s.type,S=void 0===w?"text":w,k=(0,T.Z)(s,Vv),j=function(e){var t=e.classes,n=(0,Yi.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},qv,t);return(0,Ti.Z)({},t,n)}(s),E=fm(),O=um({props:s,muiFormControl:E,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=(0,Ti.Z)({},s,{color:O.color||"primary",disabled:O.disabled,error:O.error,focused:O.focused,formControl:E,fullWidth:f,hiddenLabel:O.hiddenLabel,multiline:g,size:O.size,type:S}),P=null!=(r=null!=(o=x.root)?o:u.Root)?r:Yv,Z=null!=(i=null!=(a=x.input)?a:u.Input)?i:$v;return(0,Bi.jsx)(jm,(0,Ti.Z)({slots:{root:P,input:Z},renderSuffix:function(e){return(0,Bi.jsx)(Gv,{ownerState:C,className:j.notchedOutline,label:null!=m&&""!==m&&O.required?l||(l=(0,Bi.jsxs)(t.Fragment,{children:[m,"\u2009","*"]})):m,notched:"undefined"!==typeof y?y:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:f,inputComponent:h,multiline:g,ref:n,type:S},k,{classes:(0,Ti.Z)({},j,{notchedOutline:null})}))}));Kv.muiName="Input";var Xv=Kv,Qv=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Jv={name:"MuiSelect",overridesResolver:function(e,t){return t.root},shouldForwardProp:function(e){return(0,Oi.FO)(e)&&"variant"!==e},slot:"Root"},eg=(0,Oi.ZP)(Mv,Jv)(""),tg=(0,Oi.ZP)(Xv,Jv)(""),ng=(0,Oi.ZP)(Bv,Jv)(""),rg=t.forwardRef((function(e,n){var r=(0,_a.Z)({name:"MuiSelect",props:e}),o=r.autoWidth,i=void 0!==o&&o,a=r.children,l=r.classes,s=void 0===l?{}:l,c=r.className,u=r.defaultOpen,d=void 0!==u&&u,f=r.displayEmpty,p=void 0!==f&&f,h=r.IconComponent,m=void 0===h?Ev:h,v=r.id,g=r.input,y=r.inputProps,b=r.label,x=r.labelId,w=r.MenuProps,S=r.multiple,k=void 0!==S&&S,j=r.native,E=void 0!==j&&j,O=r.onClose,C=r.onOpen,P=r.open,Z=r.renderValue,_=r.SelectDisplayProps,M=r.variant,A=void 0===M?"outlined":M,R=(0,T.Z)(r,Qv),N=E?fv:kv,I=um({props:r,muiFormControl:fm(),states:["variant","error"]}),D=I.variant||A,z=(0,Ti.Z)({},r,{variant:D,classes:s}),L=function(e){return e.classes}(z),B=g||{standard:(0,Bi.jsx)(eg,{ownerState:z}),outlined:(0,Bi.jsx)(tg,{label:b,ownerState:z}),filled:(0,Bi.jsx)(ng,{ownerState:z})}[D],F=(0,qa.Z)(n,B.ref);return(0,Bi.jsx)(t.Fragment,{children:t.cloneElement(B,(0,Ti.Z)({inputComponent:N,inputProps:(0,Ti.Z)({children:a,error:I.error,IconComponent:m,variant:D,type:void 0,multiple:k},E?{id:v}:{autoWidth:i,defaultOpen:d,displayEmpty:p,labelId:x,MenuProps:w,onClose:O,onOpen:C,open:P,renderValue:Z,SelectDisplayProps:(0,Ti.Z)({id:v},_)},y,{classes:y?(0,Ni.Z)(L,y.classes):L},g?g.props.inputProps:{})},k&&E&&"outlined"===D?{notched:!0}:{},{ref:F,className:(0,Mi.Z)(B.props.className,c)},!g&&{variant:D},R))})}));rg.muiName="Select";var og,ig,ag,lg,sg,cg,ug,dg,fg=rg,pg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),hg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),mg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),vg=(0,jv.Z)((0,Bi.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),gg=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],yg=t.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,o=e.getItemAriaLabel,i=e.nextIconButtonProps,a=e.onPageChange,l=e.page,s=e.rowsPerPage,c=e.showFirstButton,u=e.showLastButton,d=(0,T.Z)(e,gg),f=_i();return(0,Bi.jsxs)("div",(0,Ti.Z)({ref:t},d,{children:[c&&(0,Bi.jsx)(Js,{onClick:function(e){a(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===f.direction?og||(og=(0,Bi.jsx)(mg,{})):ig||(ig=(0,Bi.jsx)(vg,{}))}),(0,Bi.jsx)(Js,(0,Ti.Z)({onClick:function(e){a(e,l-1)},disabled:0===l,color:"inherit","aria-label":o("previous",l),title:o("previous",l)},n,{children:"rtl"===f.direction?ag||(ag=(0,Bi.jsx)(hg,{})):lg||(lg=(0,Bi.jsx)(pg,{}))})),(0,Bi.jsx)(Js,(0,Ti.Z)({onClick:function(e){a(e,l+1)},disabled:-1!==r&&l>=Math.ceil(r/s)-1,color:"inherit","aria-label":o("next",l),title:o("next",l)},i,{children:"rtl"===f.direction?sg||(sg=(0,Bi.jsx)(pg,{})):cg||(cg=(0,Bi.jsx)(hg,{}))})),u&&(0,Bi.jsx)(Js,{onClick:function(e){a(e,Math.max(0,Math.ceil(r/s)-1))},disabled:l>=Math.ceil(r/s)-1,"aria-label":o("last",l),title:o("last",l),children:"rtl"===f.direction?ug||(ug=(0,Bi.jsx)(vg,{})):dg||(dg=(0,Bi.jsx)(mg,{}))})]}))}));function bg(e){return(0,Oa.Z)("MuiTablePagination",e)}var xg,wg=(0,Ea.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Sg=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],kg=(0,Oi.ZP)(Vh,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme;return{overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}})),jg=(0,Oi.ZP)(Nl,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(e,t){return(0,Ti.Z)((0,u.Z)({},"& .".concat(wg.actions),t.actions),t.toolbar)}})((function(e){var t,n=e.theme;return t={minHeight:52,paddingRight:2},(0,u.Z)(t,"".concat(n.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),(0,u.Z)(t,n.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),(0,u.Z)(t,"& .".concat(wg.actions),{flexShrink:0,marginLeft:20}),t})),Eg=(0,Oi.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(e,t){return t.spacer}})({flex:"1 1 100%"}),Og=(0,Oi.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(e,t){return t.selectLabel}})((function(e){var t=e.theme;return(0,Ti.Z)({},t.typography.body2,{flexShrink:0})})),Cg=(0,Oi.ZP)(fg,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(e,t){var n;return(0,Ti.Z)((n={},(0,u.Z)(n,"& .".concat(wg.selectIcon),t.selectIcon),(0,u.Z)(n,"& .".concat(wg.select),t.select),n),t.input,t.selectRoot)}})((0,u.Z)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(wg.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),Pg=(0,Oi.ZP)(Zm,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(e,t){return t.menuItem}})({}),Zg=(0,Oi.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(e,t){return t.displayedRows}})((function(e){var t=e.theme;return(0,Ti.Z)({},t.typography.body2,{flexShrink:0})}));function _g(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"\u2013").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))}function Tg(e){return"Go to ".concat(e," page")}var Mg=t.forwardRef((function(e,n){var r,o=(0,_a.Z)({props:e,name:"MuiTablePagination"}),i=o.ActionsComponent,a=void 0===i?yg:i,l=o.backIconButtonProps,s=o.className,c=o.colSpan,u=o.component,d=void 0===u?Vh:u,f=o.count,p=o.getItemAriaLabel,h=void 0===p?Tg:p,m=o.labelDisplayedRows,v=void 0===m?_g:m,g=o.labelRowsPerPage,y=void 0===g?"Rows per page:":g,b=o.nextIconButtonProps,x=o.onPageChange,w=o.onRowsPerPageChange,S=o.page,k=o.rowsPerPage,j=o.rowsPerPageOptions,E=void 0===j?[10,25,50,100]:j,O=o.SelectProps,C=void 0===O?{}:O,P=o.showFirstButton,Z=void 0!==P&&P,_=o.showLastButton,M=void 0!==_&&_,A=(0,T.Z)(o,Sg),R=o,N=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},bg,t)}(R),I=C.native?"option":Pg;d!==Vh&&"td"!==d||(r=c||1e3);var D=(0,hd.Z)(C.id),z=(0,hd.Z)(C.labelId);return(0,Bi.jsx)(kg,(0,Ti.Z)({colSpan:r,ref:n,as:d,ownerState:R,className:(0,Mi.Z)(N.root,s)},A,{children:(0,Bi.jsxs)(jg,{className:N.toolbar,children:[(0,Bi.jsx)(Eg,{className:N.spacer}),E.length>1&&(0,Bi.jsx)(Og,{className:N.selectLabel,id:z,children:y}),E.length>1&&(0,Bi.jsx)(Cg,(0,Ti.Z)({variant:"standard"},!C.variant&&{input:xg||(xg=(0,Bi.jsx)(jm,{}))},{value:k,onChange:w,id:D,labelId:z},C,{classes:(0,Ti.Z)({},C.classes,{root:(0,Mi.Z)(N.input,N.selectRoot,(C.classes||{}).root),select:(0,Mi.Z)(N.select,(C.classes||{}).select),icon:(0,Mi.Z)(N.selectIcon,(C.classes||{}).icon)}),children:E.map((function(e){return(0,t.createElement)(I,(0,Ti.Z)({},!$i(I)&&{ownerState:R},{className:N.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)}))})),(0,Bi.jsx)(Zg,{className:N.displayedRows,children:v({from:0===f?0:S*k+1,to:-1===f?(S+1)*k:-1===k?f:Math.min(f,(S+1)*k),count:-1===f?-1:f,page:S})}),(0,Bi.jsx)(a,{className:N.actions,backIconButtonProps:l,count:f,nextIconButtonProps:b,onPageChange:x,page:S,rowsPerPage:k,showFirstButton:Z,showLastButton:M,getItemAriaLabel:h})]})}))}));function Ag(e){return(0,Oa.Z)("MuiTableRow",e)}var Rg=(0,Ea.Z)("MuiTableRow",["root","selected","hover","head","footer"]),Ng=["className","component","hover","selected"],Ig=(0,Oi.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((function(e){var t,n=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,u.Z)(t,"&.".concat(Rg.hover,":hover"),{backgroundColor:(n.vars||n).palette.action.hover}),(0,u.Z)(t,"&.".concat(Rg.selected),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),t})),Dg=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiTableRow"}),o=r.className,i=r.component,a=void 0===i?"tr":i,l=r.hover,s=void 0!==l&&l,c=r.selected,u=void 0!==c&&c,d=(0,T.Z)(r,Ng),f=t.useContext(Rh),p=(0,Ti.Z)({},r,{component:a,hover:s,selected:u,head:f&&"head"===f.variant,footer:f&&"footer"===f.variant}),h=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,Yi.Z)(n,Ag,t)}(p);return(0,Bi.jsx)(Ig,(0,Ti.Z)({as:a,ref:n,className:(0,Mi.Z)(h.root,o),role:"tr"===a?null:"row",ownerState:p},d))})),zg=Dg;function Lg(e){return(0,Oa.Z)("PrivateSwitchBase",e)}(0,Ea.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Bg=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Fg=(0,Oi.ZP)(Ys)((function(e){var t=e.ownerState;return(0,Ti.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),Wg=(0,Oi.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ug=t.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,o=e.checkedIcon,i=e.className,a=e.defaultChecked,l=e.disabled,s=e.disableFocusRipple,c=void 0!==s&&s,u=e.edge,d=void 0!==u&&u,f=e.icon,p=e.id,h=e.inputProps,m=e.inputRef,v=e.name,g=e.onBlur,y=e.onChange,b=e.onFocus,x=e.readOnly,w=e.required,S=void 0!==w&&w,k=e.tabIndex,j=e.type,E=e.value,O=(0,T.Z)(e,Bg),C=(0,md.Z)({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),P=(0,D.Z)(C,2),Z=P[0],_=P[1],M=fm(),A=l;M&&"undefined"===typeof A&&(A=M.disabled);var R="checkbox"===j||"radio"===j,N=(0,Ti.Z)({},e,{checked:Z,disabled:A,disableFocusRipple:c,edge:d}),I=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat((0,vl.Z)(o))],input:["input"]};return(0,Yi.Z)(i,Lg,t)}(N);return(0,Bi.jsxs)(Fg,(0,Ti.Z)({component:"span",className:(0,Mi.Z)(I.root,i),centerRipple:!0,focusRipple:!c,disabled:A,tabIndex:null,role:void 0,onFocus:function(e){b&&b(e),M&&M.onFocus&&M.onFocus(e)},onBlur:function(e){g&&g(e),M&&M.onBlur&&M.onBlur(e)},ownerState:N,ref:t},O,{children:[(0,Bi.jsx)(Wg,(0,Ti.Z)({autoFocus:n,checked:r,defaultChecked:a,className:I.input,disabled:A,id:R?p:void 0,name:v,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;_(t),y&&y(e,t)}},readOnly:x,ref:m,required:S,ownerState:N,tabIndex:k,type:j},"checkbox"===j&&void 0===E?{}:{value:E},h)),Z?o:f]}))})),qg=Ug;function Hg(e){return(0,Oa.Z)("MuiSwitch",e)}var Vg=(0,Ea.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Yg=["className","color","edge","size","sx"],Gg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,vl.Z)(n.edge))],t["size".concat((0,vl.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,Ti.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,u.Z)(t,"& .".concat(Vg.thumb),{width:16,height:16}),(0,u.Z)(t,"& .".concat(Vg.switchBase),(0,u.Z)({padding:4},"&.".concat(Vg.checked),{transform:"translateX(16px)"})),t))})),$g=(0,Oi.ZP)(qg,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,u.Z)({},"& .".concat(Vg.input),t.input),"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,u.Z)(t,"&.".concat(Vg.checked),{transform:"translateX(20px)"}),(0,u.Z)(t,"&.".concat(Vg.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),(0,u.Z)(t,"&.".concat(Vg.checked," + .").concat(Vg.track),{opacity:.5}),(0,u.Z)(t,"&.".concat(Vg.disabled," + .").concat(Vg.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),(0,u.Z)(t,"& .".concat(Vg.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,u.Z)(t,"&.".concat(Vg.checked),(0,u.Z)({color:(n.vars||n).palette[r.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(Vg.disabled),{color:n.vars?n.vars.palette.Switch["".concat(r.color,"DisabledColor")]:"".concat("light"===n.palette.mode?(0,cl.$n)(n.palette[r.color].main,.62):(0,cl._j)(n.palette[r.color].main,.55))})),(0,u.Z)(t,"&.".concat(Vg.checked," + .").concat(Vg.track),{backgroundColor:(n.vars||n).palette[r.color].main}),t))})),Kg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),Xg=(0,Oi.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),Qg=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiSwitch"}),r=n.className,o=n.color,i=void 0===o?"primary":o,a=n.edge,l=void 0!==a&&a,s=n.size,c=void 0===s?"medium":s,u=n.sx,d=(0,T.Z)(n,Yg),f=(0,Ti.Z)({},n,{color:i,edge:l,size:c}),p=function(e){var t=e.classes,n=e.edge,r=e.size,o=e.color,i=e.checked,a=e.disabled,l={root:["root",n&&"edge".concat((0,vl.Z)(n)),"size".concat((0,vl.Z)(r))],switchBase:["switchBase","color".concat((0,vl.Z)(o)),i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},s=(0,Yi.Z)(l,Hg,t);return(0,Ti.Z)({},t,s)}(f),h=(0,Bi.jsx)(Xg,{className:p.thumb,ownerState:f});return(0,Bi.jsxs)(Gg,{className:(0,Mi.Z)(p.root,r),sx:u,ownerState:f,children:[(0,Bi.jsx)($g,(0,Ti.Z)({type:"checkbox",icon:h,checkedIcon:h,ref:t,ownerState:f},d,{classes:(0,Ti.Z)({},p,{root:p.switchBase})})),(0,Bi.jsx)(Kg,{className:p.track,ownerState:f})]})})),Jg=Qg,ey=n(7247),ty=n(1286),ny=n(2419);function ry(e){return(0,Oa.Z)("MuiCard",e)}(0,Ea.Z)("MuiCard",["root"]);var oy=["className","raised"],iy=(0,Oi.ZP)(ml,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),ay=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,T.Z)(n,oy),l=(0,Ti.Z)({},n,{raised:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},ry,t)}(l);return(0,Bi.jsx)(iy,(0,Ti.Z)({className:(0,Mi.Z)(s.root,r),elevation:i?8:void 0,ref:t,ownerState:l},a))}));function ly(e){return(0,Oa.Z)("MuiFormLabel",e)}var sy=(0,Ea.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),cy=["children","className","color","component","disabled","error","filled","focused","required"],uy=(0,Oi.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Ti.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,u.Z)(t,"&.".concat(sy.focused),{color:(n.vars||n).palette[r.color].main}),(0,u.Z)(t,"&.".concat(sy.disabled),{color:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&.".concat(sy.error),{color:(n.vars||n).palette.error.main}),t))})),dy=(0,Oi.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,u.Z)({},"&.".concat(sy.error),{color:(t.vars||t).palette.error.main})})),fy=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormLabel"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"label":i,l=(0,T.Z)(n,cy),s=um({props:n,muiFormControl:fm(),states:["color","required","focused","disabled","error","filled"]}),c=(0,Ti.Z)({},n,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=function(e){var t=e.classes,n=e.color,r=e.focused,o=e.disabled,i=e.error,a=e.filled,l=e.required,s={root:["root","color".concat((0,vl.Z)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,Yi.Z)(s,ly,t)}(c);return(0,Bi.jsxs)(uy,(0,Ti.Z)({as:a,ownerState:c,className:(0,Mi.Z)(u.root,o),ref:t},l,{children:[r,s.required&&(0,Bi.jsxs)(dy,{ownerState:c,"aria-hidden":!0,className:u.asterisk,children:["\u2009","*"]})]}))})),py=fy;function hy(e){return(0,Oa.Z)("MuiInputLabel",e)}(0,Ea.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var my=["disableAnimation","margin","shrink","variant","className"],vy=(0,Oi.ZP)(py,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(sy.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,Ti.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,Ti.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,Ti.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),gy=t.forwardRef((function(e,t){var n=(0,_a.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,o=void 0!==r&&r,i=n.shrink,a=n.className,l=(0,T.Z)(n,my),s=fm(),c=i;"undefined"===typeof c&&s&&(c=s.filled||s.focused||s.adornedStart);var u=um({props:n,muiFormControl:s,states:["size","variant","required"]}),d=(0,Ti.Z)({},n,{disableAnimation:o,formControl:s,shrink:c,size:u.size,variant:u.variant,required:u.required}),f=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,i={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},a=(0,Yi.Z)(i,hy,t);return(0,Ti.Z)({},t,a)}(d);return(0,Bi.jsx)(vy,(0,Ti.Z)({"data-shrink":c,ownerState:d,ref:t,className:(0,Mi.Z)(f.root,a)},l,{classes:f}))}));function yy(e){return(0,Oa.Z)("MuiFormControl",e)}(0,Ea.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var by=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],xy=(0,Oi.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Ti.Z)({},t.root,t["margin".concat((0,vl.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),wy=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiFormControl"}),o=r.children,i=r.className,a=r.color,l=void 0===a?"primary":a,s=r.component,c=void 0===s?"div":s,u=r.disabled,d=void 0!==u&&u,f=r.error,p=void 0!==f&&f,h=r.focused,m=r.fullWidth,v=void 0!==m&&m,g=r.hiddenLabel,y=void 0!==g&&g,b=r.margin,x=void 0===b?"none":b,w=r.required,S=void 0!==w&&w,k=r.size,j=void 0===k?"medium":k,E=r.variant,O=void 0===E?"outlined":E,C=(0,T.Z)(r,by),P=(0,Ti.Z)({},r,{color:l,component:c,disabled:d,error:p,fullWidth:v,hiddenLabel:y,margin:x,required:S,size:j,variant:O}),Z=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,o={root:["root","none"!==n&&"margin".concat((0,vl.Z)(n)),r&&"fullWidth"]};return(0,Yi.Z)(o,yy,t)}(P),_=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){if((0,oc.Z)(t,["Input","Select"])){var n=(0,oc.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),M=(0,D.Z)(_,2),A=M[0],R=M[1],N=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){(0,oc.Z)(t,["Input","Select"])&&(hm(t.props,!0)||hm(t.props.inputProps,!0))&&(e=!0)})),e})),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=t.useState(!1),F=(0,D.Z)(B,2),W=F[0],U=F[1];d&&W&&U(!1);var q,H=void 0===h||d?W:h,V=t.useMemo((function(){return{adornedStart:A,setAdornedStart:R,color:l,disabled:d,error:p,filled:z,focused:H,fullWidth:v,hiddenLabel:y,size:j,onBlur:function(){U(!1)},onEmpty:function(){L(!1)},onFilled:function(){L(!0)},onFocus:function(){U(!0)},registerEffect:q,required:S,variant:O}}),[A,l,d,p,z,H,v,y,q,S,j,O]);return(0,Bi.jsx)(dm.Provider,{value:V,children:(0,Bi.jsx)(xy,(0,Ti.Z)({as:c,ownerState:P,className:(0,Mi.Z)(Z.root,i),ref:n},C,{children:o}))})})),Sy=wy;function ky(e){return(0,Oa.Z)("MuiFormHelperText",e)}var jy,Ey=(0,Ea.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Oy=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Cy=(0,Oi.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,vl.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,u.Z)(t,"&.".concat(Ey.disabled),{color:(n.vars||n).palette.text.disabled}),(0,u.Z)(t,"&.".concat(Ey.error),{color:(n.vars||n).palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),Py=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormHelperText"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"p":i,l=(0,T.Z)(n,Oy),s=um({props:n,muiFormControl:fm(),states:["variant","size","disabled","error","filled","focused","required"]}),c=(0,Ti.Z)({},n,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=function(e){var t=e.classes,n=e.contained,r=e.size,o=e.disabled,i=e.error,a=e.filled,l=e.focused,s=e.required,c={root:["root",o&&"disabled",i&&"error",r&&"size".concat((0,vl.Z)(r)),n&&"contained",l&&"focused",a&&"filled",s&&"required"]};return(0,Yi.Z)(c,ky,t)}(c);return(0,Bi.jsx)(Cy,(0,Ti.Z)({as:a,ownerState:c,className:(0,Mi.Z)(u.root,o),ref:t},l,{children:" "===r?jy||(jy=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):r}))}));function Zy(e){return(0,Oa.Z)("MuiTextField",e)}(0,Ea.Z)("MuiTextField",["root"]);var _y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Ty={standard:Mv,filled:Bv,outlined:Xv},My=(0,Oi.ZP)(Sy,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ay=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiTextField"}),r=n.autoComplete,o=n.autoFocus,i=void 0!==o&&o,a=n.children,l=n.className,s=n.color,c=void 0===s?"primary":s,u=n.defaultValue,d=n.disabled,f=void 0!==d&&d,p=n.error,h=void 0!==p&&p,m=n.FormHelperTextProps,v=n.fullWidth,g=void 0!==v&&v,y=n.helperText,b=n.id,x=n.InputLabelProps,w=n.inputProps,S=n.InputProps,k=n.inputRef,j=n.label,E=n.maxRows,O=n.minRows,C=n.multiline,P=void 0!==C&&C,Z=n.name,_=n.onBlur,M=n.onChange,A=n.onClick,R=n.onFocus,N=n.placeholder,I=n.required,D=void 0!==I&&I,z=n.rows,L=n.select,B=void 0!==L&&L,F=n.SelectProps,W=n.type,U=n.value,q=n.variant,H=void 0===q?"outlined":q,V=(0,T.Z)(n,_y),Y=(0,Ti.Z)({},n,{autoFocus:i,color:c,disabled:f,error:h,fullWidth:g,multiline:P,required:D,select:B,variant:H}),G=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Zy,t)}(Y);var $={};"outlined"===H&&(x&&"undefined"!==typeof x.shrink&&($.notched=x.shrink),$.label=j),B&&(F&&F.native||($.id=void 0),$["aria-describedby"]=void 0);var K=function(e){!f&&A&&(e.stopPropagation(),A(e))},X=(0,Td.Z)(b),Q=y&&X?"".concat(X,"-helper-text"):void 0,J=j&&X?"".concat(X,"-label"):void 0,ee=Ty[H],te=(0,Bi.jsx)(ee,(0,Ti.Z)({"aria-describedby":Q,autoComplete:r,autoFocus:i,defaultValue:u,fullWidth:g,multiline:P,name:Z,rows:z,maxRows:E,minRows:O,type:W,value:U,id:X,inputRef:k,onBlur:_,onChange:M,onFocus:R,onClick:K,placeholder:N,inputProps:w},$,S));return(0,Bi.jsxs)(My,(0,Ti.Z)({className:(0,Mi.Z)(G.root,l),disabled:f,error:h,fullWidth:g,ref:t,required:D,color:c,variant:H,ownerState:Y,onClick:K},V,{children:[null!=j&&""!==j&&(0,Bi.jsx)(gy,(0,Ti.Z)({htmlFor:X,id:J},x,{children:j})),B?(0,Bi.jsx)(fg,(0,Ti.Z)({"aria-describedby":Q,id:X,labelId:J,value:U,input:te},F,{children:a})):te,y&&(0,Bi.jsx)(Py,(0,Ti.Z)({id:Q},m,{children:y}))]}))})),Ry=Ay;function Ny(e){return(0,Oa.Z)("MuiCardContent",e)}(0,Ea.Z)("MuiCardContent",["root"]);var Iy=["className","component"],Dy=(0,Oi.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),zy=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,T.Z)(n,Iy),l=(0,Ti.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},Ny,t)}(l);return(0,Bi.jsx)(Dy,(0,Ti.Z)({as:i,className:(0,Mi.Z)(s.root,r),ownerState:l,ref:t},a))})),Ly=n(1184);var By=t.createContext();function Fy(e){return(0,Oa.Z)("MuiGrid",e)}var Wy=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Uy=(0,Ea.Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,F.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,F.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,F.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-xs-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-sm-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-md-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-lg-".concat(e)}))),(0,F.Z)(Wy.map((function(e){return"grid-xl-".concat(e)}))))),qy=Uy,Hy=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Vy(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function Yy(e){var t=e.breakpoints,n=e.values,r="";Object.keys(n).forEach((function(e){""===r&&0!==n[e]&&(r=e)}));var o=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return o.slice(0,o.indexOf(r))}var Gy=(0,Oi.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,o=n.direction,i=n.item,a=n.spacing,l=n.wrap,s=n.zeroMinWidth,c=n.breakpoints,u=[];r&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var o=e[t];Number(o)>0&&r.push(n["spacing-".concat(t,"-").concat(String(o))])})),r}(a,c,t));var d=[];return c.forEach((function(e){var r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,i&&t.item,s&&t.zeroMinWidth].concat((0,F.Z)(u),["row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))]],d)}})((function(e){var t=e.ownerState;return(0,Ti.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,Ly.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,Ly.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(qy.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.rowSpacing,i={};if(r&&0!==o){var a,l=(0,Ly.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof l&&(a=Yy({breakpoints:t.breakpoints.values,values:l})),i=(0,Ly.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,u.Z)({marginTop:"-".concat(Vy(o))},"& > .".concat(qy.item),{paddingTop:Vy(o)}):null!=(r=a)&&r.includes(n)?{}:(0,u.Z)({marginTop:0},"& > .".concat(qy.item),{paddingTop:0})}))}return i}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.columnSpacing,i={};if(r&&0!==o){var a,l=(0,Ly.P$)({values:o,breakpoints:t.breakpoints.values});"object"===typeof l&&(a=Yy({breakpoints:t.breakpoints.values,values:l})),i=(0,Ly.k9)({theme:t},l,(function(e,n){var r,o=t.spacing(e);return"0px"!==o?(0,u.Z)({width:"calc(100% + ".concat(Vy(o),")"),marginLeft:"-".concat(Vy(o))},"& > .".concat(qy.item),{paddingLeft:Vy(o)}):null!=(r=a)&&r.includes(n)?{}:(0,u.Z)({width:"100%",marginLeft:0},"& > .".concat(qy.item),{paddingLeft:0})}))}return i}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=(0,Ly.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof a?a[o]:a;if(void 0===l||null===l)return e;var s="".concat(Math.round(t/l*1e8)/1e6,"%"),c={};if(r.container&&r.item&&0!==r.columnSpacing){var u=n.spacing(r.columnSpacing);if("0px"!==u){var d="calc(".concat(s," + ").concat(Vy(u),")");c={flexBasis:d,maxWidth:d}}}i=(0,Ti.Z)({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})}));var $y=function(e){var t=e.classes,n=e.container,r=e.direction,o=e.item,i=e.spacing,a=e.wrap,l=e.zeroMinWidth,s=e.breakpoints,c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var o="spacing-".concat(t,"-").concat(String(r));n.push(o)}})),n}(i,s));var u=[];s.forEach((function(t){var n=e[t];n&&u.push("grid-".concat(t,"-").concat(String(n)))}));var d={root:["root",n&&"container",o&&"item",l&&"zeroMinWidth"].concat((0,F.Z)(c),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==a&&"wrap-xs-".concat(String(a))],u)};return(0,Yi.Z)(d,Fy,t)},Ky=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiGrid"}),o=_i().breakpoints,i=Li(r),a=i.className,l=i.columns,s=i.columnSpacing,c=i.component,u=void 0===c?"div":c,d=i.container,f=void 0!==d&&d,p=i.direction,h=void 0===p?"row":p,m=i.item,v=void 0!==m&&m,g=i.rowSpacing,y=i.spacing,b=void 0===y?0:y,x=i.wrap,w=void 0===x?"wrap":x,S=i.zeroMinWidth,k=void 0!==S&&S,j=(0,T.Z)(i,Hy),E=g||b,O=s||b,C=t.useContext(By),P=f?l||12:C,Z={},_=(0,Ti.Z)({},j);o.keys.forEach((function(e){null!=j[e]&&(Z[e]=j[e],delete _[e])}));var M=(0,Ti.Z)({},i,{columns:P,container:f,direction:h,item:v,rowSpacing:E,columnSpacing:O,wrap:w,zeroMinWidth:k,spacing:b},Z,{breakpoints:o.keys}),A=$y(M);return(0,Bi.jsx)(By.Provider,{value:P,children:(0,Bi.jsx)(Gy,(0,Ti.Z)({ownerState:M,className:(0,Mi.Z)(A.root,a),as:u,ref:n},_))})})),Xy=Ky;function Qy(e){return e.substring(2).toLowerCase()}function Jy(e){var n=e.children,r=e.disableReactTree,o=void 0!==r&&r,i=e.mouseEvent,a=void 0===i?"onClick":i,l=e.onClickAway,s=e.touchEvent,c=void 0===s?"onTouchEnd":s,u=t.useRef(!1),d=t.useRef(null),f=t.useRef(!1),p=t.useRef(!1);t.useEffect((function(){return setTimeout((function(){f.current=!0}),0),function(){f.current=!1}}),[]);var h=(0,Gi.Z)(n.ref,d),m=(0,ca.Z)((function(e){var t=p.current;p.current=!1;var n=(0,sa.Z)(d.current);!f.current||!d.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n)||(u.current?u.current=!1:(e.composedPath?e.composedPath().indexOf(d.current)>-1:!n.documentElement.contains(e.target)||d.current.contains(e.target))||!o&&t||l(e))})),v=function(e){return function(t){p.current=!0;var r=n.props[e];r&&r(t)}},g={ref:h};return!1!==c&&(g[c]=v(c)),t.useEffect((function(){if(!1!==c){var e=Qy(c),t=(0,sa.Z)(d.current),n=function(){u.current=!0};return t.addEventListener(e,m),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,m),t.removeEventListener("touchmove",n)}}}),[m,c]),!1!==a&&(g[a]=v(a)),t.useEffect((function(){if(!1!==a){var e=Qy(a),t=(0,sa.Z)(d.current);return t.addEventListener(e,m),function(){t.removeEventListener(e,m)}}}),[m,a]),(0,Bi.jsx)(t.Fragment,{children:t.cloneElement(n,g)})}function eb(e){return(0,Oa.Z)("MuiSnackbarContent",e)}(0,Ea.Z)("MuiSnackbarContent",["root","message","action"]);var tb=["action","className","message","role"],nb=(0,Oi.ZP)(ml,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t=e.theme,n="light"===t.palette.mode?.8:.98,r=(0,cl._4)(t.palette.background.default,n);return(0,Ti.Z)({},t.typography.body2,(0,u.Z)({color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(r),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1},t.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),rb=(0,Oi.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0"}),ob=(0,Oi.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),ib=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiSnackbarContent"}),r=n.action,o=n.className,i=n.message,a=n.role,l=void 0===a?"alert":a,s=(0,T.Z)(n,tb),c=n,u=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"],action:["action"],message:["message"]},eb,t)}(c);return(0,Bi.jsxs)(nb,(0,Ti.Z)({role:l,square:!0,elevation:6,className:(0,Mi.Z)(u.root,o),ownerState:c,ref:t},s,{children:[(0,Bi.jsx)(rb,{className:u.message,ownerState:c,children:i}),r?(0,Bi.jsx)(ob,{className:u.action,ownerState:c,children:r}):null]}))}));function ab(e){return(0,Oa.Z)("MuiSnackbar",e)}(0,Ea.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var lb=["onEnter","onExited"],sb=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],cb=(0,Oi.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["anchorOrigin".concat((0,vl.Z)(n.anchorOrigin.vertical)).concat((0,vl.Z)(n.anchorOrigin.horizontal))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===n.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===n.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===n.anchorOrigin.horizontal&&{justifyContent:"flex-end"},(0,u.Z)({},t.breakpoints.up("sm"),(0,Ti.Z)({},"top"===n.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===n.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===n.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===n.anchorOrigin.horizontal&&{right:24,left:"auto"})))})),ub=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiSnackbar"}),o=_i(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},a=r.action,l=r.anchorOrigin,s=void 0===l?{vertical:"bottom",horizontal:"left"}:l,c=s.vertical,u=s.horizontal,d=r.autoHideDuration,f=void 0===d?null:d,p=r.children,h=r.className,m=r.ClickAwayListenerProps,v=r.ContentProps,g=r.disableWindowBlurListener,y=void 0!==g&&g,b=r.message,x=r.open,w=r.TransitionComponent,S=void 0===w?zc:w,k=r.transitionDuration,j=void 0===k?i:k,E=r.TransitionProps,O=void 0===E?{}:E,C=O.onEnter,P=O.onExited,Z=(0,T.Z)(r.TransitionProps,lb),_=(0,T.Z)(r,sb),M=(0,Ti.Z)({},r,{anchorOrigin:{vertical:c,horizontal:u},autoHideDuration:f,disableWindowBlurListener:y,TransitionComponent:S,transitionDuration:j}),A=function(e){var t=e.classes,n=e.anchorOrigin,r={root:["root","anchorOrigin".concat((0,vl.Z)(n.vertical)).concat((0,vl.Z)(n.horizontal))]};return(0,Yi.Z)(r,ab,t)}(M),R=function(e){var n=e.autoHideDuration,r=void 0===n?null:n,o=e.disableWindowBlurListener,i=void 0!==o&&o,a=e.onClose,l=e.open,s=e.resumeHideDuration,c=t.useRef();t.useEffect((function(){if(l)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==a||a(e,"escapeKeyDown")}}),[l,a]);var u=(0,ca.Z)((function(e,t){null==a||a(e,t)})),d=(0,ca.Z)((function(e){a&&null!=e&&(clearTimeout(c.current),c.current=setTimeout((function(){u(null,"timeout")}),e))}));t.useEffect((function(){return l&&d(r),function(){clearTimeout(c.current)}}),[l,r,d]);var f=function(){clearTimeout(c.current)},p=t.useCallback((function(){null!=r&&d(null!=s?s:.5*r)}),[r,s,d]),h=function(e){return function(t){var n=e.onBlur;null==n||n(t),p()}},m=function(e){return function(t){var n=e.onFocus;null==n||n(t),f()}},v=function(e){return function(t){var n=e.onMouseEnter;null==n||n(t),f()}},g=function(e){return function(t){var n=e.onMouseLeave;null==n||n(t),p()}};return t.useEffect((function(){if(!i&&l)return window.addEventListener("focus",p),window.addEventListener("blur",f),function(){window.removeEventListener("focus",p),window.removeEventListener("blur",f)}}),[i,p,l]),{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Xi(e),r=(0,Ti.Z)({},n,t);return(0,Ti.Z)({role:"presentation"},r,{onBlur:h(r),onFocus:m(r),onMouseEnter:v(r),onMouseLeave:g(r)})},onClickAway:function(e){null==a||a(e,"clickaway")}}}((0,Ti.Z)({},M)),N=R.getRootProps,I=R.onClickAway,z=t.useState(!0),L=(0,D.Z)(z,2),B=L[0],F=L[1],W=ta({elementType:cb,getSlotProps:N,externalForwardedProps:_,ownerState:M,additionalProps:{ref:n},className:[A.root,h]});return!x&&B?null:(0,Bi.jsx)(Jy,(0,Ti.Z)({onClickAway:I},m,{children:(0,Bi.jsx)(cb,(0,Ti.Z)({},W,{children:(0,Bi.jsx)(S,(0,Ti.Z)({appear:!0,in:x,timeout:j,direction:"top"===c?"down":"up",onEnter:function(e,t){F(!1),C&&C(e,t)},onExited:function(e){F(!0),P&&P(e)}},Z,{children:p||(0,Bi.jsx)(ib,(0,Ti.Z)({message:b,action:a},v))}))}))}))})),db=ub,fb=n(5403);function pb(e){return(0,Oa.Z)("MuiInputAdornment",e)}var hb,mb=(0,Ea.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),vb=["children","className","component","disablePointerEvents","disableTypography","position","variant"],gb=(0,Oi.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,vl.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,u.Z)({},"&.".concat(mb.positionStart,"&:not(.").concat(mb.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),yb=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiInputAdornment"}),o=r.children,i=r.className,a=r.component,l=void 0===a?"div":a,s=r.disablePointerEvents,c=void 0!==s&&s,u=r.disableTypography,d=void 0!==u&&u,f=r.position,p=r.variant,h=(0,T.Z)(r,vb),m=fm()||{},v=p;p&&m.variant,m&&!v&&(v=m.variant);var g=(0,Ti.Z)({},r,{hiddenLabel:m.hiddenLabel,size:m.size,disablePointerEvents:c,position:f,variant:v}),y=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,l={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,vl.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,vl.Z)(i))]};return(0,Yi.Z)(l,pb,t)}(g);return(0,Bi.jsx)(dm.Provider,{value:null,children:(0,Bi.jsx)(gb,(0,Ti.Z)({as:l,ownerState:g,className:(0,Mi.Z)(y.root,i),ref:n},h,{children:"string"!==typeof o||d?(0,Bi.jsxs)(t.Fragment,{children:["start"===f?hb||(hb=(0,Bi.jsx)("span",{className:"notranslate",children:"\u200b"})):null,o]}):(0,Bi.jsx)(as,{color:"text.secondary",children:o})}))})}));function bb(e){return(0,Oa.Z)("MuiAlert",e)}var xb=(0,Ea.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),wb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Sb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),kb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),jb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Eb=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Ob=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Cb=(0,Oi.ZP)(ml,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,vl.Z)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?cl._j:cl.$n,o="light"===t.palette.mode?cl.$n:cl._j,i=n.color||n.severity;return(0,Ti.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&"standard"===n.variant&&(0,u.Z)({color:t.vars?t.vars.palette.Alert["".concat(i,"Color")]:r(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(i,"StandardBg")]:o(t.palette[i].light,.9)},"& .".concat(xb.icon),t.vars?{color:t.vars.palette.Alert["".concat(i,"IconColor")]}:{color:t.palette[i].main}),i&&"outlined"===n.variant&&(0,u.Z)({color:t.vars?t.vars.palette.Alert["".concat(i,"Color")]:r(t.palette[i].light,.6),border:"1px solid ".concat((t.vars||t).palette[i].light)},"& .".concat(xb.icon),t.vars?{color:t.vars.palette.Alert["".concat(i,"IconColor")]}:{color:t.palette[i].main}),i&&"filled"===n.variant&&(0,Ti.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert["".concat(i,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(i,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[i].dark:t.palette[i].main,color:t.palette.getContrastText(t.palette[i].main)}))})),Pb=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Zb=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0",minWidth:0,overflow:"auto"}),_b=(0,Oi.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Tb={success:(0,Bi.jsx)(wb,{fontSize:"inherit"}),warning:(0,Bi.jsx)(Sb,{fontSize:"inherit"}),error:(0,Bi.jsx)(kb,{fontSize:"inherit"}),info:(0,Bi.jsx)(jb,{fontSize:"inherit"})},Mb=t.forwardRef((function(e,t){var n,r,o,i,a,l,s=(0,_a.Z)({props:e,name:"MuiAlert"}),c=s.action,u=s.children,d=s.className,f=s.closeText,p=void 0===f?"Close":f,h=s.color,m=s.components,v=void 0===m?{}:m,g=s.componentsProps,y=void 0===g?{}:g,b=s.icon,x=s.iconMapping,w=void 0===x?Tb:x,S=s.onClose,k=s.role,j=void 0===k?"alert":k,E=s.severity,O=void 0===E?"success":E,C=s.slotProps,P=void 0===C?{}:C,Z=s.slots,_=void 0===Z?{}:Z,M=s.variant,A=void 0===M?"standard":M,R=(0,T.Z)(s,Ob),N=(0,Ti.Z)({},s,{color:h,severity:O,variant:A}),I=function(e){var t=e.variant,n=e.color,r=e.severity,o=e.classes,i={root:["root","".concat(t).concat((0,vl.Z)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,Yi.Z)(i,bb,o)}(N),D=null!=(n=null!=(r=_.closeButton)?r:v.CloseButton)?n:Js,z=null!=(o=null!=(i=_.closeIcon)?i:v.CloseIcon)?o:Eb,L=null!=(a=P.closeButton)?a:y.closeButton,B=null!=(l=P.closeIcon)?l:y.closeIcon;return(0,Bi.jsxs)(Cb,(0,Ti.Z)({role:j,elevation:0,ownerState:N,className:(0,Mi.Z)(I.root,d),ref:t},R,{children:[!1!==b?(0,Bi.jsx)(Pb,{ownerState:N,className:I.icon,children:b||w[O]||Tb[O]}):null,(0,Bi.jsx)(Zb,{ownerState:N,className:I.message,children:u}),null!=c?(0,Bi.jsx)(_b,{ownerState:N,className:I.action,children:c}):null,null==c&&S?(0,Bi.jsx)(_b,{ownerState:N,className:I.action,children:(0,Bi.jsx)(D,(0,Ti.Z)({size:"small","aria-label":p,title:p,color:"inherit",onClick:S},L,{children:(0,Bi.jsx)(z,(0,Ti.Z)({fontSize:"small"},B))}))}):null]}))})),Ab=Mb,Rb=n(2715),Nb=n(1133),Ib=n(5397),Db=n(111);var zb=function(e){var t=e.count,n=e.page,r=e.rowsPerPage,o=e.onPageChange,i=e.direction,a=function(e,t){o(e,t)};return(0,Bi.jsxs)(Vi,{sx:{flexShrink:0,ml:2.5},children:[(0,Bi.jsx)(Js,{onClick:function(e){return a(e,0)},disabled:0===n,"aria-label":"first page",children:"rtl"===i?(0,Bi.jsx)(Db.Z,{}):(0,Bi.jsx)(Rb.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,n-1)},disabled:0===n,"aria-label":"previous page",children:"rtl"===i?(0,Bi.jsx)(Ib.Z,{}):(0,Bi.jsx)(Nb.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,n+1)},disabled:n>=Math.ceil(t/r)-1,"aria-label":"next page",children:"rtl"===i?(0,Bi.jsx)(Nb.Z,{}):(0,Bi.jsx)(Ib.Z,{})}),(0,Bi.jsx)(Js,{onClick:function(e){return a(e,Math.max(0,Math.ceil(t/r)-1))},disabled:n>=Math.ceil(t/r)-1,"aria-label":"last page",children:"rtl"===i?(0,Bi.jsx)(Rb.Z,{}):(0,Bi.jsx)(Db.Z,{})})]})};var Lb=function(){var e=(0,t.useState)([]),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(null),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(!0),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)("success"),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(!1),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(0),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(5),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(""),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)({id:null,examName:"",examTime:null,examStatus:!1,totalQuestion:0,showResult:!1}),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)({examNameError:!1,examTimeError:!1,totalQuestionError:!1}),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=x((function(e){return e.exam})),ie=oe.allExam,ae=x((function(e){return e.exam})),le=ae.SingleExam,se=_(),ce=(0,t.useState)(!0),ue=(0,D.Z)(ce,2),de=ue[0];ue[1],(0,t.useEffect)((function(){ih(uh.exams).then((function(e){console.log("exam data from mysql",e.data);var t=e.data.reverse();se(sn.GET_EXAM(t))})).catch((function(e){w(!0),E("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Z("error")}))}),[]),(0,t.useEffect)((function(){o((0,F.Z)(ie))}),[ie.length>0,se]),(0,t.useEffect)((function(){o((0,F.Z)(ie))})),(0,t.useEffect)((function(){if(le){var e=le.id,t=void 0===e?0:e,n=le.examName,r=void 0===n?"":n,o=le.examTime,i=void 0===o?null:o,a=le.examStatus,l=void 0!==a&&a,s=le.showResult,c=void 0!==s&&s,u=le.totalQuestion;Q({id:t,examName:r,examStatus:l,examTime:i,totalQuestion:void 0===u?0:u,showResult:c})}}),[le]);var fe=function(e){var t=e.target,n=t.name,r=t.value;if("examName"===n){var o=!function(e){return/^[a-zA-Z0-9\- ]{2,30}$/.test(e)}(r);re((function(e){return te(te({},e),{},{examNameError:o})}))}if("examTime"===n){var i=!function(e){return/^[a-zA-Z0-9]{1,3}min$/.test(e)}(r);re((function(e){return te(te({},e),{},{examTimeError:i})}))}if("totalQuestion"===n){var a=!/^[0-9]{1,3}$/.test(r);re((function(e){return te(te({},e),{},{totalQuestionError:a})}))}},pe=function(e){var t=e.target,n=t.name,r=t.value,o="radio"===t.type?"true"===r:r;switch(n){case"examName":Q((function(e){return te(te({},e),{},{examName:o.toLowerCase()})}));break;case"examTime":Q((function(e){return te(te({},e),{},{examTime:o.toLowerCase()})}));break;case"totalQuestion":Q((function(e){return te(te({},e),{},{totalQuestion:o.toLowerCase()})}));break;case"examStatus":Q((function(e){return te(te({},e),{},{examStatus:o})}))}},he=function(){s(!1),f(null)},me=function(e){!function(e){s(!0),f(e)}(e)},ve=function(e){e.preventDefault();var t=X.id,n=void 0===t?null:t,o=X.examName,i=X.examTime,a=X.examStatus,l=X.totalQuestion,s=X.showResult,c={id:n,examName:o,examTime:i,examStatus:a,totalQuestion:l,showResult:s},u={id:n,examName:o,examTime:i,examStatus:!1,totalQuestion:l,showResult:s},d=r.some((function(e){return e.examName===o&&e.id!==n}));if(m){if(d)return w(!0),E("An exam with the same name already exists."),void Z("error");ah(uh.exams,u).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){w(!0),E("Exam Added!."),Z("success"),se(sn.ADD_EXAM(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(ie));se(sn.GET_EXAM(n))}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}else lh("".concat(uh.exams).concat(n,"/"),c).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(w(!0),E("Exam Updated!."),Z("success"),se(sn.UPDATE_EXAM(e.data)))})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}));ge()},ge=function(){R(!1),re((function(e){return te(te({},e),{},{examNameError:!1,examTimeError:!1,totalQuestionError:!1})}))},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=r.find((function(t){return t.id===e}));t&&(Q(te({},t)),R(!0),v(!1))}else Q({id:null,examName:"",examStatus:!1,totalQuestion:0,showResult:!1}),R(!0),v(!0)},be=function(){w(!1),E("")},xe=r.filter((function(e){var t,n,r=Y.toLowerCase(),o=(null===e||void 0===e?void 0:e.examName)&&(null===e||void 0===e||null===(t=e.examName)||void 0===t?void 0:t.toLowerCase().includes(r)),i=(null===e||void 0===e?void 0:e.id)&&(null===e||void 0===e||null===(n=e.id)||void 0===n?void 0:n.toString().includes(r));return o||i})),we=!X.examName||ne.examNameError||ne.examTimeError||ne.totalQuestionError||!X.examTime||!X.totalQuestion;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none",borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Exam"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:Y,onChange:function(e){G(e.target.value),L(0)},placeholder:"Search Exam",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",sx:{marginBottom:2},size:"small",type:"button",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return ye()},children:"Exam"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Id"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Status"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Exam Time(min)"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Total Questions"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Show Answer"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===xe.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):xe&&xe.length>0&&xe.slice(z*U,z*U+U).map((function(e,t){var n=z*U+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:e.id}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.examName)}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.examStatus,onChange:function(){return function(e,t){var n=xe[z*U+e],i=r.findIndex((function(e){return e.id===n.id}));if(console.log(i),i>=0){var a=te(te({},r[i]),{},{examStatus:t});console.log(a),lh("".concat(uh.exams).concat(n.id,"/"),a).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){se(sn.UPDATE_EXAM(e.data));var t=(0,F.Z)(r);t[i]=e.data,o(t)}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}}(t,!e.examStatus)},inputProps:{"aria-label":"controlled"}})}),(0,Bi.jsx)(Vh,{align:"left",children:e.examTime}),(0,Bi.jsx)(Vh,{align:"left",children:e.totalQuestion}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.showResult,onChange:function(){return function(e,t){var n=xe[z*U+e],i=r.findIndex((function(e){return e.id===n.id}));if(console.log(i),i>=0){var a=te(te({},r[i]),{},{showResult:t});console.log(a),lh("".concat(uh.exams).concat(n.id,"/"),a).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){se(sn.UPDATE_EXAM(e.data));var t=(0,F.Z)(r);t[i]=e.data,o(t)}})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")}))}}(t,!e.showResult)},color:"primary"})}),(0,Bi.jsxs)(Vh,{align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"edit",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return ye(e.id)},style:{color:"#2c387e",fontSize:"25px"}})}),(0,Bi.jsx)(Js,{"aria-label":"delete",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return me(e.id)},style:{color:"#2c387e",fontSize:"25px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:xe.length,rowsPerPage:U,page:z,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){L(t)},onRowsPerPageChange:function(e){q(parseInt(e.target.value,10)),L(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:A,onClose:ge,onConfirm:ve,show:de,title:m?"Add Exam":"Update Exam",content:(0,Bi.jsx)("form",{onSubmit:ve,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:2},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Exam Name",variant:"outlined",fullWidth:!0,name:"examName",value:X.examName,onChange:pe,size:"small",inputProps:{maxLength:30},onBlur:fe,error:ne.examNameError,helperText:ne.examNameError&&xh("Enter Valid Exam Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Exam Time",variant:"outlined",fullWidth:!0,name:"examTime",value:X.examTime,onChange:pe,size:"small",placeholder:"enter a time (1min)",onBlur:fe,inputProps:{maxLength:6},error:ne.examTimeError,helperText:ne.examTimeError&&xh("Enter Valid Exam Time.E.g-1min")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Total Questions",variant:"outlined",fullWidth:!0,name:"totalQuestion",value:X.totalQuestion,onChange:pe,inputProps:{maxLength:3},size:"small",placeholder:"enter a count of questions",onBlur:fe,error:ne.totalQuestionError,helperText:ne.totalQuestionError&&xh("Enter Valid Questions Count")})})]})}),disable:we,submitLabel:m?"Add Exam":"Update Exam"}),(0,Bi.jsx)(gf,{open:l,onClose:he,onConfirm:function(){he(),sh("".concat(uh.exams).concat(d)).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(w(!0),E("Exam Deleted!."),Z("success"),se(sn.DELETE_EXAM(d)))})).catch((function(e){w(!0),E(null===e||void 0===e?void 0:e.message),Z("error")})),he()},show:!0,message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:b,autoHideDuration:3e3,onClose:be,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:be,severity:P,variant:"filled",sx:{width:"100%"},children:j})})]})})};function Bb(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",t="",n=0;n<6;n++)t+=e.charAt(Math.floor(36*Math.random()));return t}var Fb=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=(n[0],n[1],(0,t.useState)(!0)),o=(0,D.Z)(r,2),i=o[0],a=o[1],l=(0,t.useState)([]),s=(0,D.Z)(l,2),c=s[0],u=s[1],d=(0,t.useState)(0),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)(5),v=(0,D.Z)(m,2),g=v[0],y=v[1],b=(0,t.useState)(null),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=x((function(e){return e.voucher})),E=j.allvouchers,O=_();(0,t.useEffect)((function(){ih(uh.voucher).then((function(e){return O(on.GET_VOUCHER(e.data))})).catch((function(e){console.error("Error fetching vouchers:",e)}))}),[]),(0,t.useEffect)((function(){var e=setInterval((function(){if(!i&&null!==S){var e=Bb();C(S,e)}}),36e5);return function(){clearInterval(e)}}),[i,S]),(0,t.useEffect)((function(){u(E)}),[E]);var C=function(e,t){var n=(0,F.Z)(c),r=n.findIndex((function(t){return t.id===e}));-1!==r&&(n[r].Vcode=t,u(n))};return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Voucher"})})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"ID"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Voucher Code"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:c&&c.length>0&&c.slice(p*g,p*g+g).map((function(e,t){var n=p*g+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n}),(0,Bi.jsx)(Vh,{align:"left",children:e.Vcode}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(Jg,{checked:e.status,onChange:function(n){return function(e,t,n,r){var o=p*g+e;u((function(e){var n=e.map((function(e,n){return n===o?te(te({},e),{},{status:!t}):e}));if(!n[o].status){var r=Bb();n[o].Vcode=r}return k(n[o].id),a(n[o].status),lh("".concat(uh.voucher).concat(c[o].id,"/"),n[o]).then((function(e){return O(on.UPDATE_VOUCHER(e.data))})).catch((function(e){return console.log("voucher error: ",e)})),n}))}(t,e.status)},inputProps:{"aria-label":"controlled"}},t)})]},e.id)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:6,count:c.length,rowsPerPage:g,page:p,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){h(t)},onRowsPerPageChange:function(e){y(parseInt(e.target.value,10)),h(0)},ActionsComponent:zb})]})})]})})},Wb=n(1406);var Ub=t.createContext(null);function qb(){return t.useContext(Ub)}function Hb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=qb(),o=function(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}({theme:r,name:"MuiUseMediaQuery",props:{}});var i="function"===typeof e?e(r):e;i=i.replace(/^@media( ?)/m,"");var a="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,l=(0,Ti.Z)({},o,n),s=l.defaultMatches,c=void 0!==s&&s,u=l.matchMedia,d=void 0===u?a?window.matchMedia:null:u,f=l.noSsr,p=void 0!==f&&f,h=l.ssrMatchMedia,m=void 0===h?null:h,v=t.useState((function(){return p&&a?d(i).matches:m?m(i).matches:c})),g=v[0],y=v[1];return t.useEffect((function(){var e=!0;if(a){var t=d(i),n=function(){e&&y(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,d,a]),g}function Vb(e){return e&&"object"===(0,A.Z)(e)&&e.constructor===Object}function Yb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?(0,Ti.Z)({},e):e;return Vb(e)&&Vb(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Vb(t[o])&&o in e?r[o]=Yb(e[o],t[o],n):r[o]=t[o])})),r}var Gb=["xs","sm","md","lg","xl"];function $b(e,t,n){var r;return(0,Ti.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,Ti.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,u.Z)({},e.up("sm"),(0,Ti.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,u.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,u.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}function Kb(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var Xb={black:"#000",white:"#fff"},Qb={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Jb={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},ex={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},tx={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},nx={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},rx={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ox={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function ix(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function ax(e){if(e.type)return e;if("#"===e.charAt(0))return ax(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Kb(3,e));var r=e.substring(t+1,e.length-1).split(",");return r=r.map((function(e){return parseFloat(e)})),{type:n,values:r}}function lx(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function sx(e){var t="hsl"===(e=ax(e)).type?ax(function(e){var t=(e=ax(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),lx({type:l,values:s})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cx(e,t){if(e=ax(e),t=ix(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return lx(e)}function ux(e,t){if(e=ax(e),t=ix(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return lx(e)}var dx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Xb.white,default:Qb[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},fx={text:{primary:Xb.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Qb[800],default:"#303030"},action:{active:Xb.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function px(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=ux(e.main,o):"dark"===t&&(e.dark=cx(e.main,i)))}function hx(e){var t=e.primary,n=void 0===t?{light:Jb[300],main:Jb[500],dark:Jb[700]}:t,r=e.secondary,o=void 0===r?{light:ex.A200,main:ex.A400,dark:ex.A700}:r,i=e.error,a=void 0===i?{light:tx[300],main:tx[500],dark:tx[700]}:i,l=e.warning,s=void 0===l?{light:nx[300],main:nx[500],dark:nx[700]}:l,c=e.info,u=void 0===c?{light:rx[300],main:rx[500],dark:rx[700]}:c,d=e.success,f=void 0===d?{light:ox[300],main:ox[500],dark:ox[700]}:d,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,y=void 0===g?.2:g,b=M(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){var t=function(e,t){var n=sx(e),r=sx(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,fx.text.primary)>=v?fx.text.primary:dx.text.primary;return t}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,Ti.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Kb(4,t));if("string"!==typeof e.main)throw new Error(Kb(5,JSON.stringify(e.main)));return px(e,"light",n,y),px(e,"dark",r,y),e.contrastText||(e.contrastText=x(e.main)),e},S={dark:fx,light:dx};return Yb((0,Ti.Z)({common:Xb,type:h,primary:w(n),secondary:w(o,"A400","A200","A700"),error:w(a),warning:w(s),info:w(u),success:w(f),grey:Qb,contrastThreshold:v,getContrastText:x,augmentColor:w,tonalOffset:y},S[h]),b)}function mx(e){return Math.round(1e5*e)/1e5}function vx(e){return mx(e)}var gx={textTransform:"uppercase"},yx='"Roboto", "Helvetica", "Arial", sans-serif';function bx(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?yx:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,f=void 0===d?500:d,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,y=n.pxToRem,b=M(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var x=a/14,w=y||function(e){return"".concat(e/v*x,"rem")},S=function(e,t,n,r,i){return(0,Ti.Z)({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===yx?{letterSpacing:"".concat(mx(r/t),"em")}:{},i,g)},k={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(f,14,1.75,.4,gx),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,gx)};return Yb((0,Ti.Z)({htmlFontSize:v,pxToRem:w,round:vx,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:h},k),b,{clone:!1})}function xx(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var wx=["none",xx(0,2,1,-1,0,1,1,0,0,1,3,0),xx(0,3,1,-2,0,2,2,0,0,1,5,0),xx(0,3,3,-2,0,3,4,0,0,1,8,0),xx(0,2,4,-1,0,4,5,0,0,1,10,0),xx(0,3,5,-1,0,5,8,0,0,1,14,0),xx(0,3,5,-1,0,6,10,0,0,1,18,0),xx(0,4,5,-2,0,7,10,1,0,2,16,1),xx(0,5,5,-3,0,8,10,1,0,3,14,2),xx(0,5,6,-3,0,9,12,1,0,3,16,2),xx(0,6,6,-3,0,10,14,1,0,4,18,3),xx(0,6,7,-4,0,11,15,1,0,4,20,3),xx(0,7,8,-4,0,12,17,2,0,5,22,4),xx(0,7,8,-4,0,13,19,2,0,5,24,4),xx(0,7,9,-4,0,14,21,2,0,5,26,4),xx(0,8,9,-5,0,15,22,2,0,6,28,5),xx(0,8,10,-5,0,16,24,2,0,6,30,5),xx(0,8,11,-5,0,17,26,2,0,6,32,5),xx(0,9,11,-5,0,18,28,2,0,7,34,6),xx(0,9,12,-6,0,19,29,2,0,7,36,6),xx(0,10,13,-6,0,20,31,3,0,8,38,7),xx(0,10,13,-6,0,21,33,3,0,8,40,7),xx(0,10,14,-6,0,22,35,3,0,8,42,7),xx(0,11,14,-7,0,23,36,3,0,9,44,8),xx(0,11,15,-7,0,24,38,3,0,9,46,8)],Sx={borderRadius:4},kx={xs:0,sm:600,md:960,lg:1280,xl:1920},jx={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(kx[e],"px)")}};var Ex=function(e,t){return t?Yb(e,t,{clone:!1}):e};var Ox={m:"margin",p:"padding"},Cx={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Px={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zx=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!Px[e])return[e];e=Px[e]}var t=e.split(""),n=(0,D.Z)(t,2),r=n[0],o=n[1],i=Ox[r],a=Cx[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]})),_x=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Tx(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function Mx(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Ax(e){var t=Tx(e.theme);return Object.keys(e).map((function(n){if(-1===_x.indexOf(n))return null;var r=Mx(Zx(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||jx;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===(0,A.Z)(t)){var o=e.theme.breakpoints||jx;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(Ex,{})}Ax.propTypes={},Ax.filterProps=_x;var Rx={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ix(e){return"".concat(Math.round(e),"ms")}var Dx={easing:Rx,duration:Nx,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Nx.standard:n,o=t.easing,i=void 0===o?Rx.easeInOut:o,a=t.delay,l=void 0===a?0:a;M(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof r?r:Ix(r)," ").concat(i," ").concat("string"===typeof l?l:Ix(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},zx={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Lx(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,l=e.spacing,s=e.typography,c=void 0===s?{}:s,u=M(e,["breakpoints","mixins","palette","spacing","typography"]),d=hx(a),f=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,l=M(e,["values","unit","step"]);function s(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=Gb.indexOf(t);return r===Gb.length-1?s(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[Gb[r+1]]?n[Gb[r+1]]:t)-a/100).concat(o,")")}return(0,Ti.Z)({keys:Gb,values:n,up:s,down:function(e){var t=Gb.indexOf(e)+1,r=n[Gb[t]];return t===Gb.length?s("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},l)}(n),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Tx({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}(l),h=Yb({breakpoints:f,direction:"ltr",mixins:$b(f,p,o),overrides:{},palette:d,props:{},shadows:wx,typography:bx(d,c),spacing:p,shape:Sx,transitions:Dx,zIndex:zx},u),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g<m;g++)v[g-1]=arguments[g];return h=v.reduce((function(e,t){return Yb(e,t)}),h)}var Bx=Lx();function Fx(){return qb()||Bx}var Wx=n(2426),Ux=n.n(Wx),qx=function(e){return Ux()(e).format("L")},Hx=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(null),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=Hb(Fx().breakpoints.down("sm")),k=_(),j=x((function(e){return e.feedback})),E=j.allFeedback;(0,t.useEffect)((function(){ih(uh.feedback).then((function(e){var t=e.data.reverse();k(xn.getFeedback(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]);var O=E&&E.length>0&&E.filter((function(e){var t=e&&e.name&&e.name.toLowerCase().includes(d),n=e&&e.email&&e.email.toLowerCase().includes(d),r=e.datetime&&e.datetime.includes(d),o=e.contact&&e.contact.toLowerCase().includes(d),i=e&&e.branch&&e.branch.branchName&&e.branch.branchName.toLowerCase().includes(d);return t||n||i||r||o}))||[];return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Feedback"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:d,onChange:function(e){f(e.target.value),o(0)},placeholder:"Search Feedback",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Contact"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Organization"}),(0,Bi.jsx)(Vh,{align:"center",sx:{fontWeight:"bold"},children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:0===O.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):O&&O.length>0&&O.slice(r*l,r*l+l).map((function(e,t){var n=r*l+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.name)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.email)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.contact)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.organization)}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(Wb.Z,{onClick:function(){return v(e),void w(!0)},style:{color:"#2c387e",fontSize:"25px"}})})})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:O.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:b,onClose:function(){w(!1)},title:"Student Feedback",show:!1,content:m&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Student Name : ",yf(m.name)]})}),"Hematite branch"===m.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Branch:"}),yf(m.branch?m.branch.branchName:"N/A")," ",(0,Bi.jsx)("br",{})]}):"Cdac"===m.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" PRN No:"}),m.cidacPrn," ",(0,Bi.jsx)("br",{})]}):"Other branch"===m.otherbranch?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Other Branch:"}),yf(m.otherbranch?m.otherbranch:"N/A")," ",(0,Bi.jsx)("br",{})]}):null,(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" DateTime"}),qx(m.datetime)," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" How satisfied are you with our services? (1-5)"}),m.question1," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"How likely are you to recommend us to others? (1-5)"}),m.question2," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"What do you like most about our services?"}),m.question3," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"What areas do you think we can improve?"}),m.question4," ",(0,Bi.jsx)("br",{})]}),(0,Bi.jsxs)(as,{component:"span",variant:"subtitle1",textAlign:"left",sx:{fontSize:S?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"600px",boxShadow:5},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:"Any additional comments or suggestions?"}),m.question5," ",(0,Bi.jsx)("br",{})]})]})})})]})})};function Vx(e){return(0,Oa.Z)("MuiFormGroup",e)}(0,Ea.Z)("MuiFormGroup",["root","row","error"]);var Yx=["className","row"],Gx=(0,Oi.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.row&&t.row]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),$x=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiFormGroup"}),r=n.className,o=n.row,i=void 0!==o&&o,a=(0,T.Z)(n,Yx),l=um({props:n,muiFormControl:fm(),states:["error"]}),s=(0,Ti.Z)({},n,{row:i,error:l.error}),c=function(e){var t=e.classes,n={root:["root",e.row&&"row",e.error&&"error"]};return(0,Yi.Z)(n,Vx,t)}(s);return(0,Bi.jsx)(Gx,(0,Ti.Z)({className:(0,Mi.Z)(c.root,r),ownerState:s,ref:t},a))}));var Kx=t.createContext(void 0),Xx=["actions","children","defaultValue","name","onChange","value"],Qx=t.forwardRef((function(e,n){var r=e.actions,o=e.children,i=e.defaultValue,a=e.name,l=e.onChange,s=e.value,c=(0,T.Z)(e,Xx),u=t.useRef(null),d=(0,md.Z)({controlled:s,default:i,name:"RadioGroup"}),f=(0,D.Z)(d,2),p=f[0],h=f[1];t.useImperativeHandle(r,(function(){return{focus:function(){var e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var m=(0,qa.Z)(n,u),v=(0,hd.Z)(a),g=t.useMemo((function(){return{name:v,onChange:function(e){h(e.target.value),l&&l(e,e.target.value)},value:p}}),[v,l,h,p]);return(0,Bi.jsx)(Kx.Provider,{value:g,children:(0,Bi.jsx)($x,(0,Ti.Z)({role:"radiogroup",ref:m},c,{children:o}))})})),Jx=Qx,ew=(0,n(4046).ZP)(),tw=n(7078),nw=n(5080),rw=n(5682),ow=["component","direction","spacing","divider","children","className","useFlexGap"],iw=(0,nw.Z)(),aw=ew("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return t.root}});function lw(e){return(0,tw.Z)({props:e,name:"MuiStack",defaultTheme:iw})}function sw(e,n){var r=t.Children.toArray(e).filter(Boolean);return r.reduce((function(e,o,i){return e.push(o),i<r.length-1&&e.push(t.cloneElement(n,{key:"separator-".concat(i)})),e}),[])}var cw=function(e){var t=e.ownerState,n=e.theme,r=(0,Ti.Z)({display:"flex",flexDirection:"column"},(0,Ly.k9)({theme:n},(0,Ly.P$)({values:t.direction,breakpoints:n.breakpoints.values}),(function(e){return{flexDirection:e}})));if(t.spacing){var o=(0,rw.hB)(n),i=Object.keys(n.breakpoints.values).reduce((function(e,n){return("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e}),{}),a=(0,Ly.P$)({values:t.direction,base:i}),l=(0,Ly.P$)({values:t.spacing,base:i});"object"===typeof a&&Object.keys(a).forEach((function(e,t,n){if(!a[e]){var r=t>0?a[n[t-1]]:"column";a[e]=r}}));r=(0,Ni.Z)(r,(0,Ly.k9)({theme:n},l,(function(e,n){return t.useFlexGap?{gap:(0,rw.NA)(o,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":(0,u.Z)({},"margin".concat((r=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r])),(0,rw.NA)(o,e))};var r})))}return r=(0,Ly.dt)(n.breakpoints,r)};var uw=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?aw:n,o=e.useThemeProps,i=void 0===o?lw:o,a=e.componentName,l=void 0===a?"MuiStack":a,s=r(cw),c=t.forwardRef((function(e,t){var n=Li(i(e)),r=n.component,o=void 0===r?"div":r,a=n.direction,c=void 0===a?"column":a,u=n.spacing,d=void 0===u?0:u,f=n.divider,p=n.children,h=n.className,m=n.useFlexGap,v=void 0!==m&&m,g=(0,T.Z)(n,ow),y={direction:c,spacing:d,useFlexGap:v},b=(0,Yi.Z)({root:["root"]},(function(e){return(0,Oa.Z)(l,e)}),{});return(0,Bi.jsx)(s,(0,Ti.Z)({as:o,ownerState:y,ref:t,className:(0,Mi.Z)(b.root,h)},g,{children:f?sw(p,f):p}))}));return c}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return t.root}}),useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiStack"})}}),dw=uw;function fw(e){return(0,Oa.Z)("MuiFormControlLabel",e)}var pw=(0,Ea.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),hw=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],mw=(0,Oi.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat(pw.label),t.label),t.root,t["labelPlacement".concat((0,vl.Z)(n.labelPlacement))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)((0,u.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(pw.disabled),{cursor:"default"}),"start"===n.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===n.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===n.labelPlacement&&{flexDirection:"column",marginLeft:16},(0,u.Z)({},"& .".concat(pw.label),(0,u.Z)({},"&.".concat(pw.disabled),{color:(t.vars||t).palette.text.disabled})))})),vw=(0,Oi.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,u.Z)({},"&.".concat(pw.error),{color:(t.vars||t).palette.error.main})})),gw=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiFormControlLabel"}),a=i.className,l=i.componentsProps,s=void 0===l?{}:l,c=i.control,u=i.disabled,d=i.disableTypography,f=i.label,p=i.labelPlacement,h=void 0===p?"end":p,m=i.required,v=i.slotProps,g=void 0===v?{}:v,y=(0,T.Z)(i,hw),b=fm(),x=null!=(r=null!=u?u:c.props.disabled)?r:null==b?void 0:b.disabled,w=null!=m?m:c.props.required,S={disabled:x,required:w};["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof c.props[e]&&"undefined"!==typeof i[e]&&(S[e]=i[e])}));var k=um({props:i,muiFormControl:b,states:["error"]}),j=(0,Ti.Z)({},i,{disabled:x,labelPlacement:h,required:w,error:k.error}),E=function(e){var t=e.classes,n=e.disabled,r=e.labelPlacement,o=e.error,i=e.required,a={root:["root",n&&"disabled","labelPlacement".concat((0,vl.Z)(r)),o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,Yi.Z)(a,fw,t)}(j),O=null!=(o=g.typography)?o:s.typography,C=f;return null==C||C.type===as||d||(C=(0,Bi.jsx)(as,(0,Ti.Z)({component:"span"},O,{className:(0,Mi.Z)(E.label,null==O?void 0:O.className),children:C}))),(0,Bi.jsxs)(mw,(0,Ti.Z)({className:(0,Mi.Z)(E.root,a),ownerState:j,ref:n},y,{children:[t.cloneElement(c,S),w?(0,Bi.jsxs)(dw,{direction:"row",alignItems:"center",children:[C,(0,Bi.jsxs)(vw,{ownerState:j,"aria-hidden":!0,className:E.asterisk,children:["\u2009","*"]})]}):C]}))})),yw=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),bw=(0,jv.Z)((0,Bi.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),xw=(0,Oi.ZP)("span")({position:"relative",display:"flex"}),ww=(0,Oi.ZP)(yw)({transform:"scale(1)"}),Sw=(0,Oi.ZP)(bw)((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})}));var kw=function(e){var t=e.checked,n=void 0!==t&&t,r=e.classes,o=void 0===r?{}:r,i=e.fontSize,a=(0,Ti.Z)({},e,{checked:n});return(0,Bi.jsxs)(xw,{className:o.root,ownerState:a,children:[(0,Bi.jsx)(ww,{fontSize:i,className:o.background,ownerState:a}),(0,Bi.jsx)(Sw,{fontSize:i,className:o.dot,ownerState:a})]})},jw=n(1260);function Ew(e){return(0,Oa.Z)("MuiRadio",e)}var Ow=(0,Ea.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Cw=["checked","checkedIcon","color","icon","name","onChange","size","className"],Pw=(0,Oi.ZP)(qg,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&(0,u.Z)({},"&.".concat(Ow.checked),{color:(t.vars||t).palette[n.color].main}),(0,u.Z)({},"&.".concat(Ow.disabled),{color:(t.vars||t).palette.action.disabled}))}));var Zw=(0,Bi.jsx)(kw,{checked:!0}),_w=(0,Bi.jsx)(kw,{}),Tw=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiRadio"}),a=i.checked,l=i.checkedIcon,s=void 0===l?Zw:l,c=i.color,u=void 0===c?"primary":c,d=i.icon,f=void 0===d?_w:d,p=i.name,h=i.onChange,m=i.size,v=void 0===m?"medium":m,g=i.className,y=(0,T.Z)(i,Cw),b=(0,Ti.Z)({},i,{color:u,size:v}),x=function(e){var t=e.classes,n=e.color,r={root:["root","color".concat((0,vl.Z)(n))]};return(0,Ti.Z)({},t,(0,Yi.Z)(r,Ew,t))}(b),w=t.useContext(Kx),S=a,k=(0,jw.Z)(h,w&&w.onChange),j=p;return w&&("undefined"===typeof S&&(S=function(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}(w.value,i.value)),"undefined"===typeof j&&(j=w.name)),(0,Bi.jsx)(Pw,(0,Ti.Z)({type:"radio",icon:t.cloneElement(f,{fontSize:null!=(r=_w.props.fontSize)?r:v}),checkedIcon:t.cloneElement(s,{fontSize:null!=(o=Zw.props.fontSize)?o:v}),ownerState:b,classes:x,name:j,checked:S,onChange:k,ref:n,className:(0,Mi.Z)(x.root,g)},y))})),Mw=Tw,Aw=function(){var e=Lo(),n=_(),r=x((function(e){return e.feedback})),o=r.allBranch,i=Hb(Fx().breakpoints.down("sm")),a=(0,t.useState)({name:"",email:"",branch:"",contact:"",question1:"",question2:"",question3:"",question4:"",question5:"",cidacPrn:"",otherbranch:"",organization:"",datetime:(new Date).toISOString().split("T")[0]}),l=(0,D.Z)(a,2),s=l[0],c=l[1],d=(0,t.useState)({nameError:!1,emailError:!1,contactError:!1,questionError:!1,questionError2:!1,pnrNoError:!1,otherBranchError:!1,questionError3:!1,questionError4:!1,questionError5:!1}),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)(!1),v=(0,D.Z)(m,2),g=v[0],y=v[1],b=(0,t.useState)(""),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=(0,t.useState)(""),E=(0,D.Z)(j,2),O=E[0],C=E[1],P=(0,t.useState)(""),Z=(0,D.Z)(P,2),T=Z[0],M=Z[1];(0,t.useEffect)((function(){ih(uh.branch).then((function(e){return n(xn.getBranch(e.data))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]),(0,t.useEffect)((function(){}),[]),(0,t.useEffect)((function(){if(o&&1===o.length){M(o[0].branchName);var e=o.find((function(e){return e.branchName===T})),t=e?e.id:"";c(te(te({},s),{},{branch_id:t}))}}),[o]),(0,t.useEffect)((function(){var e=null===o||void 0===o?void 0:o.find((function(e){return e.branchName===T}));e&&c((function(t){return te(te({},t),{},{branch_id:e.id})}))}),[T,o]);var A=function(e){var t,n,r=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,i=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;switch(r){case"name":c(te(te({},s),{},{name:i}));break;case"email":c(te(te({},s),{},{email:i}));break;case"contact":c(te(te({},s),{},{contact:i}));break;case"question1":c(te(te({},s),{},{question1:i}));break;case"question2":c(te(te({},s),{},{question2:i}));break;case"question3":c(te(te({},s),{},{question3:i}));break;case"question4":c(te(te({},s),{},{question4:i}));break;case"question5":c(te(te({},s),{},{question5:i}));break;case"cidacPrn":c(te(te({},s),{},{cidacPrn:i}));break;case"branch":if(c((function(e){return te(te({},e),{},{branch:i})})),"branch"===r&&"Branch"===i&&(c((function(e){return te(te({},e),{},{cidacPrn:null,otherbranch:"",organization:"Hematite branch"})})),h(te(te({},p),{},{otherBranchError:!1,pnrNoError:!1}))),"branch"===r){var a=o.find((function(e){return e.branchName===i}));a&&c((function(e){return te(te({},e),{},{branch_id:a.id})}))}"branch"===r&&"cdac"===i&&(c((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),h(te(te({},p),{},{otherBranchError:!1}))),"branch"===r&&"otherbranch"===i&&(c((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,cidacPrn:null,organization:"Other branch"})})),h(te(te({},p),{},{pnrNoError:!1})));break;case"role":c(te(te({},s),{},{role:i}));break;case"organization":c(te(te({},s),{},{organization:i}));break;case"otherbranch":c(te(te({},s),{},{otherbranch:i}))}},R=function(e){var t=e.target,n=t.name,r=t.value;if("name"===n){var o=!function(e){return/^[a-zA-Z ]{2,40}$/.test(e)}(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),o))}))}if("email"===n){var i=!ph(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),i))}))}if("contact"===n){var a=!fh(r);h((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),a))}))}if("question1"===n){var l=!vh(r);h((function(e){return te(te({},e),{},{questionError:l})}))}if("question2"===n){var s=!vh(r);h((function(e){return te(te({},e),{},{questionError2:s})}))}if("question3"===n){var c=!yh(r);h((function(e){return te(te({},e),{},{questionError3:c})}))}if("question4"===n){var d=!yh(r);h((function(e){return te(te({},e),{},{questionError4:d})}))}if("question5"===n){var f=!yh(r);h((function(e){return te(te({},e),{},{questionError5:f})}))}if("cidacPrn"===n){var p=!hh(r);h((function(e){return te(te({},e),{},{pnrNoError:p})}))}if("otherbranch"===n){var m=!gh(r);h((function(e){return te(te({},e),{},{otherBranchError:m})}))}},N=function(){y(!1)},I=s.name,z=s.email,L=s.contact,B=s.question1,F=s.question2,W=s.question3,U=s.question4,q=s.question5,H=s.branch,V=s.otherbranch,Y=s.cidacPrn,G=s.datetime,$=!z||!L||!B||!F||!W||!U||!q||p.contactError||p.emailError||p.nameError||p.otherBranchError||p.pnrNoError||p.questionError||p.questionError2||p.questionError3||p.questionError4||p.questionError5;return(0,Bi.jsx)(Xy,{container:!0,justifyContent:"center",alignItems:"center",style:{minHeight:"120vh",fontSize:"45px"},children:(0,Bi.jsx)(Xy,{item:!0,xs:12,sm:10,md:8,lg:6,children:(0,Bi.jsxs)(ml,{elevation:3,style:{padding:20,fontSize:"45px"},children:[(0,Bi.jsx)(as,{variant:"h5",gutterBottom:!0,align:"center",sx:{fontSize:i?"20px":"25px",color:"primary.main"},children:"Feedback Form"}),(0,Bi.jsxs)("form",{onSubmit:function(t){return t.preventDefault(),p.nameError||p.emailError||p.contactError||p.questionError||p.questionError2||p.answerError||p.otherBranchError||p.pnrNoError||p.questionError3||p.questionError4||p.questionError5?(y(!0),C("error"),void k("Please fix the validation errors before submitting.")):"otherbranch"==H&&""==V?(y(!0),C("error"),void k("Please enter other branch.")):"cdac"!=H||""!=Y&&null!=Y?(ah(uh.feedback,s).then((function(t){201!==(null===t||void 0===t?void 0:t.status)&&200!==(null===t||void 0===t?void 0:t.status)||(y(!0),C("success"),k("Thank you! Your feedback has been submitted."),n(xn.postFeedback(t.data)),setTimeout((function(){e("/")}),2e3))})).catch((function(e){y(!0),C("error"),k(null===e||void 0===e?void 0:e.message)})),void c({name:"",email:"",branch:"",contact:"",question1:"",question2:"",question3:"",question4:"",question5:"",cidacPrn:"",otherbranch:"",organization:"",datetime:(new Date).toISOString().split("T")[0],branch_id:""})):(y(!0),C("error"),void k("Please enter PNR No."))},children:[(0,Bi.jsxs)(Xy,{container:!0,spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Full name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"name",value:I,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:40},error:p.nameError,helperText:p.nameError&&xh("Enter Valid Fullname")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Email",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"email",value:z,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",inputProps:{maxLength:30},size:"small",error:p.emailError,helperText:p.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Contact",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"contact",value:L,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:10},sx:{mb:1},error:p.contactError,helperText:p.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)(as,{style:{fontSize:"18px"},textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["Select Organization",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{row:!0,"aria-label":"organization",name:"branch",value:H||" ",onChange:function(e){return A(e)},children:[(0,Bi.jsx)(gw,{value:"Branch",control:(0,Bi.jsx)(Mw,{}),label:"Hematite Branch"}),(0,Bi.jsx)(gw,{value:"cdac",control:(0,Bi.jsx)(Mw,{}),label:"CDAC"}),(0,Bi.jsx)(gw,{value:"otherbranch",control:(0,Bi.jsx)(Mw,{}),label:"Other Branch"})]}),"Branch"===s.branch&&(o&&o.length>1?(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",children:"Select Branch "}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"selectedBranch",value:T,onChange:function(e){return A(e)},onBlur:R,"aria-label":"Choose branch",autoWidth:!0,label:"Select Branch",size:i?"small":"medium",color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose branch",children:"Select Branch"}),o&&o.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.branchName)},e.id)}))]})]}):(o&&1===o.length&&T!==o[0].id&&A({target:{name:"selectedBranch",value:o[0].id}}),null)),"cdac"===s.branch&&(0,Bi.jsx)(Ry,{variant:"outlined",label:"PRN No",name:"cidacPrn",value:Y,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:20},fullWvariant:"outlined",size:"small",error:p.pnrNoError,helperText:p.pnrNoError&&xh("Enter Valid PRN No")}),"otherbranch"===s.branch&&(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Other Branch",name:"otherbranch",value:V,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:30},variant:"outlined",size:"small",error:p.otherBranchError,helperText:p.otherBranchError&&xh("Enter Valid Other Branch")})]})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["How satisfied are you with our services?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Rate Us between 1 to 5",name:"question1",value:B,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",inputProps:{maxLength:1},required:!0,error:p.questionError,helperText:p.questionError&&xh("Enter Valid Answer")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["How likely are you to recommend us to others?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Rate Us between 1 to 5",name:"question2",value:F,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:1},variant:"outlined",size:"small",required:!0,error:p.questionError2,helperText:p.questionError2&&xh("Enter Valid Answer")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["What do you like most about our services?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question3",value:W,onChange:function(e){return A(e)},onBlur:R,inputProps:{maxLength:500},variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError3,helperText:p.questionError3&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["What areas do you think we can improve?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question4",value:U,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError4,helperText:p.questionError4&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(as,{textAlign:"start",variant:"subtitle1",gutterBottom:!0,children:["Any additional comments or suggestions?",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Your answer",name:"question5",value:q,onChange:function(e){return A(e)},onBlur:R,variant:"outlined",size:"small",required:!0,multiline:!0,rows:4,error:p.questionError5,helperText:p.questionError5&&xh("Enter Valid Answer,Max:500 characters")})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Date and Time",name:"datetime",value:G,onChange:function(e){return A(e)},variant:"outlined",size:"small",disabled:!0})})]}),(0,Bi.jsxs)("div",{style:{display:"flex"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",type:"submit",disabled:$,size:"small",children:"Submit"}),(0,Bi.jsx)(mf,{onClick:function(){e("/")},variant:"contained",color:"primary",size:"small",sx:{marginLeft:"12px"},children:"Back"})]}),(0,Bi.jsx)(db,{open:g,autoHideDuration:6e3,onClose:N,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:N,severity:O,children:S})})]})]})})})},Rw=n(3746),Nw=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(""),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(""),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(),F=(0,D.Z)(B,2),W=F[0],U=F[1],q=(0,t.useState)(""),H=(0,D.Z)(q,2),V=H[0],Y=H[1],G=(0,t.useState)(""),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=(0,t.useState)(0),J=(0,D.Z)(Q,2),ee=J[0],ne=J[1],re=(0,t.useState)(5),oe=(0,D.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,t.useState)(""),se=(0,D.Z)(le,2),ce=se[0],ue=se[1],de=(0,t.useState)(!1),fe=(0,D.Z)(de,2),pe=fe[0],he=fe[1],me=(0,t.useState)(null),ve=(0,D.Z)(me,2),ge=ve[0],ye=ve[1],be=(0,t.useState)(!1),xe=(0,D.Z)(be,2),we=xe[0],Se=xe[1],ke=(0,t.useState)(""),je=(0,D.Z)(ke,2),Ee=je[0],Oe=je[1],Ce=(0,t.useState)("success"),Pe=(0,D.Z)(Ce,2),Ze=Pe[0],_e=Pe[1],Te=(0,t.useState)(""),Me=(0,D.Z)(Te,2),Ae=Me[0],Re=Me[1],Ne=(0,t.useState)(!1),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=Ie[1],Le=_(),Be=x((function(e){return e.user})),Fe=Be.allUser,We=x((function(e){return e.user})),Ue=We.SingleUser,qe=Hb(Fx().breakpoints.down("sm")),He=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,passwordError:!1}),Ve=(0,D.Z)(He,2),Ye=Ve[0],Ge=Ve[1],$e=(0,t.useState)(!1),Ke=(0,D.Z)($e,2),Xe=Ke[0],Qe=Ke[1];(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();Le(hn.getUser(t)),console.log(t)})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){if(Ue){var e=Ue.id,t=Ue.fname,n=Ue.lname,r=Ue.role,i=Ue.contact,a=Ue.gender,l=Ue.email,c=Ue.prnNo,u=Ue.otherbranch,d=Ue.branch,p=Ue.organization;if(o(e),s(t),f(n),v(r),w(i),E(a),Z(l),Y(c),L(u),X(p),d){R(d);var h=d.id;console.log("Branch ID:",h),U(Number(h));var m=d.branchName;console.log("Branch Name:",m);var g=d.branchStatus;console.log("Branch Status:",g)}}}),[Ue]);var Je=function(){ze(!1),Re("")},et=function(e){he(!0),ye(e)},tt=function(){he(!1),ye(null)},nt=function(){Se(!1),Oe("")},rt=function(e){if(e.preventDefault(),Ye.fnameError||Ye.lnameError||Ye.emailError||Ye.contactError||Ye.passwordError)return Se(!0),Oe("please fix validation error before submitting"),void _e("error");var t={email:P,fname:l,lname:d,branch:A,role:m,gender:j,contact:b,prnNo:V,otherbranch:z,branch_id:W,organization:K};console.log(t),console.log("uobj",t),t.id=r,lh("".concat(uh.user).concat(r,"/"),t).then((function(e){200!==e.status&&201!==e.status||(Se(!0),Oe("User updated successfully"),_e("success"),Le(hn.updateUser(e.data)))})).catch((function(e){Se(!0),Oe(e.message),_e("error")})),it(),ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();Le(hn.getUser(t)),console.log("inside the user action",t)})).catch((function(e){return console.log("user error: ",e)}))},ot=function(){o(null),s(""),f(""),v(""),w(""),E(""),Z("")},it=function(){Qe(!1)},at=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r),Ge(te(te({},Ye),{},{fnameError:!dh(r)}));break;case"lname":f(r),Ge(te(te({},Ye),{},{lnameError:!dh(r)}));break;case"contact":w(r),Ge(te(te({},Ye),{},{contactError:!fh(r)}));break;case"email":Z(r),Ge(te(te({},Ye),{},{emailError:!ph(r)}));break;case"gender":E(r)}},lt=Fe.filter((function(e){return"student"===(null===e||void 0===e?void 0:e.role)||"intern"===(null===e||void 0===e?void 0:e.role)})).filter((function(e){var t=ce.toLowerCase(),n=e.fname&&e.fname.toLowerCase().includes(t),r=e.lname&&e.lname.toLowerCase().includes(t),o=e.email&&e.email.toLowerCase().includes(t),i=e.contact&&e.contact.toLowerCase().includes(t),a=e.gender&&e.gender.toLowerCase().includes(t);return n||r||o||a||i})),st=!l||!d||!P||!b||!m||!j||Ye.fnameError||Ye.lnameError||Ye.emailError||Ye.contactError,ct=Ye.fnameError,ut=Ye.lnameError,dt=Ye.contactError,ft=Ye.emailError;return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Students"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:ce,onChange:function(e){ue(e.target.value),ne(0)},placeholder:"Search Student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Email"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Contact"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Organization"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontWeight:"bold",fontSize:"15px"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===lt.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colspan:6,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):lt&<.length>0&<.slice(ee*ie,ee*ie+ie).map((function(e,t){var n=ee*ie+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:n}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.email}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.contact}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},align:"left",children:e.organization}),(0,Bi.jsxs)(Vh,{align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"edit",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==e?(Le(hn.GetSingleUser(e)),Qe(!0)):(Qe(!0),ot())}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,ze(!0),void Re(t);var t},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"delete",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){et(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],coldiv:6,count:lt.length,rowsPerPage:ie,page:ee,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){ne(t)},onRowsPerPageChange:function(e){ae(parseInt(e.target.value,10)),ne(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:pe,onClose:tt,show:!0,onConfirm:function(){tt(),function(){var e=ge;sh("".concat(uh.user).concat(e)).then((function(t){200!==t.status&&201!==t.status||(Se(!0),Oe("User deleted successfully"),_e("success"),Le(hn.deleteUser(e)))})).catch((function(e){Se(!0),Oe(e.message),_e("error")})),tt()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:we,autoHideDuration:3e3,onClose:nt,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:nt,severity:Ze,sx:{width:"100%"},children:Ee})}),(0,Bi.jsx)(gf,{open:Xe,onClose:it,show:!0,onConfirm:function(e){it(),rt(e)},title:"Edit Student Details",content:(0,Bi.jsx)("form",{onSubmit:rt,style:{marginTop:"10px"},children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"First Name",variant:"outlined",fullWidth:!0,name:"fname",type:"text",value:l,onChange:at,error:ct,helperText:ct&&xh("Invalid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Last Name",variant:"outlined",type:"text",fullWidth:!0,name:"lname",value:d,onChange:at,error:ut,helperText:ut&&xh("Invalid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Email",variant:"outlined",fullWidth:!0,type:"email",name:"email",value:P,onChange:at,error:ft,helperText:ft&&xh("Invalid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Contact",variant:"outlined",fullWidth:!0,type:"tel",name:"contact",value:b,onChange:at,error:dt,helperText:dt&&xh("Invalid contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Role",variant:"outlined",fullWidth:!0,name:"role",value:yf(m),onChange:at})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{component:"fieldset",children:[(0,Bi.jsx)(py,{component:"legend",required:!0,children:"Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:j,onChange:at,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",checked:"male"===j,control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",checked:"female"===j,control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",checked:"other"===j,control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]})})]})}),disable:st,submitLabel:"Update"}),(0,Bi.jsx)(gf,{open:De,onClose:Je,onConfirm:function(e){Je()},show:!1,title:"Student Details",content:Ae&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:[(0,Bi.jsxs)("div",{children:[" Full Name: ",yf(Ae.fname)," ",yf(Ae.lname)]}),(0,Bi.jsxs)("div",{children:[" Gender: ",yf(Ae.gender)," "]}),(0,Bi.jsxs)("div",{children:[" Role: ",yf(Ae.role)," "]})]}),"Hematite branch"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Branch:"}),yf(Ae.branch?Ae.branch.branchName:"N/A")," ",(0,Bi.jsx)("br",{})]}):"Cdac"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" PRN No:"}),Ae.prnNo?Ae.prnNo:"N/A"," ",(0,Bi.jsx)("br",{})]}):"Other branch"===Ae.organization?(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:qe?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:[(0,Bi.jsx)("div",{style:{fontWeight:"bold"},children:" Other Branch:"}),yf(Ae.otherbranch?Ae.otherbranch:"N/A")," ",(0,Bi.jsx)("br",{})]}):null]})})})]})})},Iw=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(""),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(""),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(0),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(5),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)(!1),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)(""),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=(0,t.useState)(!0),ie=(0,D.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,t.useState)(!1),ce=(0,D.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,t.useState)(null),pe=(0,D.Z)(fe,2),he=pe[0],me=pe[1],ve=(0,t.useState)(!1),ge=(0,D.Z)(ve,2),ye=ge[0],be=ge[1],xe=(0,t.useState)(!1),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1],je=(0,t.useState)(""),Ee=(0,D.Z)(je,2),Oe=Ee[0],Ce=Ee[1],Pe=(0,t.useState)(""),Ze=(0,D.Z)(Pe,2),_e=Ze[0],Te=Ze[1],Me=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1}),Ae=(0,D.Z)(Me,2),Re=Ae[0],Ne=Ae[1],Ie=(0,t.useState)("success"),De=(0,D.Z)(Ie,2),ze=De[0],Le=De[1],Be=_(),Fe=x((function(e){return e.employee})),We=Fe.allEmployee,Ue=x((function(e){return e.employee})).emp,qe=x((function(e){return e.user})),He=qe.allUser,Ve=(0,t.useState)(!0),Ye=(0,D.Z)(Ve,2),Ge=Ye[0],$e=(Ye[1],Hb(Fx().breakpoints.down("sm")));(0,t.useEffect)((function(){ih("".concat(uh.employee)).then((function(e){var t=e.data.reverse();Be(gn.getEmployee(t))})).catch((function(e){return console.log("staff error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();Be(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){if(Ue){var e=Ue.id,t=Ue.fname,n=Ue.lname,r=Ue.role,i=Ue.dob,a=Ue.employeeId,l=Ue.contact,c=Ue.gender,u=Ue.email;o(e),s(t),f(n),v(r),w(i),E(a),Z(l),R(c),L(u)}}),[Ue]);var Ke=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r);break;case"lname":f(r);break;case"role":v(r);break;case"dob":w(r);break;case"employeeId":E(r);break;case"contact":Z(r);break;case"gender":R(r);break;case"email":L(r)}},Xe=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":var o=!dh(r);Ne((function(e){return te(te({},e),{},{fnameError:o})}));break;case"lname":var i=!dh(r);Ne((function(e){return te(te({},e),{},{lnameError:i})}));break;case"contact":var a=!fh(r);Ne((function(e){return te(te({},e),{},{contactError:a})}));break;case"email":var l=!ph(r);Ne((function(e){return te(te({},e),{},{emailError:l})}));break;case"employeeId":var s=!bh(r);Ne((function(e){return te(te({},e),{},{employeeIdError:s})})),"employeeId"===n&&(Number.isInteger(Number(r))?Ne((function(e){return te(te({},e),{},{employeeIdError:!1})})):Ne((function(e){return te(te({},e),{},{employeeIdError:!0})})))}},Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=We.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.fname,i=t.lname,a=t.role,l=t.dob,c=t.employeeId,u=t.contact,d=t.gender,p=t.email;o(n),s(r),f(i),v(a),w(l),E(c),Z(u),R(d),L(p),Q(!0),le(!1)}}else Q(!0),le(!0),rt(),ot()},Je=function(){Q(!1),rt(),ot()},et=function(){ke(!1),Ce("")},tt=function(e){de(!0),me(e)},nt=function(){de(!1),me(null)},rt=function(){o(null),s(""),f(""),v(""),Z(""),R(""),L(""),w(""),E("")},ot=function(){Ne((function(e){return te(te({},e),{},{fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1})}))},it=function(e){if(e.preventDefault(),Re.fnameError||Re.lnameError||Re.emailError||Re.contactError)return be(!0),Te("please fix validiation error before submiting"),void Le("error");if(We.some((function(e){return e.employeeId==j&&e.id!==r})))return be(!0),Te("EmployeeId already exists. Please enter a unique EmployeeId."),void Le("error");var t={email:z.toLowerCase(),fname:l.toLowerCase(),lname:d.toLowerCase(),role:m,dob:b,employeeId:j,gender:A,contact:P};ae?ah(uh.employee,t).then((function(e){if(200===e.status||201===e.status){be(!0),Te("Employee Added!."),Le("success"),Be(gn.addEmployee(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(We));Be(gn.getEmployee(n))}})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")})):(t.id=r,lh("".concat(uh.employee).concat(t.id,"/"),t).then((function(e){200!==e.status&&201!==e.status||(be(!0),Te("Employee Updated!."),Le("success"),Be(gn.updateEmployee(e.data)))})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")}))),Je(),Q(!1)},at=function(){be(!1),Te("")},lt=We&&We.filter((function(e){var t,n=ne.toLowerCase(),r=e.fname&&e.fname.toLowerCase().includes(n),o=e.lname&&e.lname.toLowerCase().includes(n),i=e.email&&e.email.toLowerCase().includes(n),a=e.role&&e.role.toLowerCase().includes(n),l=e.contact&&e.contact.toLowerCase().includes(n),s=e.employeeId&&(null===e||void 0===e||null===(t=e.employeeId)||void 0===t?void 0:t.toString().includes(n)),c=e.dob&&e.dob.includes(n),u=e.gender&&e.gender.toLowerCase().includes(n);return r||o||i||a||c||u||l||s})),st=!l||!d||!z||!b||!P||!m||!A||!j||Re.fnameError||Re.lnameError||Re.emailError||Re.contactError||Re.passwordError||Re.employeeIdError;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Employee"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:ne,onChange:function(e){re(e.target.value),q(0)},placeholder:"Search Employee",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"small",type:"button",sx:{marginBottom:2},startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return Qe()},children:"Add"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Email"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Employee Id"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===lt.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):lt&<.length>0&<.slice(U*Y,U*Y+Y).map((function(e,t){var n=U*Y+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},component:"th",align:"left",scope:"row",children:n}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:e.email}),(0,Bi.jsx)(Vh,{style:{fontSize:"13px"},className:"tablebody",align:"left",children:e.employeeId}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return Qe(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,ke(!0),void Ce(t);var t},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){tt(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:lt.length,rowsPerPage:Y,page:U,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){q(t)},onRowsPerPageChange:function(e){G(parseInt(e.target.value,10)),q(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:X,onClose:Je,show:Ge,onConfirm:function(e){Je(),it(e)},title:ae?"Add Employee":"Update Employee",content:(0,Bi.jsx)("form",{onSubmit:it,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["First Name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,name:"fname",size:"small",type:"text",value:l,inputProps:{maxLength:20},onChange:Ke,onBlur:Xe,error:Re.fnameError,helperText:Re.fnameError&&xh("Enter Valid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Last Name",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",type:"text",fullWidth:!0,name:"lname",size:"small",inputProps:{maxLength:20},value:d,onChange:Ke,onBlur:Xe,error:Re.lnameError,helperText:Re.lnameError&&xh("Enter Valid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Email",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,type:"email",name:"email",size:"small",value:z,inputProps:{maxLength:40},onChange:Ke,onBlur:Xe,error:Re.emailError,helperText:Re.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,sx:{marginTop:2},children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Contact",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,type:"tel",name:"contact",value:P,size:"small",inputProps:{maxLength:10},onChange:Ke,onBlur:Xe,error:Re.contactError,helperText:Re.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Ry,{select:!0,margin:"normal",fullWidth:!0,label:(0,Bi.jsxs)("span",{children:["Role",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),name:"role",size:"small",id:"role",value:m,onChange:Ke,onBlur:Xe,children:[(0,Bi.jsx)(Zm,{value:"admin",children:"Admin"}),(0,Bi.jsx)(Zm,{value:"trainer",children:"Trainer"}),(0,Bi.jsx)(Zm,{value:"counsellor",children:"Counsellor"})]})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsxs)(gy,{sx:{ml:1},children:["DOB",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,name:"dob",type:"date",size:"small",value:b,onChange:Ke})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{label:(0,Bi.jsxs)("span",{children:["Employee Id",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),variant:"outlined",fullWidth:!0,name:"employeeId",value:j,inputProps:{maxLength:3},onChange:Ke,onBlur:Xe,helperText:Re.employeeIdError&&xh("Enter Valid Employee Id"),error:Re.employeeIdError})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Sy,{component:"fieldset",children:[(0,Bi.jsx)(py,{component:"legend",required:!0,children:"Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:A,onChange:Ke,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",checked:"male"===A,control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",checked:"female"===A,control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",checked:"other"===A,control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]})})]})}),disable:st,submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ue,onClose:nt,show:!0,onConfirm:function(){nt(),function(){var e=he,t=null===We||void 0===We?void 0:We.find((function(t){return t.id===e}));if(t){var n=t.email,r=null===He||void 0===He?void 0:He.find((function(e){return e.email===n}));sh("".concat(uh.employee).concat(e)).then((function(t){200!==t.status&&201!==t.status||(nt(),be(!0),Te("Employee Deleted!"),Le("success"),Be(gn.deleteEmployee(e)))})).catch((function(e){return console.log("Employee deletion error: ",e)})),r&&sh("".concat(uh.user).concat(r.id)).then((function(e){200!==e.status&&201!==e.status||Be(hn.deleteUser(r.id))})).catch((function(e){be(!0),Te(null===e||void 0===e?void 0:e.message),Le("error")}))}}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(gf,{open:Se,onClose:et,onConfirm:function(e){et()},show:!1,title:"User Details",content:Oe&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:(0,Bi.jsxs)("div",{children:[" Full Name: ",yf(Oe.fname)," ",yf(Oe.lname)]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Gender: ",yf(Oe.gender)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Role: ",yf(Oe.role)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Contact: ",yf(Oe.contact)," "]})}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:$e?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" Dob:",qx(Oe.dob)]})})]})})}),(0,Bi.jsx)(db,{open:ye,autoHideDuration:3e3,onClose:at,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:at,severity:ze,sx:{width:"100%"},children:_e})})]})})},Dw=n(1025),zw=n.n(Dw),Lw=n(1314);function Bw(e){return(0,Oa.Z)("MuiCollapse",e)}(0,Ea.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var Fw=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Ww=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,Ti.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"})})),Uw=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),qw=(0,Oi.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(e,t){return t.wrapperInner}})((function(e){var t=e.ownerState;return(0,Ti.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),Hw=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiCollapse"}),o=r.addEndListener,i=r.children,a=r.className,l=r.collapsedSize,s=void 0===l?"0px":l,c=r.component,d=r.easing,f=r.in,p=r.onEnter,h=r.onEntered,m=r.onEntering,v=r.onExit,g=r.onExited,y=r.onExiting,b=r.orientation,x=void 0===b?"vertical":b,w=r.style,S=r.timeout,k=void 0===S?Lw.x9.standard:S,j=r.TransitionComponent,E=void 0===j?Fa:j,O=(0,T.Z)(r,Fw),C=(0,Ti.Z)({},r,{orientation:x,collapsedSize:s}),P=function(e){var t=e.orientation,n=e.classes,r={root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]};return(0,Yi.Z)(r,Bw,n)}(C),Z=_i(),_=t.useRef(),M=t.useRef(null),A=t.useRef(),R="number"===typeof s?"".concat(s,"px"):s,N="horizontal"===x,I=N?"width":"height";t.useEffect((function(){return function(){clearTimeout(_.current)}}),[]);var D=t.useRef(null),z=(0,qa.Z)(n,D),L=function(e){return function(t){if(e){var n=D.current;void 0===t?e(n):e(n,t)}}},B=function(){return M.current?M.current[N?"clientWidth":"clientHeight"]:0},F=L((function(e,t){M.current&&N&&(M.current.style.position="absolute"),e.style[I]=R,p&&p(e,t)})),W=L((function(e,t){var n=B();M.current&&N&&(M.current.style.position="");var r=Ua({style:w,timeout:k,easing:d},{mode:"enter"}),o=r.duration,i=r.easing;if("auto"===k){var a=Z.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(a,"ms"),A.current=a}else e.style.transitionDuration="string"===typeof o?o:"".concat(o,"ms");e.style[I]="".concat(n,"px"),e.style.transitionTimingFunction=i,m&&m(e,t)})),U=L((function(e,t){e.style[I]="auto",h&&h(e,t)})),q=L((function(e){e.style[I]="".concat(B(),"px"),v&&v(e)})),H=L(g),V=L((function(e){var t=B(),n=Ua({style:w,timeout:k,easing:d},{mode:"exit"}),r=n.duration,o=n.easing;if("auto"===k){var i=Z.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(i,"ms"),A.current=i}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style[I]=R,e.style.transitionTimingFunction=o,y&&y(e)}));return(0,Bi.jsx)(E,(0,Ti.Z)({in:f,onEnter:F,onEntered:U,onEntering:W,onExit:q,onExited:H,onExiting:V,addEndListener:function(e){"auto"===k&&(_.current=setTimeout(e,A.current||0)),o&&o(D.current,e)},nodeRef:D,timeout:"auto"===k?null:k},O,{children:function(e,t){return(0,Bi.jsx)(Ww,(0,Ti.Z)({as:c,className:(0,Mi.Z)(P.root,a,{entered:P.entered,exited:!f&&"0px"===R&&P.hidden}[e]),style:(0,Ti.Z)((0,u.Z)({},N?"minWidth":"minHeight",R),w),ownerState:(0,Ti.Z)({},C,{state:e}),ref:z},t,{children:(0,Bi.jsx)(Uw,{ownerState:(0,Ti.Z)({},C,{state:e}),className:P.wrapper,ref:M,children:(0,Bi.jsx)(qw,{ownerState:(0,Ti.Z)({},C,{state:e}),className:P.wrapperInner,children:i})})}))}}))}));Hw.muiSupportAuto=!0;var Vw=Hw;var Yw=t.createContext({});function Gw(e){return(0,Oa.Z)("MuiAccordion",e)}var $w=(0,Ea.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Kw=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Xw=(0,Oi.ZP)(ml,{name:"MuiAccordion",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,u.Z)({},"& .".concat($w.region),t.region),t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r={duration:n.transitions.duration.shortest};return t={position:"relative",transition:n.transitions.create(["margin"],r),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(n.vars||n).palette.divider,transition:n.transitions.create(["opacity","background-color"],r)},"&:first-of-type":{"&:before":{display:"none"}}},(0,u.Z)(t,"&.".concat($w.expanded),{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),(0,u.Z)(t,"&.".concat($w.disabled),{backgroundColor:(n.vars||n).palette.action.disabledBackground}),t}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&(0,u.Z)({},"&.".concat($w.expanded),{margin:"16px 0"}))})),Qw=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAccordion"}),o=r.children,i=r.className,a=r.defaultExpanded,l=void 0!==a&&a,s=r.disabled,c=void 0!==s&&s,u=r.disableGutters,d=void 0!==u&&u,f=r.expanded,p=r.onChange,h=r.square,m=void 0!==h&&h,v=r.TransitionComponent,g=void 0===v?Vw:v,y=r.TransitionProps,b=(0,T.Z)(r,Kw),x=(0,md.Z)({controlled:f,default:l,name:"Accordion",state:"expanded"}),w=(0,D.Z)(x,2),S=w[0],k=w[1],j=t.useCallback((function(e){k(!S),p&&p(e,!S)}),[S,p,k]),E=qn(t.Children.toArray(o)),O=E[0],C=E.slice(1),P=t.useMemo((function(){return{expanded:S,disabled:c,disableGutters:d,toggle:j}}),[S,c,d,j]),Z=(0,Ti.Z)({},r,{square:m,disabled:c,disableGutters:d,expanded:S}),_=function(e){var t=e.classes,n={root:["root",!e.square&&"rounded",e.expanded&&"expanded",e.disabled&&"disabled",!e.disableGutters&&"gutters"],region:["region"]};return(0,Yi.Z)(n,Gw,t)}(Z);return(0,Bi.jsxs)(Xw,(0,Ti.Z)({className:(0,Mi.Z)(_.root,i),ref:n,ownerState:Z,square:m},b,{children:[(0,Bi.jsx)(Yw.Provider,{value:P,children:O}),(0,Bi.jsx)(g,(0,Ti.Z)({in:S,timeout:"auto"},y,{children:(0,Bi.jsx)("div",{"aria-labelledby":O.props.id,id:O.props["aria-controls"],role:"region",className:_.region,children:C})}))]}))})),Jw=Qw;function eS(e){return(0,Oa.Z)("MuiAccordionSummary",e)}var tS=(0,Ea.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),nS=["children","className","expandIcon","focusVisibleClassName","onClick"],rS=(0,Oi.ZP)(Ys,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState,o={duration:n.transitions.duration.shortest};return(0,Ti.Z)((t={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],o)},(0,u.Z)(t,"&.".concat(tS.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,u.Z)(t,"&.".concat(tS.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,u.Z)(t,"&:hover:not(.".concat(tS.disabled,")"),{cursor:"pointer"}),t),!r.disableGutters&&(0,u.Z)({},"&.".concat(tS.expanded),{minHeight:64}))})),oS=(0,Oi.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&(0,u.Z)({transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest})},"&.".concat(tS.expanded),{margin:"20px 0"}))})),iS=(0,Oi.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(e,t){return t.expandIconWrapper}})((function(e){var t=e.theme;return(0,u.Z)({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest})},"&.".concat(tS.expanded),{transform:"rotate(180deg)"})})),aS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAccordionSummary"}),o=r.children,i=r.className,a=r.expandIcon,l=r.focusVisibleClassName,s=r.onClick,c=(0,T.Z)(r,nS),u=t.useContext(Yw),d=u.disabled,f=void 0!==d&&d,p=u.disableGutters,h=u.expanded,m=u.toggle,v=(0,Ti.Z)({},r,{expanded:h,disabled:f,disableGutters:p}),g=function(e){var t=e.classes,n=e.expanded,r=e.disabled,o=e.disableGutters,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,Yi.Z)(i,eS,t)}(v);return(0,Bi.jsxs)(rS,(0,Ti.Z)({focusRipple:!1,disableRipple:!0,disabled:f,component:"div","aria-expanded":h,className:(0,Mi.Z)(g.root,i),focusVisibleClassName:(0,Mi.Z)(g.focusVisible,l),onClick:function(e){m&&m(e),s&&s(e)},ref:n,ownerState:v},c,{children:[(0,Bi.jsx)(oS,{className:g.content,ownerState:v,children:o}),a&&(0,Bi.jsx)(iS,{className:g.expandIconWrapper,ownerState:v,children:a})]}))}));function lS(e){return(0,Oa.Z)("MuiAccordionDetails",e)}(0,Ea.Z)("MuiAccordionDetails",["root"]);var sS=["className"],cS=(0,Oi.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{padding:e.theme.spacing(1,2,2)}})),uS=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiAccordionDetails"}),r=n.className,o=(0,T.Z)(n,sS),i=n,a=function(e){var t=e.classes;return(0,Yi.Z)({root:["root"]},lS,t)}(i);return(0,Bi.jsx)(cS,(0,Ti.Z)({className:(0,Mi.Z)(a.root,r),ref:t,ownerState:i},o))})),dS=(0,jv.Z)([(0,Bi.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,Bi.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"},"1")],"PhotoCamera"),fS=n(1131);function pS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11 16h2V7h3l-4-5-4 5h3z"}},{tag:"path",attr:{d:"M5 22h14c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-4v2h4v9H5v-9h4V9H5c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2z"}}]})(e)}function hS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m12 18 4-5h-3V2h-2v11H8z"}},{tag:"path",attr:{d:"M19 9h-4v2h4v9H5v-9h4V9H5c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2z"}}]})(e)}function mS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18 22a2 2 0 0 0 2-2v-5l-5 4v-3H8v-2h7v-3l5 4V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12zM13 4l5 5h-5V4z"}}]})(e)}function vS(e){return vi({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.579 2 2 6.579 2 12s4.579 10 10 10 10-4.579 10-10S17.421 2 12 2zm0 5c1.727 0 3 1.272 3 3s-1.273 3-3 3c-1.726 0-3-1.272-3-3s1.274-3 3-3zm-5.106 9.772c.897-1.32 2.393-2.2 4.106-2.2h2c1.714 0 3.209.88 4.106 2.2C15.828 18.14 14.015 19 12 19s-3.828-.86-5.106-2.228z"}}]})(e)}var gS=function(){var e=(0,t.useState)({open:!1,selectedExam:null,question:"",option1:"",option2:"",option3:"",option4:"",answer:"",questionImage:null,marks:null,editingQuestion:null,level:""}),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=r.open,a=r.selectedExam,l=r.question,s=r.option1,c=r.option2,d=r.option3,f=r.option4,p=r.answer,h=r.marks,m=r.questionImage,v=r.editingQuestion,g=r.level,y=(0,t.useState)(0),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(!0),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(!0),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(!1),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=(0,t.useState)(""),z=(0,D.Z)(I,2),L=z[0],B=z[1],W=(0,t.useState)(5),U=(0,D.Z)(W,2),q=U[0],H=U[1],V=x((function(e){return e.question})),Y=V.allquestions,G=x((function(e){return e.exam})),$=G.allExam,K=(0,t.useState)(null),X=(0,D.Z)(K,2),Q=X[0],J=X[1],ee=(0,t.useState)(!1),ne=(0,D.Z)(ee,2),re=ne[0],oe=ne[1],ie=(0,t.useState)(""),ae=(0,D.Z)(ie,2),le=ae[0],se=ae[1],ce=(0,t.useState)([]),ue=(0,D.Z)(ce,2),de=ue[0],fe=ue[1],pe=(0,t.useState)(""),he=(0,D.Z)(pe,2),me=he[0],ve=he[1],ge=Hb(Fx().breakpoints.down("sm")),ye=_(),be=t.forwardRef((function(e,t){return(0,Bi.jsx)(Ab,te({elevation:6,ref:t,variant:"filled"},e))})),xe=(0,t.useState)({marksError:!1}),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1];(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();ye(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.question).then((function(e){ye(kn.getQuestion(e.data))})).catch((function(e){return console.log("Exam error: ",e)}))}),[a,r,re]),(0,t.useEffect)((function(){if(Y&&Y.length>=0&&null!==a){var e=Y.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id)===a})),t=e.map((function(e){return{question:e.question,option1:e.option1,option2:e.option2,option3:e.option3,option4:e.option4,answer:e.answer,marks:e.marks,level:e.level,exam_id:a}})),n=$.find((function(e){return e.id===a}));ve(null!==n?null===n||void 0===n?void 0:n.examName:"");var r=[["question","option1","option2","option3","option4","answer","marks","level","exam_id"]].concat((0,F.Z)(t));fe(r)}}),[Y,a,$]);var je=function(e,t){if("questionImage"===e&&t instanceof File){if(t.size>5242880)return B("File size should be less than 5MB."),N(!0),void O(!1);O(!0)}"marks"===e&&(Number.isInteger(Number(t))||(B("Only numeric value accepted ."),N(!0),T(!1))),o((function(n){return te(te({},n),{},(0,u.Z)({},e,t))}))},Ee=function(){N(!1)},Oe=function(e){if(e.preventDefault(),E&&Z){if(""==l||""==s||""==c)return B("Please provide a question, answer, and at least two options."),N(!0),void O(!1);var t=new FormData;t.append("question",l),t.append("option1",s),t.append("option2",c),t.append("option3",d),t.append("option4",f),t.append("answer",p),t.append("marks",h),t.append("level",g),t.append("exam_id",a),m&&t.append("questionImage",m),ah(uh.question,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("Question added !"),ye(kn.addQuestion(e.data))),o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null})),Ce()})).catch((function(e){N(!0),B(null===e||void 0===e?void 0:e.message)}))}},Ce=function(){o((function(e){return te(te({},e),{},{open:!1})}))},Pe=function(){oe(!1)},Ze=!l||!s||!c||!p||!h||!E||!g,_e=Y&&Y.length>0&&Y.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id)===a}));return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(db,{open:R,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:3e3,onClose:Ee,children:(0,Bi.jsx)(be,{onClose:Ee,severity:"error",children:L})}),(0,Bi.jsx)(db,{open:re,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:3e3,onClose:Pe,children:(0,Bi.jsx)(be,{onClose:Pe,severity:"success",children:le})}),(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Question"}),a&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)("label",{htmlFor:"file-upload",className:"custom-file-upload",style:{fontSize:ge?"13px":"15px"},children:[(0,Bi.jsx)("input",{id:"file-upload",size:ge?"small":"medium",type:"file",accept:".csv",onChange:function(e){return J(e.target.files[0])}}),Q?Q.name:ge?"Select file":"Click here to select a file"]}),(0,Bi.jsx)(mf,{sx:{fontSize:ge?"10px":"14px",color:"black",marginLeft:"8px"},variant:"contained",color:"inherit",component:"label",startIcon:(0,Bi.jsx)(hS,{}),onClick:function(){if(!Q)return N(!0),void B("Please select a file to upload.");var e=new FormData;e.append("file",Q),zw().parse(Q,{complete:function(t){if(t.errors&&t.errors.length>0)return N(!0),void B("There was an error with the file format.");t.data&&t.data.length>0?ah(uh.upload_csv,e).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("File uploaded successfully!"),ye(kn.addCsvFile(e.data)))})).catch((function(e){var t,n;console.error(e),N(!0),B((null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||"An error occurred during file upload.")})):(N(!0),B("No valid data found in the file."))},error:function(e){console.error(e),N(!0),B("Error parsing the CSV file.")}})},children:"Import Csv"})]})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsx)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(zg,{children:(0,Bi.jsxs)(Vh,{colSpan:9,sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[a&&(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null,open:!0,editingQuestion:null}))},children:"Add"}),_e.length>0?(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",sx:{left:"7%"},startIcon:(0,Bi.jsx)(pS,{}),onClick:function(){var e="data:text/csv;charset=utf-8,"+encodeURIComponent(de.map((function(e){return Object.values(e).join(",")})).join("\n")),t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download","".concat(me,"_Questions.csv")),document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:"Export CSV"}):null]}),!a&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",component:"button",size:"small",startIcon:(0,Bi.jsx)(mS,{}),onClick:function(){var e="data:text/csv;charset=utf-8,".concat(["question","option1","option2","option3","option4","answer","marks","level","exam_id"].join(","),"\n").concat(["HTML stands for?","HyperText Machine Language","HyperText Markup Language","HyperText Marking Language","HighText Marking Language","option2","1","simple/intermediate/complex","1"].join(","),"\n"),t=document.createElement("a");t.setAttribute("href",encodeURI(e)),t.setAttribute("download","QuestionsCsvFormat.csv"),document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:"Export CSV Format"}),(0,Bi.jsxs)(Sy,{size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",style:{fontSize:ge?"12px":"16px"},children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",value:a,onChange:function(e){var t=Number(e.target.value);o((function(e){return te(te({},e),{},{selectedExam:t})}))},autoWidth:!0,style:{backgroundColor:"white",width:ge?"130px":"200px",height:ge?"30px":"40px"},label:"Select Exam",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,sx:{width:ge?"130px":"200px",height:ge?"30px":"40px",justifyContent:"center"},children:"None"}),$.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,sx:{width:ge?"130px":"200px",height:ge?"30px":"40px",justifyContent:"center"},children:yf(e.examName)},e.id)}))]})]})]})}),(0,Bi.jsxs)(Bd,{open:i,onClose:Ce,children:[(0,Bi.jsxs)(Hd,{sx:{backgroundColor:"primary.main",color:"white",fontSize:"18px",display:"flex",justifyContent:"space-between"},children:[v?"Edit Question":"Add Question",(0,Bi.jsx)(vf.Z,{onClick:Ce,style:{fontSize:"25px"}})]}),(0,Bi.jsx)($d,{children:(0,Bi.jsxs)("form",{onSubmit:Oe,children:[(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Question",variant:"outlined",margin:"normal",value:l,onChange:function(e){return je("question",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 1",variant:"outlined",margin:"normal",value:s,onChange:function(e){return je("option1",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 2",variant:"outlined",margin:"normal",value:c,onChange:function(e){return je("option2",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 3",variant:"outlined",margin:"normal",value:d,onChange:function(e){return je("option3",e.target.value)}}),(0,Bi.jsx)(Ry,{fullWidth:!0,label:"Option 4",variant:"outlined",margin:"normal",value:f,onChange:function(e){return je("option4",e.target.value)}}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{marginTop:"18px"},children:[(0,Bi.jsx)(gy,{id:"answer-label",children:"Answer"}),(0,Bi.jsxs)(fg,{labelId:"answer-label",id:"answer",value:p,onChange:function(e){return je("answer",e.target.value)},label:"Answer",children:[(0,Bi.jsx)(Zm,{value:"option1",children:"Option1"}),(0,Bi.jsx)(Zm,{value:"option2",children:"Option2"}),(0,Bi.jsx)(Zm,{value:"option3",children:"Option3"}),(0,Bi.jsx)(Zm,{value:"option4",children:"Option4"})]})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{marginTop:"24px"},children:[(0,Bi.jsx)(gy,{id:"question-level-label",children:"Question Level"}),(0,Bi.jsx)(fg,{labelId:"question-level-label",id:"question-level",label:"Question level",value:g,name:"level",onChange:function(e){return je("level",e.target.value)},children:["simple","intermediate","complex"].map((function(e,t){return(0,Bi.jsx)(Zm,{value:e,children:yf(e)},t)}))})]}),(0,Bi.jsx)(Ry,{sx:{marginTop:"24px"},fullWidth:!0,label:"Marks",variant:"outlined",margin:"normal",value:h,name:"marks",onChange:function(e){return je("marks",e.target.value)},onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("marks"===n){var o=!/^[0-9]{1,2}$/.test(r);ke((function(e){return te(te({},e),{},{marksError:o})}))}},inputProps:{maxLength:2},error:Se.marksError,helperText:Se.marksError&&xh("Invalid marks.E.g-1,10")}),(0,Bi.jsx)(Ry,{fullWidth:!0,variant:"outlined",label:"Select Image",margin:"normal",type:"file",onChange:function(e){return je("questionImage",e.target.files[0])},accept:"image/*",InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"start",children:(0,Bi.jsx)(dS,{})})}})]})}),(0,Bi.jsxs)(rf,{children:[(0,Bi.jsx)(mf,{variant:"outlined",size:"small",onClick:Ce,color:"primary",children:"Cancel"}),(0,Bi.jsx)(mf,{size:"small",onClick:v?function(){var e=new FormData;if(e.append("question",l),e.append("option1",s),e.append("option2",c),e.append("option3",d),e.append("option4",f),e.append("answer",p),e.append("marks",h),e.append("level",g),e.append("exam_id",a),m instanceof File){var t=m.name;e.append("questionImage",m,t)}lh("".concat(uh.question).concat(v.id,"/"),e).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==e.status||(oe(!0),se("Question Updated !"),ye(kn.updateQuestion(e.data))),o(te(te({},r),{},{question:"",option1:"",option2:"",option3:"",option4:"",answer:"",marks:null,level:"",questionImage:null})),Ce()})).catch((function(e){var t,n;N(!0),B(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)}))}:Oe,disabled:Ze,color:"primary",variant:"contained",children:v?"Save":"Submit"})]})]}),(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:_e.length>0?"Questions":"Questions not found"})})}),(0,Bi.jsx)(Bh,{children:0===_e.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:2,align:"center",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):_e&&_e.length>0&&_e.slice(w*q,w*q+q).map((function(e,t){var n=w*q+t;return(0,Bi.jsxs)(Jw,{children:[(0,Bi.jsx)(aS,{expandIcon:(0,Bi.jsx)(fS.Z,{}),children:(0,Bi.jsxs)(Xy,{container:!0,sx:{textAlign:"left"},spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:8,children:(0,Bi.jsxs)(as,{sx:{fontSize:"18px"},children:["Que ",n+1,": ",e.question]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"30%",color:"#2c387e"},children:[e.marks," Marks"]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"0%",color:"#2c387e"},children:["Level:",e.level," "]})})]})}),(0,Bi.jsxs)(uS,{children:[(0,Bi.jsxs)("ul",{style:{listStyleType:"none"},children:[e.questionImage&&(0,Bi.jsx)("li",{style:{maxWidth:"400px",objectFit:"cover"},children:(0,Bi.jsx)("img",{src:e.questionImage,alt:"Question Image",style:{maxHeight:"100%",maxWidth:"100%"}})}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 1 : ",e.option1]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 2 : ",e.option2]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 3 : ",e.option3]}),(0,Bi.jsxs)("li",{style:{boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Option 4 : ",e.option4]}),(0,Bi.jsxs)("li",{style:{backgroundColor:"#2c387eb8",color:"white",boxShadow:"inset 0px 0px 3px 0px black",height:"40px",paddingTop:"10px",marginTop:"7px"},children:["Answer: ",e.answer]})]}),(0,Bi.jsx)(Js,{color:"primary",onClick:function(){return function(e){var t;o({open:!0,selectedExam:null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.id,question:e.question,option1:e.option1,option2:e.option2,option3:e.option3,option4:e.option4,answer:e.answer,marks:e.marks,level:e.level,questionImage:e.questionImage,editingQuestion:e})}(e)},children:(0,Bi.jsx)(ty.Z,{})}),(0,Bi.jsx)(Js,{color:"primary",onClick:function(){return t=e.id,void sh("".concat(uh.question).concat(t)).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(oe(!0),se("Question Deleted !"),ye(kn.deleteQuestion(t)))})).catch((function(e){N(!0),B(null===e||void 0===e?void 0:e.message)}));var t},children:(0,Bi.jsx)(ey.Z,{})})]})]},t)}))}),(null===_e||void 0===_e?void 0:_e.length)>0?(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:7,count:_e.length,rowsPerPage:q,page:w,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){S(t)},onRowsPerPageChange:function(e){H(parseInt(e.target.value,10)),S(0)}}):null]})})})]})]})},yS=n(1122),bS=["className","component","disableGutters","fixed","maxWidth","classes"],xS=(0,nw.Z)(),wS=ew("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,yS.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),SS=function(e){return(0,tw.Z)({props:e,name:"MuiContainer",defaultTheme:xS})};var kS=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?wS:n,o=e.useThemeProps,i=void 0===o?SS:o,a=e.componentName,l=void 0===a?"MuiContainer":a,s=r((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}))}),(function(e){var t=e.theme;return e.ownerState.fixed&&Object.keys(t.breakpoints.values).reduce((function(e,n){var r=n,o=t.breakpoints.values[r];return 0!==o&&(e[t.breakpoints.up(r)]={maxWidth:"".concat(o).concat(t.breakpoints.unit)}),e}),{})}),(function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},"xs"===n.maxWidth&&(0,u.Z)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),n.maxWidth&&"xs"!==n.maxWidth&&(0,u.Z)({},t.breakpoints.up(n.maxWidth),{maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)}))})),c=t.forwardRef((function(e,t){var n=i(e),r=n.className,o=n.component,a=void 0===o?"div":o,c=n.disableGutters,u=void 0!==c&&c,d=n.fixed,f=void 0!==d&&d,p=n.maxWidth,h=void 0===p?"lg":p,m=(0,T.Z)(n,bS),v=(0,Ti.Z)({},n,{component:a,disableGutters:u,fixed:f,maxWidth:h}),g=function(e,t){var n=e.classes,r=e.fixed,o=e.disableGutters,i=e.maxWidth,a={root:["root",i&&"maxWidth".concat((0,yS.Z)(String(i))),r&&"fixed",o&&"disableGutters"]};return(0,Yi.Z)(a,(function(e){return(0,Oa.Z)(t,e)}),n)}(v,l);return(0,Bi.jsx)(s,(0,Ti.Z)({as:a,ownerState:v,className:(0,Mi.Z)(g.root,r),ref:t},m))}));return c}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["maxWidth".concat((0,vl.Z)(String(n.maxWidth)))],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiContainer"})}}),jS=kS,ES=n(165),OS=n(3553),CS=function(){var e=Lo(),n=(0,t.useState)(!1),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=(0,t.useState)(""),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=(0,t.useState)(""),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=(0,t.useState)(""),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(""),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(""),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(null),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(!0),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=(0,t.useState)(!1),z=(0,D.Z)(I,2),L=z[0],B=z[1],F=(0,t.useState)(!1),W=(0,D.Z)(F,2),U=W[0],q=W[1],H=_(),V=x((function(e){return e.user})),Y=V.allUser,G=(0,t.useState)({passwordError:!1,matchPasswordError:!1,password2Error:!1,emailError:!1}),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=Hb(Fx().breakpoints.down("sm"));(0,t.useEffect)((function(){ih(uh.branch).then((function(e){var t=e.data.reverse();H(hn.getBranch(t))})).catch((function(e){return console.log("Branch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();H(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var J=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);X((function(e){return te(te({},e),{},{passwordError:o})}))}if("password2"===n){var i=!mh(r);X((function(e){return te(te({},e),{},{password2Error:i})}))}if(""!==w&&""!==E&&X(w!==E?function(e){return te(te({},e),{},{matchPasswordError:!0})}:function(e){return te(te({},e),{},{matchPasswordError:!1})}),"email"===n){var a=!ph(r);X((function(e){return te(te({},e),{},{emailError:a})}))}},ee=!v||!w||K.emailError||K.password2Error||K.matchPasswordError||!E;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:8,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:"0px 0px 7px black",borderRadius:"10px",border:"none",padding:"50px"},children:[(0,Bi.jsx)(OS.Z,{style:{fontSize:"50px",color:"#2c387e"}}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:Q?"18px":"20px"},children:"Forget Password"}),(0,Bi.jsxs)(Vi,{component:"form",noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"code",label:"Enter Email Id",name:"email",autoFocus:!0,inputProps:{maxLength:30},size:"small",value:v,onChange:function(e){g(e.target.value)},onBlur:J,error:K.emailError,helperText:K.emailError&&xh("Invalid email id")}),R&&(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsx)(mf,{type:"button",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){var e=Y.find((function(e){return e.email===v.toLowerCase()}));e?(T(e),c("success"),p("User found successfully!"),N(!1)):(c("error"),p("User not found!")),i(!0)},children:"Forget Password"})}),Z&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"password",label:"New Password",name:"password",size:"small",type:L?"text":"password",value:w,onChange:function(e){return S(e.target.value)},onBlur:J,error:K.passwordError,inputProps:{maxLength:14},helperText:K.passwordError&&xh("Invalid password"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){B((function(e){return!e}))},edge:"end",children:L?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})}}),(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"password2",size:"small",label:"Confirm Password",name:"password2",type:U?"text":"password",value:E,onBlur:J,onChange:function(e){return O(e.target.value)},error:K.matchPasswordError,helperText:K.matchPasswordError&&xh("Password and Confirm Password doesn't match"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){q((function(e){return!e}))},edge:"end",children:U?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:14}}),K.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsx)(mf,{type:"button",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){if(!Z||!Z.id)return c("error"),p("User or user ID not found."),void i(!0);if(w!==E)return c("error"),p("Passwords don't match!"),void i(!0);var t=te(te({},Z),{},{password:w,password2:E,branch_id:Z.branch?Z.branch.id:null}),n="".concat(uh.password).concat(Z.id,"/");lh(n,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(c("success"),p("Password reset!"),i(!0))})).catch((function(e){c("error"),p(null===e||void 0===e?void 0:e.message),i(!0)})),setTimeout((function(){e("/")}),2e3)},disabled:ee,children:"Update Password"})]})]})]})]}),(0,Bi.jsx)(db,{open:o,autoHideDuration:3e3,onClose:function(){return i(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:function(){return i(!1)},severity:s,sx:{width:"100%"},children:f})})]})},PS=function(e){var n=e.children,r=Lo(),o=sessionStorage.getItem("accessToken"),i=sessionStorage.getItem("role");return(0,t.useEffect)((function(){if(o){if(["teacher","counsellor"].includes(i)){["/dashboard/user","/dashboard/staff"].includes(window.location.pathname)&&r("/")}else if(["student","intern"].includes(i)){["/dashboard/user","/dashboard/staff","/dashboard/exam","/dashboard/voucher","/dashboard/result","/dashboard/question","/dashboard/feedback"].includes(window.location.pathname)&&r("/")}}else r("/")}),[o,i,r]),(0,Bi.jsx)(Bi.Fragment,{children:n})},ZS=n(1141);var _S=function(e){var t=e.title,n=Hb(Fx().breakpoints.down("sm"));return(0,Bi.jsx)(Tl,{color:"primary",sx:{top:"90%",position:"-webkit-sticky",marginBottom:6},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{sx:{flexGrow:1},style:{fontSize:n?"13px":"16px",textAlign:n?"center":"left"},children:t})})})};function TS(e){return(0,Oa.Z)("MuiCardActions",e)}(0,Ea.Z)("MuiCardActions",["root","spacing"]);var MS=["disableSpacing","className"],AS=(0,Oi.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),RS=t.forwardRef((function(e,t){var n=(0,_a.Z)({props:e,name:"MuiCardActions"}),r=n.disableSpacing,o=void 0!==r&&r,i=n.className,a=(0,T.Z)(n,MS),l=(0,Ti.Z)({},n,{disableSpacing:o}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Yi.Z)(n,TS,t)}(l);return(0,Bi.jsx)(AS,(0,Ti.Z)({className:(0,Mi.Z)(s.root,i),ownerState:l,ref:t},a))})),NS=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function IS(e){return(0,Oa.Z)("MuiChip",e)}var DS=(0,Ea.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),zS=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],LS=(0,Oi.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,o=n.iconColor,i=n.clickable,a=n.onDelete,l=n.size,s=n.variant;return[(0,u.Z)({},"& .".concat(DS.avatar),t.avatar),(0,u.Z)({},"& .".concat(DS.avatar),t["avatar".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.avatar),t["avatarColor".concat((0,vl.Z)(r))]),(0,u.Z)({},"& .".concat(DS.icon),t.icon),(0,u.Z)({},"& .".concat(DS.icon),t["icon".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.icon),t["iconColor".concat((0,vl.Z)(o))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t.deleteIcon),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIcon".concat((0,vl.Z)(l))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIconColor".concat((0,vl.Z)(r))]),(0,u.Z)({},"& .".concat(DS.deleteIcon),t["deleteIcon".concat((0,vl.Z)(s),"Color").concat((0,vl.Z)(r))]),t.root,t["size".concat((0,vl.Z)(l))],t["color".concat((0,vl.Z)(r))],i&&t.clickable,i&&"default"!==r&&t["clickableColor".concat((0,vl.Z)(r),")")],a&&t.deletable,a&&"default"!==r&&t["deletableColor".concat((0,vl.Z)(r))],t[s],t["".concat(s).concat((0,vl.Z)(r))]]}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300];return(0,Ti.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(n.vars||n).palette.text.primary,backgroundColor:(n.vars||n).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,u.Z)(t,"&.".concat(DS.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,u.Z)(t,"& .".concat(DS.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:n.vars?n.vars.palette.Chip.defaultAvatarColor:o,fontSize:n.typography.pxToRem(12)}),(0,u.Z)(t,"& .".concat(DS.avatarColorPrimary),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.dark}),(0,u.Z)(t,"& .".concat(DS.avatarColorSecondary),{color:(n.vars||n).palette.secondary.contrastText,backgroundColor:(n.vars||n).palette.secondary.dark}),(0,u.Z)(t,"& .".concat(DS.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,u.Z)(t,"& .".concat(DS.icon),(0,Ti.Z)({marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},r.iconColor===r.color&&(0,Ti.Z)({color:n.vars?n.vars.palette.Chip.defaultIconColor:o},"default"!==r.color&&{color:"inherit"}))),(0,u.Z)(t,"& .".concat(DS.deleteIcon),(0,Ti.Z)({WebkitTapHighlightColor:"transparent",color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.26)"):(0,cl.Fq)(n.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.4)"):(0,cl.Fq)(n.palette.text.primary,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:n.vars?"rgba(".concat(n.vars.palette[r.color].contrastTextChannel," / 0.7)"):(0,cl.Fq)(n.palette[r.color].contrastText,.7),"&:hover, &:active":{color:(n.vars||n).palette[r.color].contrastText}})),t),"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:(n.vars||n).palette[r.color].main,color:(n.vars||n).palette[r.color].contrastText},r.onDelete&&(0,u.Z)({},"&.".concat(DS.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),r.onDelete&&"default"!==r.color&&(0,u.Z)({},"&.".concat(DS.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({},r.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,u.Z)(t,"&.".concat(DS.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,cl.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,u.Z)(t,"&:active",{boxShadow:(n.vars||n).shadows[1]}),t),r.clickable&&"default"!==r.color&&(0,u.Z)({},"&:hover, &.".concat(DS.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n,r=e.theme,o=e.ownerState;return(0,Ti.Z)({},"outlined"===o.variant&&(t={backgroundColor:"transparent",border:r.vars?"1px solid ".concat(r.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[700])},(0,u.Z)(t,"&.".concat(DS.clickable,":hover"),{backgroundColor:(r.vars||r).palette.action.hover}),(0,u.Z)(t,"&.".concat(DS.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,u.Z)(t,"& .".concat(DS.avatar),{marginLeft:4}),(0,u.Z)(t,"& .".concat(DS.avatarSmall),{marginLeft:2}),(0,u.Z)(t,"& .".concat(DS.icon),{marginLeft:4}),(0,u.Z)(t,"& .".concat(DS.iconSmall),{marginLeft:2}),(0,u.Z)(t,"& .".concat(DS.deleteIcon),{marginRight:5}),(0,u.Z)(t,"& .".concat(DS.deleteIconSmall),{marginRight:3}),t),"outlined"===o.variant&&"default"!==o.color&&(n={color:(r.vars||r).palette[o.color].main,border:"1px solid ".concat(r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.7)"):(0,cl.Fq)(r.palette[o.color].main,.7))},(0,u.Z)(n,"&.".concat(DS.clickable,":hover"),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)(r.palette[o.color].main,r.palette.action.hoverOpacity)}),(0,u.Z)(n,"&.".concat(DS.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.focusOpacity,")"):(0,cl.Fq)(r.palette[o.color].main,r.palette.action.focusOpacity)}),(0,u.Z)(n,"& .".concat(DS.deleteIcon),{color:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.7)"):(0,cl.Fq)(r.palette[o.color].main,.7),"&:hover, &:active":{color:(r.vars||r).palette[o.color].main}}),n))})),BS=(0,Oi.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat((0,vl.Z)(n))]]}})((function(e){var t=e.ownerState;return(0,Ti.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})}));function FS(e){return"Backspace"===e.key||"Delete"===e.key}var WS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiChip"}),o=r.avatar,i=r.className,a=r.clickable,l=r.color,s=void 0===l?"default":l,c=r.component,u=r.deleteIcon,d=r.disabled,f=void 0!==d&&d,p=r.icon,h=r.label,m=r.onClick,v=r.onDelete,g=r.onKeyDown,y=r.onKeyUp,b=r.size,x=void 0===b?"medium":b,w=r.variant,S=void 0===w?"filled":w,k=r.tabIndex,j=r.skipFocusWhenDisabled,E=void 0!==j&&j,O=(0,T.Z)(r,zS),C=t.useRef(null),P=(0,qa.Z)(C,n),Z=function(e){e.stopPropagation(),v&&v(e)},_=!(!1===a||!m)||a,M=_||v?Ys:c||"div",A=(0,Ti.Z)({},r,{component:M,disabled:f,size:x,color:s,iconColor:t.isValidElement(p)&&p.props.color||s,onDelete:!!v,clickable:_,variant:S}),R=function(e){var t=e.classes,n=e.disabled,r=e.size,o=e.color,i=e.iconColor,a=e.onDelete,l=e.clickable,s=e.variant,c={root:["root",s,n&&"disabled","size".concat((0,vl.Z)(r)),"color".concat((0,vl.Z)(o)),l&&"clickable",l&&"clickableColor".concat((0,vl.Z)(o)),a&&"deletable",a&&"deletableColor".concat((0,vl.Z)(o)),"".concat(s).concat((0,vl.Z)(o))],label:["label","label".concat((0,vl.Z)(r))],avatar:["avatar","avatar".concat((0,vl.Z)(r)),"avatarColor".concat((0,vl.Z)(o))],icon:["icon","icon".concat((0,vl.Z)(r)),"iconColor".concat((0,vl.Z)(i))],deleteIcon:["deleteIcon","deleteIcon".concat((0,vl.Z)(r)),"deleteIconColor".concat((0,vl.Z)(o)),"deleteIcon".concat((0,vl.Z)(s),"Color").concat((0,vl.Z)(o))]};return(0,Yi.Z)(c,IS,t)}(A),N=M===Ys?(0,Ti.Z)({component:c||"div",focusVisibleClassName:R.focusVisible},v&&{disableRipple:!0}):{},I=null;v&&(I=u&&t.isValidElement(u)?t.cloneElement(u,{className:(0,Mi.Z)(u.props.className,R.deleteIcon),onClick:Z}):(0,Bi.jsx)(NS,{className:(0,Mi.Z)(R.deleteIcon),onClick:Z}));var D=null;o&&t.isValidElement(o)&&(D=t.cloneElement(o,{className:(0,Mi.Z)(R.avatar,o.props.className)}));var z=null;return p&&t.isValidElement(p)&&(z=t.cloneElement(p,{className:(0,Mi.Z)(R.icon,p.props.className)})),(0,Bi.jsxs)(LS,(0,Ti.Z)({as:M,className:(0,Mi.Z)(R.root,i),disabled:!(!_||!f)||void 0,onClick:m,onKeyDown:function(e){e.currentTarget===e.target&&FS(e)&&e.preventDefault(),g&&g(e)},onKeyUp:function(e){e.currentTarget===e.target&&(v&&FS(e)?v(e):"Escape"===e.key&&C.current&&C.current.blur()),y&&y(e)},ref:P,tabIndex:E&&f?-1:k,ownerState:A},N,O,{children:[D||z,(0,Bi.jsx)(BS,{className:(0,Mi.Z)(R.label),ownerState:A,children:h}),I]}))})),US=WS,qS=n(2270);function HS(e){return(0,Oa.Z)("MuiLink",e)}var VS=(0,Ea.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),YS=n(8529),GS={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$S=function(e){var t=e.theme,n=e.ownerState,r=function(e){return GS[e]||e}(n.color),o=(0,YS.DW)(t,"palette.".concat(r),!1)||n.color,i=(0,YS.DW)(t,"palette.".concat(r,"Channel"));return"vars"in t&&i?"rgba(".concat(i," / 0.4)"):(0,cl.Fq)(o,.4)},KS=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],XS=(0,Oi.ZP)(as,{name:"MuiLink",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["underline".concat((0,vl.Z)(n.underline))],"button"===n.component&&t.button]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,Ti.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:$S({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&(0,u.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(VS.focusVisible),{outline:"auto"}))})),QS=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiLink"}),o=r.className,i=r.color,a=void 0===i?"primary":i,l=r.component,s=void 0===l?"a":l,c=r.onBlur,u=r.onFocus,d=r.TypographyClasses,f=r.underline,p=void 0===f?"always":f,h=r.variant,m=void 0===h?"inherit":h,v=r.sx,g=(0,T.Z)(r,KS),y=(0,ms.Z)(),b=y.isFocusVisibleRef,x=y.onBlur,w=y.onFocus,S=y.ref,k=t.useState(!1),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,qa.Z)(n,S),P=(0,Ti.Z)({},r,{color:a,component:s,focusVisible:E,underline:p,variant:m}),Z=function(e){var t=e.classes,n=e.component,r=e.focusVisible,o=e.underline,i={root:["root","underline".concat((0,vl.Z)(o)),"button"===n&&"button",r&&"focusVisible"]};return(0,Yi.Z)(i,HS,t)}(P);return(0,Bi.jsx)(XS,(0,Ti.Z)({color:a,className:(0,Mi.Z)(Z.root,o),classes:d,component:s,onBlur:function(e){x(e),!1===b.current&&O(!1),c&&c(e)},onFocus:function(e){w(e),!0===b.current&&O(!0),u&&u(e)},ref:C,ownerState:P,variant:m,sx:[].concat((0,F.Z)(Object.keys(GS).includes(a)?[]:[{color:a}]),(0,F.Z)(Array.isArray(v)?v:[v]))},g))})),JS=QS;function ek(){var e=Lo();return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(ay,{sx:{maxWidth:345,margin:"auto",marginTop:10,borderRadius:10,boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)"},children:(0,Bi.jsxs)(zy,{children:[(0,Bi.jsx)(as,{gutterBottom:!0,variant:"h5",color:"primary",component:"div",children:"Exam Submitted Successfully"}),(0,Bi.jsx)(as,{align:"center",variant:"h1",color:"primary",children:(0,Bi.jsx)(ec,{})})]})}),(0,Bi.jsx)(as,{align:"center",variant:"body2",color:"secondary",sx:{marginTop:3},children:(0,Bi.jsx)(JS,{onClick:function(){e("/student-feedback")},underline:"hover",sx:{fontSize:"1.2rem",fontWeight:"bold"},children:"Click here to give feedback"})})]})}var tk=function(){var e,n=(0,t.useState)(3600),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=(0,t.useState)([]),l=(0,D.Z)(a,2),s=l[0],c=l[1],u=(0,t.useState)([]),d=(0,D.Z)(u,2),f=d[0],p=d[1],h=(0,t.useState)(""),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(!1),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(!1),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=(0,t.useState)(0),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=(0,t.useState)(null),A=(0,D.Z)(M,2),N=(A[0],A[1]),z=(0,t.useState)(!1),L=(0,D.Z)(z,2),B=L[0],W=L[1],U=(0,t.useState)(!1),q=(0,D.Z)(U,2),H=q[0],V=q[1],Y=(0,t.useState)([]),G=(0,D.Z)(Y,2),$=G[0],K=G[1],X=(0,t.useState)(!1),Q=(0,D.Z)(X,2),J=Q[0],ee=Q[1],ne=(0,t.useState)(!1),re=(0,D.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,t.useState)(!1),le=(0,D.Z)(ae,2),se=le[0],ce=le[1],ue=(0,t.useState)(0),de=(0,D.Z)(ue,2),fe=de[0],pe=de[1],he=x((function(e){return e.question})),me=he.examquestion,ve=x((function(e){return e.exam})),ge=ve.allExam,ye=x((function(e){return e.user})),be=ye.loginUser,xe=_(),we=Lo(),Se=t.useState(!1),ke=(0,D.Z)(Se,2),je=ke[0],Ee=ke[1],Oe=t.useState(""),Ce=(0,D.Z)(Oe,2),Pe=Ce[0],Ze=Ce[1],_e=t.useState("info"),Te=(0,D.Z)(_e,2),Me=(Te[0],Te[1]),Ae=Hb(Fx().breakpoints.down("sm")),Re=(new Date).getFullYear(),Ne="\xa9 2017-".concat(Re," Hematite Infotech, All Rights Reserved.");(0,t.useEffect)((function(){var e=function(e){e.preventDefault()};return window.addEventListener("contextmenu",e),function(){window.removeEventListener("contextmenu",e)}}),[]),(0,t.useEffect)((function(){ih("".concat(uh.loginUser)).then((function(e){xe(hn.GetLogginUser(e.data))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){var e=function(){var e=I(R().mark((function e(){var t;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ih(uh.start_exam);case 3:t=e.sent,xe(kn.getStartExamQuestion(t.data)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("Exam error: ",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,t.useEffect)((function(){K([0])}),[]),(0,t.useEffect)((function(){var e=function(e){e.preventDefault(),e.returnValue="Do not reload the page. Exam gets submitted automatically.",ee(!0)};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}}),[]);var Ie=function(){ee(!1)};(0,t.useEffect)((function(){var e=function(){document.hidden&&(pe((function(e){return e+1})),ie(!0))};return document.addEventListener("visibilitychange",e),function(){document.removeEventListener("visibilitychange",e)}}),[]),(0,t.useEffect)((function(){1===fe&&(i(0),ce(!0))}),[fe]);var De=function(){ie(!1)},ze=function(e){e.preventDefault()};(0,t.useEffect)((function(){return document.addEventListener("keydown",ze),function(){document.removeEventListener("keydown",ze)}}),[]),(0,t.useEffect)((function(){var e=function(e){e.preventDefault(),we("/start-exam")};return window.history.pushState(null,"",window.location.pathname),window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}}),[we]),(0,t.useEffect)((function(){if(0!==ge.length){var e=sessionStorage.getItem("examId"),t=Number(e),n=ge.find((function(e){return e.id===t}));if(n){var r="".concat(null===be||void 0===be?void 0:be.fname," ").concat(null===be||void 0===be?void 0:be.lname);r&&g(r);var o=0;if(n){var a=n.examTime.toLowerCase();if(a.endsWith("min"))o=60*parseInt(a);else if(a.endsWith("hr")){o=3600*parseInt(a)}}i(o);var l=n.totalQuestion,s=me&&me.filter((function(e){return e.exam.id===n.id})),u=Le(s).slice(0,l);c(u);var d=setInterval((function(){i((function(e){return Math.max(0,e-1)}))}),1e3);return N(d),function(){return clearInterval(d)}}}}),[me,ge]);var Le=function(e){for(var t,n,r=e.length;0!==r;)n=Math.floor(Math.random()*r),t=e[r-=1],e[r]=e[n],e[n]=t;return e},Be=function(e,t){var n=s.findIndex((function(e){return e.id===t}));if(-1!==n){var r=(0,F.Z)(s),o=Object.keys(r[n]).find((function(t){return r[n][t]===e}));o&&(r[n]=te(te({},r[n]),{},{answer:o}),c(r))}},Fe=function(){O(!1)},We=function(e){return e.some((function(e){return!e.answer||""===e.answer}))},Ue=function(){V(!1)},qe=0===Z,He=Z===s.length-1;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(db,{open:H,autoHideDuration:6e3,onClose:Ue,anchorOrigin:{vertical:"top",horizontal:"center"},message:"Please solve all questions",action:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:Ue,children:"Close"})}),(0,Bi.jsx)(db,{open:J,autoHideDuration:9e3,onClose:Ie,anchorOrigin:{vertical:"top",horizontal:"center"},message:"You refreshed the exam page. Please click the Submit button and contact the admin.",action:(0,Bi.jsx)(t.Fragment,{children:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:Ie,children:"Close"})})}),(0,Bi.jsx)(db,{open:oe,autoHideDuration:9e3,onClose:De,anchorOrigin:{vertical:"top",horizontal:"center"},message:"Warning:Please do not switch tabs.Don't do again.",action:(0,Bi.jsx)(t.Fragment,{children:(0,Bi.jsx)(mf,{color:"secondary",size:"small",onClick:De,children:"Close"})})}),w?we("/exam-submitted"):(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Vi,{sx:{},children:(0,Bi.jsx)(Tl,{color:"primary",position:"fixed",children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[(0,Bi.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(vS,{style:{fontSize:"25px"}}),(0,Bi.jsxs)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px",marginLeft:"10px"},children:["Welcome, ",v]})]}),(0,Bi.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,Bi.jsx)(qS.Z,{style:{fontSize:"25px",marginRight:"10px"}}),(0,Bi.jsx)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px"},children:function(e){var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return"".concat(t.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0"))}(o)}),(0,Bi.jsx)(as,{style:{fontFamily:"ubuntu",fontSize:Ae?"14px":"20px",marginLeft:"10px"},children:"|"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){We(s)&&o>0?V(!0):(Me("warning"),Ze("Are you sure you want to logout ?"),Ee(!0))},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})]})})})}),o>0?(0,Bi.jsxs)("div",{className:"chip",style:{display:"inline-list-item"},children:[(0,Bi.jsx)(US,{color:"warning",label:"Visited",sx:{minWidth:"30px",height:"30px",fontSize:"12px"}}),(0,Bi.jsx)(US,{color:"primary",label:"Current",sx:{minWidth:"30px",height:"30px",fontSize:"12px",marginLeft:2}}),(0,Bi.jsx)(US,{color:"success",label:"Answered",sx:{minWidth:"30px",height:"30px",fontSize:"12px",marginLeft:2}})]}):null,(0,Bi.jsxs)(Vi,{sx:{padding:5,display:"flex",flexDirection:"column",flexWrap:"wrap",width:"auto"},children:[o>0?(0,Bi.jsx)(as,{sx:{fontSize:Ae?"14px":"20px"},gutterBottom:!0,children:"Questions"}):null,0==o?(0,Bi.jsx)(Vi,{sx:{marginBottom:"20px",padding:"20px",marginTop:"20px",boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},children:(0,Bi.jsx)(as,{sx:{fontSize:"20px"},variant:"h6",color:"secondary",gutterBottom:!0,children:se?"You try to switch the browser tab.Please click on submit button.":"Time is over...Please click on submit button"})}):null,o>0&&s&&s.length>0&&Z<s.length?(0,Bi.jsxs)(Vi,{sx:{marginBottom:"20px",padding:"20px",boxShadow:"0px 8px 20px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},children:[(0,Bi.jsxs)(as,{sx:{fontSize:"20px",textAlign:"left"},variant:"h6",gutterBottom:!0,children:[Z+1,". ",s[Z].question]}),s[Z].questionImage&&(0,Bi.jsx)("div",{style:{display:"flex",height:"400px",width:"400px",marginTop:"10px",objectFit:"cover"},children:(0,Bi.jsx)("img",{src:s[Z].questionImage,alt:"Question Image",style:{maxHeight:"100%",maxWidth:"100%"}})}),(0,Bi.jsx)("div",{style:{display:"flex"},children:(0,Bi.jsx)(Jx,{"aria-label":"question-".concat(Z),name:"question-".concat(Z),value:(null===(e=f.find((function(e){return e.questionIndex===Z})))||void 0===e?void 0:e.optionValue)||"",onChange:function(e){return function(e,t){var n=e.target.value,r=s.findIndex((function(e){return e.id===t}));null!==r&&r>=0&&Be(n,t);var o=f.filter((function(e){return e.questionIndex!==r}));o.push({questionIndex:r,optionValue:n}),p(o)}(e,s[Z].id)},children:Object.keys(s[Z]).map((function(e){return e.startsWith("option")&&s[Z][e]?(0,Bi.jsx)(gw,{value:s[Z][e],control:(0,Bi.jsx)(Mw,{}),label:s[Z][e]},e):null}))})}),!qe&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:function(){Z>0&&(T((function(e){return e-1})),$.includes(Z-1)||K((function(e){return[].concat((0,F.Z)(e),[Z-1])})))},sx:{marginRight:"10px"},children:"Previous"}),!He&&(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:function(){Z<s.length-1&&(T((function(e){return e+1})),$.includes(Z+1)||K((function(e){return[].concat((0,F.Z)(e),[Z+1])})))},sx:{marginRight:"10px"},children:"Next"}),(0,Bi.jsx)(Vi,{sx:{display:"flex",justifyContent:"center",marginTop:"20px",flexWrap:"wrap",gap:"5px"},children:s.map((function(e,t){return(0,Bi.jsx)(US,{label:"".concat(t+1),color:f.some((function(e){return e.questionIndex===t}))?"success":Z===t?"primary":$.includes(t)?"warning":"default",onClick:function(){return function(e){T(e),$.includes(e)||K((function(t){return[].concat((0,F.Z)(t),[e])}))}(t)},sx:{minWidth:"30px",height:"30px",fontSize:"12px"}},e)}))})]}):null,(0,Bi.jsx)(Vi,{sx:{display:"flex",justifyContent:"center",marginBottom:"27px",overflowX:"auto",overflowY:"auto"},children:(0,Bi.jsx)(mf,{variant:"outlined",color:"primary",onClick:function(){O(!0)},children:"Submit Exam"})})]}),(0,Bi.jsx)(gf,{open:E,onClose:Fe,show:!0,onConfirm:function(){Fe(),function(){if(We(s)&&o>0)V(!0);else{var e=sessionStorage.getItem("examId"),t=null===be||void 0===be?void 0:be.id,n=sessionStorage.getItem("showResult");console.log(n);var r={exam_id:e,student_id:t,questions:s};ah(uh.submit_exam,r).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||xe(On.addResult(e.data))})).catch((function(e){Me("error"),Ze(null===e||void 0===e?void 0:e.message),Ee(!0)})),B||(W(!0),V(!1),"true"==n?we("/question-answer",{state:{req:r}}):(sessionStorage.clear(),we("/exam-submitted"))),S(!0)}}()},message:"Are you sure you want to submit the exam?",title:"Confirmation",submitLabel:"submit"}),(0,Bi.jsx)(gf,{open:je,onClose:function(){return Ee(!1)},show:!0,onConfirm:function(){Ee(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),we("/")},title:"Confirmation",message:Pe,submitLabel:"Logout"})]}),(0,Bi.jsx)(_S,{title:Ne})]})};function nk(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var n=t.useState(!1),r=(0,D.Z)(n,2),o=r[0],i=r[1],a=Lo(),l=Hb(Fx().breakpoints.down("sm")),s=t.useState(!1),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=t.useState(""),p=(0,D.Z)(f,2),h=p[0],m=(p[1],t.useState(!1)),v=(0,D.Z)(m,2),g=v[0],y=v[1];return(0,Bi.jsxs)("div",{children:[g?(0,Bi.jsx)(rk,{}):(0,Bi.jsx)(Bi.Fragment,{children:o?(0,Bi.jsx)(tk,{}):(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{maxWidth:345,margin:"auto",marginTop:10,boxShadow:"0px 0px 7px black",borderRadius:"10px"},children:[(0,Bi.jsxs)(zy,{children:[(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:l?"18px":"20px"},gutterBottom:!0,variant:"h5",component:"div",children:"Instructions"}),(0,Bi.jsx)(as,{align:"left",variant:"body2",color:"red",children:(0,Bi.jsxs)("ul",{children:[(0,Bi.jsx)("h4",{children:"Follow the Below Instruction"}),(0,Bi.jsx)("li",{children:"Do not refresh the page"}),(0,Bi.jsx)("li",{children:"Do not use keyboard"}),(0,Bi.jsx)("li",{children:"Exam will be automatically submit after time is over"}),(0,Bi.jsx)("li",{children:"Do not open another tab "})]})})]}),(0,Bi.jsxs)(RS,{sx:{display:"flex",flex:"row",justifyContent:"space-around"},children:[(0,Bi.jsx)(mf,{variant:"text",color:"primary",size:"small",onClick:function(){y(!0)},children:"Back"}),(0,Bi.jsx)(mf,{variant:"text",color:"primary",size:"small",onClick:function(){i(!0)},children:"Start Exam"})]})]})})}),(0,Bi.jsx)(gf,{open:u,onClose:function(){return d(!1)},show:!0,onConfirm:function(){d(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),a("/")},title:"Confirmation",message:h,submitLabel:"Logout"})]})}var rk=function(){var e=(0,t.useState)(""),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=x((function(e){return e.exam})),u=c.allExam,d=_(),f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,t.useState)(""),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=Hb(Fx().breakpoints.down("sm"));(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();d(sn.GET_EXAM(t))})).catch((function(e){j("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message))}))}),[]);var S=u.filter((function(e){return e.examStatus})),k=u.some((function(e){return e.id==r&&1==e.showResult})),j=function(e){b(e),m(!0)},E=!r;return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(db,{open:h,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:6e3,onClose:function(){return m(!1)},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return m(!1)},severity:"warning",children:y})}),l?(0,Bi.jsx)(nk,{}):(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{boxShadow:"0px 0px 7px black",marginTop:10},borderRadius:2,p:3,textAlign:"center",children:[(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:w?"18px":"20px"},children:"Select Exam"}),(0,Bi.jsxs)(Sy,{fullWidth:!0,sx:{mt:1},size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-label",children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-label",id:"demo-simple-select",value:r,label:"select Exam",name:"exam",autoWidth:!0,onChange:function(e){o(parseInt(e.target.value,10))},children:[(0,Bi.jsx)(Zm,{sx:{width:w?"240px":"345px"},children:"None"}),S.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.examName)},e.id)}))]})]}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:function(){k?sessionStorage.setItem("showResult",!0):sessionStorage.setItem("showResult",!1),r?(sessionStorage.setItem("examId",r),s(!0)):j("Please select an exam before proceeding.")},disabled:E,children:"submit"})]})]})})]})},ok=n.p+"static/media/Hematite Logo.3eb399f731be02ad90b6.jpg";var ik=function(){var e=(0,t.useState)(""),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(!1),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(!1),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=t.useState(!1),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=t.useState(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=t.useState("info"),M=(0,D.Z)(T,2),A=(M[0],M[1]),R=x((function(e){return e.voucher})),N=R.allvouchers,I=_(),z=Lo(),L=Hb(Fx().breakpoints.down("sm")),B=(new Date).getFullYear(),F="\xa9 2017-".concat(B," Hematite Infotech, All Rights Reserved."),W=(0,t.useState)({voucherError:!1}),U=(0,D.Z)(W,2),q=U[0],H=U[1];(0,t.useEffect)((function(){ih(uh.voucher).then((function(e){return I(on.GET_VOUCHER(e.data))})).catch((function(e){console.error("Error fetching vouchers:",e)}))}),[]);var V=function(e){e.preventDefault(),N.some((function(e){return r===e.Vcode&&!0===e.status}))?(sessionStorage.setItem("Voucher","true"),s(!0),f("success"),v("Valid voucher code"),setTimeout((function(){s(!1),w(!0)}),1e3)):(s(!0),f("error"),v("Invalid voucher"))};return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:L?"40px":"50px",height:L?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:L?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){A("warning"),Z("Are you sure you want to logout ?"),E(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),b?(0,Bi.jsx)(rk,{}):(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:10,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:"0px 0px 7px black",borderRadius:"10px",border:"none"},children:[(0,Bi.jsx)(ZS.Z,{color:"primary",style:{fontSize:"50px"}}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:L?"18px":"20px"},children:"Enter Voucher Code"}),(0,Bi.jsxs)(Vi,{component:"form",onSubmit:V,noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"code",label:"Enter Voucher code",name:"Vcode",inputProps:{maxLength:6},autoFocus:!0,size:"small",onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("Vcode"===n){var o=!/^[A-Z0-9]{6}$/.test(r);H((function(e){return te(te({},e),{},{voucherError:o})}))}},onChange:function(e){var t=e.target,n=(t.name,t.value);o(n)},error:q.voucherError,helperText:q.voucherError&&xh("Invalid Voucher")}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},onClick:V,children:"submit"})]})]})]}),(0,Bi.jsx)(db,{open:l,autoHideDuration:3e3,onClose:function(){return s(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:function(){return s(!1)},severity:d,sx:{width:"100%"},children:m})})]}),(0,Bi.jsx)(_S,{title:F}),(0,Bi.jsx)(gf,{open:j,onClose:function(){return E(!1)},show:!0,onConfirm:function(){E(!1),sessionStorage.removeItem("role"),sessionStorage.removeItem("studentId"),sessionStorage.removeItem("examId"),sessionStorage.removeItem("Voucher"),sessionStorage.removeItem("user"),sessionStorage.removeItem("accessToken"),z("/")},title:"Confirmation",message:P,submitLabel:"Logout"})]})},ak=(0,jv.Z)((0,Bi.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function lk(e){return(0,Oa.Z)("MuiAvatar",e)}(0,Ea.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var sk=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],ck=(0,Oi.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Ti.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:(t.vars||t).shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&(0,Ti.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}))})),uk=(0,Oi.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(e,t){return t.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),dk=(0,Oi.ZP)(ak,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(e,t){return t.fallback}})({width:"75%",height:"75%"});var fk=t.forwardRef((function(e,n){var r=(0,_a.Z)({props:e,name:"MuiAvatar"}),o=r.alt,i=r.children,a=r.className,l=r.component,s=void 0===l?"div":l,c=r.imgProps,u=r.sizes,d=r.src,f=r.srcSet,p=r.variant,h=void 0===p?"circular":p,m=(0,T.Z)(r,sk),v=null,g=function(e){var n=e.crossOrigin,r=e.referrerPolicy,o=e.src,i=e.srcSet,a=t.useState(!1),l=(0,D.Z)(a,2),s=l[0],c=l[1];return t.useEffect((function(){if(o||i){c(!1);var e=!0,t=new Image;return t.onload=function(){e&&c("loaded")},t.onerror=function(){e&&c("error")},t.crossOrigin=n,t.referrerPolicy=r,t.src=o,i&&(t.srcset=i),function(){e=!1}}}),[n,r,o,i]),s}((0,Ti.Z)({},c,{src:d,srcSet:f})),y=d||f,b=y&&"error"!==g,x=(0,Ti.Z)({},r,{colorDefault:!b,component:s,variant:h}),w=function(e){var t=e.classes,n={root:["root",e.variant,e.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,Yi.Z)(n,lk,t)}(x);return v=b?(0,Bi.jsx)(uk,(0,Ti.Z)({alt:o,src:d,srcSet:f,sizes:u,ownerState:x,className:w.img},c)):null!=i?i:y&&o?o[0]:(0,Bi.jsx)(dk,{ownerState:x,className:w.fallback}),(0,Bi.jsx)(ck,(0,Ti.Z)({as:s,ownerState:x,className:(0,Mi.Z)(w.root,a),ref:n},m,{children:v}))})),pk=fk,hk=n(403);function mk(){var e=t.useState(!1),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=t.useState(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=t.useState("info"),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=t.useState(!1),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=x((function(e){return e.user})),y=(g.loginUser,x((function(e){return e.login}))),b=(y.token,_()),w=Lo(),S=(0,t.useState)(null),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=Hb(Fx().breakpoints.down("sm")),C=(new Date).getFullYear(),P="\xa9 2017-".concat(C," Hematite Infotech, All Rights Reserved."),Z=(0,t.useState)({emailError:!1,passwordError:!1}),T=(0,D.Z)(Z,2),M=T[0],A=T[1],N=(0,t.useState)(null),z=(0,D.Z)(N,2),L=(z[0],z[1]),B=function(){var e=I(R().mark((function e(t){var n,r,o,i,a,l;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=new FormData(t.currentTarget),""!==(r={email:n.get("email"),password:n.get("password")}).email||""!==r.password){e.next=6;break}return W("Please enter login credentials","error"),e.abrupt("return");case 6:return e.prev=6,e.next=9,ah("".concat(uh.token),r);case 9:if(o=e.sent,console.log(o),null===o||void 0===o||!o.access){e.next=20;break}return W("Login successful","success"),sessionStorage.setItem("accessToken",o.access),b(dn.LOGIN_SUCCESS(o.access)),e.next=17,ih("".concat(uh.loginUser));case 17:i=e.sent,L(null===i||void 0===i?void 0:i.data),setTimeout((function(){var e,t=null===i||void 0===i||null===(e=i.data)||void 0===e?void 0:e.role;w("student"===t||"intern"===t?"/quizapp":"trainer"===t||"counsellor"===t?"/dashboard/exam":"/dashboard/student")}),2e3);case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(6),W((null===e.t0||void 0===e.t0||null===(a=e.t0.response)||void 0===a||null===(l=a.data)||void 0===l?void 0:l.detail)||"Login failed","error");case 25:case"end":return e.stop()}}),e,null,[[6,22]])})));return function(t){return e.apply(this,arguments)}}(),F=function(e,t){"clickaway"!==t&&o(!1)},W=function(e,t){s(e),f(t),o(!0)},U=function(){E(null)},q=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);A((function(e){return te(te({},e),{},{passwordError:o})}))}if("email"===n){var i=!ph(r);A((function(e){return te(te({},e),{},{emailError:i})}))}};return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:O?"40px":"50px",height:O?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:O?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":j?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(j),onClick:function(e){E(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:j,open:Boolean(j),onClose:U,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){w("/student-registration"),U()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){w("/employee-registration"),U()},children:"Employee"})]})]})}),(0,Bi.jsxs)(jS,{component:"main",maxWidth:"xs",children:[(0,Bi.jsx)(Jl,{}),(0,Bi.jsxs)(Vi,{sx:{marginTop:O?3:8,display:"flex",flexDirection:"column",alignItems:"center",position:"sticky"},children:[(0,Bi.jsx)(pk,{sx:{m:1,bgcolor:"primary.main"},children:(0,Bi.jsx)(hk.Z,{})}),(0,Bi.jsx)(as,{sx:{color:"primary.main",fontSize:O?"18px":"20px"},children:"Login"}),(0,Bi.jsxs)(Vi,{component:"form",onSubmit:B,noValidate:!0,sx:{mt:1},children:[(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,id:"email",label:"Email Address",name:"email",autoComplete:"email",onBlur:q,inputProps:{maxLength:30},size:"small",error:M.emailError,helperText:M.emailError&&xh("Enter valid email")}),(0,Bi.jsx)(Ry,{margin:"normal",required:!0,fullWidth:!0,name:"password",label:"Password",type:m?"text":"password",id:"password",inputProps:{maxLength:20},autoComplete:"current-password",size:"small",onBlur:q,error:M.passwordError,helperText:M.passwordError&&xh("Enter valid password"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){v((function(e){return!e}))},edge:"end",children:m?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})}}),(0,Bi.jsx)(mf,{type:"submit",fullWidth:!0,variant:"contained",sx:{mt:3,mb:2},children:"Sign In"}),(0,Bi.jsxs)("div",{style:{textAlign:"left",marginBottom:O?"35px":"0px"},children:[(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){e.preventDefault(),w("/forgetpassword")},children:"Forget Password ? Click Here"})," ",(0,Bi.jsx)("br",{}),(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){e.preventDefault(),w("/student-feedback")},children:"Feedback ? Click Here"})]})]})]})]}),(0,Bi.jsx)(_S,{title:P}),(0,Bi.jsx)(db,{open:r,autoHideDuration:3e3,onClose:F,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:F,severity:d,sx:{width:"100%"},children:l})})]})}var vk=t.createContext(null);function gk(){return t.useContext(vk)}var yk="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var bk=function(e){var n=e.children,r=e.theme,o=gk(),i=t.useMemo((function(){var e=null===o?r:function(e,t){return"function"===typeof t?t(e):(0,Ti.Z)({},e,t)}(o,r);return null!=e&&(e[yk]=null!==o),e}),[r,o]);return(0,Bi.jsx)(vk.Provider,{value:i,children:n})},xk={};function wk(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.useMemo((function(){var t=e&&n[e]||n;if("function"===typeof r){var i=r(t),a=e?(0,Ti.Z)({},n,(0,u.Z)({},e,i)):i;return o?function(){return a}:a}return e?(0,Ti.Z)({},n,(0,u.Z)({},e,r)):(0,Ti.Z)({},n,r)}),[e,n,r,o])}var Sk=function(e){var t=e.children,n=e.theme,r=e.themeId,o=(0,ud.Z)(xk),i=gk()||xk,a=wk(r,o,n),l=wk(r,i,n,!0);return(0,Bi.jsx)(bk,{theme:l,children:(0,Bi.jsx)(Fl.T.Provider,{value:a,children:t})})},kk=["theme"];function jk(e){var t=e.theme,n=(0,T.Z)(e,kk),r=t[Zi.Z];return(0,Bi.jsx)(Sk,(0,Ti.Z)({},n,{themeId:r?Zi.Z:void 0,theme:r||t}))}var Ek=n(2854),Ok=n.n(Ek),Ck=n(4786),Pk=n.n(Ck),Zk=n(6222),_k=n.n(Zk),Tk=n(6181),Mk=n.n(Tk),Ak=n(4286),Rk=n.n(Ak),Nk=n(3038),Ik=n.n(Nk),Dk=!0,zk="Invariant failed";function Lk(e,t){if(!e){if(Dk)throw new Error(zk);var n="function"===typeof t?t():t,r=n?"".concat(zk,": ").concat(n):zk;throw new Error(r)}}var Bk=n(6769),Fk=n.n(Bk),Wk=n(8092),Uk=n.n(Wk),qk=n(8493),Hk=n(2066),Vk=n.n(Hk),Yk=n(298),Gk=n.n(Yk),$k=function(e){return 0===e?0:e>0?1:-1},Kk=function(e){return Fk()(e)&&e.indexOf("%")===e.length-1},Xk=function(e){return Gk()(e)&&!Vk()(e)},Qk=function(e){return Xk(e)||Fk()(e)},Jk=0,ej=function(e){var t=++Jk;return"".concat(e||"").concat(t)},tj=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Xk(e)&&!Fk()(e))return r;if(Kk(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return Vk()(n)&&(n=r),o&&n>t&&(n=t),n},nj=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},rj=function(e,t){return Xk(e)&&Xk(t)?function(n){return e+n*(t-e)}:function(){return t}};function oj(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"===typeof t?t(e):Mk()(e,t))===n})):null}function ij(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function aj(e){return aj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aj(e)}var lj=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],sj=["points","pathLength"],cj={svg:["viewBox","children"],polygon:sj,polyline:sj},uj=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],dj=function(e,n){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var r=e;if((0,t.isValidElement)(e)&&(r=e.props),!Uk()(r))return null;var o={};return Object.keys(r).forEach((function(e){uj.includes(e)&&(o[e]=n||function(t){return r[e](r,t)})})),o},fj=function(e,t,n){if(!Uk()(e)||"object"!==aj(e))return null;var r=null;return Object.keys(e).forEach((function(o){var i=e[o];uj.includes(o)&&"function"===typeof i&&(r||(r={}),r[o]=function(e,t,n){return function(r){return e(t,n,r),null}}(i,t,n))})),r},pj=["children"],hj=["children"];function mj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var vj={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},gj=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},yj=null,bj=null,xj=function e(n){if(n===yj&&Array.isArray(bj))return bj;var r=[];return t.Children.forEach(n,(function(t){Ok()(t)||((0,qk.isFragment)(t)?r=r.concat(e(t.props.children)):r.push(t))})),bj=r,yj=n,r};function wj(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map((function(e){return gj(e)})):[gj(t)],xj(e).forEach((function(e){var t=Mk()(e,"type.displayName")||Mk()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n}function Sj(e,t){var n=wj(e,t);return n&&n[0]}var kj=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Xk(n)||n<=0||!Xk(r)||r<=0)},jj=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Ej=function(e){return e&&e.type&&Fk()(e.type)&&jj.indexOf(e.type)>=0},Oj=function(e,n,r){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var o=e;if((0,t.isValidElement)(e)&&(o=e.props),!Uk()(o))return null;var i={};return Object.keys(o).forEach((function(e){var t;(function(e,t,n,r){var o,i=null!==(o=null===cj||void 0===cj?void 0:cj[r])&&void 0!==o?o:[];return!Pk()(e)&&(r&&i.includes(t)||lj.includes(t))||n&&uj.includes(t)})(null===(t=o)||void 0===t?void 0:t[e],e,n,r)&&(i[e]=o[e])})),i},Cj=function e(n,r){if(n===r)return!0;var o=t.Children.count(n);if(o!==t.Children.count(r))return!1;if(0===o)return!0;if(1===o)return Pj(Array.isArray(n)?n[0]:n,Array.isArray(r)?r[0]:r);for(var i=0;i<o;i++){var a=n[i],l=r[i];if(Array.isArray(a)||Array.isArray(l)){if(!e(a,l))return!1}else if(!Pj(a,l))return!1}return!0},Pj=function(e,t){if(Ok()(e)&&Ok()(t))return!0;if(!Ok()(e)&&!Ok()(t)){var n=e.props||{},r=n.children,o=mj(n,pj),i=t.props||{},a=i.children,l=mj(i,hj);return r&&a?ij(o,l)&&Cj(r,a):!r&&!a&&ij(o,l)}return!1},Zj=function(e,t){var n=[],r={};return xj(e).forEach((function(e,o){if(Ej(e))n.push(e);else if(e){var i=gj(e.type),a=t[i]||{},l=a.handler,s=a.once;if(l&&(!s||!r[i])){var c=l(e,i,o);n.push(c),r[i]=!0}}})),n},_j=["children","width","height","viewBox","className","style","title","desc"];function Tj(){return Tj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tj.apply(this,arguments)}function Mj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Aj(e){var n=e.children,r=e.width,o=e.height,i=e.viewBox,a=e.className,l=e.style,s=e.title,c=e.desc,u=Mj(e,_j),d=i||{width:r,height:o,x:0,y:0},f=(0,Mi.Z)("recharts-surface",a);return t.createElement("svg",Tj({},Oj(u,!0,"svg"),{className:f,width:r,height:o,style:l,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height)}),t.createElement("title",null,s),t.createElement("desc",null,c),n)}var Rj=["children","className"];function Nj(){return Nj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nj.apply(this,arguments)}function Ij(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Dj=t.forwardRef((function(e,n){var r=e.children,o=e.className,i=Ij(e,Rj),a=(0,Mi.Z)("recharts-layer",o);return t.createElement("g",Nj({className:a},Oj(i,!0),{ref:n}),r)}));function zj(e){return zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zj(e)}function Lj(){return Lj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lj.apply(this,arguments)}function Bj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Fj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fj(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wj(Object(n),!0).forEach((function(t){qj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qj(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=zj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=zj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hj(e){return Array.isArray(e)&&Qk(e[0])&&Qk(e[1])?e.join(" ~ "):e}var Vj=function(e){var n=e.separator,r=void 0===n?" : ":n,o=e.contentStyle,i=void 0===o?{}:o,a=e.itemStyle,l=void 0===a?{}:a,s=e.labelStyle,c=void 0===s?{}:s,u=e.payload,d=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,m=e.label,v=e.labelFormatter,g=e.accessibilityLayer,y=void 0!==g&&g,b=Uj({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),x=Uj({margin:0},c),w=!Ok()(m),S=w?m:"",k=(0,Mi.Z)("recharts-default-tooltip",p),j=(0,Mi.Z)("recharts-tooltip-label",h);w&&v&&void 0!==u&&null!==u&&(S=v(m,u));var E=y?{role:"status","aria-live":"assertive"}:{};return t.createElement("div",Lj({className:k,style:b},E),t.createElement("p",{className:j,style:x},t.isValidElement(S)?S:"".concat(S)),function(){if(u&&u.length){var e=(f?Rk()(u,f):u).map((function(e,n){if("none"===e.type)return null;var o=Uj({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},l),i=e.formatter||d||Hj,a=e.value,s=e.name,c=a,f=s;if(i&&null!=c&&null!=f){var p=i(a,s,e,n,u);if(Array.isArray(p)){var h=Bj(p,2);c=h[0],f=h[1]}else c=p}return t.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(n),style:o},Qk(f)?t.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Qk(f)?t.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,t.createElement("span",{className:"recharts-tooltip-item-value"},c),t.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return t.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function Yj(e){return Yj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yj(e)}function Gj(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Yj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $j="recharts-tooltip-wrapper",Kj={visibility:"hidden"};function Xj(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return(0,Mi.Z)($j,Gj(Gj(Gj(Gj({},"".concat($j,"-right"),Xk(n)&&t&&Xk(t.x)&&n>=t.x),"".concat($j,"-left"),Xk(n)&&t&&Xk(t.x)&&n<t.x),"".concat($j,"-bottom"),Xk(r)&&t&&Xk(t.y)&&r>=t.y),"".concat($j,"-top"),Xk(r)&&t&&Xk(t.y)&&r<t.y))}function Qj(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,o=e.offsetTopLeft,i=e.position,a=e.reverseDirection,l=e.tooltipDimension,s=e.viewBox,c=e.viewBoxDimension;if(i&&Xk(i[r]))return i[r];var u=n[r]-l-o,d=n[r]+o;return t[r]?a[r]?u:d:a[r]?u<s[r]?Math.max(d,s[r]):Math.max(u,s[r]):d+l>s[r]+c?Math.max(u,s[r]):Math.max(d,s[r])}function Jj(e){return Jj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jj(e)}function eE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eE(Object(n),!0).forEach((function(t){sE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cE(r.key),r)}}function rE(e,t,n){return t=iE(t),function(e,t){if(t&&("object"===Jj(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return aE(e)}(e,oE()?Reflect.construct(t,n||[],iE(e).constructor):t.apply(e,n))}function oE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oE=function(){return!!e})()}function iE(e){return iE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},iE(e)}function aE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lE(e,t){return lE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lE(e,t)}function sE(e,t,n){return(t=cE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cE(e){var t=function(e,t){if("object"!=Jj(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jj(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jj(t)?t:String(t)}var uE=function(e){function n(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return sE(aE(e=rE(this,n,[].concat(r))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sE(aE(e),"handleKeyDown",(function(t){var n,r,o,i;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=e.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(o=null===(i=e.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),e}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lE(e,t)}(n,e),r=n,o=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,n=this.props,r=n.active,o=n.allowEscapeViewBox,i=n.animationDuration,a=n.animationEasing,l=n.children,s=n.coordinate,c=n.hasPayload,u=n.isAnimationActive,d=n.offset,f=n.position,p=n.reverseDirection,h=n.useTranslate3d,m=n.viewBox,v=n.wrapperStyle,g=function(e){var t,n,r=e.allowEscapeViewBox,o=e.coordinate,i=e.offsetTopLeft,a=e.position,l=e.reverseDirection,s=e.tooltipBox,c=e.useTranslate3d,u=e.viewBox;return{cssProperties:s.height>0&&s.width>0&&o?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:t=Qj({allowEscapeViewBox:r,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:l,tooltipDimension:s.width,viewBox:u,viewBoxDimension:u.width}),translateY:n=Qj({allowEscapeViewBox:r,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:l,tooltipDimension:s.height,viewBox:u,viewBoxDimension:u.height}),useTranslate3d:c}):Kj,cssClasses:Xj({translateX:t,translateY:n,coordinate:o})}}({allowEscapeViewBox:o,coordinate:s,offsetTopLeft:d,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:m}),y=g.cssClasses,b=g.cssProperties,x=tE(tE({transition:u&&r?"transform ".concat(i,"ms ").concat(a):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&c?"visible":"hidden",position:"absolute",top:0,left:0},v);return t.createElement("div",{tabIndex:-1,className:y,style:x,ref:function(t){e.wrapperNode=t}},l)}}],o&&nE(r.prototype,o),i&&nE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent),dE={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return dE[e]},set:function(e,t){if("string"===typeof e)dE[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){dE[t]=e[t]}))}}},fE=n(6339),pE=n.n(fE);function hE(e,t,n){return!0===t?pE()(e,n):Pk()(t)?pE()(e,t):e}function mE(e){return mE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mE(e)}function vE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vE(Object(n),!0).forEach((function(t){kE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jE(r.key),r)}}function bE(e,t,n){return t=wE(t),function(e,t){if(t&&("object"===mE(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xE()?Reflect.construct(t,n||[],wE(e).constructor):t.apply(e,n))}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xE=function(){return!!e})()}function wE(e){return wE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wE(e)}function SE(e,t){return SE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},SE(e,t)}function kE(e,t,n){return(t=jE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jE(e){var t=function(e,t){if("object"!=mE(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mE(t)?t:String(t)}function EE(e){return e.dataKey}var OE=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),bE(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&SE(e,t)}(n,e),r=n,o=[{key:"render",value:function(){var e=this,n=this.props,r=n.active,o=n.allowEscapeViewBox,i=n.animationDuration,a=n.animationEasing,l=n.content,s=n.coordinate,c=n.filterNull,u=n.isAnimationActive,d=n.offset,f=n.payload,p=n.payloadUniqBy,h=n.position,m=n.reverseDirection,v=n.useTranslate3d,g=n.viewBox,y=n.wrapperStyle,b=null!==f&&void 0!==f?f:[];c&&b.length&&(b=hE(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,EE));var x=b.length>0;return t.createElement(uE,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:u,active:r,coordinate:s,hasPayload:x,offset:d,position:h,reverseDirection:m,useTranslate3d:v,viewBox:g,wrapperStyle:y},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):"function"===typeof e?t.createElement(e,n):t.createElement(Vj,n)}(l,gE(gE({},this.props),{},{payload:b})))}}],o&&yE(r.prototype,o),i&&yE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);kE(OE,"displayName","Tooltip"),kE(OE,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!dE.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var CE=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]},PE=n(2085),ZE=n.n(PE),_E=(Math.abs,Math.atan2,Math.cos),TE=(Math.max,Math.min,Math.sin),ME=Math.sqrt,AE=Math.PI,RE=2*AE;var NE,IE,DE,zE,LE,BE,FE,WE,UE,qE,HE,VE,YE,GE,$E={draw:function(e,t){var n=ME(t/AE);e.moveTo(n,0),e.arc(0,0,n,0,RE)}},KE={draw:function(e,t){var n=ME(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},XE=ME(1/3),QE=2*XE,JE={draw:function(e,t){var n=ME(t/QE),r=n*XE;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},eO={draw:function(e,t){var n=ME(t),r=-n/2;e.rect(r,r,n,n)}},tO=TE(AE/10)/TE(7*AE/10),nO=TE(RE/10)*tO,rO=-_E(RE/10)*tO,oO={draw:function(e,t){var n=ME(.8908130915292852*t),r=nO*n,o=rO*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=RE*i/5,l=_E(a),s=TE(a);e.lineTo(s*n,-l*n),e.lineTo(l*r-s*o,s*r+l*o)}e.closePath()}},iO=ME(3),aO={draw:function(e,t){var n=-ME(t/(3*iO));e.moveTo(0,2*n),e.lineTo(-iO*n,-n),e.lineTo(iO*n,-n),e.closePath()}},lO=-.5,sO=ME(3)/2,cO=1/ME(12),uO=3*(cO/2+1),dO={draw:function(e,t){var n=ME(t/uO),r=n/2,o=n*cO,i=r,a=n*cO+n,l=-i,s=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(l,s),e.lineTo(lO*r-sO*o,sO*r+lO*o),e.lineTo(lO*i-sO*a,sO*i+lO*a),e.lineTo(lO*l-sO*s,sO*l+lO*s),e.lineTo(lO*r+sO*o,lO*o-sO*r),e.lineTo(lO*i+sO*a,lO*a-sO*i),e.lineTo(lO*l+sO*s,lO*s-sO*l),e.closePath()}};function fO(e){return function(){return e}}var pO=Math.PI,hO=2*pO,mO=1e-6,vO=hO-mO;function gO(e){this._+=e[0];for(var t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}var yO=function(){function e(t){W(this,e),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?gO:function(e){var t=Math.floor(e);if(!(t>=0))throw new Error("invalid digits: ".concat(e));if(t>15)return gO;var n=Math.pow(10,t);return function(e){this._+=e[0];for(var t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(t)}return H(e,[{key:"moveTo",value:function(e,t){this._append(NE||(NE=vs(["M",",",""])),this._x0=this._x1=+e,this._y0=this._y1=+t)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(IE||(IE=vs(["Z"]))))}},{key:"lineTo",value:function(e,t){this._append(DE||(DE=vs(["L",",",""])),this._x1=+e,this._y1=+t)}},{key:"quadraticCurveTo",value:function(e,t,n,r){this._append(zE||(zE=vs(["Q",",",",",",",""])),+e,+t,this._x1=+n,this._y1=+r)}},{key:"bezierCurveTo",value:function(e,t,n,r,o,i){this._append(LE||(LE=vs(["C",",",",",",",",",",",""])),+e,+t,+n,+r,this._x1=+o,this._y1=+i)}},{key:"arcTo",value:function(e,t,n,r,o){if(e=+e,t=+t,n=+n,r=+r,(o=+o)<0)throw new Error("negative radius: ".concat(o));var i=this._x1,a=this._y1,l=n-e,s=r-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append(BE||(BE=vs(["M",",",""])),this._x1=e,this._y1=t);else if(d>mO)if(Math.abs(u*l-s*c)>mO&&o){var f=n-i,p=r-a,h=l*l+s*s,m=f*f+p*p,v=Math.sqrt(h),g=Math.sqrt(d),y=o*Math.tan((pO-Math.acos((h+d-m)/(2*v*g)))/2),b=y/g,x=y/v;Math.abs(b-1)>mO&&this._append(WE||(WE=vs(["L",",",""])),e+b*c,t+b*u),this._append(UE||(UE=vs(["A",",",",0,0,",",",",",""])),o,o,+(u*f>c*p),this._x1=e+x*l,this._y1=t+x*s)}else this._append(FE||(FE=vs(["L",",",""])),this._x1=e,this._y1=t);else;}},{key:"arc",value:function(e,t,n,r,o,i){if(e=+e,t=+t,i=!!i,(n=+n)<0)throw new Error("negative radius: ".concat(n));var a=n*Math.cos(r),l=n*Math.sin(r),s=e+a,c=t+l,u=1^i,d=i?r-o:o-r;null===this._x1?this._append(qE||(qE=vs(["M",",",""])),s,c):(Math.abs(this._x1-s)>mO||Math.abs(this._y1-c)>mO)&&this._append(HE||(HE=vs(["L",",",""])),s,c),n&&(d<0&&(d=d%hO+hO),d>vO?this._append(VE||(VE=vs(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),n,n,u,e-a,t-l,n,n,u,this._x1=s,this._y1=c):d>mO&&this._append(YE||(YE=vs(["A",",",",0,",",",",",",",""])),n,n,+(d>=pO),u,this._x1=e+n*Math.cos(o),this._y1=t+n*Math.sin(o)))}},{key:"rect",value:function(e,t,n,r){this._append(GE||(GE=vs(["M",",","h","v","h","Z"])),this._x0=this._x1=+e,this._y0=this._y1=+t,n=+n,+r,-n)}},{key:"toString",value:function(){return this._}}]),e}();function bO(e){var t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{var r=Math.floor(n);if(!(r>=0))throw new RangeError("invalid digits: ".concat(n));t=r}return e},function(){return new yO(t)}}yO.prototype;ME(3),ME(3);function xO(e){return xO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xO(e)}var wO=["type","size","sizeType"];function SO(){return SO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SO.apply(this,arguments)}function kO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kO(Object(n),!0).forEach((function(t){EO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EO(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=xO(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xO(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OO(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var CO={symbolCircle:$E,symbolCross:KE,symbolDiamond:JE,symbolSquare:eO,symbolStar:oO,symbolTriangle:aO,symbolWye:dO},PO=Math.PI/180,ZO=function(e){var n=e.type,r=void 0===n?"circle":n,o=e.size,i=void 0===o?64:o,a=e.sizeType,l=void 0===a?"area":a,s=jO(jO({},OO(e,wO)),{},{type:r,size:i,sizeType:l}),c=s.className,u=s.cx,d=s.cy,f=Oj(s,!0);return u===+u&&d===+d&&i===+i?t.createElement("path",SO({},f,{className:(0,Mi.Z)("recharts-symbols",c),transform:"translate(".concat(u,", ").concat(d,")"),d:function(){var e=function(e){var t="symbol".concat(ZE()(e));return CO[t]||$E}(r),t=function(e,t){var n=null,r=bO(o);function o(){var o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return e="function"===typeof e?e:fO(e||$E),t="function"===typeof t?t:fO(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"===typeof t?t:fO(t),o):e},o.size=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),o):t},o.context=function(e){return arguments.length?(n=null==e?null:e,o):n},o}().type(e).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*PO;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(i,l,r));return t()}()})):null};function _O(e){return _O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_O(e)}function TO(){return TO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TO.apply(this,arguments)}function MO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function AO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LO(r.key),r)}}function RO(e,t,n){return t=IO(t),function(e,t){if(t&&("object"===_O(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NO()?Reflect.construct(t,n||[],IO(e).constructor):t.apply(e,n))}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NO=function(){return!!e})()}function IO(e){return IO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IO(e)}function DO(e,t){return DO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DO(e,t)}function zO(e,t,n){return(t=LO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LO(e){var t=function(e,t){if("object"!=_O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_O(t)?t:String(t)}ZO.registerSymbol=function(e,t){CO["symbol".concat(ZE()(e))]=t};var BO=32,FO=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),RO(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DO(e,t)}(n,e),r=n,o=[{key:"renderIcon",value:function(e){var n=this.props.inactiveColor,r=16,o=BO/6,i=BO/3,a=e.inactive?n:e.color;if("plainline"===e.type)return t.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:BO,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return t.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(BO,"M").concat(2*i,",").concat(r,"\n A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return t.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(BO,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(t.isValidElement(e.legendIcon)){var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MO(Object(n),!0).forEach((function(t){zO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete l.legendIcon,t.cloneElement(e.legendIcon,l)}return t.createElement(ZO,{fill:a,cx:r,cy:r,size:BO,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,n=this.props,r=n.payload,o=n.iconSize,i=n.layout,a=n.formatter,l=n.inactiveColor,s={x:0,y:0,width:BO,height:BO},c={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(n,r){var i=n.formatter||a,d=(0,Mi.Z)(zO(zO({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",n.inactive));if("none"===n.type)return null;var f=Pk()(n.value)?null:n.value;CE(!Pk()(n.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=n.inactive?l:n.color;return t.createElement("li",TO({className:d,style:c,key:"legend-item-".concat(r)},fj(e.props,n,r)),t.createElement(Aj,{width:o,height:o,viewBox:s,style:u},e.renderIcon(n)),t.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,n,r):f))}))}},{key:"render",value:function(){var e=this.props,n=e.payload,r=e.layout,o=e.align;if(!n||!n.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?o:"left"};return t.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],o&&AO(r.prototype,o),i&&AO(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function WO(e){return WO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WO(e)}zO(FO,"displayName","Legend"),zO(FO,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var UO=["ref"];function qO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qO(Object(n),!0).forEach((function(t){QO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function VO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,JO(r.key),r)}}function YO(e,t,n){return t=$O(t),function(e,t){if(t&&("object"===WO(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return KO(e)}(e,GO()?Reflect.construct(t,n||[],$O(e).constructor):t.apply(e,n))}function GO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(GO=function(){return!!e})()}function $O(e){return $O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$O(e)}function KO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){return XO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XO(e,t)}function QO(e,t,n){return(t=JO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JO(e){var t=function(e,t){if("object"!=WO(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=WO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==WO(t)?t:String(t)}function eC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tC(e){return e.value}var nC=function(e){function n(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return QO(KO(e=YO(this,n,[].concat(r))),"lastBoundingBox",{width:-1,height:-1}),e}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XO(e,t)}(n,e),r=n,o=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?HO({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,l=r.margin,s=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((s||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:l&&l.right||0}:{left:l&&l.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:l&&l.bottom||0}:{top:l&&l.top||0}),HO(HO({},t),n)}},{key:"render",value:function(){var e=this,n=this.props,r=n.content,o=n.width,i=n.height,a=n.wrapperStyle,l=n.payloadUniqBy,s=n.payload,c=HO(HO({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return t.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if("function"===typeof e)return t.createElement(e,n);n.ref;var r=eC(n,UO);return t.createElement(FO,r)}(r,HO(HO({},this.props),{},{payload:hE(s,l,tC)})))}}],i=[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&Xk(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],o&&VO(r.prototype,o),i&&VO(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rC.apply(this,arguments)}QO(nC,"displayName","Legend"),QO(nC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var oC=function(e){var n=e.cx,r=e.cy,o=e.r,i=e.className,a=(0,Mi.Z)("recharts-dot",i);return n===+n&&r===+r&&o===+o?t.createElement("circle",rC({},Oj(e,!1),dj(e),{className:a,cx:n,cy:r,r:o})):null},iC=n(2007),aC=n.n(iC),lC=Object.getOwnPropertyNames,sC=Object.getOwnPropertySymbols,cC=Object.prototype.hasOwnProperty;function uC(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function dC(e){return function(t,n,r){if(!t||!n||"object"!==typeof t||"object"!==typeof n)return e(t,n,r);var o=r.cache,i=o.get(t),a=o.get(n);if(i&&a)return i===n&&a===t;o.set(t,n),o.set(n,t);var l=e(t,n,r);return o.delete(t),o.delete(n),l}}function fC(e){return lC(e).concat(sC(e))}var pC=Object.hasOwn||function(e,t){return cC.call(e,t)};function hC(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var mC="_owner",vC=Object.getOwnPropertyDescriptor,gC=Object.keys;function yC(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function bC(e,t){return hC(e.getTime(),t.getTime())}function xC(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.entries(),l=0;(r=a.next())&&!r.done;){for(var s=t.entries(),c=!1,u=0;(o=s.next())&&!o.done;){var d=r.value,f=d[0],p=d[1],h=o.value,m=h[0],v=h[1];c||i[u]||!(c=n.equals(f,m,l,u,e,t,n)&&n.equals(p,v,f,m,e,t,n))||(i[u]=!0),u++}if(!c)return!1;l++}return!0}function wC(e,t,n){var r,o=gC(e),i=o.length;if(gC(t).length!==i)return!1;for(;i-- >0;){if((r=o[i])===mC&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!pC(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function SC(e,t,n){var r,o,i,a=fC(e),l=a.length;if(fC(t).length!==l)return!1;for(;l-- >0;){if((r=a[l])===mC&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!pC(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(o=vC(e,r),i=vC(t,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function kC(e,t){return hC(e.valueOf(),t.valueOf())}function jC(e,t){return e.source===t.source&&e.flags===t.flags}function EC(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.values();(r=a.next())&&!r.done;){for(var l=t.values(),s=!1,c=0;(o=l.next())&&!o.done;)s||i[c]||!(s=n.equals(r.value,o.value,r.value,o.value,e,t,n))||(i[c]=!0),c++;if(!s)return!1}return!0}function OC(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var CC="[object Arguments]",PC="[object Boolean]",ZC="[object Date]",_C="[object Map]",TC="[object Number]",MC="[object Object]",AC="[object RegExp]",RC="[object Set]",NC="[object String]",IC=Array.isArray,DC="function"===typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,zC=Object.assign,LC=Object.prototype.toString.call.bind(Object.prototype.toString);var BC=FC();FC({strict:!0}),FC({circular:!0}),FC({circular:!0,strict:!0}),FC({createInternalComparator:function(){return hC}}),FC({strict:!0,createInternalComparator:function(){return hC}}),FC({circular:!0,createInternalComparator:function(){return hC}}),FC({circular:!0,createInternalComparator:function(){return hC},strict:!0});function FC(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,o=e.createInternalComparator,i=e.createState,a=e.strict,l=void 0!==a&&a,s=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,o={areArraysEqual:r?SC:yC,areDatesEqual:bC,areMapsEqual:r?uC(xC,SC):xC,areObjectsEqual:r?SC:wC,arePrimitiveWrappersEqual:kC,areRegExpsEqual:jC,areSetsEqual:r?uC(EC,SC):EC,areTypedArraysEqual:r?SC:OC};if(n&&(o=zC({},o,n(o))),t){var i=dC(o.areArraysEqual),a=dC(o.areMapsEqual),l=dC(o.areObjectsEqual),s=dC(o.areSetsEqual);o=zC({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:l,areSetsEqual:s})}return o}(e),c=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,l=e.areSetsEqual,s=e.areTypedArraysEqual;return function(e,c,u){if(e===c)return!0;if(null==e||null==c||"object"!==typeof e||"object"!==typeof c)return e!==e&&c!==c;var d=e.constructor;if(d!==c.constructor)return!1;if(d===Object)return o(e,c,u);if(IC(e))return t(e,c,u);if(null!=DC&&DC(e))return s(e,c,u);if(d===Date)return n(e,c,u);if(d===RegExp)return a(e,c,u);if(d===Map)return r(e,c,u);if(d===Set)return l(e,c,u);var f=LC(e);return f===ZC?n(e,c,u):f===AC?a(e,c,u):f===_C?r(e,c,u):f===RC?l(e,c,u):f===MC?"function"!==typeof e.then&&"function"!==typeof c.then&&o(e,c,u):f===CC?o(e,c,u):(f===PC||f===TC||f===NC)&&i(e,c,u)}}(s),u=o?o(c):(t=c,function(e,n,r,o,i,a,l){return t(e,n,l)});return function(e){var t=e.circular,n=e.comparator,r=e.createState,o=e.equals,i=e.strict;if(r)return function(e,a){var l=r(),s=l.cache,c=void 0===s?t?new WeakMap:void 0:s,u=l.meta;return n(e,a,{cache:c,equals:o,meta:u,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return n(e,t,a)}}({circular:r,comparator:c,createState:i,equals:u,strict:l})}function WC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame((function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):function(e){"undefined"!==typeof requestAnimationFrame&&requestAnimationFrame(e)}(r)}))}function UC(e){return UC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UC(e)}function qC(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return HC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VC(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=qC(r),i=o[0],a=o.slice(1);return"number"===typeof i?void WC(n.bind(null,a),i):(n(i),void WC(n.bind(null,a)))}"object"===UC(r)&&e(r),"function"===typeof r&&r()}};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function YC(e){return YC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YC(e)}function GC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GC(Object(n),!0).forEach((function(t){KC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KC(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==YC(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==YC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===YC(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XC=function(e){return e},QC=function(e,t){return Object.keys(t).reduce((function(n,r){return $C($C({},n),{},KC({},r,e(r,t[r])))}),{})},JC=function(e,t,n){return e.map((function(e){return"".concat((r=e,r.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(n);var r})).join(",")};function eP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||nP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tP(e){return function(e){if(Array.isArray(e))return rP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||nP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nP(e,t){if(e){if("string"===typeof e)return rP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rP(e,t):void 0}}function rP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oP=1e-4,iP=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},aP=function(e,t){return e.map((function(e,n){return e*Math.pow(t,n)})).reduce((function(e,t){return e+t}))},lP=function(e,t){return function(n){var r=iP(e,t);return aP(r,n)}},sP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var l=t[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s=eP(l[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),4);r=s[0],o=s[1],i=s[2],a=s[3]}}[r,i,o,a].every((function(e){return"number"===typeof e&&e>=0&&e<=1}));var c,u,d=lP(r,i),f=lP(o,a),p=(c=r,u=i,function(e){var t=iP(c,u),n=[].concat(tP(t.map((function(e,t){return e*t})).slice(1)),[0]);return aP(n,e)}),h=function(e){return e>1?1:e<0?0:e},m=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=d(n)-t,i=p(n);if(Math.abs(o-t)<oP||i<oP)return f(n);n=h(n-o/i)}return f(n)};return m.isStepper=!1,m},cP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"===typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return sP(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,l=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,l=r*a/1e3+e;return Math.abs(l-t)<oP&&Math.abs(i)<oP?[t,0]:[l,i]};return l.isStepper=!0,l.dt=a,l}();default:if("cubic-bezier"===r.split("(")[0])return sP(r)}return"function"===typeof r?r:null};function uP(e){return uP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uP(e)}function dP(e){return function(e){if(Array.isArray(e))return gP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fP(Object(n),!0).forEach((function(t){hP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hP(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==uP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==uP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===uP(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||vP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vP(e,t){if(e){if("string"===typeof e)return gP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gP(e,t):void 0}}function gP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yP=function(e,t,n){return e+(t-e)*n},bP=function(e){return e.from!==e.to},xP=function e(t,n,r){var o=QC((function(e,n){if(bP(n)){var r=mP(t(n.from,n.to,n.velocity),2),o=r[0],i=r[1];return pP(pP({},n),{},{from:o,velocity:i})}return n}),n);return r<1?QC((function(e,t){return bP(t)?pP(pP({},t),{},{velocity:yP(t.velocity,o[e].velocity,r),from:yP(t.from,o[e].from,r)}):t}),n):e(t,o,r-1)},wP=function(e,t,n,r,o){var i,a,l,s,c=(i=e,a=t,[Object.keys(i),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),u=c.reduce((function(n,r){return pP(pP({},n),{},hP({},r,[e[r],t[r]]))}),{}),d=c.reduce((function(n,r){return pP(pP({},n),{},hP({},r,{from:e[r],velocity:0,to:t[r]}))}),{}),f=-1,p=function(){return null};return p=n.isStepper?function(r){l||(l=r);var i=(r-l)/n.dt;d=xP(n,d,i),o(pP(pP(pP({},e),t),QC((function(e,t){return t.from}),d))),l=r,Object.values(d).filter(bP).length&&(f=requestAnimationFrame(p))}:function(i){s||(s=i);var a=(i-s)/r,l=QC((function(e,t){return yP.apply(void 0,dP(t).concat([n(a)]))}),u);if(o(pP(pP(pP({},e),t),l)),a<1)f=requestAnimationFrame(p);else{var c=QC((function(e,t){return yP.apply(void 0,dP(t).concat([n(1)]))}),u);o(pP(pP(pP({},e),t),c))}},function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}};function SP(e){return SP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SP(e)}var kP=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function jP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EP(e){return function(e){if(Array.isArray(e))return OP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return OP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OP(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function CP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CP(Object(n),!0).forEach((function(t){ZP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZP(e,t,n){return(t=TP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TP(r.key),r)}}function TP(e){var t=function(e,t){if("object"!==SP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==SP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===SP(t)?t:String(t)}function MP(e,t){return MP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},MP(e,t)}function AP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IP(e);if(t){var o=IP(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RP(this,n)}}function RP(e,t){if(t&&("object"===SP(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return NP(e)}function NP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IP(e){return IP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IP(e)}var DP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&MP(e,t)}(a,e);var n,r,o,i=AP(a);function a(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,e,t)).props,o=r.isActive,l=r.attributeName,s=r.from,c=r.to,u=r.steps,d=r.children,f=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(NP(n)),n.changeStyle=n.changeStyle.bind(NP(n)),!o||f<=0)return n.state={style:{}},"function"===typeof d&&(n.state={style:c}),RP(n);if(u&&u.length)n.state={style:u[0].style};else if(s){if("function"===typeof d)return n.state={style:s},RP(n);n.state={style:l?ZP({},l,s):s}}else n.state={style:{}};return n}return n=a,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,a=t.to,l=t.from,s=this.state.style;if(r)if(n){if(!(BC(e.to,a)&&e.canBegin&&e.isActive)){var c=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=c||i?l:e.to;if(this.state&&s){var d={style:o?ZP({},o,u):u};(o&&s[o]!==u||!o&&s!==u)&&this.setState(d)}this.runAnimation(PP(PP({},this.props),{},{from:u,begin:0}))}}else{var f={style:o?ZP({},o,a):a};this.state&&s&&(o&&s[o]!==a||!o&&s!==a)&&this.setState(f)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,o=e.duration,i=e.easing,a=e.begin,l=e.onAnimationEnd,s=e.onAnimationStart,c=wP(n,r,cP(i),o,this.changeStyle);this.manager.start([s,a,function(){t.stopJSAnimation=c()},o,l])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,o=e.onAnimationStart,i=n[0],a=i.style,l=i.duration,s=void 0===l?0:l;return this.manager.start([o].concat(EP(n.reduce((function(e,r,o){if(0===o)return e;var i=r.duration,a=r.easing,l=void 0===a?"ease":a,s=r.style,c=r.properties,u=r.onAnimationEnd,d=o>0?n[o-1]:r,f=c||Object.keys(s);if("function"===typeof l||"spring"===l)return[].concat(EP(e),[t.runJSAnimation.bind(t,{from:d.style,to:s,duration:i,easing:l}),i]);var p=JC(f,i,l),h=PP(PP(PP({},d.style),s),{},{transition:p});return[].concat(EP(e),[h,i,u]).filter(XC)}),[a,Math.max(s,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=VC());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,l=e.onAnimationEnd,s=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(s.length>1)this.runStepAnimation(e);else{var d=r?ZP({},r,o):o,f=JC(Object.keys(d),n,i);u.start([a,t,PP(PP({},d),{},{transition:f}),n,l])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,n=e.children,r=(e.begin,e.duration),o=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,jP(e,kP)),a=t.Children.count(n),l=this.state.style;if("function"===typeof n)return n(l);if(!o||0===a||r<=0)return n;var s=function(e){var n=e.props,r=n.style,o=void 0===r?{}:r,a=n.className;return(0,t.cloneElement)(e,PP(PP({},i),{},{style:PP(PP({},o),l),className:a}))};return 1===a?s(t.Children.only(n)):t.createElement("div",null,t.Children.map(n,(function(e){return s(e)})))}}],r&&_P(n.prototype,r),o&&_P(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.PureComponent);DP.displayName="Animate",DP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},DP.propTypes={from:aC().oneOfType([aC().object,aC().string]),to:aC().oneOfType([aC().object,aC().string]),attributeName:aC().string,duration:aC().number,begin:aC().number,easing:aC().oneOfType([aC().string,aC().func]),steps:aC().arrayOf(aC().shape({duration:aC().number.isRequired,style:aC().object.isRequired,easing:aC().oneOfType([aC().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),aC().func]),properties:aC().arrayOf("string"),onAnimationEnd:aC().func})),children:aC().oneOfType([aC().node,aC().func]),isActive:aC().bool,canBegin:aC().bool,onAnimationEnd:aC().func,shouldReAnimate:aC().bool,onAnimationStart:aC().func,onAnimationReStart:aC().func};var zP=DP,LP=["children","appearOptions","enterOptions","leaveOptions"];function BP(e){return BP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BP(e)}function FP(){return FP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FP.apply(this,arguments)}function WP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function UP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UP(Object(n),!0).forEach((function(t){KP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XP(r.key),r)}}function VP(e,t){return VP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},VP(e,t)}function YP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$P(e);if(t){var o=$P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===BP(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GP(e)}(this,n)}}function GP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e){return $P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$P(e)}function KP(e,t,n){return(t=XP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XP(e){var t=function(e,t){if("object"!==BP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==BP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===BP(t)?t:String(t)}var QP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(n)?n:0},JP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VP(e,t)}(a,e);var n,r,o,i=YP(a);function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),KP(GP(e=i.call(this)),"handleEnter",(function(t,n){var r=e.props,o=r.appearOptions,i=r.enterOptions;e.handleStyleActive(n?o:i)})),KP(GP(e),"handleExit",(function(){var t=e.props.leaveOptions;e.handleStyleActive(t)})),e.state={isActive:!1},e}return n=a,r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(qP(qP({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,n=e.enterOptions,r=e.leaveOptions;return QP(t)+QP(n)+QP(r)}},{key:"render",value:function(){var e=this,n=this.props,r=n.children,o=(n.appearOptions,n.enterOptions,n.leaveOptions,WP(n,LP));return t.createElement(Fa,FP({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return t.createElement(zP,e.state,t.Children.only(r))}))}}],r&&HP(n.prototype,r),o&&HP(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.Component);JP.propTypes={appearOptions:aC().object,enterOptions:aC().object,leaveOptions:aC().object,children:aC().element};var eZ=JP;function tZ(e){var n=e.component,r=e.children,o=e.appear,i=e.enter,a=e.leave;return t.createElement(Ss,{component:n},t.Children.map(r,(function(e,n){return t.createElement(eZ,{appearOptions:o,enterOptions:i,leaveOptions:a,key:"child-".concat(n)},e)})))}tZ.propTypes={appear:aC().object,enter:aC().object,leave:aC().object,children:aC().oneOfType([aC().array,aC().element]),component:aC().any},tZ.defaultProps={component:"span"};var nZ=zP;function rZ(e){return rZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rZ(e)}function oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oZ.apply(this,arguments)}function iZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return aZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aZ(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lZ(Object(n),!0).forEach((function(t){cZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cZ(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rZ(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uZ=function(e,t,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),l=r>=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(e,",").concat(t+l*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+s*u[0],",").concat(t)),i+="L ".concat(e+n-s*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+l*u[1])),i+="L ".concat(e+n,",").concat(t+r-l*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n ").concat(e+n-s*u[2],",").concat(t+r)),i+="L ".concat(e+s*u[3],",").concat(t+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-l*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(e,",").concat(t+l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+s*f,",").concat(t,"\n L ").concat(e+n-s*f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+l*f,"\n L ").concat(e+n,",").concat(t+r-l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-s*f,",").concat(t+r,"\n L ").concat(e+s*f,",").concat(t+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-l*f," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},dZ=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,l=t.height;if(Math.abs(a)>0&&Math.abs(l)>0){var s=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+l),d=Math.max(i,i+l);return n>=s&&n<=c&&r>=u&&r<=d}return!1},fZ={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},pZ=function(e){var n=sZ(sZ({},fZ),e),r=(0,t.useRef)(),o=iZ((0,t.useState)(-1),2),i=o[0],a=o[1];(0,t.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch(t){}}),[]);var l=n.x,s=n.y,c=n.width,u=n.height,d=n.radius,f=n.className,p=n.animationEasing,h=n.animationDuration,m=n.animationBegin,v=n.isAnimationActive,g=n.isUpdateAnimationActive;if(l!==+l||s!==+s||c!==+c||u!==+u||0===c||0===u)return null;var y=(0,Mi.Z)("recharts-rectangle",f);return g?t.createElement(nZ,{canBegin:i>0,from:{width:c,height:u,x:l,y:s},to:{width:c,height:u,x:l,y:s},duration:h,animationEasing:p,isActive:g},(function(e){var o=e.width,a=e.height,l=e.x,s=e.y;return t.createElement(nZ,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:h,isActive:v,easing:p},t.createElement("path",oZ({},Oj(n,!0),{className:y,d:uZ(l,s,o,a,d),ref:r})))})):t.createElement("path",oZ({},Oj(n,!0),{className:y,d:uZ(l,s,c,u,d)}))};function hZ(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function mZ(e,t){switch(arguments.length){case 0:break;case 1:"function"===typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"===typeof t?this.interpolator(t):this.range(t)}return this}var vZ=function(e){$(n,e);var t=K(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xZ;if(W(this,n),r=t.call(this),Object.defineProperties(V(r),{_intern:{value:new Map},_key:{value:o}}),null!=e){var i,a=J(e);try{for(a.s();!(i=a.n()).done;){var l=(0,D.Z)(i.value,2),s=l[0],c=l[1];r.set(s,c)}}catch(u){a.e(u)}finally{a.f()}}return r}return H(n,[{key:"get",value:function(e){return G(Y(n.prototype),"get",this).call(this,gZ(this,e))}},{key:"has",value:function(e){return G(Y(n.prototype),"has",this).call(this,gZ(this,e))}},{key:"set",value:function(e,t){return G(Y(n.prototype),"set",this).call(this,yZ(this,e),t)}},{key:"delete",value:function(e){return G(Y(n.prototype),"delete",this).call(this,bZ(this,e))}}]),n}(X(Map));function gZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)?n.get(r):t}function yZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)?n.get(r):(n.set(r,t),t)}function bZ(e,t){var n=e._intern,r=(0,e._key)(t);return n.has(r)&&(t=n.get(r),n.delete(r)),t}function xZ(e){return null!==e&&"object"===typeof e?e.valueOf():e}var wZ=Symbol("implicit");function SZ(){var e=new vZ,t=[],n=[],r=wZ;function o(o){var i=e.get(o);if(void 0===i){if(r!==wZ)return r;e.set(o,i=t.push(o)-1)}return n[i%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new vZ;var r,i=J(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;e.has(a)||e.set(a,t.push(a)-1)}}catch(l){i.e(l)}finally{i.f()}return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return SZ(t,n).unknown(r)},hZ.apply(o,arguments),o}function kZ(){var e,t,n=SZ().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,l=!1,s=0,c=0,u=.5;function d(){var n=r().length,d=a<i,f=d?a:i,p=d?i:a;e=(p-f)/Math.max(1,n-s+2*c),l&&(e=Math.floor(e)),f+=(p-f-e*(n-s))*u,t=e*(1-s),l&&(f=Math.round(f),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return f+e*t}));return o(d?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){var t;return arguments.length?(t=(0,D.Z)(e,2),i=t[0],a=t[1],i=+i,a=+a,d()):[i,a]},n.rangeRound=function(e){var t;return t=(0,D.Z)(e,2),i=t[0],a=t[1],i=+i,a=+a,l=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(l=!!e,d()):l},n.padding=function(e){return arguments.length?(s=Math.min(1,c=+e),d()):s},n.paddingInner=function(e){return arguments.length?(s=Math.min(1,e),d()):s},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return kZ(r(),[i,a]).round(l).paddingInner(s).paddingOuter(c).align(u)},hZ.apply(d(),arguments)}function jZ(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return jZ(t())},e}function EZ(){return jZ(kZ.apply(null,arguments).paddingInner(1))}function OZ(e){return OZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OZ(e)}function CZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CZ(Object(n),!0).forEach((function(t){ZZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZZ(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=OZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=OZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==OZ(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _Z={widthCache:{},cacheCount:0},TZ={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},MZ="recharts_measurement_span";var AZ=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||dE.isSsr)return{width:0,height:0};var n=function(e){var t=PZ({},e);return Object.keys(t).forEach((function(e){t[e]||delete t[e]})),t}(t),r=JSON.stringify({text:e,copyStyle:n});if(_Z.widthCache[r])return _Z.widthCache[r];try{var o=document.getElementById(MZ);o||((o=document.createElement("span")).setAttribute("id",MZ),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var i=PZ(PZ({},TZ),n);Object.assign(o.style,i),o.textContent="".concat(e);var a=o.getBoundingClientRect(),l={width:a.width,height:a.height};return _Z.widthCache[r]=l,++_Z.cacheCount>2e3&&(_Z.cacheCount=0,_Z.widthCache={}),l}catch(s){return{width:0,height:0}}};function RZ(e){return RZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RZ(e)}function NZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return IZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IZ(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zZ(r.key),r)}}function zZ(e){var t=function(e,t){if("object"!=RZ(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=RZ(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==RZ(t)?t:String(t)}var LZ=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,BZ=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,FZ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,WZ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,UZ={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},qZ=Object.keys(UZ),HZ="NaN";var VZ=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""===n||FZ.test(n)||(this.num=NaN,this.unit=""),qZ.includes(n)&&(this.num=function(e,t){return e*UZ[t]}(t,n),this.unit="px")}var t,n,r;return t=e,r=[{key:"parse",value:function(t){var n,r=NZ(null!==(n=WZ.exec(t))&&void 0!==n?n:[],3),o=r[1],i=r[2];return new e(parseFloat(o),null!==i&&void 0!==i?i:"")}}],(n=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&DZ(t.prototype,n),r&&DZ(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function YZ(e){if(e.includes(HZ))return HZ;for(var t=e;t.includes("*")||t.includes("/");){var n,r=NZ(null!==(n=LZ.exec(t))&&void 0!==n?n:[],4),o=r[1],i=r[2],a=r[3],l=VZ.parse(null!==o&&void 0!==o?o:""),s=VZ.parse(null!==a&&void 0!==a?a:""),c="*"===i?l.multiply(s):l.divide(s);if(c.isNaN())return HZ;t=t.replace(LZ,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=NZ(null!==(u=BZ.exec(t))&&void 0!==u?u:[],4),f=d[1],p=d[2],h=d[3],m=VZ.parse(null!==f&&void 0!==f?f:""),v=VZ.parse(null!==h&&void 0!==h?h:""),g="+"===p?m.add(v):m.subtract(v);if(g.isNaN())return HZ;t=t.replace(BZ,g.toString())}return t}var GZ=/\(([^()]*)\)/;function $Z(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=NZ(GZ.exec(t),2)[1];t=t.replace(GZ,YZ(n))}return t}(t),t=YZ(t)}function KZ(e){var t=function(e){try{return $Z(e)}catch(t){return HZ}}(e.slice(5,-1));return t===HZ?"":t}var XZ=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],QZ=["dx","dy","angle","className","breakAll"];function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(this,arguments)}function e_(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function t_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return n_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n_(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var r_=/[ \f\n\r\t\v\u2028\u2029]+/,o_=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var o=[];return Ok()(t)||(o=n?t.toString().split(""):t.toString().split(r_)),{wordsWithComputedWidth:o.map((function(e){return{word:e,width:AZ(e,r).width}})),spaceWidth:n?0:AZ("\xa0",r).width}}catch(i){return null}},i_=function(e){return[{words:Ok()(e)?[]:e.toString().split(r_)}]},a_=function(e){var t=e.width,n=e.scaleToFit,r=e.children,o=e.style,i=e.breakAll,a=e.maxLines;if((t||n)&&!dE.isSsr){var l=o_({breakAll:i,children:r,style:o});return l?function(e,t,n,r,o){var i=e.maxLines,a=e.children,l=e.style,s=e.breakAll,c=Xk(i),u=a,d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,l=e[e.length-1];if(l&&(null==r||o||l.width+a+n<Number(r)))l.words.push(i),l.width+=a+n;else{var s={words:[i],width:a};e.push(s)}return e}),[])},f=d(t);if(!c)return f;for(var p,h=function(e){var t=u.slice(0,e),n=o_({breakAll:s,style:l,children:t+"\u2026"}).wordsWithComputedWidth,o=d(n),a=o.length>i||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>Number(r);return[a,o]},m=0,v=u.length-1,g=0;m<=v&&g<=u.length-1;){var y=Math.floor((m+v)/2),b=t_(h(y-1),2),x=b[0],w=b[1],S=t_(h(y),1)[0];if(x||S||(m=y+1),x&&S&&(v=y-1),!x&&S){p=w;break}g++}return p||f}({breakAll:i,children:r,maxLines:a,style:o},l.wordsWithComputedWidth,l.spaceWidth,t,n):i_(r)}return i_(r)},l_="#808080",s_=function(e){var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.lineHeight,l=void 0===a?"1em":a,s=e.capHeight,c=void 0===s?"0.71em":s,u=e.scaleToFit,d=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,m=void 0===h?"end":h,v=e.fill,g=void 0===v?l_:v,y=e_(e,XZ),b=(0,t.useMemo)((function(){return a_({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:d,style:y.style,width:y.width})}),[y.breakAll,y.children,y.maxLines,d,y.style,y.width]),x=y.dx,w=y.dy,S=y.angle,k=y.className,j=y.breakAll,E=e_(y,QZ);if(!Qk(r)||!Qk(i))return null;var O,C=r+(Xk(x)?x:0),P=i+(Xk(w)?w:0);switch(m){case"start":O=KZ("calc(".concat(c,")"));break;case"middle":O=KZ("calc(".concat((b.length-1)/2," * -").concat(l," + (").concat(c," / 2))"));break;default:O=KZ("calc(".concat(b.length-1," * -").concat(l,")"))}var Z=[];if(d){var _=b[0].width,T=y.width;Z.push("scale(".concat((Xk(T)?T/_:1)/_,")"))}return S&&Z.push("rotate(".concat(S,", ").concat(C,", ").concat(P,")")),Z.length&&(E.transform=Z.join(" ")),t.createElement("text",JZ({},Oj(E,!0),{x:C,y:P,className:(0,Mi.Z)("recharts-text",k),textAnchor:p,fill:g.includes("url")?l_:g}),b.map((function(e,n){var r=e.words.join(j?"":" ");return t.createElement("tspan",{x:C,dy:0===n?O:l,key:r},r)})))},c_=Math.sqrt(50),u_=Math.sqrt(10),d_=Math.sqrt(2);function f_(e,t,n){var r,o,i,a=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(a)),s=a/Math.pow(10,l),c=s>=c_?10:s>=u_?5:s>=d_?2:1;return l<0?(i=Math.pow(10,-l)/c,(r=Math.round(e*i))/i<e&&++r,(o=Math.round(t*i))/i>t&&--o,i=-i):(i=Math.pow(10,l)*c,(r=Math.round(e/i))*i<e&&++r,(o=Math.round(t/i))*i>t&&--o),o<r&&.5<=n&&n<2?f_(e,t,2*n):[r,o,i]}function p_(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];var r=t<e,o=r?f_(t,e,n):f_(e,t,n),i=(0,D.Z)(o,3),a=i[0],l=i[1],s=i[2];if(!(l>=a))return[];var c=l-a+1,u=new Array(c);if(r)if(s<0)for(var d=0;d<c;++d)u[d]=(l-d)/-s;else for(var f=0;f<c;++f)u[f]=(l-f)*s;else if(s<0)for(var p=0;p<c;++p)u[p]=(a+p)/-s;else for(var h=0;h<c;++h)u[h]=(a+h)*s;return u}function h_(e,t,n){return f_(e=+e,t=+t,n=+n)[2]}function m_(e,t,n){n=+n;var r=(t=+t)<(e=+e),o=r?h_(t,e,n):h_(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function v_(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function g_(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function y_(e){var t,n,r;function o(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(o<i){if(0!==t(r,r))return i;do{var a=o+i>>>1;n(e[a],r)<0?o=a+1:i=a}while(o<i)}return o}return 2!==e.length?(t=v_,n=function(t,n){return v_(e(t),n)},r=function(t,n){return e(t)-n}):(t=e===v_||e===g_?e:b_,n=e,r=e),{left:o,center:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=o(e,t,n,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length)-1);return i>n&&r(e[i-1],t)>-r(e[i],t)?i-1:i},right:function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(o<i){if(0!==t(r,r))return i;do{var a=o+i>>>1;n(e[a],r)<=0?o=a+1:i=a}while(o<i)}return o}}}function b_(){return 0}var x_=R().mark(S_);function w_(e){return null===e?NaN:+e}function S_(e,t){var n,r,o,i,a,l,s;return R().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(void 0!==t){c.next=21;break}n=J(e),c.prev=2,n.s();case 4:if((r=n.n()).done){c.next=11;break}if(!(null!=(o=r.value)&&(o=+o)>=o)){c.next=9;break}return c.next=9,o;case 9:c.next=4;break;case 11:c.next=16;break;case 13:c.prev=13,c.t0=c.catch(2),n.e(c.t0);case 16:return c.prev=16,n.f(),c.finish(16);case 19:c.next=40;break;case 21:i=-1,a=J(e),c.prev=23,a.s();case 25:if((l=a.n()).done){c.next=32;break}if(s=l.value,!(null!=(s=t(s,++i,e))&&(s=+s)>=s)){c.next=30;break}return c.next=30,s;case 30:c.next=25;break;case 32:c.next=37;break;case 34:c.prev=34,c.t1=c.catch(23),a.e(c.t1);case 37:return c.prev=37,a.f(),c.finish(37);case 40:case"end":return c.stop()}}),x_,null,[[2,13,16,19],[23,34,37,40]])}var k_=y_(v_),j_=k_.right,E_=(k_.left,y_(w_).center,j_);function O_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function C_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function P_(){}var Z_=.7,__=1/Z_,T_="\\s*([+-]?\\d+)\\s*",M_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",A_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",R_=/^#([0-9a-f]{3,8})$/,N_=new RegExp("^rgb\\(".concat(T_,",").concat(T_,",").concat(T_,"\\)$")),I_=new RegExp("^rgb\\(".concat(A_,",").concat(A_,",").concat(A_,"\\)$")),D_=new RegExp("^rgba\\(".concat(T_,",").concat(T_,",").concat(T_,",").concat(M_,"\\)$")),z_=new RegExp("^rgba\\(".concat(A_,",").concat(A_,",").concat(A_,",").concat(M_,"\\)$")),L_=new RegExp("^hsl\\(".concat(M_,",").concat(A_,",").concat(A_,"\\)$")),B_=new RegExp("^hsla\\(".concat(M_,",").concat(A_,",").concat(A_,",").concat(M_,"\\)$")),F_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function W_(){return this.rgb().formatHex()}function U_(){return this.rgb().formatRgb()}function q_(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=R_.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?H_(t):3===n?new G_(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?V_(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?V_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=N_.exec(e))?new G_(t[1],t[2],t[3],1):(t=I_.exec(e))?new G_(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=D_.exec(e))?V_(t[1],t[2],t[3],t[4]):(t=z_.exec(e))?V_(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=L_.exec(e))?eT(t[1],t[2]/100,t[3]/100,1):(t=B_.exec(e))?eT(t[1],t[2]/100,t[3]/100,t[4]):F_.hasOwnProperty(e)?H_(F_[e]):"transparent"===e?new G_(NaN,NaN,NaN,0):null}function H_(e){return new G_(e>>16&255,e>>8&255,255&e,1)}function V_(e,t,n,r){return r<=0&&(e=t=n=NaN),new G_(e,t,n,r)}function Y_(e,t,n,r){return 1===arguments.length?((o=e)instanceof P_||(o=q_(o)),o?new G_((o=o.rgb()).r,o.g,o.b,o.opacity):new G_):new G_(e,t,n,null==r?1:r);var o}function G_(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function $_(){return"#".concat(J_(this.r)).concat(J_(this.g)).concat(J_(this.b))}function K_(){var e=X_(this.opacity);return"".concat(1===e?"rgb(":"rgba(").concat(Q_(this.r),", ").concat(Q_(this.g),", ").concat(Q_(this.b)).concat(1===e?")":", ".concat(e,")"))}function X_(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Q_(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function J_(e){return((e=Q_(e))<16?"0":"")+e.toString(16)}function eT(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new nT(e,t,n,r)}function tT(e){if(e instanceof nT)return new nT(e.h,e.s,e.l,e.opacity);if(e instanceof P_||(e=q_(e)),!e)return new nT;if(e instanceof nT)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new nT(a,l,s,e.opacity)}function nT(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function rT(e){return(e=(e||0)%360)<0?e+360:e}function oT(e){return Math.max(0,Math.min(1,e||0))}function iT(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function aT(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}O_(P_,q_,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:W_,formatHex:W_,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tT(this).formatHsl()},formatRgb:U_,toString:U_}),O_(G_,Y_,C_(P_,{brighter:function(e){return e=null==e?__:Math.pow(__,e),new G_(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Z_:Math.pow(Z_,e),new G_(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},clamp:function(){return new G_(Q_(this.r),Q_(this.g),Q_(this.b),X_(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$_,formatHex:$_,formatHex8:function(){return"#".concat(J_(this.r)).concat(J_(this.g)).concat(J_(this.b)).concat(J_(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:K_,toString:K_})),O_(nT,(function(e,t,n,r){return 1===arguments.length?tT(e):new nT(e,t,n,null==r?1:r)}),C_(P_,{brighter:function(e){return e=null==e?__:Math.pow(__,e),new nT(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Z_:Math.pow(Z_,e),new nT(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new G_(iT(e>=240?e-240:e+120,o,r),iT(e,o,r),iT(e<120?e+240:e-120,o,r),this.opacity)},clamp:function(){return new nT(rT(this.h),oT(this.s),oT(this.l),X_(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=X_(this.opacity);return"".concat(1===e?"hsl(":"hsla(").concat(rT(this.h),", ").concat(100*oT(this.s),"%, ").concat(100*oT(this.l),"%").concat(1===e?")":", ".concat(e,")"))}}));var lT=function(e){return function(){return e}};function sT(e,t){return function(n){return e+n*t}}function cT(e){return 1===(e=+e)?uT:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lT(isNaN(t)?n:t)}}function uT(e,t){var n=t-e;return n?sT(e,n):lT(isNaN(e)?t:e)}var dT=function e(t){var n=cT(t);function r(e,t){var r=n((e=Y_(e)).r,(t=Y_(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=uT(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function fT(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=Y_(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}fT((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return aT((n-r/t)*t,a,o,i,l)}})),fT((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return aT((n-r/t)*t,o,i,a,l)}}));function pT(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=wT(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function hT(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function mT(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function vT(e,t){var n,r={},o={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=wT(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var gT=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yT=new RegExp(gT.source,"g");function bT(e,t){var n,r,o,i=gT.lastIndex=yT.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=gT.exec(e))&&(r=yT.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:mT(n,r)})),i=yT.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function xT(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function wT(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?lT(t):("number"===o?mT:"string"===o?(n=q_(t))?(t=n,dT):bT:t instanceof q_?dT:t instanceof Date?hT:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?pT:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?vT:mT:xT))(e,t)}function ST(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function kT(e){return+e}var jT=[0,1];function ET(e){return e}function OT(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function CT(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=OT(o,r),i=n(a,i)):(r=OT(r,o),i=n(i,a)),function(e){return i(r(e))}}function PT(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=OT(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=E_(e,t,1,r)-1;return i[n](o[n](t))}}function ZT(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function _T(){var e,t,n,r,o,i,a=jT,l=jT,s=wT,c=ET;function u(){var e=Math.min(a.length,l.length);return c!==ET&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?PT:CT,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(l,a.map(e),mT)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,kT),u()):a.slice()},d.range=function(e){return arguments.length?(l=Array.from(e),u()):l.slice()},d.rangeRound=function(e){return l=Array.from(e),s=ST,u()},d.clamp=function(e){return arguments.length?(c=!!e||ET,u()):c!==ET},d.interpolate=function(e){return arguments.length?(s=e,u()):s},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function TT(){return _T()(ET,ET)}var MT,AT=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function RT(e){if(!(t=AT.exec(e)))throw new Error("invalid format: "+e);var t;return new NT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function NT(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function IT(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function DT(e){return(e=IT(Math.abs(e)))?e[1]:NaN}function zT(e,t){var n=IT(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}RT.prototype=NT.prototype,NT.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var LT={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return zT(100*e,t)},r:zT,s:function(e,t){var n=IT(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(MT=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+IT(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function BT(e){return e}var FT,WT,UT,qT=Array.prototype.map,HT=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function VT(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?BT:(t=qT.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?BT:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(qT.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"\u2212":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=RT(e)).fill,n=e.align,d=e.sign,f=e.symbol,p=e.zero,h=e.width,m=e.comma,v=e.precision,g=e.trim,y=e.type;"n"===y?(m=!0,y="g"):LT[y]||(void 0===v&&(v=12),g=!0,y="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===f?i:/[%p]/.test(y)?s:"",w=LT[y],S=/[defgprs%]/.test(y);function k(e){var o,i,s,f=b,k=x;if("c"===y)k=w(e)+k,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),j&&0===+e&&"+"!==d&&(j=!1),f=(j?"("===d?d:c:"-"===d||"("===d?"":d)+f,k=("s"===y?HT[8+MT/3]:"")+k+(j&&"("===d?")":""),S)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){k=(46===s?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}m&&!p&&(e=r(e,1/0));var E=f.length+e.length+k.length,O=E<h?new Array(h-E+1).join(t):"";switch(m&&p&&(e=r(O+e,O.length?h-k.length:1/0),O=""),n){case"<":e=f+e+k+O;break;case"=":e=f+O+e+k;break;case"^":e=O.slice(0,E=O.length>>1)+f+e+k+O.slice(E);break;default:e=O+f+e+k}return l(e)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=RT(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(DT(t)/3))),o=Math.pow(10,-r),i=HT[8+r/3];return function(e){return n(o*e)+i}}}}function YT(e,t,n,r){var o,i=m_(e,t,n);switch((r=RT(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(DT(t)/3)))-DT(Math.abs(e)))}(i,a))||(r.precision=o),UT(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,DT(t)-DT(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-DT(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return WT(r)}function GT(e){var t=e.domain;return e.ticks=function(e){var n=t();return p_(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return YT(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,l=i.length-1,s=i[a],c=i[l],u=10;for(c<s&&(o=s,s=c,c=o,o=a,a=l,l=o);u-- >0;){if((o=h_(s,c,n))===r)return i[a]=s,i[l]=c,t(i);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function $T(){var e=TT();return e.copy=function(){return ZT(e,$T())},hZ.apply(e,arguments),GT(e)}function KT(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,kT),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return KT(e).unknown(t)},e=arguments.length?Array.from(e,kT):[0,1],GT(n)}function XT(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function QT(e){return Math.log(e)}function JT(e){return Math.exp(e)}function eM(e){return-Math.log(-e)}function tM(e){return-Math.exp(-e)}function nM(e){return isFinite(e)?+("1e"+e):e<0?0:e}function rM(e){return function(t,n){return-e(-t,n)}}function oM(e){var t,n,r=e(QT,JT),o=r.domain,i=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(i),n=function(e){return 10===e?nM:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(i),o()[0]<0?(t=rM(t),n=rM(n),e(eM,tM)):e(QT,JT),r}return r.base=function(e){return arguments.length?(i=+e,a()):i},r.domain=function(e){return arguments.length?(o(e),a()):o()},r.ticks=function(e){var r=o(),a=r[0],l=r[r.length-1],s=l<a;if(s){var c=[l,a];a=c[0],l=c[1]}var u,d,f=t(a),p=t(l),h=null==e?10:+e,m=[];if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<i;++u)if(!((d=f<0?u/n(-f):u*n(f))<a)){if(d>l)break;m.push(d)}}else for(;f<=p;++f)for(u=i-1;u>=1;--u)if(!((d=f>0?u/n(-f):u*n(f))<a)){if(d>l)break;m.push(d)}2*m.length<h&&(m=p_(a,l,h))}else m=p_(f,p,Math.min(p-f,h)).map(n);return s?m.reverse():m},r.tickFormat=function(e,o){if(null==e&&(e=10),null==o&&(o=10===i?"s":","),"function"!==typeof o&&(i%1||null!=(o=RT(o)).precision||(o.trim=!0),o=WT(o)),e===1/0)return o;var a=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i<i-.5&&(r*=i),r<=a?o(e):""}},r.nice=function(){return o(XT(o(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function iM(){var e=oM(_T()).domain([1,10]);return e.copy=function(){return ZT(e,iM()).base(e.base())},hZ.apply(e,arguments),e}function aM(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function lM(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function sM(e){var t=1,n=e(aM(t),lM(t));return n.constant=function(n){return arguments.length?e(aM(t=+n),lM(t)):t},GT(n)}function cM(){var e=sM(_T());return e.copy=function(){return ZT(e,cM()).constant(e.constant())},hZ.apply(e,arguments)}function uM(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function dM(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function fM(e){return e<0?-e*e:e*e}function pM(e){var t=e(ET,ET),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(ET,ET):.5===n?e(dM,fM):e(uM(n),uM(1/n)):n},GT(t)}function hM(){var e=pM(_T());return e.copy=function(){return ZT(e,hM()).exponent(e.exponent())},hZ.apply(e,arguments),e}function mM(){return hM.apply(null,arguments).exponent(.5)}function vM(e){return Math.sign(e)*e*e}function gM(){var e,t=TT(),n=[0,1],r=!1;function o(n){var o=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(o)?e:r?Math.round(o):o}return o.invert=function(e){return t.invert(vM(e))},o.domain=function(e){return arguments.length?(t.domain(e),o):t.domain()},o.range=function(e){return arguments.length?(t.range((n=Array.from(e,kT)).map(vM)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(r=!!e,o):r},o.clamp=function(e){return arguments.length?(t.clamp(e),o):t.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return gM(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},hZ.apply(o,arguments),GT(o)}function yM(e,t){var n;if(void 0===t){var r,o=J(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n<i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=J(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n<c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function bM(e,t){var n;if(void 0===t){var r,o=J(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n>i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=J(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function xM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v_;if(e===v_)return wM;if("function"!==typeof e)throw new TypeError("compare is not a function");return function(t,n){var r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function wM(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function SM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4?arguments[4]:void 0;if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=void 0===o?wM:xM(o);r>n;){if(r-n>600){var i=r-n+1,a=t-n+1,l=Math.log(i),s=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*s*(i-s)/i)*(a-i/2<0?-1:1);SM(e,t,Math.max(n,Math.floor(t-a*s/i+c)),Math.min(r,Math.floor(t+(i-a)*s/i+c)),o)}var u=e[t],d=n,f=r;for(kM(e,n,t),o(e[r],u)>0&&kM(e,n,r);d<f;){for(kM(e,d,f),++d,--f;o(e[d],u)<0;)++d;for(;o(e[f],u)>0;)--f}0===o(e[n],u)?kM(e,n,f):kM(e,++f,r),f<=t&&(n=f+1),t<=f&&(r=f-1)}return e}function kM(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function jM(e,t,n){if((r=(e=Float64Array.from(S_(e,n))).length)&&!isNaN(t=+t)){if(t<=0||r<2)return bM(e);if(t>=1)return yM(e);var r,o=(r-1)*t,i=Math.floor(o),a=yM(SM(e,i).subarray(0,i+1));return a+(bM(e.subarray(i+1))-a)*(o-i)}}function EM(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w_;if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}function OM(){var e,t=[],n=[],r=[];function o(){var e=0,o=Math.max(1,n.length);for(r=new Array(o-1);++e<o;)r[e-1]=EM(t,e/o);return i}function i(t){return null==t||isNaN(t=+t)?e:n[E_(r,t)]}return i.invertExtent=function(e){var o=n.indexOf(e);return o<0?[NaN,NaN]:[o>0?r[o-1]:t[0],o<r.length?r[o]:t[t.length-1]]},i.domain=function(e){if(!arguments.length)return t.slice();t=[];var n,r=J(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;null==i||isNaN(i=+i)||t.push(i)}}catch(a){r.e(a)}finally{r.f()}return t.sort(v_),o()},i.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.quantiles=function(){return r.slice()},i.copy=function(){return OM().domain(t).range(n).unknown(e)},hZ.apply(i,arguments)}function CM(){var e,t=0,n=1,r=1,o=[.5],i=[0,1];function a(t){return null!=t&&t<=t?i[E_(o,t,0,r)]:e}function l(){var e=-1;for(o=new Array(r);++e<r;)o[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){var r;return arguments.length?(r=(0,D.Z)(e,2),t=r[0],n=r[1],t=+t,n=+n,l()):[t,n]},a.range=function(e){return arguments.length?(r=(i=Array.from(e)).length-1,l()):i.slice()},a.invertExtent=function(e){var a=i.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return CM().domain([t,n]).range(i).unknown(e)},hZ.apply(GT(a),arguments)}function PM(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[E_(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return PM().domain(t).range(n).unknown(e)},hZ.apply(o,arguments)}FT=VT({thousands:",",grouping:[3],currency:["$",""]}),WT=FT.format,UT=FT.formatPrefix;var ZM=1e3,_M=6e4,TM=36e5,MM=864e5,AM=6048e5,RM=2592e6,NM=31536e6,IM=new Date,DM=new Date;function zM(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,l=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return l;do{l.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return l},o.filter=function(n){return zM((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return IM.setTime(+t),DM.setTime(+r),e(IM),e(DM),Math.floor(n(IM,DM))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var LM=zM((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));LM.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?zM((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):LM:null};LM.range;var BM=zM((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*ZM)}),(function(e,t){return(t-e)/ZM}),(function(e){return e.getUTCSeconds()})),FM=(BM.range,zM((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZM)}),(function(e,t){e.setTime(+e+t*_M)}),(function(e,t){return(t-e)/_M}),(function(e){return e.getMinutes()}))),WM=(FM.range,zM((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*_M)}),(function(e,t){return(t-e)/_M}),(function(e){return e.getUTCMinutes()}))),UM=(WM.range,zM((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZM-e.getMinutes()*_M)}),(function(e,t){e.setTime(+e+t*TM)}),(function(e,t){return(t-e)/TM}),(function(e){return e.getHours()}))),qM=(UM.range,zM((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*TM)}),(function(e,t){return(t-e)/TM}),(function(e){return e.getUTCHours()}))),HM=(qM.range,zM((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_M)/MM}),(function(e){return e.getDate()-1}))),VM=(HM.range,zM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/MM}),(function(e){return e.getUTCDate()-1}))),YM=(VM.range,zM((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/MM}),(function(e){return Math.floor(e/MM)})));YM.range;function GM(e){return zM((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_M)/AM}))}var $M=GM(0),KM=GM(1),XM=GM(2),QM=GM(3),JM=GM(4),eA=GM(5),tA=GM(6);$M.range,KM.range,XM.range,QM.range,JM.range,eA.range,tA.range;function nA(e){return zM((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/AM}))}var rA=nA(0),oA=nA(1),iA=nA(2),aA=nA(3),lA=nA(4),sA=nA(5),cA=nA(6),uA=(rA.range,oA.range,iA.range,aA.range,lA.range,sA.range,cA.range,zM((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),dA=(uA.range,zM((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),fA=(dA.range,zM((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));fA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?zM((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};fA.range;var pA=zM((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));pA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?zM((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};pA.range;function hA(e,t,n,r,o,i){var a=[[BM,1,ZM],[BM,5,5e3],[BM,15,15e3],[BM,30,3e4],[i,1,_M],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,TM],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,MM],[r,2,1728e5],[n,1,AM],[t,1,RM],[t,3,7776e6],[e,1,NM]];function l(t,n,r){var o=Math.abs(n-t)/r,i=y_((function(e){return(0,D.Z)(e,3)[2]})).right(a,o);if(i===a.length)return e.every(m_(t/NM,n/NM,r));if(0===i)return LM.every(Math.max(m_(t,n,r),1));var l=(0,D.Z)(a[o/a[i-1][2]<a[i][2]/o?i-1:i],2),s=l[0],c=l[1];return s.every(c)}return[function(e,t,n){var r=t<e;if(r){var o=[t,e];e=o[0],t=o[1]}var i=n&&"function"===typeof n.range?n:l(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},l]}var mA=hA(pA,dA,rA,YM,qM,WM),vA=(0,D.Z)(mA,2),gA=vA[0],yA=vA[1],bA=hA(fA,uA,$M,HM,UM,FM),xA=(0,D.Z)(bA,2),wA=xA[0],SA=xA[1];function kA(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function jA(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function EA(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var OA,CA,PA,ZA={"-":"",_:" ",0:"0"},_A=/^\s*\d+/,TA=/^%/,MA=/[\\^$*+?|[\]().{}]/g;function AA(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function RA(e){return e.replace(MA,"\\$&")}function NA(e){return new RegExp("^(?:"+e.map(RA).join("|")+")","i")}function IA(e){return new Map(e.map((function(e,t){return[e.toLowerCase(),t]})))}function DA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function zA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function LA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function BA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function FA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function WA(e,t,n){var r=_A.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function UA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function qA(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function HA(e,t,n){var r=_A.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function VA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function YA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function GA(e,t,n){var r=_A.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function $A(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function KA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function XA(e,t,n){var r=_A.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function QA(e,t,n){var r=_A.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function JA(e,t,n){var r=_A.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function eR(e,t,n){var r=TA.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function tR(e,t,n){var r=_A.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function nR(e,t,n){var r=_A.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function rR(e,t){return AA(e.getDate(),t,2)}function oR(e,t){return AA(e.getHours(),t,2)}function iR(e,t){return AA(e.getHours()%12||12,t,2)}function aR(e,t){return AA(1+HM.count(fA(e),e),t,3)}function lR(e,t){return AA(e.getMilliseconds(),t,3)}function sR(e,t){return lR(e,t)+"000"}function cR(e,t){return AA(e.getMonth()+1,t,2)}function uR(e,t){return AA(e.getMinutes(),t,2)}function dR(e,t){return AA(e.getSeconds(),t,2)}function fR(e){var t=e.getDay();return 0===t?7:t}function pR(e,t){return AA($M.count(fA(e)-1,e),t,2)}function hR(e){var t=e.getDay();return t>=4||0===t?JM(e):JM.ceil(e)}function mR(e,t){return e=hR(e),AA(JM.count(fA(e),e)+(4===fA(e).getDay()),t,2)}function vR(e){return e.getDay()}function gR(e,t){return AA(KM.count(fA(e)-1,e),t,2)}function yR(e,t){return AA(e.getFullYear()%100,t,2)}function bR(e,t){return AA((e=hR(e)).getFullYear()%100,t,2)}function xR(e,t){return AA(e.getFullYear()%1e4,t,4)}function wR(e,t){var n=e.getDay();return AA((e=n>=4||0===n?JM(e):JM.ceil(e)).getFullYear()%1e4,t,4)}function SR(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+AA(t/60|0,"0",2)+AA(t%60,"0",2)}function kR(e,t){return AA(e.getUTCDate(),t,2)}function jR(e,t){return AA(e.getUTCHours(),t,2)}function ER(e,t){return AA(e.getUTCHours()%12||12,t,2)}function OR(e,t){return AA(1+VM.count(pA(e),e),t,3)}function CR(e,t){return AA(e.getUTCMilliseconds(),t,3)}function PR(e,t){return CR(e,t)+"000"}function ZR(e,t){return AA(e.getUTCMonth()+1,t,2)}function _R(e,t){return AA(e.getUTCMinutes(),t,2)}function TR(e,t){return AA(e.getUTCSeconds(),t,2)}function MR(e){var t=e.getUTCDay();return 0===t?7:t}function AR(e,t){return AA(rA.count(pA(e)-1,e),t,2)}function RR(e){var t=e.getUTCDay();return t>=4||0===t?lA(e):lA.ceil(e)}function NR(e,t){return e=RR(e),AA(lA.count(pA(e),e)+(4===pA(e).getUTCDay()),t,2)}function IR(e){return e.getUTCDay()}function DR(e,t){return AA(oA.count(pA(e)-1,e),t,2)}function zR(e,t){return AA(e.getUTCFullYear()%100,t,2)}function LR(e,t){return AA((e=RR(e)).getUTCFullYear()%100,t,2)}function BR(e,t){return AA(e.getUTCFullYear()%1e4,t,4)}function FR(e,t){var n=e.getUTCDay();return AA((e=n>=4||0===n?lA(e):lA.ceil(e)).getUTCFullYear()%1e4,t,4)}function WR(){return"+0000"}function UR(){return"%"}function qR(e){return+e}function HR(e){return Math.floor(+e/1e3)}function VR(e){return new Date(e)}function YR(e){return e instanceof Date?+e:+new Date(+e)}function GR(e,t,n,r,o,i,a,l,s,c){var u=TT(),d=u.invert,f=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),y=c("%b %d"),b=c("%B"),x=c("%Y");function w(e){return(s(e)<e?p:l(e)<e?h:a(e)<e?m:i(e)<e?v:r(e)<e?o(e)<e?g:y:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,YR)):f().map(VR)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=f();return e&&"function"===typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(XT(n,e)):u},u.copy=function(){return ZT(u,GR(e,t,n,r,o,i,a,l,s,c))},u}function $R(){return hZ.apply(GR(wA,SA,fA,uA,$M,HM,UM,FM,BM,CA).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function KR(){return hZ.apply(GR(gA,yA,pA,dA,rA,VM,qM,WM,BM,PA).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function XR(){var e,t,n,r,o,i=0,a=1,l=ET,s=!1;function c(t){return null==t||isNaN(t=+t)?o:l(0===n?.5:(t=(r(t)-e)*n,s?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r,o;return arguments.length?(r=(n=(0,D.Z)(t,2))[0],o=n[1],l=e(r,o),c):[l(0),l(1)]}}return c.domain=function(o){var l;return arguments.length?(l=(0,D.Z)(o,2),i=l[0],a=l[1],e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(s=!!e,c):s},c.interpolator=function(e){return arguments.length?(l=e,c):l},c.range=u(wT),c.rangeRound=u(ST),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function QR(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function JR(){var e=GT(XR()(ET));return e.copy=function(){return QR(e,JR())},mZ.apply(e,arguments)}function eN(){var e=oM(XR()).domain([1,10]);return e.copy=function(){return QR(e,eN()).base(e.base())},mZ.apply(e,arguments)}function tN(){var e=sM(XR());return e.copy=function(){return QR(e,tN()).constant(e.constant())},mZ.apply(e,arguments)}function nN(){var e=pM(XR());return e.copy=function(){return QR(e,nN()).exponent(e.exponent())},mZ.apply(e,arguments)}function rN(){return nN.apply(null,arguments).exponent(.5)}function oN(){var e=[],t=ET;function n(n){if(null!=n&&!isNaN(n=+n))return t((E_(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,o=J(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null==i||isNaN(i=+i)||e.push(i)}}catch(a){o.e(a)}finally{o.f()}return e.sort(v_),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((function(n,r){return t(r/(e.length-1))}))},n.quantiles=function(t){return Array.from({length:t+1},(function(n,r){return jM(e,r/t)}))},n.copy=function(){return oN(t).domain(e)},mZ.apply(n,arguments)}function iN(){var e,t,n,r,o,i,a,l=0,s=.5,c=1,u=1,d=ET,f=!1;function p(e){return isNaN(e=+e)?a:(e=.5+((e=+i(e))-t)*(u*e<u*t?r:o),d(f?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var n,r,o,i;return arguments.length?(r=(n=(0,D.Z)(t,3))[0],o=n[1],i=n[2],d=function(e,t){void 0===t&&(t=e,e=wT);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return i[t](e-t)}}(e,[r,o,i]),p):[d(0),d(.5),d(1)]}}return p.domain=function(a){var d;return arguments.length?(d=(0,D.Z)(a,3),l=d[0],s=d[1],c=d[2],e=i(l=+l),t=i(s=+s),n=i(c=+c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,p):[l,s,c]},p.clamp=function(e){return arguments.length?(f=!!e,p):f},p.interpolator=function(e){return arguments.length?(d=e,p):d},p.range=h(wT),p.rangeRound=h(ST),p.unknown=function(e){return arguments.length?(a=e,p):a},function(a){return i=a,e=a(l),t=a(s),n=a(c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,p}}function aN(){var e=GT(iN()(ET));return e.copy=function(){return QR(e,aN())},mZ.apply(e,arguments)}function lN(){var e=oM(iN()).domain([.1,1,10]);return e.copy=function(){return QR(e,lN()).base(e.base())},mZ.apply(e,arguments)}function sN(){var e=sM(iN());return e.copy=function(){return QR(e,sN()).constant(e.constant())},mZ.apply(e,arguments)}function cN(){var e=pM(iN());return e.copy=function(){return QR(e,cN()).exponent(e.exponent())},mZ.apply(e,arguments)}function uN(){return cN.apply(null,arguments).exponent(.5)}function dN(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],l=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<l;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}!function(e){OA=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,l=e.months,s=e.shortMonths,c=NA(o),u=IA(o),d=NA(i),f=IA(i),p=NA(a),h=IA(a),m=NA(l),v=IA(l),g=NA(s),y=IA(s),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:rR,e:rR,f:sR,g:bR,G:wR,H:oR,I:iR,j:aR,L:lR,m:cR,M:uR,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:qR,s:HR,S:dR,u:fR,U:pR,V:mR,w:vR,W:gR,x:null,X:null,y:yR,Y:xR,Z:SR,"%":UR},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:kR,e:kR,f:PR,g:LR,G:FR,H:jR,I:ER,j:OR,L:CR,m:ZR,M:_R,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:qR,s:HR,S:TR,u:MR,U:AR,V:NR,w:IR,W:DR,x:null,X:null,y:zR,Y:BR,Z:WR,"%":UR},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return j(e,t,n,r)},d:YA,e:YA,f:JA,g:UA,G:WA,H:$A,I:$A,j:GA,L:QA,m:VA,M:KA,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:HA,Q:tR,s:nR,S:XA,u:zA,U:LA,V:BA,w:DA,W:FA,x:function(e,t,r){return j(e,n,t,r)},X:function(e,t,n){return j(e,r,t,n)},y:UA,Y:WA,Z:qA,"%":eR};function S(e,t){return function(n){var r,o,i,a=[],l=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++l<c;)37===e.charCodeAt(l)&&(a.push(e.slice(s,l)),null!=(o=ZA[r=e.charAt(++l)])?r=e.charAt(++l):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),s=l+1);return a.push(e.slice(s,l)),a.join("")}}function k(e,t){return function(n){var r,o,i=EA(1900,void 0,1);if(j(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=jA(EA(i.y,0,1))).getUTCDay(),r=o>4||0===o?oA.ceil(r):oA(r),r=VM.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=kA(EA(i.y,0,1))).getDay(),r=o>4||0===o?KM.ceil(r):KM(r),r=HM.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?jA(EA(i.y,0,1)).getUTCDay():kA(EA(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,jA(i)):kA(i)}}function j(e,t,n,r){for(var o,i,a=0,l=t.length,s=n.length;a<l;){if(r>=s)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in ZA?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=S(n,b),b.X=S(r,b),b.c=S(t,b),x.x=S(n,x),x.X=S(r,x),x.c=S(t,x),{format:function(e){var t=S(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),CA=OA.format,OA.parse,PA=OA.utcFormat,OA.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Array.prototype.slice;function fN(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function pN(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function hN(e,t){return e[t]}function mN(e){var t=[];return t.key=e,t}var vN=n(9627),gN=n.n(vN),yN=n(6452),bN=n.n(yN),xN=n(5008),wN=n.n(xN),SN=n(8111),kN=n.n(SN),jN=n(4234),EN=n.n(jN);function ON(e){return function(e){if(Array.isArray(e))return CN(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return CN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CN(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var PN=function(e){return e},ZN={"@@functional/placeholder":!0},_N=function(e){return e===ZN},TN=function(e){return function t(){return 0===arguments.length||1===arguments.length&&_N(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},MN=function e(t,n){return 1===t?n:TN((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(e){return e!==ZN})).length;return a>=t?n.apply(void 0,o):e(t-a,TN((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=o.map((function(e){return _N(e)?t.shift():e}));return n.apply(void 0,ON(i).concat(t))})))}))},AN=function(e){return MN(e.length,e)},RN=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},NN=AN((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),IN=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return PN;var r=t.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),o.apply(void 0,arguments))}},DN=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},zN=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.every((function(e,n){return e===t[n]}))?n:(t=o,n=e.apply(void 0,o))}};var LN=AN((function(e,t,n){var r=+e;return r+n*(+t-r)})),BN=AN((function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)})),FN=AN((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))})),WN={rangeStep:function(e,t,n){for(var r=new(EN())(e),o=0,i=[];r.lt(t)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},getDigitCount:function(e){return 0===e?1:Math.floor(new(EN())(e).abs().log(10).toNumber())+1},interpolateNumber:LN,uninterpolateNumber:BN,uninterpolateTruncation:FN};function UN(e){return function(e){if(Array.isArray(e))return VN(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||HN(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||HN(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HN(e,t){if(e){if("string"===typeof e)return VN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VN(e,t):void 0}}function VN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function YN(e){var t=qN(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function GN(e,t,n){if(e.lte(0))return new(EN())(0);var r=WN.getDigitCount(e.toNumber()),o=new(EN())(10).pow(r),i=e.div(o),a=1!==r?.05:.1,l=new(EN())(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?l:new(EN())(Math.ceil(l))}function $N(e,t,n){var r=1,o=new(EN())(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new(EN())(10).pow(WN.getDigitCount(e)-1),o=new(EN())(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new(EN())(Math.floor(e)))}else 0===e?o=new(EN())(Math.floor((t-1)/2)):n||(o=new(EN())(Math.floor(e)));var a=Math.floor((t-1)/2);return IN(NN((function(e){return o.add(new(EN())(e-a).mul(r)).toNumber()})),RN)(0,t)}function KN(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(EN())(0),tickMin:new(EN())(0),tickMax:new(EN())(0)};var i,a=GN(new(EN())(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new(EN())(0):(i=new(EN())(e).add(t).div(2)).sub(new(EN())(i).mod(a));var l=Math.ceil(i.sub(e).div(a).toNumber()),s=Math.ceil(new(EN())(t).sub(i).div(a).toNumber()),c=l+s+1;return c>n?KN(e,t,n,r,o+1):(c<n&&(s=t>0?s+(n-c):s,l=t>0?l:l+(n-c)),{step:a,tickMin:i.sub(new(EN())(l).mul(a)),tickMax:i.add(new(EN())(s).mul(a))})}var XN=zN((function(e){var t=qN(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=qN(YN([n,r]),2),s=l[0],c=l[1];if(s===-1/0||c===1/0){var u=c===1/0?[s].concat(UN(RN(0,o-1).map((function(){return 1/0})))):[].concat(UN(RN(0,o-1).map((function(){return-1/0}))),[c]);return n>r?DN(u):u}if(s===c)return $N(s,o,i);var d=KN(s,c,a,i),f=d.step,p=d.tickMin,h=d.tickMax,m=WN.rangeStep(p,h.add(new(EN())(.1).mul(f)),f);return n>r?DN(m):m})),QN=(zN((function(e){var t=qN(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=qN(YN([n,r]),2),s=l[0],c=l[1];if(s===-1/0||c===1/0)return[n,r];if(s===c)return $N(s,o,i);var u=GN(new(EN())(c).sub(s).div(a-1),i,0),d=IN(NN((function(e){return new(EN())(s).add(new(EN())(e).mul(u)).toNumber()})),RN)(0,a).filter((function(e){return e>=s&&e<=c}));return n>r?DN(d):d})),zN((function(e,t){var n=qN(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=qN(YN([r,o]),2),l=a[0],s=a[1];if(l===-1/0||s===1/0)return[r,o];if(l===s)return[l];var c=Math.max(t,2),u=GN(new(EN())(s).sub(l).div(c-1),i,0),d=[].concat(UN(WN.rangeStep(new(EN())(l),new(EN())(s).sub(new(EN())(.99).mul(u)),u)),[s]);return r>o?DN(d):d}))),JN=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function eI(){return eI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eI.apply(this,arguments)}function tI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return nI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nI(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oI(e){var n=e.offset,r=e.layout,o=e.width,i=e.dataKey,a=e.data,l=e.dataPointFormatter,s=e.xAxis,c=e.yAxis,u=rI(e,JN),d=Oj(u,!1);"x"===e.direction&&"number"!==s.type&&Lk(!1);var f=a.map((function(e){var a=l(e,i),u=a.x,f=a.y,p=a.value,h=a.errorVal;if(!h)return null;var m,v,g=[];if(Array.isArray(h)){var y=tI(h,2);m=y[0],v=y[1]}else m=v=h;if("vertical"===r){var b=s.scale,x=f+n,w=x+o,S=x-o,k=b(p-m),j=b(p+v);g.push({x1:j,y1:w,x2:j,y2:S}),g.push({x1:k,y1:x,x2:j,y2:x}),g.push({x1:k,y1:w,x2:k,y2:S})}else if("horizontal"===r){var E=c.scale,O=u+n,C=O-o,P=O+o,Z=E(p-m),_=E(p+v);g.push({x1:C,y1:_,x2:P,y2:_}),g.push({x1:O,y1:Z,x2:O,y2:_}),g.push({x1:C,y1:Z,x2:P,y2:Z})}return t.createElement(Dj,eI({className:"recharts-errorBar",key:"bar-".concat(g.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},d),g.map((function(e){return t.createElement("line",eI({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return t.createElement(Dj,{className:"recharts-errorBars"},f)}function iI(e){return iI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iI(e)}function aI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aI(Object(n),!0).forEach((function(t){sI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=iI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=iI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}oI.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},oI.displayName="ErrorBar";var cI=function(e){var t,n=e.children,r=e.formattedGraphicalItems,o=e.legendWidth,i=e.legendContent,a=Sj(n,nC);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(r||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:a.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(r||[]).map((function(e){var t=e.item,n=t.props,r=n.dataKey,o=n.name,i=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||i||"square",color:yI(t),value:o||r,payload:t.props}})),lI(lI(lI({},a.props),nC.getWithHeight(a,o)),{},{payload:t,item:a})):null};function uI(e){return uI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uI(e)}function dI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dI(Object(n),!0).forEach((function(t){pI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=uI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=uI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hI(e){return function(e){if(Array.isArray(e))return mI(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return mI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mI(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vI(e,t,n){return Ok()(e)||Ok()(t)?n:Qk(t)?Mk()(e,t,n):Pk()(t)?t(e):n}function gI(e,t,n,r){var o=wN()(e,(function(e){return vI(e,t)}));if("number"===n){var i=o.filter((function(e){return Xk(e)||parseFloat(e)}));return i.length?[bN()(i),gN()(i)]:[1/0,-1/0]}return(r?o.filter((function(e){return!Ok()(e)})):o).map((function(e){return Qk(e)||e instanceof Date?e:""}))}var yI=function(e){var t,n=e.type.displayName,r=e.props,o=r.stroke,i=r.fill;switch(n){case"Line":t=o;break;case"Area":case"Radar":t=o&&"none"!==o?o:i;break;default:t=i}return t},bI=function(e,t,n,r,o){var i=wj(t.props.children,oI).filter((function(e){return function(e,t,n){return!!Ok()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,o,e.props.direction)}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=vI(t,n);if(Ok()(r))return e;var o=Array.isArray(r)?[bN()(r),gN()(r)]:[r,r],i=a.reduce((function(e,n){var r=vI(t,n,0),i=o[0]-Math.abs(Array.isArray(r)?r[0]:r),a=o[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},xI=function(e,t,n,r,o){var i=t.map((function(t){var i=t.props.dataKey;return"number"===n&&i&&bI(e,t,i,r)||gI(e,i,n,o)}));if("number"===n)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e}),[])},wI=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},SI=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,l="scaleBand"===e.realScaleType?r.bandwidth()/2:2,s=(t||n)&&"category"===i&&r.bandwidth?r.bandwidth()/l:0;return s="angleAxis"===e.axisType&&(null===a||void 0===a?void 0:a.length)>=2?2*$k(a[0]-a[1])*s:s,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+s,value:e,offset:s}})).filter((function(e){return!Vk()(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+s,value:e,index:t,offset:s}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+s,value:e,offset:s}})):r.domain().map((function(e,t){return{coordinate:r(e)+s,value:o?o[e]:e,index:t,offset:s}}))},kI=new WeakMap,jI=function(e,t){if("function"!==typeof t)return e;kI.has(e)||kI.set(e,new WeakMap);var n=kI.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},EI=1e-4,OI={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0,a=0;a<t;++a){var l=Vk()(e[a][n][1])?e[a][n][0]:e[a][n][1];l>=0?(e[a][n][0]=o,e[a][n][1]=o+l,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+l,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}dN(e,t)}},none:dN,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,l=0;a<n;++a)l+=e[a][r][1]||0;o[r][1]+=o[r][0]=-l/2}dN(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var l=0,s=0,c=0;l<o;++l){for(var u=e[t[l]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,p=0;p<l;++p){var h=e[t[p]];f+=(h[a][1]||0)-(h[a-1][1]||0)}s+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,s&&(i-=c/s)}n[a-1][1]+=n[a-1][0]=i,dN(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0;i<t;++i){var a=Vk()(e[i][n][1])?e[i][n][0]:e[i][n][1];a>=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},CI=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=OI[n],i=function(){var e=fO([]),t=pN,n=dN,r=hN;function o(o){var i,a,l,s=Array.from(e.apply(this,arguments),mN),c=s.length,u=-1,d=J(o);try{for(d.s();!(l=d.n()).done;){var f=l.value;for(i=0,++u;i<c;++i)(s[i][u]=[0,+r(f,s[i].key,u,o)]).data=f}}catch(p){d.e(p)}finally{d.f()}for(i=0,a=fN(t(s));i<c;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"===typeof t?t:fO(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"===typeof e?e:fO(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?pN:"function"===typeof e?e:fO(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?dN:e,o):n},o}().keys(r).value((function(e,t){return+vI(e,t,0)})).order(pN).offset(o);return i(e)};var PI=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=r.slice(t,n+1).reduce((function(e,t){return[bN()(t.concat([e[0]]).filter(Xk)),gN()(t.concat([e[1]]).filter(Xk))]}),[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},ZI=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,_I=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,TI=function(e,t,n){if(Pk()(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(Xk(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(ZI.test(e[0])){var o=+ZI.exec(e[0])[1];r[0]=t[0]-o}else Pk()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Xk(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(_I.test(e[1])){var i=+_I.exec(e[1])[1];r[1]=t[1]+i}else Pk()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},MI=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=Rk()(t,(function(e){return e.coordinate})),i=1/0,a=1,l=o.length;a<l;a++){var s=o[a],c=o[a-1];i=Math.min((s.coordinate||0)-(c.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},AI=function(e,t,n){return e&&e.length?kN()(e,Mk()(n,"type.defaultProps.domain"))?t:e:t},RI=function(e,t){var n=e.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,l=n.tooltipType,s=n.chartType,c=n.hide;return fI(fI({},Oj(e,!1)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:yI(e),value:vI(t,r),type:l,payload:t,chartType:s,hide:c})};function NI(e){return NI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NI(e)}function II(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function DI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?II(Object(n),!0).forEach((function(t){zI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):II(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=NI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=NI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NI(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LI=["Webkit","Moz","O","ms"];function BI(e){return BI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BI(e)}function FI(){return FI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FI.apply(this,arguments)}function WI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WI(Object(n),!0).forEach((function(t){KI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XI(r.key),r)}}function HI(e,t,n){return t=YI(t),function(e,t){if(t&&("object"===BI(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GI(e)}(e,VI()?Reflect.construct(t,n||[],YI(e).constructor):t.apply(e,n))}function VI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VI=function(){return!!e})()}function YI(e){return YI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YI(e)}function GI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $I(e,t){return $I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$I(e,t)}function KI(e,t,n){return(t=XI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XI(e){var t=function(e,t){if("object"!=BI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=BI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==BI(t)?t:String(t)}var QI=function(e){return e.changedTouches&&!!e.changedTouches.length},JI=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),KI(GI(t=HI(this,n,[e])),"handleDrag",(function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)})),KI(GI(t),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])})),KI(GI(t),"handleDragEnd",(function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=t.props,n=e.endIndex,r=e.onDragEnd,o=e.startIndex;null===r||void 0===r||r({endIndex:n,startIndex:o})})),t.detachDragEndListener()})),KI(GI(t),"handleLeaveWrapper",(function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))})),KI(GI(t),"handleEnterSlideOrTraveller",(function(){t.setState({isTextActive:!0})})),KI(GI(t),"handleLeaveSlideOrTraveller",(function(){t.setState({isTextActive:!1})})),KI(GI(t),"handleSlideDragStart",(function(e){var n=QI(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()})),t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(GI(t),"startX"),endX:t.handleTravellerDragStart.bind(GI(t),"endX")},t.state={},t}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$I(e,t)}(n,e),r=n,o=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,o=this.state.scaleValues,i=this.props,a=i.gap,l=i.data.length-1,s=Math.min(t,r),c=Math.max(t,r),u=n.getIndexInRange(o,s),d=n.getIndexInRange(o,c);return{startIndex:u-u%a,endIndex:d===l?l:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=vI(n[e],o,e);return Pk()(r)?r(i,e):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,l=i.width,s=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=e.pageX-n;f>0?f=Math.min(f,a+l-s-o,a+l-s-r):f<0&&(f=Math.max(f,a-r,a-o));var p=this.getIndex({startX:r+f,endX:o+f});p.startIndex===c&&p.endIndex===u||!d||d(p),this.setState({startX:r+f,endX:o+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=QI(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,o=t.endX,i=t.startX,a=this.state[r],l=this.props,s=l.x,c=l.width,u=l.travellerWidth,d=l.onChange,f=l.gap,p=l.data,h={startX:this.state.startX,endX:this.state.endX},m=e.pageX-n;m>0?m=Math.min(m,s+c-u-a):m<0&&(m=Math.max(m,s-a)),h[r]=a+m;var v=this.getIndex(h),g=v.startIndex,y=v.endIndex;this.setState(KI(KI({},r,a+m),"brushMoveStartX",e.pageX),(function(){d&&function(){var e=p.length-1;return"startX"===r&&(o>i?g%f===0:y%f===0)||o<i&&y===e||"endX"===r&&(o>i?y%f===0:g%f===0)||o>i&&y===e}()&&d(v)}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,o=r.scaleValues,i=r.startX,a=r.endX,l=this.state[t],s=o.indexOf(l);if(-1!==s){var c=s+e;if(!(-1===c||c>=o.length)){var u=o[c];"startX"===t&&u>=a||"endX"===t&&u<=i||this.setState(KI({},t,u),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.fill,l=e.stroke;return t.createElement("rect",{stroke:l,fill:a,x:n,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.data,l=e.children,s=e.padding,c=t.Children.only(l);return c?t.cloneElement(c,{x:n,y:r,width:o,height:i,margin:s,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,r){var o,i,a=this,l=this.props,s=l.y,c=l.travellerWidth,u=l.height,d=l.traveller,f=l.ariaLabel,p=l.data,h=l.startIndex,m=l.endIndex,v=Math.max(e,this.props.x),g=UI(UI({},Oj(this.props,!1)),{},{x:v,y:s,width:c,height:u}),y=f||"Min value: ".concat(null===(o=p[h])||void 0===o?void 0:o.name,", Max value: ").concat(null===(i=p[m])||void 0===i?void 0:i.name);return t.createElement(Dj,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(d,g))}},{key:"renderSlide",value:function(e,n){var r=this.props,o=r.y,i=r.height,a=r.stroke,l=r.travellerWidth,s=Math.min(e,n)+l,c=Math.max(Math.abs(n-e)-l,0);return t.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:s,y:o,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,n=e.startIndex,r=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,l=e.stroke,s=this.state,c=s.startX,u=s.endX,d={pointerEvents:"none",fill:l};return t.createElement(Dj,{className:"recharts-brush-texts"},t.createElement(s_,FI({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:o+i/2},d),this.getTextOfTick(n)),t.createElement(s_,FI({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+a+5,y:o+i/2},d),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,n=e.data,r=e.className,o=e.children,i=e.x,a=e.y,l=e.width,s=e.height,c=e.alwaysShowText,u=this.state,d=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,m=u.isTravellerMoving,v=u.isTravellerFocused;if(!n||!n.length||!Xk(i)||!Xk(a)||!Xk(l)||!Xk(s)||l<=0||s<=0)return null;var g=(0,Mi.Z)("recharts-brush",r),y=1===t.Children.count(o),b=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=LI.reduce((function(e,r){return DI(DI({},e),{},zI({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return t.createElement(Dj,{className:g,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:b},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(d,f),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||m||v||c)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var n=e.x,r=e.y,o=e.width,i=e.height,a=e.stroke,l=Math.floor(r+i/2)-1;return t.createElement(t.Fragment,null,t.createElement("rect",{x:n,y:r,width:o,height:i,fill:a,stroke:"none"}),t.createElement("line",{x1:n+1,y1:l,x2:n+o-1,y2:l,fill:"none",stroke:"#fff"}),t.createElement("line",{x1:n+1,y1:l+2,x2:n+o-1,y2:l+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return t.isValidElement(e)?t.cloneElement(e,r):Pk()(e)?e(r):n.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,l=e.startIndex,s=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return UI({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var l=t.length,s=EZ().domain(_k()(0,l)).range([o,o+i-a]),c=s.domain().map((function(e){return s(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(n),endX:s(r),scale:s,scaleValues:c}}({data:n,width:r,x:o,travellerWidth:i,startIndex:l,endIndex:s}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var c=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],o&&qI(r.prototype,o),i&&qI(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);function eD(e){return eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eD(e)}function tD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tD(Object(n),!0).forEach((function(t){rD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=eD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return iD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iD(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}KI(JI,"displayName","Brush"),KI(JI,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var aD=Math.PI/180,lD=function(e){return 180*e/Math.PI},sD=function(e,t,n,r){return{x:e+Math.cos(-aD*r)*n,y:t+Math.sin(-aD*r)*n}},cD=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},uD=function(e,t){var n=e.x,r=e.y,o=t.cx,i=t.cy,a=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var l=(n-o)/a,s=Math.acos(l);return r>i&&(s=2*Math.PI-s),{radius:a,angle:lD(s),angleInRadian:s}},dD=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},fD=function(e,t){var n=e.x,r=e.y,o=uD({x:n,y:r},t),i=o.radius,a=o.angle,l=t.innerRadius,s=t.outerRadius;if(i<l||i>s)return!1;if(0===i)return!0;var c,u=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),d=u.startAngle,f=u.endAngle,p=a;if(d<=f){for(;p>f;)p-=360;for(;p<d;)p+=360;c=p>=d&&p<=f}else{for(;p>d;)p-=360;for(;p<f;)p+=360;c=p>=f&&p<=d}return c?nD(nD({},t),{},{radius:i,angle:dD(p,t)}):null},pD=function(e){return(0,t.isValidElement)(e)||Pk()(e)||"boolean"===typeof e?"":e.className};function hD(e){return hD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hD(e)}var mD=["offset"];function vD(e){return function(e){if(Array.isArray(e))return gD(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return gD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gD(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yD(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bD(Object(n),!0).forEach((function(t){wD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=hD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=hD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SD(){return SD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SD.apply(this,arguments)}var kD=function(e){var t=e.value,n=e.formatter,r=Ok()(e.children)?t:e.children;return Pk()(n)?n(r):r},jD=function(e,n,r){var o,i,a=e.position,l=e.viewBox,s=e.offset,c=e.className,u=l,d=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,m=u.startAngle,v=u.endAngle,g=u.clockWise,y=(p+h)/2,b=function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),360)}(m,v),x=b>=0?1:-1;"insideStart"===a?(o=m+x*s,i=g):"insideEnd"===a?(o=v-x*s,i=!g):"end"===a&&(o=v+x*s,i=g),i=b<=0?i:!i;var w=sD(d,f,y,o),S=sD(d,f,y,o+359*(i?1:-1)),k="M".concat(w.x,",").concat(w.y,"\n A").concat(y,",").concat(y,",0,1,").concat(i?0:1,",\n ").concat(S.x,",").concat(S.y),j=Ok()(e.id)?ej("recharts-radial-line-"):e.id;return t.createElement("text",SD({},r,{dominantBaseline:"central",className:(0,Mi.Z)("recharts-radial-bar-label",c)}),t.createElement("defs",null,t.createElement("path",{id:j,d:k})),t.createElement("textPath",{xlinkHref:"#".concat(j)},n))},ED=function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,l=o.innerRadius,s=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=sD(i,a,s+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=sD(i,a,(l+s)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},OD=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,i=t,a=i.x,l=i.y,s=i.width,c=i.height,u=c>=0?1:-1,d=u*r,f=u>0?"end":"start",p=u>0?"start":"end",h=s>=0?1:-1,m=h*r,v=h>0?"end":"start",g=h>0?"start":"end";if("top"===o)return xD(xD({},{x:a+s/2,y:l-u*r,textAnchor:"middle",verticalAnchor:f}),n?{height:Math.max(l-n.y,0),width:s}:{});if("bottom"===o)return xD(xD({},{x:a+s/2,y:l+c+d,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(n.y+n.height-(l+c),0),width:s}:{});if("left"===o){var y={x:a-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"};return xD(xD({},y),n?{width:Math.max(y.x-n.x,0),height:c}:{})}if("right"===o){var b={x:a+s+m,y:l+c/2,textAnchor:g,verticalAnchor:"middle"};return xD(xD({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:c}:{})}var x=n?{width:s,height:c}:{};return"insideLeft"===o?xD({x:a+m,y:l+c/2,textAnchor:g,verticalAnchor:"middle"},x):"insideRight"===o?xD({x:a+s-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"},x):"insideTop"===o?xD({x:a+s/2,y:l+d,textAnchor:"middle",verticalAnchor:p},x):"insideBottom"===o?xD({x:a+s/2,y:l+c-d,textAnchor:"middle",verticalAnchor:f},x):"insideTopLeft"===o?xD({x:a+m,y:l+d,textAnchor:g,verticalAnchor:p},x):"insideTopRight"===o?xD({x:a+s-m,y:l+d,textAnchor:v,verticalAnchor:p},x):"insideBottomLeft"===o?xD({x:a+m,y:l+c-d,textAnchor:g,verticalAnchor:f},x):"insideBottomRight"===o?xD({x:a+s-m,y:l+c-d,textAnchor:v,verticalAnchor:f},x):Uk()(o)&&(Xk(o.x)||Kk(o.x))&&(Xk(o.y)||Kk(o.y))?xD({x:a+tj(o.x,s),y:l+tj(o.y,c),textAnchor:"end",verticalAnchor:"end"},x):xD({x:a+s/2,y:l+c/2,textAnchor:"middle",verticalAnchor:"middle"},x)},CD=function(e){return"cx"in e&&Xk(e.cx)};function PD(e){var n,r=e.offset,o=xD({offset:void 0===r?5:r},yD(e,mD)),i=o.viewBox,a=o.position,l=o.value,s=o.children,c=o.content,u=o.className,d=void 0===u?"":u,f=o.textBreakAll;if(!i||Ok()(l)&&Ok()(s)&&!(0,t.isValidElement)(c)&&!Pk()(c))return null;if((0,t.isValidElement)(c))return(0,t.cloneElement)(c,o);if(Pk()(c)){if(n=(0,t.createElement)(c,o),(0,t.isValidElement)(n))return n}else n=kD(o);var p=CD(i),h=Oj(o,!0);if(p&&("insideStart"===a||"insideEnd"===a||"end"===a))return jD(o,n,h);var m=p?ED(o):OD(o);return t.createElement(s_,SD({className:(0,Mi.Z)("recharts-label",d)},h,m,{breakAll:f}),n)}PD.displayName="Label";var ZD=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,l=e.radius,s=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,h=e.width,m=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if(Xk(h)&&Xk(m)){if(Xk(u)&&Xk(d))return{x:u,y:d,width:h,height:m};if(Xk(f)&&Xk(p))return{x:f,y:p,width:h,height:m}}return Xk(u)&&Xk(d)?{x:u,y:d,width:0,height:0}:Xk(t)&&Xk(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:s||0,outerRadius:c||l||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};PD.parseViewBox=ZD,PD.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=e.children,i=ZD(e),a=wj(o,PD).map((function(e,r){return(0,t.cloneElement)(e,{viewBox:n||i,key:"label-".concat(r)})}));if(!r)return a;var l=function(e,n){return e?!0===e?t.createElement(PD,{key:"label-implicit",viewBox:n}):Qk(e)?t.createElement(PD,{key:"label-implicit",viewBox:n,value:e}):(0,t.isValidElement)(e)?e.type===PD?(0,t.cloneElement)(e,{key:"label-implicit",viewBox:n}):t.createElement(PD,{key:"label-implicit",content:e,viewBox:n}):Pk()(e)?t.createElement(PD,{key:"label-implicit",content:e,viewBox:n}):Uk()(e)?t.createElement(PD,SD({viewBox:n},e,{key:"label-implicit"})):null:null}(e.label,n||i);return[l].concat(vD(a))};var _D=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},TD=n(7702),MD=n.n(TD),AD=n(2730),RD=n.n(AD);function ND(e){return ND="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ND(e)}function ID(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BD(r.key),r)}}function DD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DD(Object(n),!0).forEach((function(t){LD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LD(e,t,n){return(t=BD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BD(e){var t=function(e,t){if("object"!=ND(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ND(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ND(t)?t:String(t)}var FD=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},WD=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,n,r;return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&ID(t.prototype,n),r&&ID(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();LD(WD,"EPS",1e-4);var UD=function(e){var t=Object.keys(e).reduce((function(t,n){return zD(zD({},t),{},LD({},n,WD.create(e[n])))}),{});return zD(zD({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return MD()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:o})}))},isInRange:function(e){return RD()(e,(function(e,n){return t[n].isInRange(e)}))}})};function qD(e){return qD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qD(e)}function HD(){return HD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HD.apply(this,arguments)}function VD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VD(Object(n),!0).forEach((function(t){GD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=qD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qD(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $D(e){var n=e.x,r=e.y,o=e.r,i=e.alwaysShow,a=e.clipPathId,l=Qk(n),s=Qk(r);if(CE(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!s)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,i=UD({x:r.scale,y:o.scale}),a=i.apply({x:t,y:n},{bandAware:!0});return _D(e,"discard")&&!i.isInRange(a)?null:a}(e);if(!c)return null;var u=c.x,d=c.y,f=e.shape,p=e.className,h=YD(YD({clipPath:_D(e,"hidden")?"url(#".concat(a,")"):void 0},Oj(e,!0)),{},{cx:u,cy:d});return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-dot",p)},$D.renderDot(f,h),PD.renderCallByParent(e,{x:u-o,y:d-o,width:2*o,height:2*o}))}$D.displayName="ReferenceDot",$D.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},$D.renderDot=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(oC,HD({},n,{cx:n.cx,cy:n.cy,className:"recharts-reference-dot-dot"}))};var KD=n(4064),XD=n.n(KD),QD=(n(1211),n(9151)),JD=n.n(QD)()((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));var ez=(0,t.createContext)(void 0),tz=(0,t.createContext)(void 0),nz=(0,t.createContext)(void 0),rz=(0,t.createContext)({}),oz=(0,t.createContext)(void 0),iz=(0,t.createContext)(0),az=(0,t.createContext)(0),lz=function(e){var n=e.state,r=n.xAxisMap,o=n.yAxisMap,i=n.offset,a=e.clipPathId,l=e.children,s=e.width,c=e.height,u=JD(i);return t.createElement(ez.Provider,{value:r},t.createElement(tz.Provider,{value:o},t.createElement(rz.Provider,{value:i},t.createElement(nz.Provider,{value:u},t.createElement(oz.Provider,{value:a},t.createElement(iz.Provider,{value:c},t.createElement(az.Provider,{value:s},l)))))))};function sz(e){return sz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sz(e)}function cz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cz(Object(n),!0).forEach((function(t){dz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return pz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hz(){return hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hz.apply(this,arguments)}function mz(e){var n=e.x,r=e.y,o=e.segment,i=e.xAxisId,a=e.yAxisId,l=e.shape,s=e.className,c=e.alwaysShow,u=(0,t.useContext)(oz),d=function(e){var n=(0,t.useContext)(ez);null==n&&Lk(!1);var r=n[e];return null==r&&Lk(!1),r}(i),f=function(e){var n=(0,t.useContext)(tz);null==n&&Lk(!1);var r=n[e];return null==r&&Lk(!1),r}(a),p=(0,t.useContext)(nz);if(!u||!p)return null;CE(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,n,r,o,i,a,l,s){var c=o.x,u=o.y,d=o.width,f=o.height;if(n){var p=s.y,h=e.y.apply(p,{position:i});if(_D(s,"discard")&&!e.y.isInRange(h))return null;var m=[{x:c+d,y:h},{x:c,y:h}];return"left"===l?m.reverse():m}if(t){var v=s.x,g=e.x.apply(v,{position:i});if(_D(s,"discard")&&!e.x.isInRange(g))return null;var y=[{x:g,y:u+f},{x:g,y:u}];return"top"===a?y.reverse():y}if(r){var b=s.segment.map((function(t){return e.apply(t,{position:i})}));return _D(s,"discard")&&XD()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(UD({x:d.scale,y:f.scale}),Qk(n),Qk(r),o&&2===o.length,p,e.position,d.orientation,f.orientation,e);if(!h)return null;var m=fz(h,2),v=m[0],g=v.x,y=v.y,b=m[1],x=b.x,w=b.y,S=uz(uz({clipPath:_D(e,"hidden")?"url(#".concat(u,")"):void 0},Oj(e,!0)),{},{x1:g,y1:y,x2:x,y2:w});return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-line",s)},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement("line",hz({},n,{className:"recharts-reference-line-line"}))}(l,S),PD.renderCallByParent(e,function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return FD({x:t,y:n},{x:r,y:o})}({x1:g,y1:y,x2:x,y2:w})))}function vz(e){return vz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vz(e)}function gz(){return gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gz.apply(this,arguments)}function yz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yz(Object(n),!0).forEach((function(t){xz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=vz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=vz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}mz.displayName="ReferenceLine",mz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function wz(e){var n=e.x1,r=e.x2,o=e.y1,i=e.y2,a=e.className,l=e.alwaysShow,s=e.clipPathId;CE(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Qk(n),u=Qk(r),d=Qk(o),f=Qk(i),p=e.shape;if(!c&&!u&&!d&&!f&&!p)return null;var h=function(e,t,n,r,o){var i=o.x1,a=o.x2,l=o.y1,s=o.y2,c=o.xAxis,u=o.yAxis;if(!c||!u)return null;var d=UD({x:c.scale,y:u.scale}),f={x:e?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(l,{position:"start"}):d.y.rangeMin},p={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(s,{position:"end"}):d.y.rangeMax};return!_D(o,"discard")||d.isInRange(f)&&d.isInRange(p)?FD(f,p):null}(c,u,d,f,e);if(!h&&!p)return null;var m=_D(e,"hidden")?"url(#".concat(s,")"):void 0;return t.createElement(Dj,{className:(0,Mi.Z)("recharts-reference-area",a)},wz.renderRect(p,bz(bz({clipPath:m},Oj(e,!0)),h)),PD.renderCallByParent(e,h))}function Sz(e){return function(e){if(Array.isArray(e))return kz(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return kz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kz(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}wz.displayName="ReferenceArea",wz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},wz.renderRect=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(pZ,gz({},n,{className:"recharts-reference-area-rect"}))};var jz=function(e,t,n,r,o){var i=wj(e,mz),a=wj(e,$D),l=[].concat(Sz(i),Sz(a)),s=wj(e,wz),c="".concat(r,"Id"),u=r[0],d=t;if(l.length&&(d=l.reduce((function(e,t){if(t.props[c]===n&&_D(t.props,"extendDomain")&&Xk(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),d)),s.length){var f="".concat(u,"1"),p="".concat(u,"2");d=s.reduce((function(e,t){if(t.props[c]===n&&_D(t.props,"extendDomain")&&Xk(t.props[f])&&Xk(t.props[p])){var r=t.props[f],o=t.props[p];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e}),d)}return o&&o.length&&(d=o.reduce((function(e,t){return Xk(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),d)),d},Ez=n(7143),Oz=new(n.n(Ez)()),Cz="recharts.syncMouseEvents";function Pz(e){return Pz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pz(e)}function Zz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tz(r.key),r)}}function _z(e,t,n){return(t=Tz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tz(e){var t=function(e,t){if("object"!=Pz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pz(t)?t:String(t)}var Mz=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),_z(this,"activeIndex",0),_z(this,"coordinateList",[]),_z(this,"layout","horizontal")}var t,n,r;return t=e,n=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,o=e.container,i=void 0===o?null:o,a=e.layout,l=void 0===a?null:a,s=e.offset,c=void 0===s?null:s,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=null!==r&&void 0!==r?r:this.coordinateList)&&void 0!==t?t:[],this.container=null!==i&&void 0!==i?i:this.container,this.layout=null!==l&&void 0!==l?l:this.layout,this.offset=null!==c&&void 0!==c?c:this.offset,this.mouseHandlerCallback=null!==d&&void 0!==d?d:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=this.coordinateList[this.activeIndex].coordinate,l=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,s=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=r+a+l,u=o+this.offset.top+i/2+s;this.mouseHandlerCallback({pageX:c,pageY:u})}}}],n&&Zz(t.prototype,n),r&&Zz(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();var Az=n(3977),Rz=n.n(Az),Nz=n(5127),Iz=n.n(Nz);function Dz(e){return Dz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dz(e)}function zz(){return zz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zz.apply(this,arguments)}function Lz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Bz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fz(Object(n),!0).forEach((function(t){Uz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Dz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Dz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qz=function(e,t,n,r,o){var i,a=n-r;return i="M ".concat(e,",").concat(t),i+="L ".concat(e+n,",").concat(t),i+="L ".concat(e+n-a/2,",").concat(t+o),i+="L ".concat(e+n-a/2-r,",").concat(t+o),i+="L ".concat(e,",").concat(t," Z")},Hz={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Vz=function(e){var n=Wz(Wz({},Hz),e),r=(0,t.useRef)(),o=Lz((0,t.useState)(-1),2),i=o[0],a=o[1];(0,t.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch(t){}}),[]);var l=n.x,s=n.y,c=n.upperWidth,u=n.lowerWidth,d=n.height,f=n.className,p=n.animationEasing,h=n.animationDuration,m=n.animationBegin,v=n.isUpdateAnimationActive;if(l!==+l||s!==+s||c!==+c||u!==+u||d!==+d||0===c&&0===u||0===d)return null;var g=(0,Mi.Z)("recharts-trapezoid",f);return v?t.createElement(nZ,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:s},to:{upperWidth:c,lowerWidth:u,height:d,x:l,y:s},duration:h,animationEasing:p,isActive:v},(function(e){var o=e.upperWidth,a=e.lowerWidth,l=e.height,s=e.x,c=e.y;return t.createElement(nZ,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:h,easing:p},t.createElement("path",zz({},Oj(n,!0),{className:g,d:qz(s,c,o,a,l),ref:r})))})):t.createElement("g",null,t.createElement("path",zz({},Oj(n,!0),{className:g,d:qz(l,s,c,u,d)})))};function Yz(e){return Yz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yz(e)}function Gz(){return Gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gz.apply(this,arguments)}function $z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$z(Object(n),!0).forEach((function(t){Xz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xz(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Yz(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yz(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yz(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qz=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.angle,i=e.sign,a=e.isExternal,l=e.cornerRadius,s=e.cornerIsExternal,c=l*(a?1:-1)+r,u=Math.asin(l/c)/aD,d=s?o:o+i*u,f=s?o-i*u:o;return{center:sD(t,n,c,d),circleTangency:sD(t,n,r,d),lineTangency:sD(t,n,c*Math.cos(u*aD),f),theta:u}},Jz=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.startAngle,a=function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),359.999)}(i,e.endAngle),l=i+a,s=sD(t,n,o,i),c=sD(t,n,o,l),u="M ".concat(s.x,",").concat(s.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>l),",\n ").concat(c.x,",").concat(c.y,"\n ");if(r>0){var d=sD(t,n,r,i),f=sD(t,n,r,l);u+="L ".concat(f.x,",").concat(f.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=l),",\n ").concat(d.x,",").concat(d.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},eL={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},tL=function(e){var n=Kz(Kz({},eL),e),r=n.cx,o=n.cy,i=n.innerRadius,a=n.outerRadius,l=n.cornerRadius,s=n.forceCornerRadius,c=n.cornerIsExternal,u=n.startAngle,d=n.endAngle,f=n.className;if(a<i||u===d)return null;var p,h=(0,Mi.Z)("recharts-sector",f),m=a-i,v=tj(l,m,0,!0);return p=v>0&&Math.abs(u-d)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,l=e.cornerIsExternal,s=e.startAngle,c=e.endAngle,u=$k(c-s),d=Qz({cx:t,cy:n,radius:o,angle:s,sign:u,cornerRadius:i,cornerIsExternal:l}),f=d.circleTangency,p=d.lineTangency,h=d.theta,m=Qz({cx:t,cy:n,radius:o,angle:c,sign:-u,cornerRadius:i,cornerIsExternal:l}),v=m.circleTangency,g=m.lineTangency,y=m.theta,b=l?Math.abs(s-c):Math.abs(s-c)-h-y;if(b<0)return a?"M ".concat(p.x,",").concat(p.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):Jz({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c});var x="M ".concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(f.x,",").concat(f.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n ");if(r>0){var w=Qz({cx:t,cy:n,radius:r,angle:s,sign:u,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),S=w.circleTangency,k=w.lineTangency,j=w.theta,E=Qz({cx:t,cy:n,radius:r,angle:c,sign:-u,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),O=E.circleTangency,C=E.lineTangency,P=E.theta,Z=l?Math.abs(s-c):Math.abs(s-c)-j-P;if(Z<0&&0===i)return"".concat(x,"L").concat(t,",").concat(n,"Z");x+="L".concat(C.x,",").concat(C.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(O.x,",").concat(O.y,"\n A").concat(r,",").concat(r,",0,").concat(+(Z>180),",").concat(+(u>0),",").concat(S.x,",").concat(S.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(k.x,",").concat(k.y,"Z")}else x+="L".concat(t,",").concat(n,"Z");return x}({cx:r,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(v,m/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:u,endAngle:d}):Jz({cx:r,cy:o,innerRadius:i,outerRadius:a,startAngle:u,endAngle:d}),t.createElement("path",Gz({},Oj(n,!0),{className:h,d:p,role:"img"}))},nL=["option","shapeType","propTransformer","activeClassName","isActive"];function rL(e){return rL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rL(e)}function oL(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function iL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iL(Object(n),!0).forEach((function(t){lL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lL(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=rL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sL(e,t){return aL(aL({},t),e)}function cL(e){var n=e.shapeType,r=e.elementProps;switch(n){case"rectangle":return t.createElement(pZ,r);case"trapezoid":return t.createElement(Vz,r);case"sector":return t.createElement(tL,r);case"symbols":if(function(e,t){return"symbols"===e}(n))return t.createElement(ZO,r);break;default:return null}}function uL(e){var n,r=e.option,o=e.shapeType,i=e.propTransformer,a=void 0===i?sL:i,l=e.activeClassName,s=void 0===l?"recharts-active-shape":l,c=e.isActive,u=oL(e,nL);if((0,t.isValidElement)(r))n=(0,t.cloneElement)(r,aL(aL({},u),function(e){return(0,t.isValidElement)(e)?e.props:e}(r)));else if(Pk()(r))n=r(u);else if(Rz()(r)&&!Iz()(r)){var d=a(r,u);n=t.createElement(cL,{shapeType:o,elementProps:d})}else{var f=u;n=t.createElement(cL,{shapeType:o,elementProps:f})}return c?t.createElement(Dj,{className:s},n):n}function dL(e,t){return null!=t&&"trapezoids"in e.props}function fL(e,t){return null!=t&&"sectors"in e.props}function pL(e,t){return null!=t&&"points"in e.props}function hL(e,t){var n,r,o=e.x===(null===t||void 0===t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,i=e.y===(null===t||void 0===t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return o&&i}function mL(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function vL(e,t){var n=e.x===t.x,r=e.y===t.y,o=e.z===t.z;return n&&r&&o}function gL(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,o=function(e,t){var n;return dL(e,t)?n="trapezoids":fL(e,t)?n="sectors":pL(e,t)&&(n="points"),n}(n,t),i=function(e,t){var n,r;return dL(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:fL(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:pL(e,t)?t.payload:{}}(n,t),a=r.filter((function(e,r){var a=kN()(i,e),l=n.props[o].filter((function(e){var r=function(e,t){var n;return dL(e,t)?n=hL:fL(e,t)?n=mL:pL(e,t)&&(n=vL),n}(n,t);return r(e,t)})),s=n.props[o].indexOf(l[l.length-1]);return a&&r===s}));return r.indexOf(a[a.length-1])}function yL(){}function bL(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function xL(e){this._context=e}function wL(e){this._context=e}function SL(e){this._context=e}xL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bL(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},wL.prototype={areaStart:yL,areaEnd:yL,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},SL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:bL(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var kL=function(){function e(t,n){W(this,e),this._context=t,this._x=n}return H(e,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}]),e}();function jL(e){this._context=e}function EL(e){this._context=e}function OL(e){return new EL(e)}function CL(e){return e<0?-1:1}function PL(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),l=(i*o+a*r)/(r+o);return(CL(i)+CL(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(l))||0}function ZL(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function _L(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,l=(i-r)/3;e._context.bezierCurveTo(r+l,o+l*t,i-l,a-l*n,i,a)}function TL(e){this._context=e}function ML(e){this._context=new AL(e)}function AL(e){this._context=e}function RL(e){this._context=e}function NL(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function IL(e,t){this._context=e,this._t=t}function DL(e){return e[0]}function zL(e){return e[1]}function LL(e,t){var n=fO(!0),r=null,o=OL,i=null,a=bO(l);function l(l){var s,c,u,d=(l=fN(l)).length,f=!1;for(null==r&&(i=o(u=a())),s=0;s<=d;++s)!(s<d&&n(c=l[s],s,l))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(c,s,l),+t(c,s,l));if(u)return i=null,u+""||null}return e="function"===typeof e?e:void 0===e?DL:fO(e),t="function"===typeof t?t:void 0===t?zL:fO(t),l.x=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),l):e},l.y=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),l):t},l.defined=function(e){return arguments.length?(n="function"===typeof e?e:fO(!!e),l):n},l.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),l):o},l.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),l):r},l}function BL(e,t,n){var r=null,o=fO(!0),i=null,a=OL,l=null,s=bO(c);function c(c){var u,d,f,p,h,m=(c=fN(c)).length,v=!1,g=new Array(m),y=new Array(m);for(null==i&&(l=a(h=s())),u=0;u<=m;++u){if(!(u<m&&o(p=c[u],u,c))===v)if(v=!v)d=u,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),f=u-1;f>=d;--f)l.point(g[f],y[f]);l.lineEnd(),l.areaEnd()}v&&(g[u]=+e(p,u,c),y[u]=+t(p,u,c),l.point(r?+r(p,u,c):g[u],n?+n(p,u,c):y[u]))}if(h)return l=null,h+""||null}function u(){return LL().defined(o).curve(a).context(i)}return e="function"===typeof e?e:void 0===e?DL:fO(+e),t="function"===typeof t?t:fO(void 0===t?0:+t),n="function"===typeof n?n:void 0===n?zL:fO(+n),c.x=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:fO(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:fO(+e),c):r},c.y=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"===typeof e?e:fO(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:fO(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(o="function"===typeof e?e:fO(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(l=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=l=null:l=a(i=e),c):i},c}function FL(e){return FL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},FL(e)}function WL(){return WL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WL.apply(this,arguments)}function UL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UL(Object(n),!0).forEach((function(t){HL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HL(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=FL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=FL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==FL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}jL.prototype={areaStart:yL,areaEnd:yL,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},EL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},TL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_L(this,this._t0,ZL(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,_L(this,ZL(this,n=PL(this,e,t)),n);break;default:_L(this,this._t0,n=PL(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ML.prototype=Object.create(TL.prototype)).point=function(e,t){TL.prototype.point.call(this,t,e)},AL.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},RL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=NL(e),o=NL(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},IL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var VL={curveBasisClosed:function(e){return new wL(e)},curveBasisOpen:function(e){return new SL(e)},curveBasis:function(e){return new xL(e)},curveBumpX:function(e){return new kL(e,!0)},curveBumpY:function(e){return new kL(e,!1)},curveLinearClosed:function(e){return new jL(e)},curveLinear:OL,curveMonotoneX:function(e){return new TL(e)},curveMonotoneY:function(e){return new ML(e)},curveNatural:function(e){return new RL(e)},curveStep:function(e){return new IL(e,.5)},curveStepAfter:function(e){return new IL(e,1)},curveStepBefore:function(e){return new IL(e,0)}},YL=function(e){return e.x===+e.x&&e.y===+e.y},GL=function(e){return e.x},$L=function(e){return e.y},KL=function(e){var t,n=e.type,r=void 0===n?"linear":n,o=e.points,i=void 0===o?[]:o,a=e.baseLine,l=e.layout,s=e.connectNulls,c=void 0!==s&&s,u=function(e,t){if(Pk()(e))return e;var n="curve".concat(ZE()(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?VL[n]||OL:VL["".concat(n).concat("vertical"===t?"Y":"X")]}(r,l),d=c?i.filter((function(e){return YL(e)})):i;if(Array.isArray(a)){var f=c?a.filter((function(e){return YL(e)})):a,p=d.map((function(e,t){return qL(qL({},e),{},{base:f[t]})}));return(t="vertical"===l?BL().y($L).x1(GL).x0((function(e){return e.base.x})):BL().x(GL).y1($L).y0((function(e){return e.base.y}))).defined(YL).curve(u),t(p)}return(t="vertical"===l&&Xk(a)?BL().y($L).x1(GL).x0(a):Xk(a)?BL().x(GL).y1($L).y0(a):LL().x(GL).y($L)).defined(YL).curve(u),t(d)},XL=function(e){var n=e.className,r=e.points,o=e.path,i=e.pathRef;if((!r||!r.length)&&!o)return null;var a=r&&r.length?KL(e):o;return t.createElement("path",WL({},Oj(e,!1),dj(e),{className:(0,Mi.Z)("recharts-curve",n),d:a,ref:i}))};function QL(e){return QL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QL(e)}var JL=["x","y","top","left","width","height","className"];function eB(){return eB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eB.apply(this,arguments)}function tB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nB(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=QL(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=QL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==QL(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var oB=function(e,t,n,r,o,i){return"M".concat(e,",").concat(o,"v").concat(r,"M").concat(i,",").concat(t,"h").concat(n)},iB=function(e){var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.top,l=void 0===a?0:a,s=e.left,c=void 0===s?0:s,u=e.width,d=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tB(Object(n),!0).forEach((function(t){nB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({x:r,y:i,top:l,left:c,width:d,height:p},rB(e,JL));return Xk(r)&&Xk(i)&&Xk(d)&&Xk(p)&&Xk(l)&&Xk(c)?t.createElement("path",eB({},Oj(m,!0),{className:(0,Mi.Z)("recharts-cross",h),d:oB(r,i,d,p,l,c)})):null};function aB(e){var t=e.cx,n=e.cy,r=e.radius,o=e.startAngle,i=e.endAngle;return{points:[sD(t,n,r,o),sD(t,n,r,i)],cx:t,cy:n,radius:r,startAngle:o,endAngle:i}}function lB(e,t,n){var r,o,i,a;if("horizontal"===e)i=r=t.x,o=n.top,a=n.top+n.height;else if("vertical"===e)a=o=t.y,r=n.left,i=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return aB(t);var l=t.cx,s=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,f=sD(l,s,c,d),p=sD(l,s,u,d);r=f.x,o=f.y,i=p.x,a=p.y}return[{x:r,y:o},{x:i,y:a}]}function sB(e){return sB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sB(e)}function cB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cB(Object(n),!0).forEach((function(t){dB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dB(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=sB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=sB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sB(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fB(e){var n,r=e.element,o=e.tooltipEventType,i=e.isActive,a=e.activeCoordinate,l=e.activePayload,s=e.offset,c=e.activeTooltipIndex,u=e.tooltipAxisBandSize,d=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!a||"ScatterChart"!==f&&"axis"!==o)return null;var p=XL;if("ScatterChart"===f)n=a,p=iB;else if("BarChart"===f)n=function(e,t,n,r){var o=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-o,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(d,a,s,u),p=pZ;else if("radial"===d){var h=aB(a),m=h.cx,v=h.cy,g=h.radius;n={cx:m,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:g,outerRadius:g},p=tL}else n={points:lB(d,a,s)},p=XL;var y=uB(uB(uB(uB({stroke:"#ccc",pointerEvents:"none"},s),n),Oj(r.props.cursor,!1)),{},{payload:l,payloadIndex:c,className:(0,Mi.Z)("recharts-tooltip-cursor",r.props.cursor.className)});return(0,t.isValidElement)(r.props.cursor)?(0,t.cloneElement)(r.props.cursor,y):(0,t.createElement)(p,y)}var pB=["item"],hB=["children","className","width","height","style","compact","title","desc"];function mB(e){return mB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mB(e)}function vB(){return vB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vB.apply(this,arguments)}function gB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||OB(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TB(r.key),r)}}function xB(e,t,n){return t=SB(t),function(e,t){if(t&&("object"===mB(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kB(e)}(e,wB()?Reflect.construct(t,n||[],SB(e).constructor):t.apply(e,n))}function wB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wB=function(){return!!e})()}function SB(e){return SB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SB(e)}function kB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jB(e,t){return jB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jB(e,t)}function EB(e){return function(e){if(Array.isArray(e))return CB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||OB(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OB(e,t){if(e){if("string"===typeof e)return CB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CB(e,t):void 0}}function CB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ZB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PB(Object(n),!0).forEach((function(t){_B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _B(e,t,n){return(t=TB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TB(e){var t=function(e,t){if("object"!=mB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mB(t)?t:String(t)}var MB={xAxis:["bottom","top"],yAxis:["left","right"]},AB={width:"100%",height:"100%"},RB={x:0,y:0};function NB(e){return e}var IB=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,o=t.dataEndIndex,i=(null!==n&&void 0!==n?n:[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(EB(e),EB(n)):e}),[]);return i.length>0?i:e&&e.length&&Xk(r)&&Xk(o)?e.slice(r,o+1):[]};function DB(e){return"number"===e?[0,"auto"]:void 0}var zB=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=IB(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(o,l){var s,c,u=null!==(s=l.props.data)&&void 0!==s?s:t;(u&&e.dataStartIndex+e.dataEndIndex!==0&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory)?c=oj(void 0===u?a:u,i.dataKey,r):c=u&&u[n]||a[n];return c?[].concat(EB(o),[RI(l,c)]):o}),[])},LB=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,l=e.tooltipAxis,s=e.tooltipTicks,c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null===n||void 0===n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,s=0;s<a;s++){var c=s>0?r[s-1].coordinate:r[a-1].coordinate,u=r[s].coordinate,d=s>=a-1?r[0].coordinate:r[s+1].coordinate,f=void 0;if($k(u-c)!==$k(d-u)){var p=[];if($k(d-u)===$k(l[1]-l[0])){f=d;var h=u+l[1]-l[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{f=c;var m=d+l[1]-l[0];p[0]=Math.min(u,(m+u)/2),p[1]=Math.max(u,(m+u)/2)}var v=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){i=r[s].index;break}}else{var g=Math.min(c,d),y=Math.max(c,d);if(e>(g+u)/2&&e<=(y+u)/2){i=r[s].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}return i}(i,a,s,l);if(c>=0&&s){var u=s[c]&&s[c].value,d=zB(e,t,c,u),f=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return ZB(ZB(ZB({},r),sD(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var l=o.coordinate,s=r.angle;return ZB(ZB(ZB({},r),sD(r.cx,r.cy,l,s)),{},{angle:s,radius:l})}return RB}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},BB=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,f=wI(c,o);return n.reduce((function(t,n){var p,h=n.props,m=h.type,v=h.dataKey,g=h.allowDataOverflow,y=h.allowDuplicatedCategory,b=h.scale,x=h.ticks,w=h.includeHidden,S=n.props[i];if(t[S])return t;var k,j,E,O=IB(e.data,{graphicalItems:r.filter((function(e){return e.props[i]===S})),dataStartIndex:l,dataEndIndex:s}),C=O.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null===e||void 0===e?void 0:e[0],o=null===e||void 0===e?void 0:e[1];if(r&&o&&Xk(r)&&Xk(o))return!0}return!1})(n.props.domain,g,m)&&(k=TI(n.props.domain,null,g),!f||"number"!==m&&"auto"===b||(E=gI(O,v,"category")));var P=DB(m);if(!k||0===k.length){var Z,_=null!==(Z=n.props.domain)&&void 0!==Z?Z:P;if(v){if(k=gI(O,v,m),"category"===m&&f){var T=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(k);y&&T?(j=k,k=_k()(0,C)):y||(k=AI(_,k,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(EB(e),[t])}),[]))}else if("category"===m)k=y?k.filter((function(e){return""!==e&&!Ok()(e)})):AI(_,k,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Ok()(t)?e:[].concat(EB(e),[t])}),[]);else if("number"===m){var M=function(e,t,n,r,o){var i=t.map((function(t){return bI(e,t,n,o,r)})).filter((function(e){return!Ok()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(O,r.filter((function(e){return e.props[i]===S&&(w||!e.props.hide)})),v,o,c);M&&(k=M)}!f||"number"!==m&&"auto"===b||(E=gI(O,v,"category"))}else k=f?_k()(0,C):a&&a[S]&&a[S].hasStack&&"number"===m?"expand"===d?[0,1]:PI(a[S].stackGroups,l,s):xI(O,r.filter((function(e){return e.props[i]===S&&(w||!e.props.hide)})),m,c,!0);if("number"===m)k=jz(u,k,S,o,x),_&&(k=TI(_,k,g));else if("category"===m&&_){var A=_;k.every((function(e){return A.indexOf(e)>=0}))&&(k=A)}}return ZB(ZB({},t),{},_B({},S,ZB(ZB({},n.props),{},{axisType:o,domain:k,categoricalDomain:E,duplicateDomain:j,originalDomain:null!==(p=n.props.domain)&&void 0!==p?p:P,isCategorical:f,layout:c})))}),{})},FB=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.children,u="".concat(r,"Id"),d=wj(c,o),f={};return d&&d.length?f=BB(e,{axes:d,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s}):i&&i.length&&(f=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=IB(e.data,{graphicalItems:n,dataStartIndex:l,dataEndIndex:s}),f=d.length,p=wI(c,o),h=-1;return n.reduce((function(e,t){var m,v=t.props[i],g=DB("number");return e[v]?e:(h++,p?m=_k()(0,f):a&&a[v]&&a[v].hasStack?(m=PI(a[v].stackGroups,l,s),m=jz(u,m,v,o)):(m=TI(g,xI(d,n.filter((function(e){return e.props[i]===v&&!e.props.hide})),"number",c),r.defaultProps.allowDataOverflow),m=jz(u,m,v,o)),ZB(ZB({},e),{},_B({},v,ZB(ZB({axisType:o},r.defaultProps),{},{hide:!0,orientation:Mk()(MB,"".concat(o,".").concat(h%2),null),domain:m,originalDomain:g,isCategorical:p,layout:c}))))}),{})}(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s})),f},WB=function(e){var t=e.children,n=e.defaultShowTooltip,r=Sj(t,JI),o=0,i=0;return e.data&&0!==e.data.length&&(i=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(o=r.props.startIndex),r.props.endIndex>=0&&(i=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(n)}},UB=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},qB=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,l=n.width,s=n.height,c=n.children,u=n.margin||{},d=Sj(c,JI),f=Sj(c,nC),p=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:ZB(ZB({},e),{},_B({},r,e[r]+n.width))}),{left:u.left||0,right:u.right||0}),h=Object.keys(o).reduce((function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:ZB(ZB({},e),{},_B({},r,Mk()(e,"".concat(r))+n.height))}),{top:u.top||0,bottom:u.bottom||0}),m=ZB(ZB({},h),p),v=m.bottom;d&&(m.bottom+=d.props.height||JI.defaultProps.height),f&&t&&(m=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,l=i-(a.left||0)-(a.right||0),s=cI({children:o,legendWidth:l});if(s){var c=r||{},u=c.width,d=c.height,f=s.align,p=s.verticalAlign,h=s.layout;if(("vertical"===h||"horizontal"===h&&"middle"===p)&&"center"!==f&&Xk(e[f]))return fI(fI({},e),{},pI({},f,e[f]+(u||0)));if(("horizontal"===h||"vertical"===h&&"center"===f)&&"middle"!==p&&Xk(e[p]))return fI(fI({},e),{},pI({},p,e[p]+(d||0)))}return e}(m,0,n,t));var g=l-m.left-m.right,y=s-m.top-m.bottom;return ZB(ZB({brushBottom:v},m),{},{width:Math.max(g,0),height:Math.max(y,0)})},HB=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},VB=["points","className","baseLinePoints","connectNulls"];function YB(){return YB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YB.apply(this,arguments)}function GB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $B(e){return function(e){if(Array.isArray(e))return KB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return KB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KB(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function KB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var XB=function(e){return e&&e.x===+e.x&&e.y===+e.y},QB=function(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach((function(e){XB(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])})),XB(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}(e);t&&(n=[n.reduce((function(e,t){return[].concat($B(e),$B(t))}),[])]);var r=n.map((function(e){return e.reduce((function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)}),"")})).join("");return 1===n.length?"".concat(r,"Z"):r},JB=function(e){var n=e.points,r=e.className,o=e.baseLinePoints,i=e.connectNulls,a=GB(e,VB);if(!n||!n.length)return null;var l=(0,Mi.Z)("recharts-polygon",r);if(o&&o.length){var s=a.stroke&&"none"!==a.stroke,c=function(e,t,n){var r=QB(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(QB(t.reverse(),n).slice(1))}(n,o,i);return t.createElement("g",{className:l},t.createElement("path",YB({},Oj(a,!0),{fill:"Z"===c.slice(-1)?a.fill:"none",stroke:"none",d:c})),s?t.createElement("path",YB({},Oj(a,!0),{fill:"none",d:QB(n,i)})):null,s?t.createElement("path",YB({},Oj(a,!0),{fill:"none",d:QB(o,i)})):null)}var u=QB(n,i);return t.createElement("path",YB({},Oj(a,!0),{fill:"Z"===u.slice(-1)?a.fill:"none",className:l,d:u}))};function eF(e){return eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eF(e)}function tF(){return tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tF.apply(this,arguments)}function nF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nF(Object(n),!0).forEach((function(t){cF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,uF(r.key),r)}}function iF(e,t,n){return t=lF(t),function(e,t){if(t&&("object"===eF(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,aF()?Reflect.construct(t,n||[],lF(e).constructor):t.apply(e,n))}function aF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(aF=function(){return!!e})()}function lF(e){return lF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lF(e)}function sF(e,t){return sF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sF(e,t)}function cF(e,t,n){return(t=uF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uF(e){var t=function(e,t){if("object"!=eF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eF(t)?t:String(t)}var dF=Math.PI/180,fF=1e-5,pF=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),iF(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sF(e,t)}(n,e),r=n,o=[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,r=t.cy,o=t.radius,i=t.orientation,a=t.tickSize||8,l=sD(n,r,o,e.coordinate),s=sD(n,r,o+("inner"===i?-1:1)*a,e.coordinate);return{x1:l.x,y1:l.y,x2:s.x,y2:s.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*dF);return n>fF?"outer"===t?"start":"end":n<-fF?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.radius,i=e.axisLine,a=e.axisLineType,l=rF(rF({},Oj(this.props,!1)),{},{fill:"none"},Oj(i,!1));if("circle"===a)return t.createElement(oC,tF({className:"recharts-polar-angle-axis-line"},l,{cx:n,cy:r,r:o}));var s=this.props.ticks.map((function(e){return sD(n,r,o,e.coordinate)}));return t.createElement(JB,tF({className:"recharts-polar-angle-axis-line"},l,{points:s}))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.tickLine,l=r.tickFormatter,s=r.stroke,c=Oj(this.props,!1),u=Oj(i,!1),d=rF(rF({},c),{},{fill:"none"},Oj(a,!1)),f=o.map((function(r,o){var f=e.getTickLineCoord(r),p=rF(rF(rF({textAnchor:e.getTickTextAnchor(r)},c),{},{stroke:"none",fill:s},u),{},{index:o,payload:r,x:f.x2,y:f.y2});return t.createElement(Dj,tF({className:(0,Mi.Z)("recharts-polar-angle-axis-tick",pD(i)),key:"tick-".concat(r.coordinate)},fj(e.props,r,o)),a&&t.createElement("line",tF({className:"recharts-polar-angle-axis-tick-line"},d,f)),i&&n.renderTickItem(i,p,l?l(r.value,o):r.value))}));return t.createElement(Dj,{className:"recharts-polar-angle-axis-ticks"},f)}},{key:"render",value:function(){var e=this.props,n=e.ticks,r=e.radius,o=e.axisLine;return r<=0||!n||!n.length?null:t.createElement(Dj,{className:(0,Mi.Z)("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks())}}],i=[{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(s_,tF({},n,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],o&&oF(r.prototype,o),i&&oF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);cF(pF,"displayName","PolarAngleAxis"),cF(pF,"axisType","angleAxis"),cF(pF,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var hF=n(8559),mF=n.n(hF),vF=n(3638),gF=n.n(vF),yF=["cx","cy","angle","ticks","axisLine"],bF=["ticks","tick","angle","tickFormatter","stroke"];function xF(e){return xF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xF(e)}function wF(){return wF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wF.apply(this,arguments)}function SF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SF(Object(n),!0).forEach((function(t){_F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jF(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TF(r.key),r)}}function OF(e,t,n){return t=PF(t),function(e,t){if(t&&("object"===xF(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,CF()?Reflect.construct(t,n||[],PF(e).constructor):t.apply(e,n))}function CF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(CF=function(){return!!e})()}function PF(e){return PF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},PF(e)}function ZF(e,t){return ZF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZF(e,t)}function _F(e,t,n){return(t=TF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TF(e){var t=function(e,t){if("object"!=xF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xF(t)?t:String(t)}var MF=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),OF(this,n,arguments)}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZF(e,t)}(n,e),r=n,o=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,r=n.angle,o=n.cx,i=n.cy;return sD(o,i,t,r)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,o=e.ticks,i=mF()(o,(function(e){return e.coordinate||0}));return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:gF()(o,(function(e){return e.coordinate||0})).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.angle,i=e.ticks,a=e.axisLine,l=jF(e,yF),s=i.reduce((function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]}),[1/0,-1/0]),c=sD(n,r,s[0],o),u=sD(n,r,s[1],o),d=kF(kF(kF({},Oj(l,!1)),{},{fill:"none"},Oj(a,!1)),{},{x1:c.x,y1:c.y,x2:u.x,y2:u.y});return t.createElement("line",wF({className:"recharts-polar-radius-axis-line"},d))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.angle,l=r.tickFormatter,s=r.stroke,c=jF(r,bF),u=this.getTickTextAnchor(),d=Oj(c,!1),f=Oj(i,!1),p=o.map((function(r,o){var c=e.getTickValueCoord(r),p=kF(kF(kF(kF({textAnchor:u,transform:"rotate(".concat(90-a,", ").concat(c.x,", ").concat(c.y,")")},d),{},{stroke:"none",fill:s},f),{},{index:o},c),{},{payload:r});return t.createElement(Dj,wF({className:(0,Mi.Z)("recharts-polar-radius-axis-tick",pD(i)),key:"tick-".concat(r.coordinate)},fj(e.props,r,o)),n.renderTickItem(i,p,l?l(r.value,o):r.value))}));return t.createElement(Dj,{className:"recharts-polar-radius-axis-ticks"},p)}},{key:"render",value:function(){var e=this.props,n=e.ticks,r=e.axisLine,o=e.tick;return n&&n.length?t.createElement(Dj,{className:(0,Mi.Z)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),o&&this.renderTicks(),PD.renderCallByParent(this.props,this.getViewBox())):null}}],i=[{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):Pk()(e)?e(n):t.createElement(s_,wF({},n,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],o&&EF(r.prototype,o),i&&EF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);_F(MF,"displayName","PolarRadiusAxis"),_F(MF,"axisType","radiusAxis"),_F(MF,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var AF=n(5727),RF=n.n(AF);function NF(e){return NF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NF(e)}var IF=["valueAccessor"],DF=["data","dataKey","clockWise","id","textBreakAll"];function zF(e){return function(e){if(Array.isArray(e))return LF(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return LF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LF(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BF(){return BF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BF.apply(this,arguments)}function FF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FF(Object(n),!0).forEach((function(t){UF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UF(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=NF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=NF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NF(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qF(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var HF=function(e){return Array.isArray(e.value)?RF()(e.value):e.value};function VF(e){var n=e.valueAccessor,r=void 0===n?HF:n,o=qF(e,IF),i=o.data,a=o.dataKey,l=o.clockWise,s=o.id,c=o.textBreakAll,u=qF(o,DF);return i&&i.length?t.createElement(Dj,{className:"recharts-label-list"},i.map((function(e,n){var o=Ok()(a)?r(e,n):vI(e&&e.payload,a),i=Ok()(s)?{}:{id:"".concat(s,"-").concat(n)};return t.createElement(PD,BF({},Oj(e,!0),u,i,{parentViewBox:e.parentViewBox,value:o,textBreakAll:c,viewBox:PD.parseViewBox(Ok()(l)?e:WF(WF({},e),{},{clockWise:l})),key:"label-".concat(n),index:n}))}))):null}VF.displayName="LabelList",VF.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=wj(e.children,VF).map((function(e,r){return(0,t.cloneElement)(e,{data:n,key:"labelList-".concat(r)})}));return r?[function(e,n){return e?!0===e?t.createElement(VF,{key:"labelList-implicit",data:n}):t.isValidElement(e)||Pk()(e)?t.createElement(VF,{key:"labelList-implicit",data:n,content:e}):Uk()(e)?t.createElement(VF,BF({data:n},e,{key:"labelList-implicit"})):null:null}(e.label,n)].concat(zF(o)):o};var YF,GF=function(e){return null};function $F(e){return $F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$F(e)}function KF(){return KF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KF.apply(this,arguments)}function XF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XF(Object(n),!0).forEach((function(t){iW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aW(r.key),r)}}function eW(e,t,n){return t=nW(t),function(e,t){if(t&&("object"===$F(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rW(e)}(e,tW()?Reflect.construct(t,n||[],nW(e).constructor):t.apply(e,n))}function tW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tW=function(){return!!e})()}function nW(e){return nW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nW(e)}function rW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oW(e,t){return oW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oW(e,t)}function iW(e,t,n){return(t=aW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aW(e){var t=function(e,t){if("object"!=$F(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$F(t)?t:String(t)}GF.displayName="Cell";var lW=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),iW(rW(t=eW(this,n,[e])),"pieRef",null),iW(rW(t),"sectorRefs",[]),iW(rW(t),"id",ej("recharts-pie-")),iW(rW(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Pk()(e)&&e()})),iW(rW(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Pk()(e)&&e()})),t.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},t}var r,o,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oW(e,t)}(n,e),r=n,o=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.label,i=r.labelLine,a=r.dataKey,l=r.valueKey,s=Oj(this.props,!1),c=Oj(o,!1),u=Oj(i,!1),d=o&&o.offsetRadius||20,f=e.map((function(e,r){var f=(e.startAngle+e.endAngle)/2,p=sD(e.cx,e.cy,e.outerRadius+d,f),h=QF(QF(QF(QF({},s),e),{},{stroke:"none"},c),{},{index:r,textAnchor:n.getTextAnchor(p.x,e.cx)},p),m=QF(QF(QF(QF({},s),e),{},{fill:"none",stroke:e.fill},u),{},{index:r,points:[sD(e.cx,e.cy,e.outerRadius,f),p],key:"line"}),v=a;return Ok()(a)&&Ok()(l)?v="value":Ok()(a)&&(v=l),t.createElement(Dj,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(r)},i&&n.renderLabelLineItem(i,m),n.renderLabelItem(o,h,vI(e,v)))}));return t.createElement(Dj,{className:"recharts-pie-labels"},f)}},{key:"renderSectorsStatically",value:function(e){var n=this,r=this.props,o=r.activeShape,i=r.blendStroke,a=r.inactiveShape;return e.map((function(r,l){if(0===(null===r||void 0===r?void 0:r.startAngle)&&0===(null===r||void 0===r?void 0:r.endAngle)&&1!==e.length)return null;var s=n.isActiveIndex(l),c=a&&n.hasActiveIndex()?a:null,u=s?o:c,d=QF(QF({},r),{},{stroke:i?r.fill:r.stroke,tabIndex:-1});return t.createElement(Dj,KF({ref:function(e){e&&!n.sectorRefs.includes(e)&&n.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},fj(n.props,r,l),{key:"sector-".concat(null===r||void 0===r?void 0:r.startAngle,"-").concat(null===r||void 0===r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(l)}),t.createElement(uL,KF({option:u,isActive:s,shapeType:"sector"},d)))}))}},{key:"renderSectorsWithAnimation",value:function(){var e=this,n=this.props,r=n.sectors,o=n.isAnimationActive,i=n.animationBegin,a=n.animationDuration,l=n.animationEasing,s=n.animationId,c=this.state,u=c.prevSectors,d=c.prevIsAnimationActive;return t.createElement(nZ,{begin:i,duration:a,isActive:o,easing:l,from:{t:0},to:{t:1},key:"pie-".concat(s,"-").concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(n){var o=n.t,i=[],a=(r&&r[0]).startAngle;return r.forEach((function(e,t){var n=u&&u[t],r=t>0?Mk()(e,"paddingAngle",0):0;if(n){var l=rj(n.endAngle-n.startAngle,e.endAngle-e.startAngle),s=QF(QF({},e),{},{startAngle:a+r,endAngle:a+l(o)+r});i.push(s),a=s.endAngle}else{var c=e.endAngle,d=e.startAngle,f=rj(0,c-d)(o),p=QF(QF({},e),{},{startAngle:a+r,endAngle:a+f+r});i.push(p),a=p.endAngle}})),t.createElement(Dj,null,e.renderSectorsStatically(i))}))}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&kN()(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,n=this.props,r=n.hide,o=n.sectors,i=n.className,a=n.label,l=n.cx,s=n.cy,c=n.innerRadius,u=n.outerRadius,d=n.isAnimationActive,f=this.state.isAnimationFinished;if(r||!o||!o.length||!Xk(l)||!Xk(s)||!Xk(c)||!Xk(u))return null;var p=(0,Mi.Z)("recharts-pie",i);return t.createElement(Dj,{tabIndex:this.props.rootTabIndex,className:p,ref:function(t){e.pieRef=t}},this.renderSectors(),a&&this.renderLabels(o),PD.renderCallByParent(this.props,null,!1),(!d||f)&&VF.renderCallByParent(this.props,o,!1))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if(Pk()(e))return e(n);var r=(0,Mi.Z)("recharts-pie-label-line","boolean"!==typeof e?e.className:"");return t.createElement(XL,KF({},n,{type:"linear",className:r}))}},{key:"renderLabelItem",value:function(e,n,r){if(t.isValidElement(e))return t.cloneElement(e,n);var o=r;if(Pk()(e)&&(o=e(n),t.isValidElement(o)))return o;var i=(0,Mi.Z)("recharts-pie-label-text","boolean"===typeof e||Pk()(e)?"":e.className);return t.createElement(s_,KF({},n,{alignmentBaseline:"middle",className:i}),o)}}],o&&JF(r.prototype,o),i&&JF(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}(t.PureComponent);YF=lW,iW(lW,"displayName","Pie"),iW(lW,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!dE.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),iW(lW,"parseDeltaAngle",(function(e,t){return $k(t-e)*Math.min(Math.abs(t-e),360)})),iW(lW,"getRealPieData",(function(e){var t=e.props,n=t.data,r=t.children,o=Oj(e.props,!1),i=wj(r,GF);return n&&n.length?n.map((function(e,t){return QF(QF(QF({payload:e},o),e),i&&i[t]&&i[t].props)})):i&&i.length?i.map((function(e){return QF(QF({},o),e.props)})):[]})),iW(lW,"parseCoordinateOfPie",(function(e,t){var n=t.top,r=t.left,o=t.width,i=t.height,a=cD(o,i);return{cx:r+tj(e.props.cx,o,o/2),cy:n+tj(e.props.cy,i,i/2),innerRadius:tj(e.props.innerRadius,a,0),outerRadius:tj(e.props.outerRadius,a,.8*a),maxRadius:e.props.maxRadius||Math.sqrt(o*o+i*i)/2}})),iW(lW,"getComposedData",(function(e){var t=e.item,n=e.offset,r=YF.getRealPieData(t);if(!r||!r.length)return null;var o=t.props,i=o.cornerRadius,a=o.startAngle,l=o.endAngle,s=o.paddingAngle,c=o.dataKey,u=o.nameKey,d=o.valueKey,f=o.tooltipType,p=Math.abs(t.props.minAngle),h=YF.parseCoordinateOfPie(t,n),m=YF.parseDeltaAngle(a,l),v=Math.abs(m),g=c;Ok()(c)&&Ok()(d)?(CE(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),g="value"):Ok()(c)&&(CE(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),g=d);var y,b,x=r.filter((function(e){return 0!==vI(e,g,0)})).length,w=v-x*p-(v>=360?x:x-1)*s,S=r.reduce((function(e,t){var n=vI(t,g,0);return e+(Xk(n)?n:0)}),0);S>0&&(y=r.map((function(e,t){var n,r=vI(e,g,0),o=vI(e,u,t),l=(Xk(r)?r:0)/S,c=(n=t?b.endAngle+$k(m)*s*(0!==r?1:0):a)+$k(m)*((0!==r?p:0)+l*w),d=(n+c)/2,v=(h.innerRadius+h.outerRadius)/2,y=[{name:o,value:r,payload:e,dataKey:g,type:f}],x=sD(h.cx,h.cy,v,d);return b=QF(QF(QF({percent:l,cornerRadius:i,name:o,tooltipPayload:y,midAngle:d,middleRadius:v,tooltipPosition:x},e),h),{},{value:vI(e,g),startAngle:n,endAngle:c,payload:e,paddingAngle:$k(m)*s})})));return QF(QF({},h),{},{sectors:y,data:r})}));var sW=function(e){var n,r=e.chartName,o=e.GraphicalChild,i=e.defaultTooltipEventType,a=void 0===i?"axis":i,l=e.validateTooltipEventTypes,s=void 0===l?["axis"]:l,c=e.axisComponents,u=e.legendContent,d=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,i=t.updateId,a=t.dataStartIndex,l=t.dataEndIndex,s=e.barSize,u=e.layout,d=e.barGap,f=e.barCategoryGap,p=e.maxBarSize,h=UB(u),m=h.numericAxisName,v=h.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=gj(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),y=[];return n.forEach((function(n,h){var b=IB(e.data,{graphicalItems:[n],dataStartIndex:a,dataEndIndex:l}),x=n.props,w=x.dataKey,S=x.maxBarSize,k=n.props["".concat(m,"Id")],j=n.props["".concat(v,"Id")],E=c.reduce((function(e,r){var o=t["".concat(r.axisType,"Map")],i=n.props["".concat(r.axisType,"Id")];o&&o[i]||"zAxis"===r.axisType||Lk(!1);var a=o[i];return ZB(ZB({},e),{},_B(_B({},r.axisType,a),"".concat(r.axisType,"Ticks"),SI(a)))}),{}),O=E[v],C=E["".concat(v,"Ticks")],P=r&&r[k]&&r[k].hasStack&&function(e,t){var n=e.props.stackId;if(Qk(n)){var r=t[n];if(r){var o=r.items.indexOf(e);return o>=0?r.stackedData[o]:null}}return null}(n,r[k].stackGroups),Z=gj(n.type).indexOf("Bar")>=0,_=MI(O,C),T=[],M=g&&function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,o=void 0===r?{}:r;if(!o)return{};for(var i={},a=Object.keys(o),l=0,s=a.length;l<s;l++)for(var c=o[a[l]].stackGroups,u=Object.keys(c),d=0,f=u.length;d<f;d++){var p=c[u[d]],h=p.items,m=p.cateAxisId,v=h.filter((function(e){return gj(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,y=v[0].props[m];i[y]||(i[y]=[]);var b=Ok()(g)?t:g;i[y].push({item:v[0],stackList:v.slice(1),barSize:Ok()(b)?void 0:tj(b,n,0)})}}return i}({barSize:s,stackGroups:r,totalSize:HB(E,v)});if(Z){var A,R,N=Ok()(S)?p:S,I=null!==(A=null!==(R=MI(O,C,!0))&&void 0!==R?R:N)&&void 0!==A?A:0;T=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,l=i.length;if(l<1)return null;var s,c=tj(t,r,0,!0),u=[];if(i[0].barSize===+i[0].barSize){var d=!1,f=r/l,p=i.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(l-1)*c)>=r&&(p-=(l-1)*c,c=0),p>=r&&f>0&&(d=!0,p=l*(f*=.9));var h={offset:((r-p)/2>>0)-c,size:0};s=i.reduce((function(e,t){var n={item:t.item,position:{offset:h.offset+h.size+c,size:d?f:t.barSize}},r=[].concat(hI(e),[n]);return h=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:h})})),r}),u)}else{var m=tj(n,r,0,!0);r-2*m-(l-1)*c<=0&&(c=0);var v=(r-2*m-(l-1)*c)/l;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;s=i.reduce((function(e,t,n){var r=[].concat(hI(e),[{item:t.item,position:{offset:m+(v+c)*n+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),u)}return s}({barGap:d,barCategoryGap:f,bandSize:I!==_?I:_,sizeList:M[j],maxBarSize:N}),I!==_&&(T=T.map((function(e){return ZB(ZB({},e),{},{position:ZB(ZB({},e.position),{},{offset:e.position.offset-I/2})})})))}var D,z,L=n&&n.type&&n.type.getComposedData;L&&y.push({props:ZB(ZB({},L(ZB(ZB({},E),{},{displayedData:b,props:e,dataKey:w,item:n,bandSize:_,barPosition:T,offset:o,stackedData:P,layout:u,dataStartIndex:a,dataEndIndex:l}))),{},_B(_B(_B({key:n.key||"item-".concat(h)},m,E[m]),v,E[v]),"animationId",i)),childIndex:(D=n,z=e.children,xj(z).indexOf(D)),item:n})})),y},h=function(e,t){var n=e.props,i=e.dataStartIndex,a=e.dataEndIndex,l=e.updateId;if(!kj({props:n}))return null;var s=n.children,u=n.layout,f=n.stackOffset,h=n.data,m=n.reverseStackOrder,v=UB(u),g=v.numericAxisName,y=v.cateAxisName,b=wj(s,o),x=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],l=e[a]||{hasStack:!1,stackGroups:{}};if(Qk(i)){var s=l.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};s.items.push(t),l.hasStack=!0,l.stackGroups[i]=s}else l.stackGroups[ej("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return fI(fI({},e),{},pI({},a,l))}),{});return Object.keys(a).reduce((function(t,i){var l=a[i];return l.hasStack&&(l.stackGroups=Object.keys(l.stackGroups).reduce((function(t,i){var a=l.stackGroups[i];return fI(fI({},t),{},pI({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:CI(e,a.items,o)}))}),{})),fI(fI({},t),{},pI({},i,l))}),{})}(h,b,"".concat(g,"Id"),"".concat(y,"Id"),f,m),w=c.reduce((function(e,t){var r="".concat(t.axisType,"Map");return ZB(ZB({},e),{},_B({},r,FB(n,ZB(ZB({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&x,dataStartIndex:i,dataEndIndex:a}))))}),{}),S=qB(ZB(ZB({},w),{},{props:n,graphicalItems:b}),null===t||void 0===t?void 0:t.legendBBox);Object.keys(w).forEach((function(e){w[e]=d(n,w[e],S,e.replace("Map",""),r)}));var k=function(e){var t=nj(e),n=SI(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Rk()(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:MI(t,n)}}(w["".concat(y,"Map")]),j=p(n,ZB(ZB({},w),{},{dataStartIndex:i,dataEndIndex:a,updateId:l,graphicalItems:b,stackGroups:x,offset:S}));return ZB(ZB({formattedGraphicalItems:j,graphicalItems:b,offset:S,stackGroups:x},k),w)};return n=function(e){function n(e){var o,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),_B(kB(a=xB(this,n,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),_B(kB(a),"accessibilityManager",new Mz),_B(kB(a),"handleLegendBBoxUpdate",(function(e){if(e){var t=a.state,n=t.dataStartIndex,r=t.dataEndIndex,o=t.updateId;a.setState(ZB({legendBBox:e},h({props:a.props,dataStartIndex:n,dataEndIndex:r,updateId:o},ZB(ZB({},a.state),{},{legendBBox:e}))))}})),_B(kB(a),"handleReceiveSyncEvent",(function(e,t,n){if(a.props.syncId===e){if(n===a.eventEmitterSymbol&&"function"!==typeof a.props.syncMethod)return;a.applySyncEvent(t)}})),_B(kB(a),"handleBrushChange",(function(e){var t=e.startIndex,n=e.endIndex;if(t!==a.state.dataStartIndex||n!==a.state.dataEndIndex){var r=a.state.updateId;a.setState((function(){return ZB({dataStartIndex:t,dataEndIndex:n},h({props:a.props,dataStartIndex:t,dataEndIndex:n,updateId:r},a.state))})),a.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}})),_B(kB(a),"handleMouseEnter",(function(e){var t=a.getMouseInfo(e);if(t){var n=ZB(ZB({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseEnter;Pk()(r)&&r(n,e)}})),_B(kB(a),"triggeredAfterMouseMove",(function(e){var t=a.getMouseInfo(e),n=t?ZB(ZB({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseMove;Pk()(r)&&r(n,e)})),_B(kB(a),"handleItemMouseEnter",(function(e){a.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),_B(kB(a),"handleItemMouseLeave",(function(){a.setState((function(){return{isTooltipActive:!1}}))})),_B(kB(a),"handleMouseMove",(function(e){e.persist(),a.throttleTriggeredAfterMouseMove(e)})),_B(kB(a),"handleMouseLeave",(function(e){a.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};a.setState(t),a.triggerSyncEvent(t);var n=a.props.onMouseLeave;Pk()(n)&&n(t,e)})),_B(kB(a),"handleOuterEvent",(function(e){var t,n=function(e){var t=e&&e.type;return t&&vj[t]?vj[t]:null}(e),r=Mk()(a.props,"".concat(n));n&&Pk()(r)&&r(null!==(t=/.*touch.*/i.test(n)?a.getMouseInfo(e.changedTouches[0]):a.getMouseInfo(e))&&void 0!==t?t:{},e)})),_B(kB(a),"handleClick",(function(e){var t=a.getMouseInfo(e);if(t){var n=ZB(ZB({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onClick;Pk()(r)&&r(n,e)}})),_B(kB(a),"handleMouseDown",(function(e){var t=a.props.onMouseDown;Pk()(t)&&t(a.getMouseInfo(e),e)})),_B(kB(a),"handleMouseUp",(function(e){var t=a.props.onMouseUp;Pk()(t)&&t(a.getMouseInfo(e),e)})),_B(kB(a),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),_B(kB(a),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseDown(e.changedTouches[0])})),_B(kB(a),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseUp(e.changedTouches[0])})),_B(kB(a),"triggerSyncEvent",(function(e){void 0!==a.props.syncId&&Oz.emit(Cz,a.props.syncId,e,a.eventEmitterSymbol)})),_B(kB(a),"applySyncEvent",(function(e){var t=a.props,n=t.layout,r=t.syncMethod,o=a.state.updateId,i=e.dataStartIndex,l=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)a.setState(ZB({dataStartIndex:i,dataEndIndex:l},h({props:a.props,dataStartIndex:i,dataEndIndex:l,updateId:o},a.state)));else if(void 0!==e.activeTooltipIndex){var s=e.chartX,c=e.chartY,u=e.activeTooltipIndex,d=a.state,f=d.offset,p=d.tooltipTicks;if(!f)return;if("function"===typeof r)u=r(p,e);else if("value"===r){u=-1;for(var m=0;m<p.length;m++)if(p[m].value===e.activeLabel){u=m;break}}var v=ZB(ZB({},f),{},{x:f.left,y:f.top}),g=Math.min(s,v.x+v.width),y=Math.min(c,v.y+v.height),b=p[u]&&p[u].value,x=zB(a.state,a.props.data,u),w=p[u]?{x:"horizontal"===n?p[u].coordinate:g,y:"horizontal"===n?y:p[u].coordinate}:RB;a.setState(ZB(ZB({},e),{},{activeLabel:b,activeCoordinate:w,activePayload:x,activeTooltipIndex:u}))}else a.setState(e)})),_B(kB(a),"renderCursor",(function(e){var n,o=a.state,i=o.isTooltipActive,l=o.activeCoordinate,s=o.activePayload,c=o.offset,u=o.activeTooltipIndex,d=o.tooltipAxisBandSize,f=a.getTooltipEventType(),p=null!==(n=e.props.active)&&void 0!==n?n:i,h=a.props.layout,m=e.key||"_recharts-cursor";return t.createElement(fB,{key:m,activeCoordinate:l,activePayload:s,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:c,tooltipAxisBandSize:d,tooltipEventType:f})})),_B(kB(a),"renderPolarAxis",(function(e,n,r){var o=Mk()(e,"type.axisType"),i=Mk()(a.state,"".concat(o,"Map")),l=i&&i[e.props["".concat(o,"Id")]];return(0,t.cloneElement)(e,ZB(ZB({},l),{},{className:(0,Mi.Z)(o,l.className),key:e.key||"".concat(n,"-").concat(r),ticks:SI(l,!0)}))})),_B(kB(a),"renderPolarGrid",(function(e){var n=e.props,r=n.radialLines,o=n.polarAngles,i=n.polarRadius,l=a.state,s=l.radiusAxisMap,c=l.angleAxisMap,u=nj(s),d=nj(c),f=d.cx,p=d.cy,h=d.innerRadius,m=d.outerRadius;return(0,t.cloneElement)(e,{polarAngles:Array.isArray(o)?o:SI(d,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:SI(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:r})})),_B(kB(a),"renderLegend",(function(){var e=a.state.formattedGraphicalItems,n=a.props,r=n.children,o=n.width,i=n.height,l=a.props.margin||{},s=o-(l.left||0)-(l.right||0),c=cI({children:r,formattedGraphicalItems:e,legendWidth:s,legendContent:u});if(!c)return null;var d=c.item,f=yB(c,pB);return(0,t.cloneElement)(d,ZB(ZB({},f),{},{chartWidth:o,chartHeight:i,margin:l,onBBoxUpdate:a.handleLegendBBoxUpdate}))})),_B(kB(a),"renderTooltip",(function(){var e,n=a.props,r=n.children,o=n.accessibilityLayer,i=Sj(r,OE);if(!i)return null;var l=a.state,s=l.isTooltipActive,c=l.activeCoordinate,u=l.activePayload,d=l.activeLabel,f=l.offset,p=null!==(e=i.props.active)&&void 0!==e?e:s;return(0,t.cloneElement)(i,{viewBox:ZB(ZB({},f),{},{x:f.left,y:f.top}),active:p,label:d,payload:p?u:[],coordinate:c,accessibilityLayer:o})})),_B(kB(a),"renderBrush",(function(e){var n=a.props,r=n.margin,o=n.data,i=a.state,l=i.offset,s=i.dataStartIndex,c=i.dataEndIndex,u=i.updateId;return(0,t.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:jI(a.handleBrushChange,e.props.onChange),data:o,x:Xk(e.props.x)?e.props.x:l.left,y:Xk(e.props.y)?e.props.y:l.top+l.height+l.brushBottom-(r.bottom||0),width:Xk(e.props.width)?e.props.width:l.width,startIndex:s,endIndex:c,updateId:"brush-".concat(u)})})),_B(kB(a),"renderReferenceElement",(function(e,n,r){if(!e)return null;var o=kB(a).clipPathId,i=a.state,l=i.xAxisMap,s=i.yAxisMap,c=i.offset,u=e.props,d=u.xAxisId,f=u.yAxisId;return(0,t.cloneElement)(e,{key:e.key||"".concat(n,"-").concat(r),xAxis:l[d],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})})),_B(kB(a),"renderActivePoints",(function(e){var t=e.item,r=e.activePoint,o=e.basePoint,i=e.childIndex,a=e.isRange,l=[],s=t.props.key,c=t.item.props,u=c.activeDot,d=ZB(ZB({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:yI(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(s,"-activePoint-").concat(i)},Oj(u,!1)),dj(u));return l.push(n.renderActiveDot(u,d)),o?l.push(n.renderActiveDot(u,ZB(ZB({},d),{},{cx:o.x,cy:o.y,key:"".concat(s,"-basePoint-").concat(i)}))):a&&l.push(null),l})),_B(kB(a),"renderGraphicChild",(function(e,n,r){var o=a.filterFormatItem(e,n,r);if(!o)return null;var i=a.getTooltipEventType(),l=a.state,s=l.isTooltipActive,c=l.tooltipAxis,u=l.activeTooltipIndex,d=l.activeLabel,f=Sj(a.props.children,OE),p=o.props,h=p.points,m=p.isRange,v=p.baseLine,g=o.item.props,y=g.activeDot,b=g.hide,x=g.activeBar,w=g.activeShape,S=Boolean(!b&&s&&f&&(y||x||w)),k={};"axis"!==i&&f&&"click"===f.props.trigger?k={onClick:jI(a.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(k={onMouseLeave:jI(a.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:jI(a.handleItemMouseEnter,e.props.onMouseEnter)});var j=(0,t.cloneElement)(e,ZB(ZB({},o.props),k));if(S){if(!(u>=0)){var E,O=(null!==(E=a.getItemByXY(a.state.activeCoordinate))&&void 0!==E?E:{graphicalItem:j}).graphicalItem,C=O.item,P=void 0===C?e:C,Z=O.childIndex,_=ZB(ZB(ZB({},o.props),k),{},{activeIndex:Z});return[(0,t.cloneElement)(P,_),null,null]}var T,M;if(c.dataKey&&!c.allowDuplicatedCategory){var A="function"===typeof c.dataKey?function(e){return"function"===typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());T=oj(h,A,d),M=m&&v&&oj(v,A,d)}else T=null===h||void 0===h?void 0:h[u],M=m&&v&&v[u];if(w||x){var R=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[(0,t.cloneElement)(e,ZB(ZB(ZB({},o.props),k),{},{activeIndex:R})),null,null]}if(!Ok()(T))return[j].concat(EB(a.renderActivePoints({item:o,activePoint:T,basePoint:M,childIndex:u,isRange:m})))}return m?[j,null,null]:[j,null]})),_B(kB(a),"renderCustomized",(function(e,n,r){return(0,t.cloneElement)(e,ZB(ZB({key:"recharts-customized-".concat(r)},a.props),a.state))})),_B(kB(a),"renderMap",{CartesianGrid:{handler:NB,once:!0},ReferenceArea:{handler:a.renderReferenceElement},ReferenceLine:{handler:NB},ReferenceDot:{handler:a.renderReferenceElement},XAxis:{handler:NB},YAxis:{handler:NB},Brush:{handler:a.renderBrush,once:!0},Bar:{handler:a.renderGraphicChild},Line:{handler:a.renderGraphicChild},Area:{handler:a.renderGraphicChild},Radar:{handler:a.renderGraphicChild},RadialBar:{handler:a.renderGraphicChild},Scatter:{handler:a.renderGraphicChild},Pie:{handler:a.renderGraphicChild},Funnel:{handler:a.renderGraphicChild},Tooltip:{handler:a.renderCursor,once:!0},PolarGrid:{handler:a.renderPolarGrid,once:!0},PolarAngleAxis:{handler:a.renderPolarAxis},PolarRadiusAxis:{handler:a.renderPolarAxis},Customized:{handler:a.renderCustomized}}),a.clipPathId="".concat(null!==(o=e.id)&&void 0!==o?o:ej("recharts"),"-clip"),a.throttleTriggeredAfterMouseMove=Ik()(a.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),a.state={},a}var o,i,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jB(e,t)}(n,e),o=n,i=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,o=e.layout,i=Sj(t,OE);if(i){var a=i.props.defaultIndex;if(!("number"!==typeof a||a<0||a>this.state.tooltipTicks.length)){var l=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,s=zB(this.state,n,a,l),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,d="horizontal"===o?{x:c,y:u}:{y:c,x:u},f=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));f&&(d=ZB(ZB({},d),f.props.points[a].tooltipPosition),s=f.props.points[a].tooltipPayload);var p={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:l,activePayload:s,activeCoordinate:d};this.setState(p),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){Cj([Sj(e.children,OE)],[Sj(this.props.children,OE)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Sj(this.props.children,OE);if(e&&"boolean"===typeof e.props.shared){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:a}return a}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,n=this.container,r=n.getBoundingClientRect(),o={top:(t=r).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(e.pageX-o.left),chartY:Math.round(e.pageY-o.top)},a=r.width/n.offsetWidth||1,l=this.inRange(i.chartX,i.chartY,a);if(!l)return null;var s=this.state,c=s.xAxisMap,u=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var d=nj(c).scale,f=nj(u).scale,p=d&&d.invert?d.invert(i.chartX):null,h=f&&f.invert?f.invert(i.chartY):null;return ZB(ZB({},i),{},{xValue:p,yValue:h})}var m=LB(this.state,this.props.data,this.props.layout,l);return m?ZB(ZB({},i),m):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,o=e/n,i=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var l=this.state,s=l.angleAxisMap,c=l.radiusAxisMap;if(s&&c){var u=nj(s);return fD({x:o,y:i},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=Sj(e,OE),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ZB(ZB({},dj(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){Oz.on(Cz,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Oz.removeListener(Cz,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===e||a.props.key===e.key||t===gj(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,n=this.state.offset,r=n.left,o=n.top,i=n.height,a=n.width;return t.createElement("defs",null,t.createElement("clipPath",{id:e},t.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gB(t,2),r=n[0],o=n[1];return ZB(ZB({},e),{},_B({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gB(t,2),r=n[0],o=n[1];return ZB(ZB({},e),{},_B({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var o=0,i=n.length;o<i;o++){var a=n[o],l=a.props,s=a.item,c=gj(s.type);if("Bar"===c){var u=(l.data||[]).find((function(t){return dZ(e,t)}));if(u)return{graphicalItem:a,payload:u}}else if("RadialBar"===c){var d=(l.data||[]).find((function(t){return fD(e,t)}));if(d)return{graphicalItem:a,payload:d}}else if(dL(a,r)||fL(a,r)||pL(a,r)){var f=gL({graphicalItem:a,activeTooltipItem:r,itemData:s.props.data}),p=void 0===s.props.activeIndex?f:s.props.activeIndex;return{graphicalItem:ZB(ZB({},a),{},{childIndex:p}),payload:pL(a,r)?s.props.data[f]:a.props.data[f]}}}return null}},{key:"render",value:function(){var e=this;if(!kj(this))return null;var n,r,o=this.props,i=o.children,a=o.className,l=o.width,s=o.height,c=o.style,u=o.compact,d=o.title,f=o.desc,p=yB(o,hB),h=Oj(p,!1);if(u)return t.createElement(lz,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},t.createElement(Aj,vB({},h,{width:l,height:s,title:d,desc:f}),this.renderClipPath(),Zj(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(n=this.props.tabIndex)&&void 0!==n?n:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return t.createElement(lz,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},t.createElement("div",vB({className:(0,Mi.Z)("recharts-wrapper",a),style:ZB({position:"relative",cursor:"default",width:l,height:s},c)},m,{ref:function(t){e.container=t}}),t.createElement(Aj,vB({},h,{width:l,height:s,title:d,desc:f,style:AB}),this.renderClipPath(),Zj(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],i&&bB(o.prototype,i),l&&bB(o,l),Object.defineProperty(o,"prototype",{writable:!1}),n}(t.Component),_B(n,"displayName",r),_B(n,"defaultProps",ZB({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),_B(n,"getDerivedStateFromProps",(function(e,t){var n=e.dataKey,r=e.data,o=e.children,i=e.width,a=e.height,l=e.layout,s=e.stackOffset,c=e.margin,u=t.dataStartIndex,d=t.dataEndIndex;if(void 0===t.updateId){var f=WB(e);return ZB(ZB(ZB({},f),{},{updateId:0},h(ZB(ZB({props:e},f),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:s,prevMargin:c,prevChildren:o})}if(n!==t.prevDataKey||r!==t.prevData||i!==t.prevWidth||a!==t.prevHeight||l!==t.prevLayout||s!==t.prevStackOffset||!ij(c,t.prevMargin)){var p=WB(e),m={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=ZB(ZB({},LB(t,r,l)),{},{updateId:t.updateId+1}),g=ZB(ZB(ZB({},p),m),v);return ZB(ZB(ZB({},g),h(ZB({props:e},g),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:s,prevMargin:c,prevChildren:o})}if(!Cj(o,t.prevChildren)){var y,b,x,w,S=Sj(o,JI),k=S&&null!==(y=null===(b=S.props)||void 0===b?void 0:b.startIndex)&&void 0!==y?y:u,j=S&&null!==(x=null===(w=S.props)||void 0===w?void 0:w.endIndex)&&void 0!==x?x:d,E=k!==u||j!==d,O=!Ok()(r)&&!E?t.updateId:t.updateId+1;return ZB(ZB({updateId:O},h(ZB(ZB({props:e},t),{},{updateId:O,dataStartIndex:k,dataEndIndex:j}),t)),{},{prevChildren:o,dataStartIndex:k,dataEndIndex:j})}return null})),_B(n,"renderActiveDot",(function(e,n){var r;return r=(0,t.isValidElement)(e)?(0,t.cloneElement)(e,n):Pk()(e)?e(n):t.createElement(oC,n),t.createElement(Dj,{className:"recharts-active-dot",key:n.key},r)})),n}({chartName:"PieChart",GraphicalChild:lW,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:pF},{axisType:"radiusAxis",AxisComp:MF}],formatAxisMap:function(t,n,r,o,i){var a=t.width,l=t.height,s=t.startAngle,c=t.endAngle,u=tj(t.cx,a,a/2),d=tj(t.cy,l,l/2),f=cD(a,l,r),p=tj(t.innerRadius,f,0),h=tj(t.outerRadius,f,.8*f);return Object.keys(n).reduce((function(t,r){var a,l=n[r],f=l.domain,m=l.reversed;if(Ok()(l.range))"angleAxis"===o?a=[s,c]:"radiusAxis"===o&&(a=[p,h]),m&&(a=[a[1],a[0]]);else{var v=oD(a=l.range,2);s=v[0],c=v[1]}var g=function(t,n,r){var o=t.scale,i=t.type,a=t.layout,l=t.axisType;if("auto"===o)return"radial"===a&&"radiusAxis"===l?{scale:kZ(),realScaleType:"band"}:"radial"===a&&"angleAxis"===l?{scale:$T(),realScaleType:"linear"}:"category"===i&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:EZ(),realScaleType:"point"}:"category"===i?{scale:kZ(),realScaleType:"band"}:{scale:$T(),realScaleType:"linear"};if(Fk()(o)){var s="scale".concat(ZE()(o));return{scale:(e[s]||EZ)(),realScaleType:e[s]?s:"point"}}return Pk()(o)?{scale:o}:{scale:EZ(),realScaleType:"point"}}(l,i),y=g.realScaleType,b=g.scale;b.domain(f).range(a),function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-EI,i=Math.max(r[0],r[1])+EI,a=e(t[0]),l=e(t[n-1]);(a<o||a>i||l<o||l>i)&&e.domain([t[0],t[n-1]])}}(b);var x=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,l=n||t.scale;if("auto"!==l&&"linear"!==l)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var s=e.domain();if(!s.length)return null;var c=XN(s,o,a);return e.domain([bN()(c),gN()(c)]),{niceTicks:c}}if(o&&"number"===r){var u=e.domain();return{niceTicks:QN(u,o,a)}}return null}(b,nD(nD({},l),{},{realScaleType:y})),w=nD(nD(nD({},l),x),{},{range:a,radius:h,realScaleType:y,scale:b,cx:u,cy:d,innerRadius:p,outerRadius:h,startAngle:s,endAngle:c});return nD(nD({},t),{},rD({},r,w))}),{})},defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),cW=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=(u[0],u[1],x((function(e){return e.result}))),f=d.allresult,p=d.allBatchWiseStudent,h=d.allBatch,m=_(),v=(0,t.useState)(""),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=(0,t.useState)(""),S=(0,D.Z)(w,2),k=S[0],j=S[1],E=(0,t.useState)(""),O=(0,D.Z)(E,2),C=O[0],P=O[1],Z=x((function(e){return e.exam})),T=Z.allExam,M=Hb(Fx().breakpoints.down("sm")),A=(0,t.useState)(!1),R=(0,D.Z)(A,2),N=R[0],I=R[1];(0,t.useEffect)((function(){ih(uh.result).then((function(e){var t=e.data.reverse();m(On.getResult(t))})).catch((function(e){return console.log("result error: ",e)}))}),[]),(0,t.useEffect)((function(){}),[C]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){var t=e.data.reverse();m(On.getBatch(t))})).catch((function(e){console.error("Error fetching batch:",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();m(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();m(On.getBatchWiseStudent(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();m(On.getBatchWiseStudent(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[C]);var z=function(){var e=W.filter((function(e){var t,n=!y||(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y,r=!k||(null===e||void 0===e?void 0:e.date)==k;return n&&r})),t=e.length,n=e.filter((function(e){return"pass"===e.status})).length;return[{name:"Pass",value:t>0?n/t*100:0},{name:"Fail",value:t>0?(t-n)/t*100:0}]},L=function(e){e.name;var t=e.value;return"".concat(t.toFixed(2),"%")},B=function(e){var t;"Pass"===e.name?(t=W.filter((function(e){return"pass"===e.status&&e.date==k&&e.exam.examName===y})),I(!0),console.log("click on pass:",t)):"Fail"===e.name?(t=W.filter((function(e){return"fail"===e.status&&e.date==k&&e.exam.examName===y})),console.log("click on fail:",t),I(!0)):t=W.filter((function(e){var t=!y||e.exam.examName===y,n=!k||e.date==k;return console.log(k),t&&n})),V(t)};console.log(p),console.log(C);var F=null===p||void 0===p?void 0:p.filter((function(e){return e.batch.id==C}));console.log(F);var W=f.filter((function(e){var t,n=!y||(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y,r=!k||e.date==k,o=F.some((function(t){return t.student.id===e.student.id}));return n&&r&&o}));console.log(W);var U=(0,t.useState)(W),q=(0,D.Z)(U,2),H=q[0],V=q[1];console.log("filteredResult",W),(0,t.useEffect)((function(){I(!1)}),[C]);var Y=f&&f.length>0&&f.some((function(e){var t;return(null===e||void 0===e||null===(t=e.exam)||void 0===t?void 0:t.examName)===y&&e.date===k}));return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Result"})})})}),(0,Bi.jsxs)("div",{style:{padding:"20px"},children:[(0,Bi.jsxs)(Sy,{size:"small",children:[(0,Bi.jsx)(gy,{id:"select-batch-label",children:"Select Batch"}),(0,Bi.jsxs)(fg,{labelId:"select-batch-label",id:"select-batch",value:C,onChange:function(e){P(e.target.value),o(0)},style:{backgroundColor:"white",width:M?"130px":"150px",height:M?"30px":"40px"},label:"Select Batch",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"None"}),null===h||void 0===h?void 0:h.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.batchname)},e.id)}))]})]}),(0,Bi.jsxs)(Sy,{size:"small",sx:{marginLeft:"10px"},children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-autowidth-label",children:"Select Exam"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",value:y,onChange:function(e){b(e.target.value),o(0)},style:{backgroundColor:"white",width:M?"130px":"150px",height:M?"30px":"40px"},label:"Select Exam",children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"None"}),T&&T.length>0&&T.map((function(e){return(0,Bi.jsx)(Zm,{value:null===e||void 0===e?void 0:e.examName,children:yf(null===e||void 0===e?void 0:e.examName)},e.id)}))]})]}),(0,Bi.jsx)(Ry,{type:"date",label:"Date",value:k,onChange:function(e){j(e.target.value),o(0)},variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",marginLeft:"10px"},InputLabelProps:{shrink:!0}})]}),Y&&(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[function(){if(!y||!k||0===W.length)return null;z();return(0,Bi.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,Bi.jsxs)(sW,{width:400,height:400,children:[(0,Bi.jsx)(lW,{dataKey:"value",data:z(),cx:"50%",cy:"50%",outerRadius:100,fill:"#8884d8",label:L,onClick:B,children:z().map((function(e,t){return(0,Bi.jsx)(GF,{fill:"Pass"===e.name?"#82ca9d":"#ff5733"},"cell-".concat(t))}))}),(0,Bi.jsx)(nC,{}),(0,Bi.jsx)(OE,{formatter:function(e){return"".concat(e.toFixed(2),"%")}})]})})}(),Y&&N&&(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",onClick:B,style:{float:"right"},children:"Show Total Students"}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Exam Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Exam Date"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Obtained Marks"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Total Marks"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Grade"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Status"})]})}),(0,Bi.jsx)(Bh,{children:0===H.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):H&&H.length>0&&H.slice(r*l,r*l+l).map((function(e,t){var n,o,i,a=r*l+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:a}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e||null===(n=e.student)||void 0===n?void 0:n.fname)+" "+yf(e.student.lname)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e||null===(o=e.student)||void 0===o?void 0:o.email," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e||null===(i=e.exam)||void 0===i?void 0:i.examName)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[qx(null===e||void 0===e?void 0:e.date)," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.obtainedmark," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.totalmark," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[null===e||void 0===e?void 0:e.grade," "]}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(null===e||void 0===e?void 0:e.status)," "]})]},e.id)}))||[]})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:7,count:W.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})]})]})]})})};var uW=function(){var e=Lo();return(0,Bi.jsxs)("body",{children:[(0,Bi.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"}),(0,Bi.jsx)("script",{src:"https://kit.fontawesome.com/4b9ba14b0f.js",crossOrigin:"anonymous"}),(0,Bi.jsxs)("div",{class:"mainbox",children:[(0,Bi.jsx)("div",{class:"err",children:"4"}),(0,Bi.jsx)("i",{class:"far fa-question-circle fa-spin"}),(0,Bi.jsx)("div",{class:"err2",children:"4"}),(0,Bi.jsxs)("div",{class:"msg",children:["Oops...? Somthings went's wrong !",(0,Bi.jsx)("p",{style:{color:"red"},children:"Error:404 Page Not Found "})," ",(0,Bi.jsxs)("p",{children:["Press Login button to return to the Login page. ",(0,Bi.jsx)(mf,{variant:"outlined",color:"error",component:"button",onClick:function(){e("/")},children:"Login"})," and try from there."]})]})]})]})},dW=function(){var e=(0,t.useState)({fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",organization:""}),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)({fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrNoError:!1,passwordError:!1,password2Error:!1,matchPasswordError:!1,otherBranchError:!1}),d=(0,D.Z)(c,2),f=d[0],p=d[1],h=(0,t.useState)(!1),m=(0,D.Z)(h,2),v=m[0],g=m[1],y=(0,t.useState)(""),b=(0,D.Z)(y,2),w=b[0],S=b[1],k=(0,t.useState)(""),j=(0,D.Z)(k,2),E=j[0],O=j[1],C=t.useState(!1),P=(0,D.Z)(C,2),Z=P[0],T=P[1],M=t.useState(!1),A=(0,D.Z)(M,2),R=A[0],N=A[1],I=t.useState(!1),z=(0,D.Z)(I,2),L=(z[0],z[1]),B=x((function(e){return e.user})),F=B.allBranch,W=x((function(e){return e.user})),U=W.allUser,q=_(),H=Lo(),V=Hb(Fx().breakpoints.down("sm")),Y=(new Date).getFullYear(),G=(0,t.useState)(null),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q="\xa9 2017-".concat(Y," Hematite Infotech, All Rights Reserved."),J=Do();(0,t.useEffect)((function(){ih(uh.branch).then((function(e){var t=e.data.reverse();q(hn.getBranch(t))})).catch((function(e){return console.log("Branch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();q(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){"/student-registration"!==J.pathname&&"/employee-registration"!==J.pathname||L(!0)}),[]),(0,t.useEffect)((function(){if(F&&1===F.length){var e=F[0];s(e.branchName),o((function(t){return te(te({},t),{},{branch_id:e.id})}))}}),[F]),(0,t.useEffect)((function(){var e=null===F||void 0===F?void 0:F.find((function(e){return e.branchName===l}));e&&o((function(t){return te(te({},t),{},{branch_id:e.id})}))}),[l,F]);var ee=function(e){var t,n,i=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,a=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;switch(i){case"fname":o(te(te({},r),{},{fname:a}));break;case"lname":o(te(te({},r),{},{lname:a}));break;case"email":o(te(te({},r),{},{email:a}));break;case"contact":o(te(te({},r),{},{contact:a}));break;case"password":o(te(te({},r),{},{password:a}));break;case"password2":o(te(te({},r),{},{password2:a}));break;case"gender":o(te(te({},r),{},{gender:a}));break;case"prnNo":o(te(te({},r),{},{prnNo:a}));break;case"branch":o((function(e){return te(te({},e),{},{branch:a})})),"branch"===i&&"Branch"===a&&(o((function(e){return te(te({},e),{},{prnNo:null,otherbranch:"",organization:"Hematite branch"})})),p((function(e){return te(te({},e),{},{otherBranchError:!1,pnrNoError:!1})}))),"branch"===i&&"cdac"===a&&(o((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),p((function(e){return te(te({},e),{},{otherBranchError:!1})}))),"branch"===i&&"otherbranch"===a&&(o((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,prnNo:null,organization:"Other branch"})})),p((function(e){return te(te({},e),{},{pnrNoError:!1})})));break;case"role":o(te(te({},r),{},{role:a}));break;case"organization":o(te(te({},r),{},{organization:a}));break;case"otherbranch":o(te(te({},r),{},{otherbranch:a}))}},ne=function(e){var t=e.target,n=t.name,i=t.value;if("fname"===n||"lname"===n){var a=!dh(i);p((function(e){return te(te({},e),{},(0,u.Z)({},"".concat(n,"Error"),a))}))}if("email"===n){var l=!ph(i);p((function(e){return te(te({},e),{},{emailError:l})}))}if("contact"===n){var s=!fh(i);p((function(e){return te(te({},e),{},{contactError:s})}))}if("prnNo"===n){var c=!hh(i);p((function(e){return te(te({},e),{},{pnrNoError:c})}))}if("otherbranch"===n){var d=!gh(i);p((function(e){return te(te({},e),{},{otherBranchError:d})}))}if("password"===n){var h=!mh(i);p((function(e){return te(te({},e),{},{passwordError:h})}))}if("password2"===n){var m=!mh(i);p((function(e){return te(te({},e),{},{password2Error:m})}))}if(""!==r.password&&""!==r.password2&&(r.password!==r.password2?p((function(e){return te(te({},e),{},{matchPasswordError:!0})})):p((function(e){return te(te({},e),{},{matchPasswordError:!1})}))),"branch"===n&&"Branch"===i&&(o((function(e){return te(te({},e),{},{prnNo:null,otherbranch:"",organization:"Hematite branch"})})),p(te(te({},f),{},{otherBranchError:!1,pnrNoError:!1}))),"branch"===n){var v=F.find((function(e){return e.branchName===i}));v&&o((function(e){return te(te({},e),{},{branch_id:v.id})}))}"branch"===n&&"cdac"===i&&(o((function(e){return te(te({},e),{},{branch:"cdac",branch_id:null,otherbranch:"",organization:"Cdac"})})),p(te(te({},f),{},{otherBranchError:!1}))),"branch"===n&&"otherbranch"===i&&(o((function(e){return te(te({},e),{},{branch:"otherbranch",branch_id:null,prnNo:null,organization:"Other branch"})})),p(te(te({},f),{},{pnrNoError:!1})))},re=function(){X(null)},oe=r.fname,ie=r.lname,ae=r.email,le=r.contact,se=r.gender,ce=r.role,ue=r.prnNo,de=r.branch,fe=r.otherbranch,pe=r.password,he=r.password2,me=r.organization,ve=!oe||!ie||!ae||!le||!se||!pe||!me||!de||f.fnameError||f.lnameError||f.emailError||f.contactError||f.passwordError||f.otherBranchError||f.pnrNoError||f.password2Error||f.matchPasswordError;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:V?{width:"40px",height:"35px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"}:{width:"50px",height:"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{component:"div",sx:{flexGrow:1},style:{textAlign:"left",width:"90px"},children:V?"Hematite Infotech ":"Hematite Infotech Online-Quiz"}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":K?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(K),onClick:function(e){e.preventDefault(),H("/")},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Login"}),(0,Bi.jsx)(as,{sx:{},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":K?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(K),onClick:function(e){X(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:K,open:Boolean(K),onClose:re,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){H("/student-registration"),re()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){H("/employee-registration"),re()},children:"Employee"})]})]})]})}),(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:V?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"600px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:V?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Student Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),U.some((function(e){return e.email===r.email})))return g(!0),O("error"),void S("User already exists.");if(r.password===r.password2){if(f.fnameError||f.lnameError||f.emailError||f.contactError||f.pnrNoError||f.passwordError||f.password2Error||f.otherBranchError||f.matchPasswordError)return g(!0),O("error"),void S("Please fix the validation errors before submitting.");if("otherbranch"==de&&""==fe)return g(!0),O("error"),void S("Please enter other branch.");if("cdac"==de&&(""==ue||null==ue))return g(!0),O("error"),void S("Please enter PNR No.");var t=te(te({},r),{},{email:r.email.toLowerCase(),fname:r.fname.toLowerCase(),lname:r.lname.toLowerCase()});console.log(t),ah(uh.student,t).then((function(e){console.log(e),201!==(null===e||void 0===e?void 0:e.status)&&200!==(null===e||void 0===e?void 0:e.status)||(q(hn.addUser(e.data)),g(!0),O("success"),S("Student Registered Successfully"))})).catch((function(e){console.log(e),g(!0),O("error"),S("".concat(null===e||void 0===e?void 0:e.name,":").concat(null===e||void 0===e?void 0:e.message))})),o({fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",branch_id:"",organization:""}),setTimeout((function(){H("/")}),3e3)}else o((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},children:[(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["First Name ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:oe,name:"fname",fullWidth:!0,inputProps:{maxLength:20},size:"small",error:f.fnameError,helperText:f.fnameError&&xh("Enter valid first name"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Last Name ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:ie,name:"lname",fullWidth:!0,inputProps:{maxLength:20},size:"small",error:f.lnameError,helperText:f.lnameError&&xh("Enter valid last name"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Email ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:ae,name:"email",fullWidth:!0,size:"small",inputProps:{maxLength:30},sx:{mb:4},error:f.emailError,helperText:f.emailError&&xh("Enter valid email id"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Contact Number ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:le,name:"contact",fullWidth:!0,size:"small",inputProps:{maxLength:10},sx:{mb:4},error:f.contactError,helperText:f.contactError&&xh("Enter valid contact number"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:V?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:Z?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:pe,name:"password",fullWidth:!0,size:"small",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){return T((function(e){return!e}))},edge:"end",children:Z?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:20},sx:{mb:4},error:f.passwordError,helperText:f.passwordError&&xh("Enter valid password"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:R?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Confirm Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return ee(e)},onBlur:ne,value:he,name:"password2",fullWidth:!0,size:"small",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){return N((function(e){return!e}))},edge:"end",children:R?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},inputProps:{maxLength:14},sx:{mb:4},error:f.matchPasswordError,helperText:f.matchPasswordError&&xh("Password and Confirm Password doesn't match"),InputLabelProps:{style:{fontSize:V?"12px":"16px"}}})]}),f.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"8 characters minimum"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",sx:{marginTop:"20px"},children:[(0,Bi.jsxs)(gy,{sx:{fontSize:V?"12px":"16px"},id:"demo-simple-select-autowidth-label",children:["Select Role ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"role",value:ce,onChange:function(e){return ee(e)},onBlur:ne,autoWidth:!0,label:"Select Role",required:!0,color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose role",children:"Select Role"}),(0,Bi.jsx)(Zm,{value:"student",children:"Student"}),(0,Bi.jsx)(Zm,{value:"intern",children:"Intern"})]})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)("p",{style:{textAlign:"left",fontWeight:"bold",fontSize:V?"14px":"16px"},children:["Select Branch ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{row:!0,"aria-labelledby":"demo-row-radio-buttons-group-label",name:"branch",value:de||" ",onChange:function(e){return ee(e)},onBlur:ne,children:[(0,Bi.jsx)(gw,{value:"Branch",control:(0,Bi.jsx)(Mw,{}),label:"Hematite Branch"}),(0,Bi.jsx)(gw,{value:"cdac",control:(0,Bi.jsx)(Mw,{}),label:"CDAC"}),(0,Bi.jsx)(gw,{value:"otherbranch",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]}),"Branch"===de&&(F&&F.length>1?(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsxs)(gy,{sx:{fontSize:V?"12px":"16px"},id:"demo-simple-select-autowidth-label",children:["Select Branch ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-autowidth-label",id:"demo-simple-select-autowidth-label",name:"selectedBranch",value:l,onChange:function(e){return ee(e)},onBlur:ne,"aria-label":"Choose branch",autoWidth:!0,label:"Select Branch",color:"primary",children:[(0,Bi.jsx)(Zm,{value:"","aria-label":"Choose branch",children:"Select Branch"}),F.map((function(e){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.branchName)},e.id)}))]})]}):(F&&1===F.length&&l!==F[0].id&&ee({target:{name:"selectedBranch",value:F[0].id}}),null)),"cdac"===de&&(0,Bi.jsx)(Ry,{id:"prnNo",variant:"outlined",color:"primary",label:"PRN No",name:"prnNo",value:ue,onChange:function(e){return ee(e)},onBlur:ne,inputProps:{maxLength:20},error:f.pnrNoError,helperText:f.pnrNoError&&xh("Enter valid PRN-No"),fullWidth:!0,size:"small"}),"otherbranch"===de&&(0,Bi.jsx)(Ry,{id:"otherbranch",variant:"outlined",color:"primary",label:"Other Branch",name:"otherbranch",value:fe,inputProps:{maxLength:30},onChange:function(e){return ee(e)},onBlur:ne,fullWidth:!0,size:"small",error:f.otherBranchError,helperText:f.otherBranchError&&xh("Enter valid other branch")})]}),(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsxs)("p",{style:{fontWeight:"bold",fontSize:V?"14px":"16px",textAlign:"left"},children:["Select Gender ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:se||" ",onChange:function(e){return ee(e)},onBlur:ne,sx:{mb:4},row:!0,children:[(0,Bi.jsx)(gw,{value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"8px",display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{variant:"contained",color:"primary",type:"submit",size:"small",disabled:ve,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:function(){o((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",prnNo:"",branch:"",otherbranch:"",role:"",branch_id:"",organization:""})}))},variant:"contained",color:"primary",children:"Clear"})]})]})]})}),(0,Bi.jsx)(db,{open:v,autoHideDuration:4e3,onClose:function(){return g(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return g(!1)},severity:E,children:w})}),(0,Bi.jsx)(_S,{title:Q})]})})})]})};var fW=function(){var e=x((function(e){return e.employee})),n=e.allEmployee,r=x((function(e){return e.user})),o=r.allUser,i=_(),a=Lo(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],d=s[1],f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=Hb(Fx().breakpoints.down("sm")),g=(new Date).getFullYear(),y="\xa9 2017-".concat(g," Hematite Infotech, All Rights Reserved."),b=(0,t.useState)(null),w=(0,D.Z)(b,2),S=w[0],k=w[1],j=(0,t.useState)({students:[],id:null,fname:"",lname:"",email:"",contact:"",dob:"",password:"",password2:"",gender:"",role:"",term:!1,open:!1,isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,selectedRecord:"",snackbarOpen:!1,snackbarMessage:"",severity:"",isFieldsEnabled:!1,errors:{empIdError:!1,fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,password2Error:!1,employeeIdError:!1,matchPasswordError:!1}}),E=(0,D.Z)(j,2),O=E[0],C=E[1];(0,t.useEffect)((function(){ih(uh.employee).then((function(e){var t=e.data.reverse();i(gn.getEmployee(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();i(hn.getUser(t))})).catch((function(e){return console.log("user error: ",e)}))}),[]);var P=function(e){var t,n,r=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.name,o=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value;if("employeeId"!==r)switch(r){case"employeeId":case"fname":case"dob":C(te(te({},O),{},{fname:o}));break;case"lname":C(te(te({},O),{},{lname:o}));break;case"email":C(te(te({},O),{},{email:o}));break;case"contact":C(te(te({},O),{},{contact:o}));break;case"password":C(te(te({},O),{},{password:o}));break;case"password2":C(te(te({},O),{},{password2:o}));break;case"gender":C(te(te({},O),{},{gender:o}));break;case"role":C(te(te({},O),{},{role:o}))}else C((function(e){var t;return te(te({},e),{},(t={},(0,u.Z)(t,r,o),(0,u.Z)(t,"errors",te(te({},e.errors),{},{employeeIdError:!bh(o)})),t))}))},Z=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);C((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{passwordError:o})})}))}if("password2"===n){var i=!mh(r);C((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{password2Error:i})})}))}""!==z&&""!==L&&C(z!==L?function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{matchPasswordError:!0})})}:function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{matchPasswordError:!1})})})},T=function(){C((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",dob:"",role:"",employeeId:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,password2Error:!1,employeeIdError:!1}})}))},M=function(){k(null)},A=O.fname,R=O.lname,N=O.email,I=O.contact,z=O.password,L=O.password2,B=O.gender,F=O.dob,W=O.role,U=O.errors,q=O.employeeId,H=O.isFieldsEnabled,V=!A||!R||!N||!I||!z||!L||!B||!W||!q||!F||U.passwordError||U.password2Error;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:v?{width:"40px",height:"35px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"}:{width:"50px",height:"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{component:"div",sx:{flexGrow:1},style:{textAlign:"left",width:"90px"},children:v?"Hematite Infotech ":"Hematite Infotech Online-Quiz"}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":S?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(S),onClick:function(e){e.preventDefault(),a("/")},variant:"outlined",size:"small",sx:{color:"#FFFFFF",marginTop:"3px","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Login"}),(0,Bi.jsx)(as,{sx:{},variant:"h6",noWrap:!0,component:"div",children:"|"}),(0,Bi.jsx)(mf,{id:"basic-menu","aria-controls":S?"demo-positioned-menu":void 0,"aria-haspopup":"true","aria-expanded":Boolean(S),onClick:function(e){k(e.currentTarget)},variant:"outlined",size:"small",sx:{color:"#FFFFFF","&:hover":{color:"primary.main",backgroundColor:"#FFFFFF"}},children:"Sign up"}),(0,Bi.jsxs)(ov,{id:"basic-menu",anchorEl:S,open:Boolean(S),onClose:M,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Bi.jsx)(Zm,{onClick:function(){a("/student-registration"),M()},children:"Student"}),(0,Bi.jsx)(Zm,{onClick:function(){a("/employee-registration"),M()},children:"Employee"})]})]})]})}),(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:v?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"600px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:v?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Employee Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),O.password===O.password2)if(o.some((function(e){return e.email===O.email})))C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User already exists.",severity:"error"})}));else if(O.errors.passwordError||O.errors.password2Error||O.errors.employeeIdError)C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Please fix the validation errors before submitting.",severity:"error"})}));else{C((function(e){return te(te({},e),{},{students:[],fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",role:"",dob:"",employeeId:"",organization:"",term:!1,branch:"",pnr:"",otherBranch:"",isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,snackbarOpen:!1,snackbarMessage:"",severity:"success"})}));var t={fname:O.fname,lname:O.lname,email:O.email,contact:O.contact,password:O.password,password2:O.password2,gender:O.gender,dob:O.dob,role:O.role,employeeId:O.employeeId};ah(uh.staff,t).then((function(e){201!==e.status&&200!==e.status||(C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Employee registered.",severity:"success"})})),i(hn.addUser(e.data)))})).catch((function(e){C((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:e.message,severity:"error"})}))})),setTimeout((function(){a("/")}),2e3)}else C((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},action:(0,Bi.jsx)(JS,{to:""}),children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Enter employee id",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:q,name:"employeeId",fullWidth:!0,size:"small",inputProps:{maxLength:3},onBlur:function(e){"employeeId"===e.target.name&&function(e){var t=parseInt(e),r=n.find((function(e){return e.employeeId===t}));r?(setTimeout((function(){C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee located successfully",severity:"success"})}))}),500),C((function(e){return te(te(te({},e),r),{},{isFieldsEnabled:!0})}))):(setTimeout((function(){C((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee not found",severity:"error"})}))}),500),T(),C((function(e){return te(te({},e),{},{isFieldsEnabled:!1})})))}(e.target.value),P(e)},helperText:O.errors.employeeIdError&&xh("Enter valid employee id"),error:O.errors.employeeIdError,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"First Name",onChange:function(e){return P(e)},value:A,name:"fname",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.fnameError,helperText:O.errors.fnameError&&xh("Enter valid first name"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Last Name",onChange:function(e){return P(e)},value:R,name:"lname",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.lnameError,helperText:O.errors.lnameError&&xh("Enter valid last name"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:"Email",onChange:function(e){return P(e)},value:N,name:"email",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.emailError,helperText:O.errors.emailError&&xh("Enter valid email"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:"Contact Number",onChange:function(e){return P(e)},value:I,name:"contact",fullWidth:!0,required:!0,size:"small",disabled:!H,InputProps:{readOnly:!0},error:O.errors.contactError,helperText:O.errors.contactError&&xh("Enter valid contact number"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(Ry,{type:c?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:z,name:"password",onBlur:Z,fullWidth:!0,size:"small",disabled:!H,InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){d((function(e){return!e}))},edge:"end",children:c?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},error:O.errors.passwordError,helperText:O.errors.passwordError&&xh("Enter valid password"),InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:h?"text":"password",variant:"outlined",color:"primary",label:(0,Bi.jsxs)("span",{children:["Confirm Password ",(0,Bi.jsx)("span",{style:{color:"red"},children:"*"})]}),onChange:function(e){return P(e)},value:L,name:"password2",size:"small",onBlur:Z,disabled:!H,error:O.errors.matchPasswordError,helperText:O.errors.matchPasswordError&&xh("Password and Confirm Password does't match"),InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){m((function(e){return!e}))},edge:"end",children:h?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},fullWidth:!0,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),O.errors.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"Your password must be between 8 and 14 characters long"})]})}),(0,Bi.jsxs)(Sy,{fullWidth:!0,"aria-readonly":!0,children:[(0,Bi.jsx)("p",{style:{textAlign:"left"},children:"Select Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:B||" ","aria-readonly":!0,row:!0,children:[(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{"aria-readonly":!0,value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",marginTop:3,children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"secondary",label:"Role",onChange:function(e){return P(e)},value:yf(W),name:"role",fullWidth:!0,required:!0,size:"small",InputProps:{readOnly:!0},disabled:!H,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{variant:"outlined",color:"secondary",onChange:function(e){return P(e)},value:F,name:"dob",label:"DOB",fullWidth:!0,size:"small",required:!0,InputProps:{readOnly:!0},disabled:!H,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"20px"},children:[(0,Bi.jsx)(mf,{variant:"contained",size:"small",color:"primary",type:"submit",disabled:V,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:T,variant:"contained",color:"primary",children:"Clear"})]})]})]})}),(0,Bi.jsx)(db,{open:O.snackbarOpen,autoHideDuration:4e3,onClose:function(){return C((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return C((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},severity:O.severity,children:O.snackbarMessage})}),(0,Bi.jsx)(_S,{title:y})]})})})]})};var pW=function(e){var n=e.req,r=n.exam_id,o=(n.student_id,n.questions),i=Hb(Fx().breakpoints.down("sm")),a=(new Date).getFullYear(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],u=s[1],d=(0,t.useState)(""),f=(0,D.Z)(d,2),p=f[0],h=f[1],m=(0,t.useState)("info"),v=(0,D.Z)(m,2),g=(v[0],v[1]),y="\xa9 2017-".concat(a," Hematite Infotech, All Rights Reserved."),b=Lo(),w=_(),S=x((function(e){return e.question})),k=S.allquestions,j=x((function(e){return e.exam})),E=j.allExam,O=(0,t.useState)([]),C=(0,D.Z)(O,2),P=C[0],Z=C[1];(0,t.useEffect)((function(){ih(uh.exams).then((function(e){var t=e.data.reverse();w(sn.GET_EXAM(t))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.question).then((function(e){w(kn.getQuestion(e.data))})).catch((function(e){return console.log("Exam error: ",e)}))}),[]),(0,t.useEffect)((function(){if(E.length&&k.length){var e=E.filter((function(e){return e.id==r})).map((function(e){return e.id})).join(", "),t=o.map((function(e){return e.id})).join(", "),n=k.filter((function(n){return e.includes(n.exam.id)&&t.includes(n.id)}));console.log(n);var i=n.map((function(e){return{id:e.id,answerKey:e.answer}}));console.log(i),Z(i)}}),[E,k,r,o]);var T=function(e,t){var n,r=P.find((function(t){return t.id===e})),i=null===(n=o.find((function(t){return t.id===e})))||void 0===n?void 0:n.answer;return r?r.answerKey===t?{backgroundColor:"lightgreen"}:i===t&&i!==r.answerKey?{backgroundColor:"lightcoral"}:{}:{}};return(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Tl,{color:"primary",position:"sticky",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)("div",{style:{display:"flex",marginRight:"10px"},children:(0,Bi.jsx)("img",{style:{width:i?"40px":"50px",height:i?"36px":"46px",borderRadius:"64%",boxShadow:"white 0px 0px 6px -1px"},src:ok,alt:"logoimg"})}),(0,Bi.jsx)(as,{sx:{flexGrow:1,textAlign:"left",width:"90px",fontSize:i?"13px":"20px"},children:"Hematite Infotech Online-Quiz"}),(0,Bi.jsx)(mf,{sx:{marginLeft:"15px"},onClick:function(){g("warning"),h("Are you sure you want to logout ?"),u(!0)},size:"small",variant:"outlined",color:"inherit",children:"Logout"})]})}),o&&o.map((function(e,t){return(0,Bi.jsxs)(Jw,{children:[(0,Bi.jsx)(aS,{expandIcon:(0,Bi.jsx)(fS.Z,{}),children:(0,Bi.jsxs)(Xy,{container:!0,sx:{textAlign:"left"},spacing:2,children:[(0,Bi.jsx)(Xy,{item:!0,xs:8,children:(0,Bi.jsxs)(as,{sx:{fontSize:"18px"},children:["Que ",t+1," : ",e.question]})}),(0,Bi.jsx)(Xy,{item:!0,xs:2,children:(0,Bi.jsxs)("div",{style:{position:"relative",left:"30%",color:"#2c387e"},children:[e.marks," Marks"]})})]})}),(0,Bi.jsxs)(uS,{children:[e.questionImage&&(0,Bi.jsx)("img",{src:e.questionImage,alt:"Question ".concat(t+1)}),(0,Bi.jsxs)("ul",{children:[(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option1"),children:["Option 1: ",e.option1]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option2"),children:["Option 2: ",e.option2]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option3"),children:["Option 3: ",e.option3]}),(0,Bi.jsxs)("li",{className:"option-list",style:T(e.id,"option4"),children:["Option 4: ",e.option4]})]})]})]},t)})),(0,Bi.jsx)("div",{className:"close-btn",style:{marginBottom:"80px"},children:(0,Bi.jsx)(mf,{type:"button",variant:"contained",size:"small",onClick:function(){sessionStorage.clear(),b("/exam-submitted")},children:"Close"})}),(0,Bi.jsx)(_S,{title:y}),(0,Bi.jsx)(gf,{open:c,onClose:function(){return u(!1)},show:!0,onConfirm:function(){u(!1),sessionStorage.clear(),b("/exam-submitted")},title:"Confirmation",message:p,submitLabel:"Logout"})]})},hW=n(78),mW=function(e,t,n){var r,o,i=e.keys[0];if(Array.isArray(t))t.forEach((function(t,r){n((function(t,n){r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"===typeof t){(Object.keys(t).length>e.keys.length?e.keys:(r=e.keys,o=Object.keys(t),r.filter((function(e){return o.includes(e)})))).forEach((function(r){if(-1!==e.keys.indexOf(r)){var o=t[r];void 0!==o&&n((function(t,n){i===r?Object.assign(t,n):t[e.up(r)]=n}),o)}}))}else"number"!==typeof t&&"string"!==typeof t||n((function(e,t){Object.assign(e,t)}),t)};function vW(e){return e?"Level".concat(e):""}function gW(e){return e.unstable_level>0&&e.container}function yW(e){return function(t){return"var(--Grid-".concat(t,"Spacing").concat(vW(e.unstable_level),")")}}function bW(e){return function(t){return 0===e.unstable_level?"var(--Grid-".concat(t,"Spacing)"):"var(--Grid-".concat(t,"Spacing").concat(vW(e.unstable_level-1),")")}}function xW(e){return 0===e.unstable_level?"var(--Grid-columns)":"var(--Grid-columns".concat(vW(e.unstable_level-1),")")}var wW=function(e){var t=e.theme,n=e.ownerState,r=yW(n),o={};return mW(t.breakpoints,n.gridSize,(function(e,t){var i={};!0===t&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"===typeof t&&(i={flexGrow:0,flexBasis:"auto",width:"calc(100% * ".concat(t," / ").concat(xW(n)).concat(gW(n)?" + ".concat(r("column")):"",")")}),e(o,i)})),o},SW=function(e){var t=e.theme,n=e.ownerState,r={};return mW(t.breakpoints,n.gridOffset,(function(e,t){var o={};"auto"===t&&(o={marginLeft:"auto"}),"number"===typeof t&&(o={marginLeft:0===t?"0px":"calc(100% * ".concat(t," / ").concat(xW(n),")")}),e(r,o)})),r},kW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=gW(n)?(0,u.Z)({},"--Grid-columns".concat(vW(n.unstable_level)),xW(n)):{"--Grid-columns":12};return mW(t.breakpoints,n.columns,(function(e,t){e(r,(0,u.Z)({},"--Grid-columns".concat(vW(n.unstable_level)),t))})),r},jW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=bW(n),o=gW(n)?(0,u.Z)({},"--Grid-rowSpacing".concat(vW(n.unstable_level)),r("row")):{};return mW(t.breakpoints,n.rowSpacing,(function(e,r){var i;e(o,(0,u.Z)({},"--Grid-rowSpacing".concat(vW(n.unstable_level)),"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)))})),o},EW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r=bW(n),o=gW(n)?(0,u.Z)({},"--Grid-columnSpacing".concat(vW(n.unstable_level)),r("column")):{};return mW(t.breakpoints,n.columnSpacing,(function(e,r){var i;e(o,(0,u.Z)({},"--Grid-columnSpacing".concat(vW(n.unstable_level)),"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)))})),o},OW=function(e){var t=e.theme,n=e.ownerState;if(!n.container)return{};var r={};return mW(t.breakpoints,n.direction,(function(e,t){e(r,{flexDirection:t})})),r},CW=function(e){var t=e.ownerState,n=yW(t),r=bW(t);return(0,Ti.Z)({minWidth:0,boxSizing:"border-box"},t.container&&(0,Ti.Z)({display:"flex",flexWrap:"wrap"},t.wrap&&"wrap"!==t.wrap&&{flexWrap:t.wrap},{margin:"calc(".concat(n("row")," / -2) calc(").concat(n("column")," / -2)")},t.disableEqualOverflow&&{margin:"calc(".concat(n("row")," * -1) 0px 0px calc(").concat(n("column")," * -1)")}),(!t.container||gW(t))&&(0,Ti.Z)({padding:"calc(".concat(r("row")," / 2) calc(").concat(r("column")," / 2)")},(t.disableEqualOverflow||t.parentDisableEqualOverflow)&&{padding:"".concat(r("row")," 0px 0px ").concat(r("column"))}))},PW=function(e){var t=[];return Object.entries(e).forEach((function(e){var n=(0,D.Z)(e,2),r=n[0],o=n[1];!1!==o&&void 0!==o&&t.push("grid-".concat(r,"-").concat(String(o)))})),t},ZW=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xs";function n(e){return void 0!==e&&("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e&&e>0)}if(n(e))return["spacing-".concat(t,"-").concat(String(e))];if("object"===typeof e&&!Array.isArray(e)){var r=[];return Object.entries(e).forEach((function(e){var t=(0,D.Z)(e,2),o=t[0],i=t[1];n(i)&&r.push("spacing-".concat(o,"-").concat(String(i)))})),r}return[]},_W=function(e){return void 0===e?[]:"object"===typeof e?Object.entries(e).map((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];return"direction-".concat(n,"-").concat(r)})):["direction-xs-".concat(String(e))]},TW=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],MW=(0,nw.Z)(),AW=ew("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){return t.root}});function RW(e){return(0,tw.Z)({props:e,name:"MuiGrid",defaultTheme:MW})}var NW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStyledComponent,r=void 0===n?AW:n,o=e.useThemeProps,i=void 0===o?RW:o,a=e.componentName,l=void 0===a?"MuiGrid":a,s=t.createContext(void 0),c=r(kW,EW,jW,wW,OW,CW,SW),u=t.forwardRef((function(e,n){var r,o,a,u,d,f,p,h,m=(0,Ci.Z)(),v=Li(i(e)),g=t.useContext(s),y=v.className,b=v.children,x=v.columns,w=void 0===x?12:x,S=v.container,k=void 0!==S&&S,j=v.component,E=void 0===j?"div":j,O=v.direction,C=void 0===O?"row":O,P=v.wrap,Z=void 0===P?"wrap":P,_=v.spacing,M=void 0===_?0:_,A=v.rowSpacing,R=void 0===A?M:A,N=v.columnSpacing,I=void 0===N?M:N,z=v.disableEqualOverflow,L=v.unstable_level,B=void 0===L?0:L,W=(0,T.Z)(v,TW),U=z;B&&void 0!==z&&(U=e.disableEqualOverflow);var q={},H={},V={};Object.entries(W).forEach((function(e){var t=(0,D.Z)(e,2),n=t[0],r=t[1];void 0!==m.breakpoints.values[n]?q[n]=r:void 0!==m.breakpoints.values[n.replace("Offset","")]?H[n.replace("Offset","")]=r:V[n]=r}));var Y=null!=(r=e.columns)?r:B?void 0:w,G=null!=(o=e.spacing)?o:B?void 0:M,$=null!=(a=null!=(u=e.rowSpacing)?u:e.spacing)?a:B?void 0:R,K=null!=(d=null!=(f=e.columnSpacing)?f:e.spacing)?d:B?void 0:I,X=(0,Ti.Z)({},v,{level:B,columns:Y,container:k,direction:C,wrap:Z,spacing:G,rowSpacing:$,columnSpacing:K,gridSize:q,gridOffset:H,disableEqualOverflow:null!=(p=null!=(h=U)?h:g)&&p,parentDisableEqualOverflow:g}),Q=function(e,t){var n=e.container,r=e.direction,o=e.spacing,i=e.wrap,a=e.gridSize,s={root:["root",n&&"container","wrap"!==i&&"wrap-xs-".concat(String(i))].concat((0,F.Z)(_W(r)),(0,F.Z)(PW(a)),(0,F.Z)(n?ZW(o,t.breakpoints.keys[0]):[]))};return(0,Yi.Z)(s,(function(e){return(0,Oa.Z)(l,e)}),{})}(X,m),J=(0,Bi.jsx)(c,(0,Ti.Z)({ref:n,as:E,ownerState:X,className:(0,Mi.Z)(Q.root,y)},V,{children:t.Children.map(b,(function(e){var n;return t.isValidElement(e)&&(0,hW.Z)(e,["Grid"])?t.cloneElement(e,{unstable_level:null!=(n=e.props.unstable_level)?n:B+1}):e}))}));return void 0!==U&&U!==(null!=g&&g)&&(J=(0,Bi.jsx)(s.Provider,{value:U,children:J})),J}));return u.muiName="Grid",u}({createStyledComponent:(0,Oi.ZP)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:function(e,t){return t.root}}),componentName:"MuiGrid2",useThemeProps:function(e){return(0,_a.Z)({props:e,name:"MuiGrid2"})}}),IW=NW,DW=n(1897);var zW=function(){var e=x((function(e){return e.employee})),n=e.allEmployee,r=x((function(e){return e.user})),o=r.allUser,i=_(),a=Lo(),l=(0,t.useState)(!1),s=(0,D.Z)(l,2),c=s[0],d=s[1],f=(0,t.useState)(!1),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=Hb(Fx().breakpoints.down("sm")),g=(new Date).getFullYear(),y="\xa9 2017-".concat(g," Hematite Infotech, All Rights Reserved."),b=(0,t.useState)({students:[],id:null,fname:"",lname:"",email:"",contact:"",dob:"",password:"",password2:"",gender:"",role:"",term:!1,open:!1,isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,selectedRecord:"",snackbarOpen:!1,snackbarMessage:"",severity:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,employeeIdError:!1}}),w=(0,D.Z)(b,2),S=w[0],k=w[1];(0,t.useEffect)((function(){ih(uh.employee).then((function(e){var t=e.data.reverse();i(gn.getEmployee(t))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}))}),[]),(0,t.useEffect)((function(){ih(uh.user).then((function(e){var t=e.data.reverse();i(hn.getUser(t))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}))}),[]);var j=function(e){var t=e.target,n=t.name,r=t.value;k((function(e){return te(te({},e),{},(0,u.Z)({},n,r))}))},E=function(e){var t=e.target,n=t.name,r=t.value;if("password"===n){var o=!mh(r);k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{passwordError:o})})}))}"employeeId"!==n||(Number.isInteger(Number(r))?k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{employeeIdError:!1})})})):k((function(e){return te(te({},e),{},{errors:te(te({},e.errors),{},{employeeIdError:!0})})})))},O=function(){k((function(e){return te(te({},e),{},{fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",dob:"",role:"",employeeId:"",isFieldsEnabled:!1,errors:{fnameError:!1,lnameError:!1,emailError:!1,contactError:!1,pnrError:!1,passwordError:!1,employeeIdError:!1}})}))},C=S.fname,P=S.lname,Z=S.email,T=S.contact,M=S.password,A=S.password2,R=S.gender,N=S.dob,I=S.role,z=S.employeeId,L=S.isFieldsEnabled,B=!C||!P||!Z||!T||!M||!A||!R||!I||!z||!N;return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsx)(jS,{component:"main",maxWidth:"sm",sx:{marginTop:"3rem"},children:(0,Bi.jsx)(ml,{variant:"outlined",sx:{padding:"2rem",minHeight:v?"920px":"400px",marginBottom:"70px"},children:(0,Bi.jsxs)(Vi,{sx:{flexGrow:1},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"700px",margin:"auto",padding:"10px"},children:(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(as,{sx:{fontSize:v?"20px":"25px",color:"primary.main"},variant:"h4",gutterBottom:!0,children:"Student Registration"}),(0,Bi.jsxs)("form",{onSubmit:function(e){if(e.preventDefault(),S.password===S.password2)if(o.some((function(e){return e.email===S.email})))k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User already exists.",severity:"error"})}));else if(S.errors.passwordError||S.errors.employeeIdError)k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Please fix the validation errors before submitting.",severity:"error"})}));else{k((function(e){return te(te({},e),{},{students:[],fname:"",lname:"",email:"",contact:"",password:"",password2:"",gender:"",role:"",dob:"",employeeId:"",organization:"",term:!1,branch:"",pnr:"",otherBranch:"",isAddStudent:!0,isDeletePopupOpen:!1,deletingRecordId:null,isDetailsPopupOpen:!1,snackbarOpen:!1,snackbarMessage:"",severity:"success"})}));var t={fname:S.fname,lname:S.lname,email:S.email,contact:S.contact,password:S.password,password2:S.password2,gender:S.gender,dob:S.dob,role:S.role,employeeId:S.employeeId};ah(uh.staff,t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==e.statu||(k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"User successfully registered.",severity:"success"})})),i(hn.addUser(e.data)))})).catch((function(e){k((function(t){return te(te({},t),{},{snackbarOpen:!0,snackbarMessage:null===e||void 0===e?void 0:e.message,severity:"error"})}))})),setTimeout((function(){a("/")}),2e3)}else k((function(e){return te(te({},e),{},{snackbarOpen:!0,snackbarMessage:"Passwords do not match.",severity:"warning"})}))},action:(0,Bi.jsx)(JS,{to:""}),children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Enter Student Mail ID ",onChange:j,value:z,name:"employeeId",fullWidth:!0,required:!0,size:"small",onBlur:function(e){E(e),j(e),function(e){var t=parseInt(e),r=n.find((function(e){return e.employeeId===t}));r?(setTimeout((function(){k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee found successfully",severity:"success"})}))}),500),k((function(e){return te(te(te({},e),r),{},{isFieldsEnabled:!0})}))):(setTimeout((function(){k((function(e){return te(te({},e),{},{snackbarOpen:!0,variant:"filled",snackbarMessage:"Employee not found",severity:"error"})}))}),500),O(),k((function(e){return te(te({},e),{},{isFieldsEnabled:!1})})))}(e.target.value)},helperText:S.errors.employeeIdError&&xh("Please enter a valid student Email id")||"eg:john@example.com",error:S.errors.employeeIdError,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)("br",{}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"First Name",onChange:j,value:C,name:"fname",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.fnameError,helperText:S.errors.fnameError&&xh("Please enter a valid fname")||"eg:John",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"primary",label:"Last Name",onChange:j,value:P,name:"lname",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.lnameError,helperText:S.errors.lnameError&&xh("Please enter a valid last name")||"eg: Doe",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:"email",variant:"outlined",color:"primary",label:"Email",onChange:j,value:Z,name:"email",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.emailError,helperText:S.errors.emailError&&xh("Please enter a valid email")||"eg:jhon@gmail.com",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:"tel",variant:"outlined",color:"primary",label:"+91 Contact Number",onChange:j,value:T,name:"contact",fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{readOnly:!0},error:S.errors.contactError,helperText:S.errors.contactError&&xh("Please enter a valid contact")||"eg:9999999999",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",children:[(0,Bi.jsx)(Ry,{type:c?"text":"password",variant:"outlined",color:"primary",label:"Password",onChange:j,value:M,name:"password",onBlur:E,fullWidth:!0,required:!0,size:"small",disabled:!L,InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){d((function(e){return!e}))},edge:"end",children:c?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},error:S.errors.passwordError,helperText:S.errors.passwordError&&xh("Please enter a valid password")||"eg:Jhon@1234",InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{type:h?"text":"password",variant:"outlined",color:"primary",label:"Confirm Password",onChange:j,value:A,name:"password2",size:"small",disabled:!L,error:S.errors.passwordError,helperText:S.errors.passwordError&&xh("Please enter a valid password")||"eg:Jhon@1234",InputProps:{endAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(Js,{onClick:function(){m((function(e){return!e}))},edge:"end",children:h?(0,Bi.jsx)(Rw.Z,{}):(0,Bi.jsx)(ES.Z,{})})})},fullWidth:!0,required:!0,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),S.errors.passwordError&&(0,Bi.jsx)("div",{children:(0,Bi.jsxs)("ul",{style:{color:"#f44336",textAlign:"left",paddingLeft:"20px",margin:"5px 0"},children:[(0,Bi.jsx)("li",{children:"One lowercase character"}),(0,Bi.jsx)("li",{children:"One uppercase character"}),(0,Bi.jsx)("li",{children:"One number"}),(0,Bi.jsx)("li",{children:"One special character"}),(0,Bi.jsx)("li",{children:"8 characters minimum"})]})}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(Sy,{fullWidth:!0,disabled:!L,children:[(0,Bi.jsx)("p",{style:{textAlign:"left"},children:"Select Gender"}),(0,Bi.jsxs)(Jx,{"aria-label":"gender",name:"gender",value:R||" ",onChange:j,row:!0,children:[(0,Bi.jsx)(gw,{value:"male",control:(0,Bi.jsx)(Mw,{}),label:"Male"}),(0,Bi.jsx)(gw,{value:"female",control:(0,Bi.jsx)(Mw,{}),label:"Female"}),(0,Bi.jsx)(gw,{value:"other",control:(0,Bi.jsx)(Mw,{}),label:"Other"})]})]}),(0,Bi.jsxs)(dw,{spacing:2,direction:v?"column":"row",marginTop:3,children:[(0,Bi.jsx)(Ry,{type:"text",variant:"outlined",color:"secondary",label:"Role",onChange:j,value:I,name:"role",fullWidth:!0,required:!0,size:"small",InputProps:{readOnly:!0},disabled:!L,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}}),(0,Bi.jsx)(Ry,{variant:"outlined",color:"secondary",onChange:j,value:N,name:"dob",label:"DOB",fullWidth:!0,size:"small",required:!0,InputProps:{readOnly:!0},disabled:!L,InputLabelProps:{style:{fontSize:v?"12px":"16px"}}})]}),(0,Bi.jsx)("br",{}),(0,Bi.jsxs)(dw,{spacing:2,direction:"row",sx:{marginTop:"10px"},children:[(0,Bi.jsx)(mf,{variant:"contained",size:"small",color:"primary",type:"submit",disabled:B,children:"Submit"}),(0,Bi.jsx)(mf,{type:"button",size:"small",onClick:O,variant:"contained",color:"primary",children:"Clear"})]}),(0,Bi.jsxs)("div",{style:{display:"flex",flexDirection:"row",marginTop:"25px",justifyContent:"left"},children:[(0,Bi.jsx)("a",{href:"",style:{color:"GrayText"},onClick:function(e){return function(e){e.preventDefault(),a("/")}(e)},children:"Login ? Click Here"})," ",(0,Bi.jsx)("br",{})]})]})]})}),(0,Bi.jsx)(db,{open:S.snackbarOpen,autoHideDuration:4e3,onClose:function(){return k((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:function(){return k((function(e){return te(te({},e),{},{snackbarOpen:!1})}))},severity:S.severity,children:S.snackbarMessage})}),(0,Bi.jsx)(_S,{title:y})]})})})})},LW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),BW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),FW=(0,jv.Z)((0,Bi.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function WW(e){return(0,Oa.Z)("MuiCheckbox",e)}var UW=(0,Ea.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),qW=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],HW=(0,Oi.ZP)(qg,{shouldForwardProp:function(e){return(0,Oi.FO)(e)||"classes"===e},name:"MuiCheckbox",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t["color".concat((0,vl.Z)(n.color))]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Ti.Z)({color:(n.vars||n).palette.text.secondary},!r.disableRipple&&{"&:hover":{backgroundColor:n.vars?"rgba(".concat("default"===r.color?n.vars.palette.action.activeChannel:n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,cl.Fq)("default"===r.color?n.palette.action.active:n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,u.Z)(t,"&.".concat(UW.checked,", &.").concat(UW.indeterminate),{color:(n.vars||n).palette[r.color].main}),(0,u.Z)(t,"&.".concat(UW.disabled),{color:(n.vars||n).palette.action.disabled}),t))})),VW=(0,Bi.jsx)(BW,{}),YW=(0,Bi.jsx)(LW,{}),GW=(0,Bi.jsx)(FW,{}),$W=t.forwardRef((function(e,n){var r,o,i=(0,_a.Z)({props:e,name:"MuiCheckbox"}),a=i.checkedIcon,l=void 0===a?VW:a,s=i.color,c=void 0===s?"primary":s,u=i.icon,d=void 0===u?YW:u,f=i.indeterminate,p=void 0!==f&&f,h=i.indeterminateIcon,m=void 0===h?GW:h,v=i.inputProps,g=i.size,y=void 0===g?"medium":g,b=i.className,x=(0,T.Z)(i,qW),w=p?m:d,S=p?m:l,k=(0,Ti.Z)({},i,{color:c,indeterminate:p,size:y}),j=function(e){var t=e.classes,n=e.indeterminate,r=e.color,o=e.size,i={root:["root",n&&"indeterminate","color".concat((0,vl.Z)(r)),"size".concat((0,vl.Z)(o))]},a=(0,Yi.Z)(i,WW,t);return(0,Ti.Z)({},t,a)}(k);return(0,Bi.jsx)(HW,(0,Ti.Z)({type:"checkbox",inputProps:(0,Ti.Z)({"data-indeterminate":p},v),icon:t.cloneElement(w,{fontSize:null!=(r=w.props.fontSize)?r:y}),checkedIcon:t.cloneElement(S,{fontSize:null!=(o=S.props.fontSize)?o:y}),ownerState:k,ref:n,className:(0,Mi.Z)(j.root,b)},x,{classes:j}))})),KW=$W,XW={textAlign:"left",paddingLeft:"10px",fontSize:"16px"};var QW=function(e){var n=e.selectedBatch,r=e.updateShowBatchDetail,o=e.getTrainerName,i=(0,t.useState)([]),a=(0,D.Z)(i,2),l=(a[0],a[1]),s=(0,t.useState)(!1),c=(0,D.Z)(s,2),u=c[0],d=c[1],f=(0,t.useState)([]),p=(0,D.Z)(f,2),h=p[0],m=p[1],v=(0,t.useState)({open:!1,message:"",severity:"success"}),g=(0,D.Z)(v,2),y=g[0],b=g[1],w=(Lo(),_()),S=x((function(e){return e.user})),k=S.allUser,j=x((function(e){return e.feedbackAns})),E=j.allBatchWiseStudent,O=(0,t.useState)(!1),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(null),M=(0,D.Z)(T,2),A=M[0],R=M[1];(0,t.useEffect)((function(){ih("".concat(uh.user)).then((function(e){var t=e.data.reverse();w(hn.getUser(t))})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();w(Zn.getBatchWiseStudent(t)),l(e.data)})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[]),(0,t.useEffect)((function(){ih(uh.batchWiseStudent).then((function(e){var t=e.data.reverse();w(Zn.getBatchWiseStudent(t)),l(e.data)})).catch((function(e){b({open:!0,message:"".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message),severity:"error"})}))}),[y]);var N=function(e){var t=k.find((function(t){return t.id===e}));return t?"".concat(yf(t.fname)):"Student ".concat(e).join(",")},I=function(){b(te(te({},y),{},{open:!1}))},z=function(e){Z(!0),R(e)},L=function(){Z(!1),R(null)},B=E.filter((function(e){return e.batch&&e.batch.id===n.id})),F=new Set(B.map((function(e){return e.student.id}))),W=k.filter((function(e){return"student"===e.role&&!F.has(e.id)}));return console.log(B),(0,Bi.jsxs)("div",{children:[(0,Bi.jsxs)(Vi,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{position:"static",children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block",textAlign:"left"}},children:"Batch Details"}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:{flexGrow:1,textAlign:"end"},children:["Batch Start Date:"," ",null!==n&&void 0!==n&&n.startDate?null===n||void 0===n?void 0:n.startDate:"Loading..."]})]})})}),(0,Bi.jsx)(Kh,{component:ml,sx:{borderRadius:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0"},children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsxs)(nm,{children:[(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:7,children:(0,Bi.jsxs)(Vi,{sx:{marginTop:"20px",display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[n&&(0,Bi.jsxs)("div",{children:[(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Trainer Name: ",yf(o(null===n||void 0===n?void 0:n.trainer))]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Course Name: ",yf(n.course.CourseName)]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Duration In Days: ",null===n||void 0===n?void 0:n.duration_in_days]}),(0,Bi.jsxs)(as,{variant:"subtitle1",sx:XW,children:["Left Days:"," ",function(e,t){if(!e||!t)return"Invalid date or duration";var n=parseInt(t.replace(/\D/g,""),10),r=new Date(e),o=new Date(r);o.setDate(r.getDate()+n);var i=o-new Date;return i<0?0:Math.ceil(i/864e5)}(null===n||void 0===n?void 0:n.startDate,null===n||void 0===n?void 0:n.duration_in_days)," ","days"]})]}),(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)(Vi,{sx:{minWidth:160},children:(0,Bi.jsxs)(Sy,{fullWidth:!0,children:[(0,Bi.jsx)(gy,{id:"demo-multiple-checkbox-label",children:"Select Students"}),(0,Bi.jsx)(fg,{labelId:"demo-multiple-checkbox-label",id:"demo-multiple-checkbox",multiple:!0,label:"Select Students",value:h,onChange:function(e){var t=e.target.value;m(t)},renderValue:function(e){return e.map((function(e){return N(e)})).join(", ")},children:0===W.length?(0,Bi.jsx)(Zm,{disabled:!0,value:"",children:(0,Bi.jsx)(Mc,{primary:"None"})}):W.map((function(e){return(0,Bi.jsxs)(Zm,{value:e.id,children:[(0,Bi.jsx)(KW,{checked:h.indexOf(e.id)>-1}),(0,Bi.jsx)(Mc,{primary:"".concat(yf(e.fname)," ").concat(yf(e.lname))})]},e.id)}))})]})}),(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"medium",startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){if(n)if(0!==h.length){var e=(new Date).toISOString().split("T")[0];h.forEach((function(t){var r=N(t);if(E.some((function(e){return e.student.id===t&&e.batch.id===n.id})))b({open:!0,message:"Student ".concat(r," already in the batch"),severity:"warning"});else{var o={student_id:t,batch_id:n.id,date:e};ah(uh.batchWiseStudent,o).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(b({open:!0,message:"Students added successfully",severity:"success"}),w(Zn.addBatchwiseStudent(e.data)))})).catch((function(e){b({open:!0,message:"Error adding student ".concat(t),severity:"error"})}))}})),m([])}else b({open:!0,message:"No students selected",severity:"warning"});else b({open:!0,message:"Selected batch is undefined",severity:"error"})},sx:{mt:2},children:"Add student"})]})]})})}),(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"SrNo"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Student Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Student Email Id"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Organization Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})]}),(0,Bi.jsx)(Bh,{children:B.map((function(e,t){return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:t+1}),(0,Bi.jsxs)(Vh,{children:[yf(e.student.fname)," ",yf(e.student.lname)]}),(0,Bi.jsx)(Vh,{children:e.student.email}),(0,Bi.jsx)(Vh,{children:e.student.organization}),(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(Js,{onClick:function(){return t=e.id,void z(t);var t},children:(0,Bi.jsx)(ey.Z,{style:{color:"red"}})})})]},t)}))})]})})]}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){return r(!1)},children:"Back to Batches"}),(0,Bi.jsx)(Bd,{open:u,onClose:function(){d(!1)},children:(0,Bi.jsx)($d,{children:(0,Bi.jsx)(zW,{})})}),(0,Bi.jsx)(gf,{open:P,onClose:L,onConfirm:function(){L(),function(){var e="".concat(uh.batchWiseStudent).concat(A);sh(e).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){b({open:!0,message:"Student deleted successfully",severity:"success"}),w(Zn.deleteBatchWiseStudent(A));var t=B.filter((function(e){return e.id!==A}));l(t)}})).catch((function(e){b({open:!0,message:null===e||void 0===e?void 0:e.message,severity:"error"})}))}()},show:!0,message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:y.open,autoHideDuration:6e3,onClose:I,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{onClose:I,severity:y.severity,children:y.message})})]})},JW=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)("days"),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(0),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(5),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(!1),W=(0,D.Z)(B,2),U=W[0],q=W[1],H=(0,t.useState)(""),V=(0,D.Z)(H,2),Y=V[0],G=V[1],$=(0,t.useState)(!0),K=(0,D.Z)($,2),X=K[0],Q=K[1],J=(0,t.useState)(!1),ee=(0,D.Z)(J,2),ne=ee[0],re=ee[1],oe=(0,t.useState)(null),ie=(0,D.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,t.useState)(!1),ce=(0,D.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,t.useState)(""),pe=(0,D.Z)(fe,2),he=pe[0],me=pe[1],ve=(0,t.useState)(!0),ge=(0,D.Z)(ve,2),ye=ge[0],be=ge[1],xe=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1,batchNameError:!1}),we=(0,D.Z)(xe,2),Se=we[0],ke=we[1],je=(0,t.useState)("success"),Ee=(0,D.Z)(je,2),Oe=Ee[0],Ce=Ee[1],Pe=Lo(),Ze=_(),_e=x((function(e){return e.employee})),Te=_e.allEmployee,Me=x((function(e){return e.batch})).SingleBatch,Ae=x((function(e){return e.batch})).allBatches,Re=(0,t.useState)(!0),Ne=(0,D.Z)(Re,2),Ie=(Ne[0],Ne[1]),De=x((function(e){return e.batch})),ze=De.allCourse;(0,t.useEffect)((function(){ih(uh.course).then((function(e){return Ze(Mn.Get_Course(e.data))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){return Ze(Mn.GET_BATCH(e.data.reverse()))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[ue]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){return Ze(Mn.GET_BATCH(e.data.reverse()))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){ih("".concat(uh.employee)).then((function(e){var t=e.data.reverse();Ze(gn.getEmployee(t))})).catch((function(e){me("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),Ce("error"),de(!0)}))}),[]),(0,t.useEffect)((function(){if(Me){var e=Me.id,t=Me.courseId,n=Me.trainerId,r=Me.duration_in_days,i=Me.startDate,a=Me.batchname;o(e),f(t),s(n),w(null===r||void 0===r?void 0:r.replace(/[a-z]/g,"")),E(null===r||void 0===r?void 0:r.replace(/\d+/g,"")),v(i),Z(a)}}),[Me]);var Le=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"courseId":f(r);break;case"trainerId":s(r);break;case"duration":w(r);break;case"durationUnit":E(r);break;case"startDate":v(r);break;case"batchname":Z(r)}"duration"===n&&(Number.isInteger(Number(r))||(me("Only numeric value accepted ."),Ce("error"),de(!0),be(!1)))},Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=Ae.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.duration_in_days,i=t.startDate,a=t.batchname;o(n),f(t.course.id),s(t.trainer.id),w(r.replace(/[a-z]/g,"")),E(r.replace(/\d+/g,"")),v(i),Z(a),q(!0),Ie(!1),Q(!1)}}else q(!0),Ie(!0),Fe(),Q(!0)},Fe=function(){o(null),Z(""),f(""),w(""),s(""),v(""),E("days")},We=function(){q(!1),ke((function(e){return te(te({},e),{},{fnameError:!1,lnameError:!1,contactError:!1,emailError:!1,employeeIdError:!1,batchNameError:!1})}))},Ue=function(e){re(!0),le(e)},qe=function(){re(!1),le(null)},He=function(e){e.preventDefault();var t=Ae.some((function(e){return e.batchname==P&&e.id!==r}));if(t)return de(!0),me("Batch name already exists. Please enter a unique batch name."),void Ce("error");if(ye){var n="".concat(b).concat(j),o={course_id:d,trainer_id:l,duration_in_days:n,startDate:m,batchname:"".concat(P.toLowerCase(),"-").concat(m)};X?ah(uh.batch,o).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){de(!0),me("Batch Added!."),Ce("success"),Ze(Mn.ADD_BATCH(e.data));var t=[e.data].reverse(),n=[].concat((0,F.Z)(t),(0,F.Z)(Ae));Ze(Mn.GET_BATCH(n))}})).catch((function(e){de(!0),me(null===e||void 0===e?void 0:e.message),Ce("error")})):(o.id=r,lh("".concat(uh.batch).concat(o.id,"/"),o).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(de(!0),me("Batch Updated!."),Ce("success"),Ze(Mn.UPDATE_BATCH(e.data)))})).catch((function(e){de(!0),me(e.message),Ce("error")}))),We(),q(!1)}},Ve=function(){de(!1),me("")},Ye=Ae&&Ae.filter((function(e){var t,n,r=Y.toLowerCase(),o=e.batchname&&e.batchname.toLowerCase().includes(r),i=(null===e||void 0===e||null===(t=e.course)||void 0===t?void 0:t.CourseName)&&(null===e||void 0===e||null===(n=e.course)||void 0===n?void 0:n.CourseName.toLowerCase().includes(r));return o||i})),Ge=!d||!l||!P||!m||!b||!j||Se.batchNameError;return(0,Bi.jsxs)(Bi.Fragment,{children:[(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,marginLeft:"-17px",position:"relative",borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Batch"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:Y,onChange:function(e){G(e.target.value),R(0)},placeholder:"Search Employee",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsxs)(zy,{sx:{borderRadius:"none"},children:[(0,Bi.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,Bi.jsx)(mf,{variant:"contained",color:"primary",size:"small",type:"button",sx:{marginBottom:2},startIcon:(0,Bi.jsx)(ny.Z,{}),onClick:function(){return Be()},children:"Add"})}),(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Batch Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Course Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Start Date"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Duration"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Trainer Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===Ye.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):Ye&&Ye.length>0&&Ye.slice(A*z,A*z+z).map((function(e,t){var n,r,o,i=A*z+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{component:"th",align:"center",scope:"row",children:i}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.batchname)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:null===e||void 0===e||null===(n=e.course)||void 0===n?void 0:n.CourseName}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:qx(e.startDate)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"center",children:e.duration_in_days}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"left",children:[yf(null===e||void 0===e||null===(r=e.trainer)||void 0===r?void 0:r.fname)+" "+yf(null===e||void 0===e||null===(o=e.trainer)||void 0===o?void 0:o.lname)," "]}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"left",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return Be(e.id)},style:{color:"#2c387e",fontSize:"25px"}})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){Ue(e)}(e.id)},style:{color:"#2c387e",fontSize:"25px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:Ye.length,rowsPerPage:z,page:A,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){R(t)},onRowsPerPageChange:function(e){L(parseInt(e.target.value,10)),R(0)},ActionsComponent:zb})]})]}),(0,Bi.jsx)(gf,{open:U,onClose:We,show:!0,onConfirm:function(e){We(),He(e)},title:X?"Add Batch":"Update Batch",content:(0,Bi.jsx)("form",{onSubmit:He,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Batch name",variant:"outlined",fullWidth:!0,name:"batchname",size:"small",type:"text",inputProps:{maxLength:30},onBlur:function(e){var t=e.target,n=t.name,r=t.value;if("batchname"===n){var o=!function(e){return/^[a-zA-Z0-9\- ]{2,30}$/.test(e)}(r);ke((function(e){return te(te({},e),{},{batchNameError:o})}))}},value:P,onChange:Le,error:Se.batchNameError,helperText:Se.batchNameError&&xh("Enter Valid Batch Name.")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select1-label",children:"Select course"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select1-label",id:"demo-simple-select1",value:d,name:"courseId",label:"Select course",onChange:Le,children:[" ",(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"Select Course"}),ze&&(null===ze||void 0===ze?void 0:ze.length)>0&&(null===ze||void 0===ze?void 0:ze.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.CourseName)},t)})))]})]})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsxs)(Sy,{fullWidth:!0,size:"small",children:[(0,Bi.jsx)(gy,{id:"demo-simple-select-label",children:"Select trainer"}),(0,Bi.jsxs)(fg,{labelId:"demo-simple-select-label",id:"demo-simple-select",value:l,name:"trainerId",label:"Select trainer",onChange:Le,children:[(0,Bi.jsx)(Zm,{"aria-readonly":!0,children:"Select Trainer"}),Te&&(null===Te||void 0===Te?void 0:Te.length)>0&&(null===Te||void 0===Te?void 0:Te.map((function(e,t){return(0,Bi.jsx)(Zm,{value:e.id,children:yf(e.fname)+" "+yf(e.lname)},t)})))]})]})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,type:"date",name:"startDate",value:m,size:"small",onChange:Le,InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"start",children:"Start Date:"})}})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsx)(Ry,{label:"Duration",value:b,onChange:Le,name:"duration",fullWidth:!0,required:!0,size:"small",inputProps:{maxLength:3}})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,md:6,children:(0,Bi.jsx)(Ry,{label:"Duration Unit",value:"days",onChange:Le,name:"durationUnit",fullWidth:!0,required:!0,"aria-readonly":!0,size:"small"})})]})}),disable:Ge,submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ne,onClose:qe,show:!0,onConfirm:function(){qe(),function(){var e=ae;sh("".concat(uh.batch).concat(e)).then((function(t){200!==(null===t||void 0===t?void 0:t.status)&&201!==(null===t||void 0===t?void 0:t.status)||(de(!0),me("batch deleted successfully"),Ce("success"),Ze(Mn.DELETE_BATCH(e)))})).catch((function(e){de(!0),me(e.message),Ce("error")})),qe()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(db,{open:ue,autoHideDuration:3e3,onClose:Ve,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:Ve,severity:Oe,sx:{width:"100%"},children:he})})]}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){Pe("/dashboard/batch")},children:"Back to Courses"})]})};var eU=function(){var e=(0,t.useState)([]),n=(0,D.Z)(e,2),r=(n[0],n[1]),o=(0,t.useState)(!1),i=(0,D.Z)(o,2),a=i[0],l=i[1],s=(0,t.useState)(""),c=(0,D.Z)(s,2),u=(c[0],c[1]),d=(0,t.useState)({}),f=(0,D.Z)(d,2),p=(f[0],f[1],(0,t.useState)({})),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(null),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)([]),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)({}),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(!1),M=(0,D.Z)(T,2),A=(M[0],M[1],Lo());(0,t.useEffect)((function(){u(function(){var e=(new Date).getHours();return e<12?"Morning":e<18?"Afternoon":"Evening"}())}),[]);var R=x((function(e){return e.batch})),N=R.allBatches,I=x((function(e){return e.batch})),z=I.allCourse,L=_();(0,t.useEffect)((function(){ih(uh.course).then((function(e){return L(Mn.Get_Course(e.data))})).catch((function(e){return console.log("Batch error: ",e)}))}),[]),(0,t.useEffect)((function(){ih(uh.batch).then((function(e){var t;return L(Mn.GET_BATCH(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.reverse()))})).catch((function(e){return console.log("Batch error: ",e)}))}),[]),(0,t.useEffect)((function(){N&&N.length>0&&(r((0,F.Z)(N)),Z(W(N)))}),[N]);var B=function(e){var t="",n=e.fname,r=void 0===n?"":n,o=e.lname,i=void 0===o?"":o;return r&&i&&(t="".concat(r," ").concat(i)),t},W=function(e){return e.reduce((function(e,t){var n,r=null===t||void 0===t||null===(n=t.course)||void 0===n?void 0:n.id;return e[r]||(e[r]=0),e[r]++,e}),{})},U=function(e){var t=N.filter((function(t){var n;return(null===t||void 0===t||null===(n=t.course)||void 0===n?void 0:n.id)===e}));E(t)},q=(0,Oi.ZP)(ml)((function(e){var t=e.theme;return te(te({backgroundColor:"dark"===t.palette.mode?"#1A2027":"#fff"},t.typography.body2),{},{padding:t.spacing(2),textAlign:"center",color:t.palette.text.secondary})}));return(0,Bi.jsxs)(t.Fragment,{children:[(0,Bi.jsx)(Jl,{}),!a&&!b&&(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none",borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:(0,Bi.jsxs)(Nl,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,Bi.jsx)("div",{children:(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,sx:{textAlign:"left",fontSize:"24px"},children:"Manage Batch"})}),(0,Bi.jsx)("div",{children:(0,Bi.jsx)(mf,{type:"button",variant:"outlined",size:"small",color:"inherit",onClick:function(){A("/dashboard/manage-batch")},children:"All Batch"})})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsx)(Vi,{sx:{flexGrow:1,padding:"10px"},children:z.length>0?(0,Bi.jsx)(IW,{container:!0,spacing:{xs:2,md:3},columns:{xs:4,sm:8,md:12},children:z.map((function(e,t){return(0,Bi.jsx)(IW,{item:!0,xs:2,sm:4,md:4,children:(0,Bi.jsxs)(q,{onClick:function(){return w(t=e),U(t.id),void l(!1);var t},children:[(0,Bi.jsx)(Tl,{position:"static",sx:{height:"50px"},children:(0,Bi.jsx)(Nl,{sx:{justifyContent:"center"},children:(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,component:"div",sx:{display:"flex",flexDirection:"row"},children:[(0,Bi.jsxs)("div",{style:{marginRight:"10px"},children:[" ",(0,Bi.jsx)(DW.Z,{sx:{fontSize:"25px"}})]}),(0,Bi.jsx)("div",{style:{fontSize:"16px"},children:yf(null===e||void 0===e?void 0:e.CourseName)})]})})}),(0,Bi.jsx)("div",{style:{padding:"20px"},children:(0,Bi.jsxs)("span",{children:["Batch count: ",P[null===e||void 0===e?void 0:e.id]||0]})})]})},t)}))}):(0,Bi.jsx)(as,{variant:"h6",align:"center",children:"No Courses Available"})})})]}),!a&&b&&(0,Bi.jsxs)(Vi,{sx:{flexGrow:1,marginTop:7,marginRight:"25px",marginLeft:"-17px"},children:[(0,Bi.jsx)(Tl,{position:"static",children:(0,Bi.jsx)(Nl,{children:(0,Bi.jsxs)(as,{variant:"h6",noWrap:!0,sx:{textAlign:"center",fontSize:"24px"},children:["Batches for ",yf(b.CourseName)]})})}),j.length>0?(0,Bi.jsx)(Kh,{component:ml,children:(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{children:"Batch Name"}),(0,Bi.jsx)(Vh,{children:"Trainer"}),(0,Bi.jsx)(Vh,{children:"Start Date"}),(0,Bi.jsx)(Vh,{children:"Duration"}),(0,Bi.jsx)(Vh,{children:"Action"})]})}),(0,Bi.jsx)(Bh,{children:j.map((function(e,t){return(0,Bi.jsxs)(zg,{onClick:function(){return function(e){v(e),l(!0)}(e)},children:[(0,Bi.jsx)(Vh,{children:e.batchname}),(0,Bi.jsx)(Vh,{children:B(e.trainer)}),(0,Bi.jsx)(Vh,{children:e.startDate}),(0,Bi.jsx)(Vh,{children:e.duration_in_days}),(0,Bi.jsx)(Vh,{children:(0,Bi.jsx)(mf,{variant:"outlined",color:"success",size:"small",children:"See Students"})})]},t)}))})]})}):(0,Bi.jsx)(as,{variant:"h6",align:"center",sx:{marginTop:2},children:"No Batches Found"}),(0,Bi.jsx)(mf,{variant:"outlined",sx:{marginTop:4},size:"small",onClick:function(){return w(null)},children:"Back to Courses"})]}),a&&(0,Bi.jsx)(QW,{selectedBatch:m,getTrainerName:B,updateShowBatchDetail:l})]})};var tU=function(){var e=(0,t.useState)(0),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(5),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(null),h=(0,D.Z)(p,2),m=(h[0],h[1],(0,t.useState)(!1)),v=(0,D.Z)(m,2),g=(v[0],v[1],Hb(Fx().breakpoints.down("sm")),_()),y=x((function(e){return e.enroll})),b=y.allEnrollDetails;(0,t.useEffect)((function(){ih(uh.enroll).then((function(e){var t=e.data.reverse();g(zn.getEnrollmentDetails(t))})).catch((function(e){console.error("Error fetching feedback:",e)}))}),[]);var w=b&&b.length>0&&b.filter((function(e){var t=e&&e.fname&&e.fname.toLowerCase().includes(d),n=(e&&e.lname&&e.lname.toLowerCase().includes(d),e&&e.email&&e.email.toLowerCase().includes(d)),r=e&&e.course&&e.course.toLowerCase().includes(d),o=e&&e.mode&&e.mode.toLowerCase().includes(d);return t||n||r||o}))||[];return(0,Bi.jsx)("div",{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{flexGrow:1},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Register Student"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:d,onChange:function(e){f(e.target.value),o(0)},placeholder:"Search Student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",children:[(0,Bi.jsx)(nm,{children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Sr No"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Date"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Name"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Email"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Student Contact"}),(0,Bi.jsx)(Vh,{align:"left",sx:{fontWeight:"bold"},children:"Course"}),(0,Bi.jsx)(Vh,{align:"center",sx:{fontWeight:"bold"},children:"Trainning Mode"})]})}),(0,Bi.jsx)(Bh,{children:0===w.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:8,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"28px"},children:"No data found"})})}):w&&w.length>0&&w.slice(r*l,r*l+l).map((function(e,t){var n=r*l+t;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",component:"th",scope:"row",children:n+1}),(0,Bi.jsx)(Vh,{align:"left",children:qx(e.enrollDate)}),(0,Bi.jsxs)(Vh,{align:"left",children:[yf(e.fname)," ",yf(e.lname)]}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.email)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.mobile)}),(0,Bi.jsx)(Vh,{align:"left",children:yf(e.course)}),(0,Bi.jsx)(Vh,{align:"center",children:yf(e.mode)})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:8,count:w.length,rowsPerPage:l,page:r,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){o(t)},onRowsPerPageChange:function(e){s(parseInt(e.target.value,10)),o(0)},ActionsComponent:zb})]})})]})})},nU=function(){var e=(0,t.useState)(null),n=(0,D.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(""),a=(0,D.Z)(i,2),l=a[0],s=a[1],c=(0,t.useState)(""),u=(0,D.Z)(c,2),d=u[0],f=u[1],p=(0,t.useState)(""),h=(0,D.Z)(p,2),m=h[0],v=h[1],g=(0,t.useState)(""),y=(0,D.Z)(g,2),b=y[0],w=y[1],S=(0,t.useState)(""),k=(0,D.Z)(S,2),j=k[0],E=k[1],O=(0,t.useState)(""),C=(0,D.Z)(O,2),P=C[0],Z=C[1],T=(0,t.useState)(0),M=(0,D.Z)(T,2),A=M[0],R=M[1],N=(0,t.useState)(5),I=(0,D.Z)(N,2),z=I[0],L=I[1],B=(0,t.useState)(!1),F=(0,D.Z)(B,2),W=F[0],U=F[1],q=(0,t.useState)(""),H=(0,D.Z)(q,2),V=H[0],Y=H[1],G=(0,t.useState)(!0),$=(0,D.Z)(G,2),K=$[0],X=$[1],Q=(0,t.useState)(!1),J=(0,D.Z)(Q,2),ee=J[0],ne=J[1],re=(0,t.useState)(null),oe=(0,D.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,t.useState)(!1),se=(0,D.Z)(le,2),ce=se[0],ue=se[1],de=(0,t.useState)(!1),fe=(0,D.Z)(de,2),pe=fe[0],he=fe[1],me=(0,t.useState)(""),ve=(0,D.Z)(me,2),ge=ve[0],ye=ve[1],be=(0,t.useState)(""),xe=(0,D.Z)(be,2),we=xe[0],Se=xe[1],ke=(0,t.useState)({fnameError:!1,lnameError:!1,contactError:!1,emailError:!1}),je=(0,D.Z)(ke,2),Ee=je[0],Oe=je[1],Ce=(0,t.useState)("success"),Pe=(0,D.Z)(Ce,2),Ze=Pe[0],_e=Pe[1],Te=_(),Me=x((function(e){return e.enquiry})),Ae=Me.allEnquiry,Re=x((function(e){return e.enquiry})).singleEnquiry,Ne=(0,t.useState)(!0),Ie=(0,D.Z)(Ne,2),De=Ie[0],ze=(Ie[1],Hb(Fx().breakpoints.down("sm")));(0,t.useEffect)((function(){ih("".concat(uh.enquiry)).then((function(e){var t=e.data.reverse();Te(Nn.getEnquiry(t))})).catch((function(e){ue(!0),Se("".concat(null===e||void 0===e?void 0:e.name,"-").concat(null===e||void 0===e?void 0:e.message)),_e("error")}))}),[]),(0,t.useEffect)((function(){if(Re){var e=Re.id,t=Re.fname,n=Re.lname,r=Re.email,i=Re.message,a=Re.status,l=Re.mobile;o(e),s(t),f(n),v(a),E(l),w(i),Z(r)}}),[Re]);var Le=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":s(r);break;case"lname":f(r);break;case"status":v(r);break;case"message":w(r);break;case"mobile":E(r);break;case"email":Z(r)}},Be=function(e){var t=e.target,n=t.name,r=t.value;switch(n){case"fname":var o=!dh(r);Oe((function(e){return te(te({},e),{},{fnameError:o})}));break;case"lname":var i=!dh(r);Oe((function(e){return te(te({},e),{},{lnameError:i})}));break;case"mobile":var a=!fh(r);Oe((function(e){return te(te({},e),{},{contactError:a})}));break;case"email":var l=!ph(r);Oe((function(e){return te(te({},e),{},{emailError:l})}))}},Fe=function(){U(!1)},We=function(){he(!1),ye("")},Ue=function(e){ne(!0),ae(e)},qe=function(){ne(!1),ae(null)},He=function(){o(null),s(""),f(""),w(""),E(""),v(""),Z("")},Ve=function(e){if(e.preventDefault(),Ee.fnameError||Ee.lnameError||Ee.emailError||Ee.contactError)return ue(!0),Se("please fix validiation error before submiting"),void _e("error");var t={email:P,fname:l,lname:d,message:b,mobile:j,status:m};K?ah(uh.enquiry,t).then((function(e){if(200===(null===e||void 0===e?void 0:e.status)||201===(null===e||void 0===e?void 0:e.status)){ue(!0),Se("enquiry added successfully."),_e("success");var t=[null===e||void 0===e?void 0:e.data].reverse();Te(Nn.addEnquiry(t))}})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("true")})):(t.id=r,lh("".concat(uh.enquiry).concat(t.id,"/"),t).then((function(e){200!==(null===e||void 0===e?void 0:e.status)&&201!==(null===e||void 0===e?void 0:e.status)||(ue(!0),Se("enquiry updated successfully."),_e("success"),Te(Nn.updateEnquiry(null===e||void 0===e?void 0:e.data)))})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("error")}))),Fe(),U(!1)},Ye=function(){ue(!1),Se("")},Ge=Ae&&Ae.filter((function(e){var t=V.toLowerCase(),n=e.fname&&e.fname.toLowerCase().includes(t),r=e.lname&&e.lname.toLowerCase().includes(t),o=e.email&&e.email.toLowerCase().includes(t),i=e.status&&e.status.toLowerCase().includes(t),a=e.enquiryDate&&e.enquiryDate.includes(t),l=e.mobile&&e.mobile.includes(t);return n||r||o||i||a||l}));return(0,Bi.jsx)(Bi.Fragment,{children:(0,Bi.jsxs)(ay,{sx:{marginRight:"25px",marginTop:7,position:"relative",right:20,borderRadius:"0px"},children:[(0,Bi.jsx)(Vi,{sx:{display:"flex"},children:(0,Bi.jsx)(Tl,{component:"nav",position:"static",sx:{boxShadow:"none"},children:(0,Bi.jsxs)(Nl,{children:[(0,Bi.jsx)(as,{variant:"h6",noWrap:!0,component:"div",sx:{flexGrow:1,display:{xs:"none",sm:"block"},textAlign:"left"},children:"Manage Enquiry"}),(0,Bi.jsx)(Ry,{className:"searchinput",type:"text",value:V,onChange:function(e){Y(e.target.value),R(0)},placeholder:"Search student",variant:"outlined",size:"small",sx:{backgroundColor:"white",borderRadius:"4px",width:"auto",border:"none"},InputProps:{startAdornment:(0,Bi.jsx)(yb,{position:"end",children:(0,Bi.jsx)(fb.Z,{})})}})]})})}),(0,Bi.jsx)(zy,{sx:{borderRadius:"none"},children:(0,Bi.jsxs)(Kh,{component:ml,sx:{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[(0,Bi.jsxs)(Ah,{"aria-label":"simple table",sx:{},children:[(0,Bi.jsx)(nm,{style:{overflow:"auto"},children:(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Sr No"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Date"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Full Name"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Mobile no"})}),(0,Bi.jsx)(Vh,{align:"left",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"status"})}),(0,Bi.jsx)(Vh,{align:"center",children:(0,Bi.jsx)(as,{component:"span",variant:"subtitle1",sx:{fontWeight:"bold"},children:"Action"})})]})}),(0,Bi.jsx)(Bh,{children:0===Ge.length?(0,Bi.jsx)(zg,{children:(0,Bi.jsx)(Vh,{colSpan:9,align:"left",children:(0,Bi.jsx)("strong",{style:{fontSize:"34px"},children:"No data found"})})}):Ge&&Ge.length>0&&Ge.slice(A*z,A*z+z).map((function(e,t){var n=A*z+t+1;return(0,Bi.jsxs)(zg,{children:[(0,Bi.jsx)(Vh,{component:"th",align:"left",scope:"row",children:n}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:qx(e.enquiryDate)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.fname)+" "+yf(e.lname)}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:e.mobile}),(0,Bi.jsx)(Vh,{className:"tablebody",align:"left",children:yf(e.status)}),(0,Bi.jsxs)(Vh,{className:"tablebody",align:"center",children:[(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ty.Z,{onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=Ae.find((function(t){return t.id===e}));if(t){var n=t.id,r=t.fname,i=t.lname,a=t.mobile,l=t.message,c=t.status,u=t.email;o(n),s(r),f(i),E(a),w(l),v(c),Z(u),U(!0),X(!1)}}else U(!0),X(!0),He()}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})}),(0,Bi.jsx)(Pd,{title:"See Message",children:(0,Bi.jsx)(Js,{"aria-label":"visible",children:(0,Bi.jsx)(Rw.Z,{onClick:function(){return t=e,he(!0),void ye(t);var t},style:{color:"#2c387e",fontSize:"18px"}})})}),(0,Bi.jsx)(Js,{"aria-label":"logout",children:(0,Bi.jsx)(ey.Z,{onClick:function(){return function(e){Ue(e)}(e.id)},style:{color:"#2c387e",fontSize:"18px"}})})]})]},t)}))})]}),(0,Bi.jsx)(Mg,{rowsPerPageOptions:[5,10,25],colSpan:9,count:Ge.length,rowsPerPage:z,page:A,SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){R(t)},onRowsPerPageChange:function(e){L(parseInt(e.target.value,10)),R(0)},ActionsComponent:zb})]})}),(0,Bi.jsx)(gf,{open:W,onClose:Fe,show:De,onConfirm:function(e){Fe(),Ve(e)},title:"Edit enquiry details",content:(0,Bi.jsx)("form",{onSubmit:Ve,children:(0,Bi.jsxs)(Xy,{container:!0,spacing:2,sx:{marginTop:3},children:[(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"First Name",variant:"outlined",fullWidth:!0,name:"fname",size:"small",type:"text",value:l,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.fnameError,helperText:Ee.fnameError&&xh("Enter Valid First Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Last Name",variant:"outlined",type:"text",fullWidth:!0,name:"lname",size:"small",value:d,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.lnameError,helperText:Ee.lnameError&&xh("Enter Valid Last Name")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Email",variant:"outlined",fullWidth:!0,type:"email",name:"email",size:"small",value:P,InputProps:{readOnly:!0},onChange:Le,onBlur:Be,error:Ee.emailError,helperText:Ee.emailError&&xh("Enter Valid Email")})}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsx)(Ry,{required:!0,label:"Mobile No",variant:"outlined",fullWidth:!0,type:"tel",name:"mobile",value:j,"aria-readonly":!0,InputProps:{readOnly:!0},size:"small",onChange:Le,onBlur:Be,error:Ee.contactError,helperText:Ee.contactError&&xh("Enter Valid Contact")})}),(0,Bi.jsxs)(Xy,{item:!0,xs:12,children:[(0,Bi.jsx)(gy,{sx:{ml:1},children:"Message"}),(0,Bi.jsx)(Ry,{required:!0,variant:"outlined",fullWidth:!0,name:"message",type:"text",size:"small",value:b,InputProps:{readOnly:!0},onChange:Le})]}),(0,Bi.jsx)(Xy,{item:!0,xs:12,children:(0,Bi.jsxs)(Ry,{select:!0,margin:"normal",required:!0,fullWidth:!0,label:"Status",name:"status",size:"small",id:"status",value:m,onChange:Le,onBlur:Be,children:[(0,Bi.jsx)(Zm,{value:"pending",children:"Pending"}),(0,Bi.jsx)(Zm,{value:"contacted",children:"Contacted"}),(0,Bi.jsx)(Zm,{value:"no answer",children:"No Answer"}),(0,Bi.jsx)(Zm,{value:"busy",children:"Busy"}),(0,Bi.jsx)(Zm,{value:"wrong number",children:"Wrong Number"}),(0,Bi.jsx)(Zm,{value:"Follow-Up Needed",children:"Follow-Up Needed"}),(0,Bi.jsx)(Zm,{value:"Customer Unreachable",children:"Customer Unreachable"}),(0,Bi.jsx)(Zm,{value:"wrong number",children:"Wrong Number"}),(0,Bi.jsx)(Zm,{value:"disconnected",children:"Disconnected"})]})})]})}),submitLabel:"Submit"}),(0,Bi.jsx)(gf,{open:ee,onClose:qe,show:!0,onConfirm:function(){qe(),function(){var e=ie;sh("".concat(uh.enquiry).concat(e)).then((function(t){200!==(null===t||void 0===t?void 0:t.status)&&201!==(null===t||void 0===t?void 0:t.status)||(ue(!0),Se("Enquiry deleted successfully"),_e("success"),Te(Nn.deleteEnquiry(e)))})).catch((function(e){ue(!0),Se(null===e||void 0===e?void 0:e.message),_e("error")})),qe()}()},message:"Are you sure you want to delete this record?",title:"Delete Record",submitLabel:"Delete"}),(0,Bi.jsx)(gf,{open:pe,onClose:We,onConfirm:function(e){We()},show:!1,title:"User Details",content:ge&&(0,Bi.jsx)(Xy,{container:!0,spacing:2,children:(0,Bi.jsxs)(Vi,{style:{width:"1200px"},sx:{p:2,borderRadius:4,bgcolor:"background.default",display:"grid",gap:2},children:[(0,Bi.jsxs)(as,{component:"div",variant:"subtitle1",sx:{fontSize:ze?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",marginTop:1},children:[(0,Bi.jsxs)("div",{children:[" ",(0,Bi.jsx)("strong",{children:"Full Name:"})," ",yf(ge.fname)," ",yf(ge.lname)]}),(0,Bi.jsxs)("div",{children:[(0,Bi.jsx)("strong",{children:"Email:"})," ",ge.email," "]})]}),(0,Bi.jsx)(as,{component:"div",variant:"subtitle1",sx:{fontSize:ze?"14px":"18px",p:2,borderRadius:3,bgcolor:"background.default",display:"grid",gap:0,maxWidth:"800px",boxShadow:4},children:(0,Bi.jsxs)("div",{children:[" ",(0,Bi.jsx)("strong",{children:"Message:"})," ",yf(ge.message)," "]})})]})})}),(0,Bi.jsx)(db,{open:ce,autoHideDuration:3e3,onClose:Ye,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,Bi.jsx)(Ab,{elevation:6,variant:"filled",onClose:Ye,severity:Ze,sx:{width:"100%"},children:we})})]})})},rU=function(){return _t({reducer:{voucher:an,exam:cn,login:fn,user:mn,employee:yn,feedback:wn,question:jn,result:Cn,feedbackAns:_n,batch:An,enquiry:In,enroll:Ln},preloadedState:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})}();var oU=function(){var e,t=null===(e=Do().state)||void 0===e?void 0:e.req;return(0,Bi.jsx)(pW,{req:t})},iU=function(){(0,t.useEffect)((function(){if("https:"===window.location.protocol){var e=window.location.href.replace("https://","http://");window.location.replace(e)}}),[]);var e=(0,Ui.Z)({palette:{primary:{main:"#2c387e"},secondary:{main:"#f44336"}}}),n=function(e,t){return Lr({basename:null==t?void 0:t.basename,future:ai({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),er((function(e,t){var n=Jn(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,l=n.hash,s=void 0===l?"":l;return o.startsWith("/")||o.startsWith(".")||(o="/"+o),Xn("",{pathname:o,search:a,hash:s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:Qn(t))}),(function(e,t){$n("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||li(),routes:e,mapRouteProperties:ii}).initialize();var n}([{path:"",element:(0,Bi.jsx)(mk,{})},{path:"/quizapp",element:(0,Bi.jsxs)(PS,{children:[" ",(0,Bi.jsx)(ik,{})]})},{path:"/instruction",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(nk,{})})},{path:"/start-exam",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(tk,{})})},{path:"/exam-submitted",element:(0,Bi.jsx)(ek,{})},{path:"/student-registration",element:(0,Bi.jsx)(dW,{})},{path:"/employee-registration",element:(0,Bi.jsx)(fW,{})},{path:"/student-feedback",element:(0,Bi.jsx)(Aw,{})},{path:"/forgetpassword",element:(0,Bi.jsx)(CS,{})},{path:"/question-answer",element:(0,Bi.jsx)(oU,{})},{path:"*",element:(0,Bi.jsx)(uW,{})},{path:"/dashboard",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Ch,{})}),children:[{path:"exam",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Lb,{})})},{path:"voucher",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Fb,{})})},{path:"feedback",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Hx,{})})},{path:"student",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Nw,{})})},{path:"question",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(gS,{})})},{path:"staff",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(Iw,{})})},{path:"result",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(cW,{})})},{path:"manage-batch",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(JW,{})})},{path:"batch",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(eU,{})})},{path:"register-student",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(tU,{})})},{path:"enquiry",element:(0,Bi.jsx)(PS,{children:(0,Bi.jsx)(nU,{})})}]}]);return(0,Bi.jsx)(j,{store:rU,children:(0,Bi.jsx)(jk,{theme:e,children:(0,Bi.jsx)("div",{className:"App","data-testid":"AppWrapper",children:(0,Bi.jsx)(Jo,{router:n})})})})},aU=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))};o.createRoot(document.getElementById("root")).render((0,Bi.jsx)(t.StrictMode,{children:(0,Bi.jsx)(iU,{})})),aU()}()}(); //# sourceMappingURL=main.dbe7cbc3.js.mapEvidence dbSolution Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.
-
-
Appendix
Alert types
This section contains additional information on the types of alerts in the report.
-
Cloud Metadata Potentially Exposed
Source raised by an active scanner (Cloud Metadata Potentially Exposed) Reference -
CSP: Wildcard Directive
Source raised by a passive scanner (CSP) CWE ID 693 WASC ID 15 Reference -
Content Security Policy (CSP) Header Not Set
-
Cross-Domain Misconfiguration
Source raised by a passive scanner (Cross-Domain Misconfiguration) CWE ID 264 WASC ID 14 Reference -
Hidden File Found
Source raised by an active scanner (Hidden File Finder) CWE ID 538 WASC ID 13 Reference -
Missing Anti-clickjacking Header
Source raised by a passive scanner (Anti-clickjacking Header) CWE ID 1021 WASC ID 15 Reference -
Cross-Domain JavaScript Source File Inclusion
Source raised by a passive scanner (Cross-Domain JavaScript Source File Inclusion) CWE ID 829 WASC ID 15 -
Private IP Disclosure
Source raised by a passive scanner (Private IP Disclosure) CWE ID 200 WASC ID 13 Reference -
Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s)
Source raised by a passive scanner (Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s)) CWE ID 200 WASC ID 13 Reference -
Strict-Transport-Security Header Not Set
Source raised by a passive scanner (Strict-Transport-Security Header) CWE ID 319 WASC ID 15 Reference -
Timestamp Disclosure - Unix
Source raised by a passive scanner (Timestamp Disclosure) CWE ID 200 WASC ID 13 Reference -
X-Backend-Server Header Information Leak
Source raised by a passive scanner (X-Backend-Server Header Information Leak) CWE ID 200 WASC ID 13 -
X-Content-Type-Options Header Missing
Source raised by a passive scanner (X-Content-Type-Options Header Missing) CWE ID 693 WASC ID 15 Reference -
Authentication Request Identified
Source raised by a passive scanner (Authentication Request Identified) Reference -
Information Disclosure - Suspicious Comments
Source raised by a passive scanner (Information Disclosure - Suspicious Comments) CWE ID 200 WASC ID 13 -
Modern Web Application
Source raised by a passive scanner (Modern Web Application) -
Session Management Response Identified
Source raised by a passive scanner (Session Management Response Identified) Reference -
Vulnerable JS Library
Source raised by a passive scanner (Vulnerable JS Library (Powered by Retire.js)) CWE ID 829
ZAP